Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 
The server status cannot be retrieved.ID CRJAZ1505E
show details
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

0 votes

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.


If RTC is "fragile", I will have a lot of trouble getting the rest of my company to start using it.

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



One answer

Permanent link
 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.

1 vote

Comments

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).
http://www.cyberciti.biz/faq/howto-linux-get-list-of-open-files/

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,487
× 343

Question asked: Dec 08 '14, 10:44 p.m.

Question was seen: 6,397 times

Last updated: Dec 10 '14, 1:22 a.m.

Confirmation Cancel Confirm