Did installing Oracle Java 8 break my RTC server?
Christopher Smith (1●1●1)
| asked Dec 08 '14, 10:44 p.m.
retagged Dec 09 '14, 9:45 a.m. by Laura W. Hinson (161●2●6)
I've had RTC 5.01 installed and running on Debian 7 for about 2 months.
I'm running with Tomcat and Derby installed using the setup in a relocatable folder method. I also installed the build engine using the debian deb archive.
I wanted to start building for Java 8. I installed a Luna eclipse with the RTC Client installed in /home/jbe/eclipse (I did not check to see if there was already an eclipse folder there) and then found a package that in installs Oracle Java 8 jdk using apt-get.
When I ssh into my server, java -version returns
root@debian64:~# java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I thought the RTC and jbe were hard wired to use a private IBM java so I did not think they would be affected.
Now, I can connect and log on to https://xxx.xxxxxx.com:9443/ccm with a browser but it reports
and further down
Trying to connect to https://xxx.xxxxxx.com:9443/jts/admin just fails
HTTP Status 404 -type Status report message description The requested resource is not available. Apache Tomcat/7.0.54
What did I break?
Restarting RTC and rebooting the server have no effect, I get the same result.
uninstalling the oracle Java 8 with apt-get remove does not change anything either
|
One answer
I inspected the tomcat catalina.out and there were a BUNCH of "Too many files open" socket exceptions.
I recalled seeing in the installation instruction about setting the max open files.
I did and I check to confirm that I did.
Anyway, they had a blurb about setting the limits in a shell and reindexing the DB. So I did that.
It seems to have corrected my problem. RTC seems to be running normally.
This is not a solution as I need to know why the global settings did not seem to be happy.
Comments
Donald Nong
commented Dec 09 '14, 10:41 p.m.
You did not mentioned what the "global settings" are and how they are configured. The ulimit is definitely a prerequisite for installing CLM (I got the same error when using the default Red Hat configuration). You may want to verify how many files are opened when the problem occurs (or not occur).
Christopher Smith
commented Dec 09 '14, 10:58 p.m.
Instruction I referenced are here http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.1/com.ibm.jazz.install.doc/topics/c_special_considerations_linux.html
Donald Nong
commented Dec 10 '14, 1:22 a.m.
My comment was directed to your statement "this is not a solution as I need to know why the global settings did not seem to be happy". So unless you can explain in details what has been changed, no one can answer why.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
As far as I can tell, the server has hardwired the JBE that ships. The Eclipse client as well, as far as I know.
I am not sure in which cases that could be overwritten without you knowing it. I have never experienced what you see.
I'll be happy if someone can recommend something to "fix" my rtc server.
Hi Chrisopher,
I would recommend you looking into tomcat logs and jts.log file for any error messages there.
check the eclipse.ini/jbe.ini to make sure the IBM jvm is still specified.
notice that the IBM JVM uses IBM only parameters which will fail on the other jvms.
I have seen my ini files modified many times, and save a copy for when it happens again