Welcome to the Jazz Community Forum
Problems with RQM after 1st restart

RQM 1.0 + DB2 + LDAP (bluepages) under AIX 5.3
Some background: I've installed RTC onto a linux box and then transferred it to an aix box and configured it to use bluepages and it all works fine.
I am now trying to do the same thing with RQM. I installed it onto a linux box and then copied everything across to an aix box and it all starts up OK and I can login successfully using my bluepages preferredIdentity. However, if I then stop the server and start it again, I can no longer login. I get a message which says:
Redirect loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Stopping and re-starting the server and/or the database doesn't make any difference.
The only way that I have found to fix this is to delete all the RQM files and copy them across again. I don't need to do anything to the database so it appears that something is being changed in one of the installed directories or files.
If I use my browser to look at https://..../jazz/events it prompts me to login, and I can do this successfully (using my preferredIdentity). The server appears to be working because several events are being logged, for example:
CRJAZ0880I The expired ChangeEvents have been deleted.
but nothing that suggests what the problem is or why I can't access the 'admin' login page.
Can anybody suggest what the problem might be, or how I can get more information?
Some background: I've installed RTC onto a linux box and then transferred it to an aix box and configured it to use bluepages and it all works fine.
I am now trying to do the same thing with RQM. I installed it onto a linux box and then copied everything across to an aix box and it all starts up OK and I can login successfully using my bluepages preferredIdentity. However, if I then stop the server and start it again, I can no longer login. I get a message which says:
Redirect loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Stopping and re-starting the server and/or the database doesn't make any difference.
The only way that I have found to fix this is to delete all the RQM files and copy them across again. I don't need to do anything to the database so it appears that something is being changed in one of the installed directories or files.
If I use my browser to look at https://..../jazz/events it prompts me to login, and I can do this successfully (using my preferredIdentity). The server appears to be working because several events are being logged, for example:
CRJAZ0880I The expired ChangeEvents have been deleted.
but nothing that suggests what the problem is or why I can't access the 'admin' login page.
Can anybody suggest what the problem might be, or how I can get more information?
4 answers

Getting a bit closer - when RQM is started for the first time, it creates a very large number of new files. including a lot of 'bundles' in a directory called:
.../server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/
If I stop RQM and then delete everything under this bundles directory, and re-start RQM, the problem disappears and I can log in again. Re-starting RQM recreates everything under the bundles directory so the problem will come back when I stop it again, but I can keep temporarily fixing it by deleting the contents of the bundles directory whenever I stop RQM.
Does anybody know what these files/directories do?
.../server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/
If I stop RQM and then delete everything under this bundles directory, and re-start RQM, the problem disappears and I can log in again. Re-starting RQM recreates everything under the bundles directory so the problem will come back when I stop it again, but I can keep temporarily fixing it by deleting the contents of the bundles directory whenever I stop RQM.
Does anybody know what these files/directories do?

That directory contains the OSGi configuration data for your Jazz
server's code. Deleting it on every restart is not a good idea, since
it will do things like delete your license changes, and potentially
other things.
It sounds like you've got a real problem with RQM, and somebody from the
RQM team should be able to help you figure out the problem.
-
Matt Lavin
Jazz Server Team
On Mon, 2008-12-08 at 14:27 +0000, cawthorn wrote:
server's code. Deleting it on every restart is not a good idea, since
it will do things like delete your license changes, and potentially
other things.
It sounds like you've got a real problem with RQM, and somebody from the
RQM team should be able to help you figure out the problem.
-
Matt Lavin
Jazz Server Team
On Mon, 2008-12-08 at 14:27 +0000, cawthorn wrote:
Getting a bit closer - when RQM is started for the first time, it
creates a very large number of new files. including a lot of
'bundles' in a directory called:
../server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/
If I stop RQM and then delete everything under this bundles directory,
and re-start RQM, the problem disappears and I can log in again.
Re-starting RQM recreates everything under the bundles directory so
the problem will come back when I stop it again, but I can keep
temporarily fixing it by deleting the contents of the bundles
directory whenever I stop RQM.
Does anybody know what these files/directories do?

