Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines
icon9.gif  Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #890093] Thu, 21 June 2012 05:08 Go to next message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
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 #890193 is a reply to message #890093] Thu, 21 June 2012 12:22 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

What versions of libgcc do you have installed on your system? Usually in /lib

PW


Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #890262 is a reply to message #890193] Thu, 21 June 2012 16:14 Go to previous messageGo to next message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
Messages: 6
Registered: June 2012
Junior Member
seems like there are no libgcc* files in /lib ->

#uname -a
HP-UX hq-cfgit B.11.23 U ia64 2412202150 unlimited-user license
# pwd
/lib
# ls -ltr libgc*
libgc* not found
#
Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #890342 is a reply to message #890262] Fri, 22 June 2012 05:40 Go to previous messageGo to next message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
Messages: 6
Registered: June 2012
Junior Member
Resolved that issue by installing hp-gcc-4.5.2.

But got some more dependency issues -

java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/FileNet/ContentEngine/tools/configure/configuration/org.eclipse.osgi/bundles/34/1/.cp/libswt-pi-gtk-3740.so: Unable to find library 'libgtk-x11-2.0.so'.
no swt-pi-gtk in java.library.path
Can't load library: /.swt/lib/hpux/ia64_32/libswt-pi-gtk-3740.so
Can't load library: /.swt/lib/hpux/ia64_32/libswt-pi-gtk.so
/.swt/lib/hpux/ia64_32/libswt-pi-gtk-3740.so: Unable to find library 'libgtk-x11-2.0.so'.

Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #890527 is a reply to message #890342] Fri, 22 June 2012 13:55 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Do you have gtk2 installed?

PW


Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #893760 is a reply to message #890527] Thu, 05 July 2012 13:20 Go to previous messageGo to next message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
Messages: 6
Registered: June 2012
Junior Member
Hi
yes I downloaded and installed it from
http //hpux.connect.org.uk/hppd/hpux/Gtk/Development/gtk+2-2.24.10/

also installed libgcc from -
http //hpux.connect.org.uk/hppd/hpux/Gnu/libgcc-4.2.3/

and still i see the same error mentioned above Sad
Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #894515 is a reply to message #893760] Mon, 09 July 2012 13:55 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you search in /usr/lib and /lib (and maybe an X11 subdir) can you find libgtk-x11-2.0.so ?

What libgtk* can you find?

PW


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 Go to previous messageGo to next message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
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

Re: Unable to launch Eclipse 3.7.2 based RCP application on HPUXi machines [message #900996 is a reply to message #895531] Thu, 09 August 2012 11:20 Go to previous message
Dhannajaya Madiraju is currently offline Dhannajaya MadirajuFriend
Messages: 6
Registered: June 2012
Junior Member
Installed the below libs and it worked fine, the GUI came up


gtk+2-2.24.10-ia64-11.23.depot ,
gcc-ia64-4.7.0.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
Previous Topic:Perspective initial layout for views with allow multiple = true (compound ids) - in plain text
Next Topic:Eclipse RCP export windows branding: icon (ico) only works with low resolutions
Goto Forum:
  


Current Time: Thu Apr 18 23:29:02 GMT 2024

Powered by FUDForum. Page generated in 0.02030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top