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

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

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 rtctest.502.demo.com". 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.

0 votes


Accepted answer

Permanent link
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 -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- 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" />
    -->
</Context>
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

2 votes

Comments

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."

1 vote

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 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

Question asked: Apr 04 '16, 4:04 a.m.

Question was seen: 3,356 times

Last updated: Apr 13 '16, 4:45 a.m.

Confirmation Cancel Confirm