Did installing Oracle Java 8 break my RTC server?
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
| Jazz Team Server Location |
Connected to: https://xxx.xxxxxx.com:9443/jts
HTTP/1.1 503 Service Unavailable Server:Apache-Coyote/1.1 Content-Type:text/html;charset=utf-8 Content-Language:en Content-Length:1184 Date:Tue, 09 Dec 2014 03:23:33 GMT Connection:close
|
| Version | 5.0.1 |
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.
ulimit -n 65536
ulimit -u 10000
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
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 09 '14, 2:23 a.m.Christopher Smith
Dec 09 '14, 7:42 a.m.Krzysztof Kaźmierczyk
Dec 09 '14, 8:10 a.m.sam detweiler
Dec 09 '14, 9:31 a.m.