It's all about the answers!

Ask a question

Attempting to upgrade Tomcat results into Rational Team Concert is no longer accessible through Eclipse client

Natarajan Thirumeni (288320) | asked Apr 04 '16, 4:04 a.m.
edited Apr 13 '16, 4:45 a.m. by Ralph Schoon (61.4k33643)
After an upgrade of Tomcat server, the web client works, but attempting to access the RTC through Eclipse client or the scm command line tools results in this error:

An internal error occurred during: "Logging into". java.lang.IllegalStateException: The URI "/ccm/authenticated/identity?
redirectPath=%2Fccm%2Fjauth-issue-token" is expected to be absolute

Reverting to the old tomcat works, but you require the new Tomcat in order to fix vulnerabilities.

Accepted answer

permanent link
Natarajan Thirumeni (288320) | answered Apr 04 '16, 4:05 a.m.
1. Go to Tomcat version which was upgraded
2. Find context.xml under upgraded Tomcat server (example, C:\Program Files\IBM\JazzTeamServer_5.0.2\server\tomcat\conf)
3. Back up the context.xml file
4. Change context.xml with the following setting (useRelativeRedirects="false" from true)
<!-- The contents of this file will be loaded for each web application -->
<Context useRelativeRedirects="false">

    <!-- Default set of monitored resources -->

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <Manager pathname="" />

    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
4. Save changes and restart the server.
5. Validate Eclipse and SCM clients should connect to RTC server without an error message.
Ralph Schoon selected this answer as the correct answer

Marius Luca commented Apr 13 '16, 3:53 a.m. | edited Apr 13 '16, 4:39 a.m.

Thanks a lot! The first answer helped to solve this issue. In my case I used to install a new Tomcat version in 6.0.1. Then the RTC 5.0.2 Clients were not able to login anymore. Error below:

" An internal error occurred during: "Logging into <hotsname>".java.lang.IllegalStateException: The URIĀ "/ccm/secure/authenticated/identity?redirectPath=%2Fccm%2Fjauth-issue-token" is expected to be absolute."

Natarajan Thirumeni commented Apr 13 '16, 4:02 a.m. | edited Apr 13 '16, 4:39 a.m.

The solution is applicable if you are using your own Tomcat sever instead of out of the box Liberty server that is shipped with RTC 601.

There is no more Tomcat Application server is bundled in CLM package, starting from 6.0.1 version. In this case, you might be forced to use Tomcat instead of Liberty.

Your answer

Register or to post your answer.