It's all about the answers!

Ask a question

Problems with RTC 1.0.1 after first restart


Chris Cawthorne (962819) | asked Dec 11 '08, 11:12 a.m.
Jazz RTC 1.0.1 + AIX 5.3 + LDAP (bluepages) + DB2

I recently reported a very similar problem on RQM:

https://jazz.net/forums/viewtopic.php?t=2936

and now I've hit the same problem on RTC 1.0.1

I've just migrated one of our repositories to RTC 1.0.1 and it re-started OK for the first time after the migration, but next time it was stopped/re-started, nobody was able to login from a browser, and the browser complained about a 'Redirect loop'.

I've now found the problem and it's in:

.../jazz/server/tomcat/conf/server.xml

One of the lines in this file is very long (about 416 characters) - it's somewhere around line number 273. It's within an xml comment and it starts:

* Pooled means that the replication ....

All the other lines in this file are less than 146 characters so I split this line into shorter lengths and now it all works OK. This has fixed the problem for both RTC 1.0.1 and RQM

If you hit this problem you will need to fix the server.xml file, but you will also need to stop the server and delete the following directory:

.../jazz/server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/

This directory will be automatically re-created when you re-start the server. You will also have to re-install all the licenses.

5 answers



permanent link
Matt Lavin (2.7k2) | answered Dec 11 '08, 11:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
It seems that the AIX VM has a significantly smaller default stack size
than the other VMs and increasing it should fix your problem.

The full discussion is available at
https://jazz.net/jazz/web/projects/Jazz%
20Project#action=com.ibm.team.workitem.viewWorkItem&id=65510

Comments 27-28 should explain how to work around the problem by changing
the VM size options

-
Matt Lavin
Jazz Server Team


On Thu, 2008-12-11 at 16:17 +0000, cawthorn wrote:
Jazz RTC 1.0.1 + AIX 5.3 + LDAP (bluepages) + DB2

I recently reported a very similar problem on RQM:

https://jazz.net/forums/viewtopic.php?t=2936

and now I've hit the same problem on RTC 1.0.1

I've just migrated one of our repositories to RTC 1.0.1 and it
re-started OK for the first time after the migration, but next time
it was stopped/re-started, nobody was able to login from a browser,
and the browser complained about a 'Redirect loop'.

I've now found the problem and it's in:

.../jazz/server/tomcat/conf/server.xml

One of the lines in this file is very long (about 416 characters) -
it's somewhere around line number 273. It's within an xml comment and
it starts:

* Pooled means that the replication ....

All the other lines in this file are less than 146 characters so I
split this line into shorter lengths and now it all works OK. This
has fixed the problem for both RTC 1.0.1 and RQM

If you hit this problem you will need to fix the server.xml file, but
you will also need to stop the server and delete the following
directory:


../jazz/server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/


This directory will be automatically re-created when you re-start the
server. You will also have to re-install all the licenses.

permanent link
Chris Cawthorne (962819) | answered Dec 11 '08, 12:29 p.m.
Thanks for that but wouldn't it be desirable to split the line in server.xml into smaller pieces anyway. It's clearly not meant to look the way it does because none of the surrounding lines look the same.

permanent link
Matt Lavin (2.7k2) | answered Dec 11 '08, 1:48 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Do you have more information about how shortening a line in an XML file
would fix the redirect problem?

Deleting
the ../jazz/server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/

would temporarily fix the problem from the bug. Are you saying that if
you change the XML then you can use and restart the server without the
problem coming back?

-
Matt Lavin
Jazz Server Team


On Thu, 2008-12-11 at 16:17 +0000, cawthorn wrote:
Jazz RTC 1.0.1 + AIX 5.3 + LDAP (bluepages) + DB2

I recently reported a very similar problem on RQM:

https://jazz.net/forums/viewtopic.php?t=2936

and now I've hit the same problem on RTC 1.0.1

I've just migrated one of our repositories to RTC 1.0.1 and it
re-started OK for the first time after the migration, but next time
it was stopped/re-started, nobody was able to login from a browser,
and the browser complained about a 'Redirect loop'.

I've now found the problem and it's in:

.../jazz/server/tomcat/conf/server.xml

One of the lines in this file is very long (about 416 characters) -
it's somewhere around line number 273. It's within an xml comment and
it starts:

* Pooled means that the replication ....

All the other lines in this file are less than 146 characters so I
split this line into shorter lengths and now it all works OK. This
has fixed the problem for both RTC 1.0.1 and RQM

If you hit this problem you will need to fix the server.xml file, but
you will also need to stop the server and delete the following
directory:


../jazz/server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/


This directory will be automatically re-created when you re-start the
server. You will also have to re-install all the licenses.

permanent link
Chris Cawthorne (962819) | answered Dec 12 '08, 5:23 a.m.
Yes, shortening the line has permanently fixed the problem.

The same problem occurs on both RTC 1.0.1 and RQM 1.0 and this appears to have permanently fixed it for both of them.

permanent link
Chris Cawthorne (962819) | answered Dec 12 '08, 9:57 a.m.
and just for the record, the '-Xss512k' option is already in the server.xml file that comes with RQM so it didn't fix the problem at all.

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.