Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #890093] |
Thu, 21 June 2012 05:08 |
Dhannajaya Madiraju Messages: 6 Registered: June 2012 |
Junior Member |
|
|
When I run the RCP application got the below error -
Cannot map text for library</opt/FileNet/ContentEngine/tools/configure/plugins/org.eclipse.equinox.launcher.gtk.hpux.ia64_32_1.0.0.v20110502/eclipse_1406.so>: mmap(0x0, 0x16710, 0x5, 0x41, 3, 0x0) returns Permission denied.
To resolve it, gave 776 permissions to files and folders within plugins folder. When I tried to run the application again this time there was no error and the GUI still didn't come up.
The contents of .log file in @user.home/workspace has the below error :
!SESSION 2012-06-20 11:03:20.623 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0.10
java.vendor=Hewlett-Packard Co.
BootLoader constants: OS=hpux, ARCH=ia64_32, WS=gtk, NL=en
Framework arguments: gui
Command-line arguments: -os hpux -ws gtk -arch ia64_32 gui
!ENTRY org.eclipse.osgi 4 0 2012-06-20 11:03:24.248
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/FileNet/ContentEngine/tools/configure/configuration/org.eclipse.osgi/bundles/34/1/.cp/libswt-gtk-3740.so: Unable to find library 'libgcc_s.so.0'.
no swt-gtk in java.library.path
/.swt/lib/hpux/ia64_32/libswt-gtk-3740.so: Unable to find library 'libgcc_s.so.0'.
Can't load library: /.swt/lib/hpux/ia64_32/libswt-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.ibm.ecm.configmgr.app.ce.rcp.Application.start(Application.java:82)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Any idea how to resolve this issue ?
- Dhananjay
|
|
|
|
|
|
|
|
|
Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #895531 is a reply to message #894515] |
Fri, 13 July 2012 12:34 |
Dhannajaya Madiraju Messages: 6 Registered: June 2012 |
Junior Member |
|
|
I was able to install these libraries
gtk+2-2.24.10-ia64-11.23.depot ,
libgcc-4.2.3-ia64-11.23.depot ,
glib2-2.32.3-ia64-11.23.depot,
cairo-1.12.2-ia64-11.23.depot,
atk-2.4.0-ia64-11.23.depot,
pixman-0.26.0-ia64-11.23.depot
gdk_pixbuf-2.26.1-ia64-11.23.depot
libpng-1.5.12-ia64-11.23.depot
libXft-2.2.0-ia64-11.23.depot
libXrender-0.9.7-ia64-11.23.depot
bzip2-1.0.6-ia64-11.23.depot
fontconfig-2.9.0-ia64-11.23.depot
freetype-2.4.10-ia64-11.23.depot
zlib-1.2.7-ia64-11.23.depot
expat-2.1.0-ia64-11.23.depot
libffi-3.0.11-ia64-11.23.depot
intltool-0.50.2-ia64-11.23.depot
gettext-0.18.1.1-ia64-11.23.depot
libiconv-1.14-ia64-11.23.depot
and added the paths into LD_LIBRARY_PATH variable.
Dont see any more dependencies when i run the ldd command.
But when I run the application get this error -
./configmgr
The program 'IBM FileNet Configuration Manager' received an X Window System
error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 932 error_code 1 request_code 138 minor_code 33)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Any idea on how to get this resolved ?
[Updated on: Fri, 13 July 2012 12:34] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.05318 seconds