problems to install rtc client on SLED
Hello,
I can't get the rtc client to install on a SLED 10 machine.
But no problem on SLES 10 server.
i have tried several download express-c, express with IM and without.
Also with differeren t java and eclipse version.
But it fails, with this message
!SESSION 2008-10-31 12:43:24.296 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20070426 (JIT enabled)
J9VM - 20070420_12448_lHdSMR
JIT - 20070419_1806_r8
GC - 200704_19
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -input @osgi.install.area/install.xml -input @osgi.install.area/install-client.xml -isAdmin
Command-line arguments: -os linux -ws gtk -arch x86 -input @osgi.install.area/install.xml -input @osgi.install.area/install-client.xml -isAdmin
!ENTRY org.eclipse.osgi 4 0 2008-10-31 12:43:32.196
!MESSAGE
!STACK 0
java.util.zip.ZipException: Too many open files /extra/common/src/RTC_SLED/rtc/linux/plugins/org.eclipse.core.jobs_3.3.0.v20070423.jar
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:238)
at java.util.zip.ZipFile.<init>(ZipFile.java:268)
at oava:237)
In the error log i get:
!SESSION Wed Oct 29 12:55:43 CET 2008 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-10-29 12:55:43.979
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:546)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Any help is appriciated!
Thanks.
/Anders
I can't get the rtc client to install on a SLED 10 machine.
But no problem on SLES 10 server.
i have tried several download express-c, express with IM and without.
Also with differeren t java and eclipse version.
But it fails, with this message
!SESSION 2008-10-31 12:43:24.296 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20070426 (JIT enabled)
J9VM - 20070420_12448_lHdSMR
JIT - 20070419_1806_r8
GC - 200704_19
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -input @osgi.install.area/install.xml -input @osgi.install.area/install-client.xml -isAdmin
Command-line arguments: -os linux -ws gtk -arch x86 -input @osgi.install.area/install.xml -input @osgi.install.area/install-client.xml -isAdmin
!ENTRY org.eclipse.osgi 4 0 2008-10-31 12:43:32.196
!MESSAGE
!STACK 0
java.util.zip.ZipException: Too many open files /extra/common/src/RTC_SLED/rtc/linux/plugins/org.eclipse.core.jobs_3.3.0.v20070423.jar
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:238)
at java.util.zip.ZipFile.<init>(ZipFile.java:268)
at oava:237)
In the error log i get:
!SESSION Wed Oct 29 12:55:43 CET 2008 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-10-29 12:55:43.979
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:546)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Any help is appriciated!
Thanks.
/Anders
5 answers
I run RTC client on Ubuntu and I have hit the "Too many open files"
problem before. The way I solved the problem was by increasing the
number of open files that my user was allowed to have. If you can add
two lines to your /etc/security/limits.conf file and reboot your
computer it should fix your problem.
My two lines look like:
matt hard nofile 16384
matt soft nofile 16384
Matt Lavin
Jazz Server Team
Anders wrote:
problem before. The way I solved the problem was by increasing the
number of open files that my user was allowed to have. If you can add
two lines to your /etc/security/limits.conf file and reboot your
computer it should fix your problem.
My two lines look like:
matt hard nofile 16384
matt soft nofile 16384
Matt Lavin
Jazz Server Team
Anders wrote:
Hello,
I can't get the rtc client to install on a SLED 10 machine.
But no problem on SLES 10 server.
i have tried several download express-c, express with IM and without.
Also with differeren t java and eclipse version.
But it fails, with this message
!SESSION 2008-10-31 12:43:24.296
-----------------------------------------------
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32
j9vmxi3223-20070426 (JIT enabled)
J9VM - 20070420_12448_lHdSMR
JIT - 20070419_1806_r8
GC - 200704_19
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -input @osgi.install.area/install.xml -input
@osgi.install.area/install-client.xml -isAdmin
Command-line arguments: -os linux -ws gtk -arch x86 -input
@osgi.install.area/install.xml -input
@osgi.install.area/install-client.xml -isAdmin
!ENTRY org.eclipse.osgi 4 0 2008-10-31 12:43:32.196
!MESSAGE
!STACK 0
java.util.zip.ZipException: Too many open files
/extra/common/src/RTC_SLED/rtc/linux/plugins/org.eclipse.core.jobs_3.3.0.v20070423.jar
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:238)
at java.util.zip.ZipFile.<init>(ZipFile.java:268)
at oava:237)
In the error log i get:
!SESSION Wed Oct 29 12:55:43 CET 2008
------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2008-10-29 12:55:43.979
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:546)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Any help is appriciated!
Thanks.
/Anders
I run RTC client on Ubuntu and I have hit the "Too many open files"
problem before. The way I solved the problem was by increasing the
number of open files that my user was allowed to have. If you can add
two lines to your /etc/security/limits.conf file and reboot your
computer it should fix your problem.
My two lines look like:
matt hard nofile 16384
matt soft nofile 16384
Matt Lavin
Jazz Server Team
What is causing your client to need that many descriptors? Except for the
emf codegen bug (that Rafik fixed) I have never seen the descriptor count
go above 400. I run with 1024 max and never have problems. If 1024 is not
enough in your case it is probably a bug that we should be investigating.
- Dmitry
Well, i have solved the problem now.. using bash shell i could do the
install..( usually i use tcsh) ulimit -a shows open files 8192
Then i tried to run the rtc client in another bash shell. I got the same
error and ulimit -a shows open files is 256. I then changed open files
to 1024 ( ulimit -n 1024 ) and voila, now ican rund the client!
Yes, 256 is definitely too little. I find that it needs around 300
normally which sometimes spikes to around 500. Running at 1024 should
ensure that if you run out of file descriptors then there is a bug
somewhere in our code that should be reported.
- Dmitry
I run RTC client on Ubuntu and I have hit the "<zap>
Matt Lavin
Jazz Server Team
What is causing your client to need that many descriptors? Except for the
emf codegen bug (that Rafik fixed) I have never seen the descriptor count
go above 400. I run with 1024 max and never have problems. If 1024 is not
enough in your case it is probably a bug that we should be investigating.
- Dmitry
I have no idea!
Ok, sounds like a bug to me.
This machine was recently rebooted, and i has only logged in with ssh.
So there is not a lot of processes running. No eclipse or java stuff anyway.
/Anders
I run RTC client on Ubuntu and I have hit the "<zap>
Matt Lavin
Jazz Server Team
What is causing your client to need that many descriptors? Except for the
emf codegen bug (that Rafik fixed) I have never seen the descriptor count
go above 400. I run with 1024 max and never have problems. If 1024 is not
enough in your case it is probably a bug that we should be investigating.
- Dmitry
I have no idea!
Ok, sounds like a bug to me.
This machine was recently rebooted, and i has only logged in with ssh.
So there is not a lot of processes running. No eclipse or java stuff anyway.
/Anders
Well, i have solved the problem now..
using bash shell i could do the install..( usually i use tcsh)
ulimit -a shows open files 8192
Then i tried to run the rtc client in another bash shell.
I got the same error and ulimit -a shows open files is 256.
I then changed open files to 1024 ( ulimit -n 1024
) and voila, now ican rund the client!
/Anders