It's all about the answers!

Ask a question

Jazz server error after changing port


Gianluca Donati (611) | asked Aug 03 '11, 5:27 a.m.
I changed the default ports 9080, 9443 to 19080, 19443 in both tomcat server.xml and jazz teamserver.properties. After tomcat rebooting, most jazz services are unreachable and tomcat log says:


3-Ago-2011 11.03.33 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet equinoxbridgeservlet threw exception
org.apache.http.HttpException: Cannot make local requests for theming when an IOAuthImplicitKeyService is not available
at net.jazz.ajax.service.internal.http.ThemingHandler.sendJfsRequest(ThemingHandler.java:1451)
at net.jazz.ajax.service.internal.http.ThemingHandler.sendBasicJFSGet(ThemingHandler.java:417)
at net.jazz.ajax.service.internal.http.ThemingHandler.createRootNamespace(ThemingHandler.java:1272)
at net.jazz.ajax.service.internal.http.ThemingHandler.initMetadata(ThemingHandler.java:1241)
at net.jazz.ajax.service.internal.http.ThemingHandler.handle(ThemingHandler.java:257)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.doWrappedService(AbstractHandlerWrapperServlet.java:136)
at net.jazz.ajax.service.internal.EndpointRegistrar$1.doWrappedService(EndpointRegistrar.java:83)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.service(AbstractHandlerWrapperServlet.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:811)

Jazz Express-C server deployed on Tomcat, Win2003SP2 32bit.
Ports 9080, 9443 are now dedicated to a new WAS server, so I had to change Jazz ones.
Can anyone tell me what's happening?
Thanks

3 answers



permanent link
Ralph Schoon (63.3k33646) | answered Aug 03 '11, 6:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you did that on an instance that was already set up with the original ports, this is to be expected. In changing the ports you also changed the public URI and broke all the connections between the servers. Also all references are now invalid.

There are several hints that you can not do that in the online help (for instance here: http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/c_planning_URLs.html) as well as in the setup wizard step 1 itself. You can only set the public URI's one time, during the setup. It can not be changed.

See this blog post: http://jazzpractices.wordpress.com/2011/07/21/you-cant-change-the-public-uri-really-you-cant/

Changing the ports back should fix the issue.

permanent link
Gianluca Donati (611) | answered Aug 04 '11, 6:43 a.m.
Thanks for your reply. If I'm not wrong, the blog post says that not even reinstalling could fix the problem, 'cause my current repository isn't portable to an installation with a different url. It's hard to accept such a constraint, but I'll work with it. Thanks once again!

permanent link
Ralph Schoon (63.3k33646) | answered Aug 04 '11, 7:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Thanks for your reply. If I'm not wrong, the blog post says that not even reinstalling could fix the problem, 'cause my current repository isn't portable to an installation with a different url. It's hard to accept such a constraint, but I'll work with it. Thanks once again!


Unfortunately this situation is based on and therefore similar to the internet in general. If you change a server name or port all URL's pointing to that server will fail. It is being looked at but for the time being we have to live with the issue.

Your answer


Register or 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.