That directory contains the OSGi configuration data for your Jazz
server's code. Deleting it on every restart is not a good idea, since
it will do things like delete your license changes, and potentially
other things.
It sounds like you've got a real problem with RQM, and somebody from the
RQM team should be able to help you figure out the problem.
-
Matt Lavin
Jazz Server Team
On Mon, 2008-12-08 at 14:27 +0000, cawthorn wrote:
Getting a bit closer - when RQM is started for the first time, it
creates a very large number of new files. including a lot of
'bundles' in a directory called:
../server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/
If I stop RQM and then delete everything under this bundles directory,
and re-start RQM, the problem disappears and I can log in again.
Re-starting RQM recreates everything under the bundles directory so
the problem will come back when I stop it again, but I can keep
temporarily fixing it by deleting the contents of the bundles
directory whenever I stop RQM.
Does anybody know what these files/directories do?
Hi all,
the same behavior happend on our end.
We did not tried to remove the OSCi files from the WebSphere temporary folders, but by adding the following generic JVM arguments (
-Dcom.ibm.team.server.configURL=file:///opt/IBM/RQM/server/teamserver.properties -Dlog4j.configuration=file:///opt/IBM/RQM/server/log4j.properties -Djava.awt.headless=true -Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true -Dcom.ibm.team.repository.provision.profile=///opt/IBM/RQM/server/provision_profiles -Dcom.ibm.rqm.create.samples=false
Now it seems to work fine but each time we try to access a project it redirects us to the admin page as described in the following Defect Request
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=77664
Does someone has an idea why RQM keeps redirectinbg us to the Administration page when we try to access the home page or one of the defined projects ?
Thanks all,

That directory contains the OSGi configuration data for your Jazz
server's code. Deleting it on every restart is not a good idea, since
it will do things like delete your license changes, and potentially
other things.
It sounds like you've got a real problem with RQM, and somebody from the
RQM team should be able to help you figure out the problem.
-
Matt Lavin
Jazz Server Team
On Mon, 2008-12-08 at 14:27 +0000, cawthorn wrote:
Getting a bit closer - when RQM is started for the first time, it
creates a very large number of new files. including a lot of
'bundles' in a directory called:
../server/tomcat/work/Catalina/localhost/jazz/eclipse/configuration/org.eclipse.osgi/bundles/
If I stop RQM and then delete everything under this bundles directory,
and re-start RQM, the problem disappears and I can log in again.
Re-starting RQM recreates everything under the bundles directory so
the problem will come back when I stop it again, but I can keep
temporarily fixing it by deleting the contents of the bundles
directory whenever I stop RQM.
Does anybody know what these files/directories do?
Hi all,
the same behavior happend on our end.
We did not tried to remove the OSCi files from the WebSphere temporary folders, but by adding the following generic JVM arguments (
-Dcom.ibm.team.server.configURL=file:///opt/IBM/RQM/server/teamserver.properties -Dlog4j.configuration=file:///opt/IBM/RQM/server/log4j.properties -Djava.awt.headless=true -Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true -Dcom.ibm.team.repository.provision.profile=///opt/IBM/RQM/server/provision_profiles -Dcom.ibm.rqm.create.samples=false
Now it seems to work fine but each time we try to access a project it redirects us to the admin page as described in the following Defect Request
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=77664
Does someone has an idea why RQM keeps redirectinbg us to the Administration page when we try to access the home page or one of the defined projects ?
Thanks all,
Hi all,
RQM also works perfectly with
For the weird redirect behaviour, we were told on the forum that we were using the wrong url for accessing the site: Good RQM URL: https://<SERVER>/jazz/web/console
The weird redirect behaviouyr still occurs for the uri /jazz/web being redirected to /jazz/admin but I guess that it is an expected behaviour at this point,
Take care all,