CLM 5.0 + RHEL 6.5: error registering a second CCM application
4 answers
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_configuring_virtual_hosts.html
(this is from the 4.0.1 Information center, but the steps are pretty much the same)
Make sure your virtual host is configured properly. Otherwise, I would recommend checking the WAS logs for that application and seeing if there are any errors there.
I did a quick and dirty test in both my 4.0.5 and 5.0 environments and had no difficulties with bringing up the second CCM application. Here are what I did.
1. Copy server/conf/ccm to server/conf/demo
2. Modify server/conf/demo/teamserver.properties by changing the paths to "demo".
3. Copy server/tomcat/webapps/ccm.war to server/tomcat/webapps/demo.war.
4. Start Tomcat.
That's it really. I can see the login page if I access https://<server>:9443/demo, or get an XML output if I access https://<server>:9443/demo/scr. I have not checked carefully whether I need to change anything else but that should get you started anyway.
Note: I did not register the second CCM "demo" in JTS since I don't want to keep it in my environment.
When checking catalina.out, make sure that there are no errors after the line saying deploying demo.war.
Comments
Hey Donald,
What I have also noticed is in the localhost.2014-07-14.log when logging for other applications (I have enabled the logging level ALL on all possible logs) "Checking for SSO cookie" is logged. But when it logs about the demo application I get the error "SSO cookie not present". And right after this message I get the
I don't think the SSO cookie has anything to do with the HTTP 404 error, because, it's about SSO. The SEVERE error message that you pointed out earlier seems the one we should look at. Since com.ibm.team.repository.server.servletbridge.JazzServlet.service appears in the stack trace, I assume that the CCM application binary already tried to run, but failed. In this case, take a look at server/tomcat/work/Catalina/localhost/demo/eclipse/workspace/.metadata/.log and see what you can find. Maybe you can compare it with server/tomcat/work/Catalina/localhost/ccm/eclipse/workspace/.metadata/.log.
Comments
Hi Mike, it gets more difficult then. I think we are now in the Eclipse territory and it appears that the Eclipse base cannot be initialized. Next thing I would look at is a particular install.log file which can be found in the eclipse/configuration/org.eclipse.osgi/bundles/ folder (use "find" command to locate it). If you can't find anything wrong there, I am afraid that I have nothing more to say.