How to avoid RRC Server Installation issues.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
Before installing RRC Server, I suggest that the following information be reviewed which is available on the RRC Infocenter.
Installation Roadmap : https://publib.boulder.ibm.com/infocenter/rpcmpose/v7r1m0/topic/com.ibm.rational.rrc.install_upgrade.doc/topics/t_install_rpc.html
In addition, these other 2 topics cover steps that are typically overlooked by users installing and configuring a RRC Server.
Running Server Configuration Utility : https://publib.boulder.ibm.com/infocenter/rpcmpose/v7r1m0/topic/com.ibm.rational.rrc.install_upgrade.doc/topics/t_run_rrc_config.html
Post Installation Tasks : https://publib.boulder.ibm.com/infocenter/rpcmpose/v7r1m0/topic/com.ibm.rational.rrc.install_upgrade.doc/topics/t_postinst_over_product.html
The configuration utility also contains Tutorials for the various configuration setups supported by Composer. Select Help->Tutorials from the Configuration Utility Help menu and select the configuration case that best applies to you from the left pane.
In addition, these other 2 topics cover steps that are typically overlooked by users installing and configuring a RRC Server.
The configuration utility also contains Tutorials for the various configuration setups supported by Composer. Select Help->Tutorials from the Configuration Utility Help menu and select the configuration case that best applies to you from the left pane.
9 answers
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
When I install the RRC2.0 by the IM. I could not start the server by run the "server.startup.bat" file, and get the error "Could not find the JAVA_HOME"
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
I am not sure why you are seeing this error.
are you running Windows or Linux? I assume Windows.
Lets try something based on the comments at the top of the server.startup.bat which indicate that JAVA_HOME environment variable must be reset in order for server startup to work correctly.
Comments from top of server.startup.bat file:
rem Unset JAVA_HOME because we really want to use the JRE that is bundled.
rem Also, Tomcat will complain if JAVA_HOME is set to a JRE instead of a JDK
rem and that should be avoided
set OLD_JAVA_HOME=%JAVA_HOME%
set JAVA_HOME=
Steps to follow
1. please undo any changes you made to the server.startup.bat such as the change to set JRE_HOME line. That line must look as follows:
set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre
2. Next, try setting a blank JAVA_HOME environment variable. In cmd window, type 'set JAVA_HOME='
3. run server.startup.bat
are you running Windows or Linux? I assume Windows.
Lets try something based on the comments at the top of the server.startup.bat which indicate that JAVA_HOME environment variable must be reset in order for server startup to work correctly.
Comments from top of server.startup.bat file:
rem Unset JAVA_HOME because we really want to use the JRE that is bundled.
rem Also, Tomcat will complain if JAVA_HOME is set to a JRE instead of a JDK
rem and that should be avoided
set OLD_JAVA_HOME=%JAVA_HOME%
set JAVA_HOME=
Steps to follow
1. please undo any changes you made to the server.startup.bat such as the change to set JRE_HOME line. That line must look as follows:
set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre
2. Next, try setting a blank JAVA_HOME environment variable. In cmd window, type 'set JAVA_HOME='
3. run server.startup.bat
When I install the RRC2.0 by the IM. I could not start the server by run the "server.startup.bat" file, and get the error "Could not find the JAVA_HOME"
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
Thanks for your help.
But the issue is still in. When I installed the RRC 2.0 server (IBM Rational Requirements Composer Server V 2.0.0 (2.0.0.20090717_0000)) in Windows XP, I could not find the "rrcconfig.exe" file in the Main RRC server folder.
After I followed the steps you suggested. I got the followed error
"C:\Program Files\IBM\RRCS\server>set JAVA_HOME=
C:\Program Files\IBM\RRCS\server>server.startup.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE"
Could you please help me resolve this issue?
But the issue is still in. When I installed the RRC 2.0 server (IBM Rational Requirements Composer Server V 2.0.0 (2.0.0.20090717_0000)) in Windows XP, I could not find the "rrcconfig.exe" file in the Main RRC server folder.
After I followed the steps you suggested. I got the followed error
"C:\Program Files\IBM\RRCS\server>set JAVA_HOME=
C:\Program Files\IBM\RRCS\server>server.startup.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE"
Could you please help me resolve this issue?
I am not sure why you are seeing this error.
are you running Windows or Linux? I assume Windows.
Lets try something based on the comments at the top of the server.startup.bat which indicate that JAVA_HOME environment variable must be reset in order for server startup to work correctly.
Comments from top of server.startup.bat file:
rem Unset JAVA_HOME because we really want to use the JRE that is bundled.
rem Also, Tomcat will complain if JAVA_HOME is set to a JRE instead of a JDK
rem and that should be avoided
set OLD_JAVA_HOME=%JAVA_HOME%
set JAVA_HOME=
Steps to follow
1. please undo any changes you made to the server.startup.bat such as the change to set JRE_HOME line. That line must look as follows:
set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre
2. Next, try setting a blank JAVA_HOME environment variable. In cmd window, type 'set JAVA_HOME='
3. run server.startup.bat
When I install the RRC2.0 by the IM. I could not start the server by run the "server.startup.bat" file, and get the error "Could not find the JAVA_HOME"
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
It appears that you are using RRC v2.0 which is still under development. Those drivers are not available yet for Jazz.net community.
Please use RRC v1.0.0.1 for your Requirement Definition needs.
Please use RRC v1.0.0.1 for your Requirement Definition needs.
Thanks for your help.
But the issue is still in. When I installed the RRC 2.0 server (IBM Rational Requirements Composer Server V 2.0.0 (2.0.0.20090717_0000)) in Windows XP, I could not find the "rrcconfig.exe" file in the Main RRC server folder.
After I followed the steps you suggested. I got the followed error
"C:\Program Files\IBM\RRCS\server>set JAVA_HOME=
C:\Program Files\IBM\RRCS\server>server.startup.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE"
Could you please help me resolve this issue?
I am not sure why you are seeing this error.
are you running Windows or Linux? I assume Windows.
Lets try something based on the comments at the top of the server.startup.bat which indicate that JAVA_HOME environment variable must be reset in order for server startup to work correctly.
Comments from top of server.startup.bat file:
rem Unset JAVA_HOME because we really want to use the JRE that is bundled.
rem Also, Tomcat will complain if JAVA_HOME is set to a JRE instead of a JDK
rem and that should be avoided
set OLD_JAVA_HOME=%JAVA_HOME%
set JAVA_HOME=
Steps to follow
1. please undo any changes you made to the server.startup.bat such as the change to set JRE_HOME line. That line must look as follows:
set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre
2. Next, try setting a blank JAVA_HOME environment variable. In cmd window, type 'set JAVA_HOME='
3. run server.startup.bat
When I install the RRC2.0 by the IM. I could not start the server by run the "server.startup.bat" file, and get the error "Could not find the JAVA_HOME"
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
Thanks for your kindly help.
But I am a developer of Rational Insight. We will integrate with RRC 2.0.
So we need to set up a RRC2.0 server environment. Please tell me where to get RRC 2.0 Server and how to configure it.
But I am a developer of Rational Insight. We will integrate with RRC 2.0.
So we need to set up a RRC2.0 server environment. Please tell me where to get RRC 2.0 Server and how to configure it.
It appears that you are using RRC v2.0 which is still under development. Those drivers are not available yet for Jazz.net community.
Please use RRC v1.0.0.1 for your Requirement Definition needs.
Thanks for your help.
But the issue is still in. When I installed the RRC 2.0 server (IBM Rational Requirements Composer Server V 2.0.0 (2.0.0.20090717_0000)) in Windows XP, I could not find the "rrcconfig.exe" file in the Main RRC server folder.
After I followed the steps you suggested. I got the followed error
"C:\Program Files\IBM\RRCS\server>set JAVA_HOME=
C:\Program Files\IBM\RRCS\server>server.startup.bat
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE"
Could you please help me resolve this issue?
I am not sure why you are seeing this error.
are you running Windows or Linux? I assume Windows.
Lets try something based on the comments at the top of the server.startup.bat which indicate that JAVA_HOME environment variable must be reset in order for server startup to work correctly.
Comments from top of server.startup.bat file:
rem Unset JAVA_HOME because we really want to use the JRE that is bundled.
rem Also, Tomcat will complain if JAVA_HOME is set to a JRE instead of a JDK
rem and that should be avoided
set OLD_JAVA_HOME=%JAVA_HOME%
set JAVA_HOME=
Steps to follow
1. please undo any changes you made to the server.startup.bat such as the change to set JRE_HOME line. That line must look as follows:
set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre
2. Next, try setting a blank JAVA_HOME environment variable. In cmd window, type 'set JAVA_HOME='
3. run server.startup.bat
When I install the RRC2.0 by the IM. I could not start the server by run the "server.startup.bat" file, and get the error "Could not find the JAVA_HOME"
Then I modify the "set JRE_HOME=%cd%\jre" to the "server.startup.bat" and rerun the batch file. But still get the error "Could not set the JAZZ_HOME".
How do I configure the server environment? Please give me more details steps.
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
Validating database alias JRSDB ...
Validating database alias JRSXML ...
Trying to connect to JRS using http://localhost:9444/jazz/ ...
Starting DB2 server...
DB2 : The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
SQL1042C An unexpected system error occurred. SQLSTATE=58004
Database JRSDB already exists
Database JRSXML already exists
Dropping the JRS index table...
Could not connect to the database
The configuration tool will retry to connect to the database
during the server initialization process
SQL1032N No start database manager command was issued. SQLSTATE=57019
Creating data tables...
Cannot create JRS data tables
The initialization aborted with errors!
The operation was canceled!
Why is this occurring?
Validating database alias JRSXML ...
Trying to connect to JRS using http://localhost:9444/jazz/ ...
Starting DB2 server...
DB2 : The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
SQL1042C An unexpected system error occurred. SQLSTATE=58004
Database JRSDB already exists
Database JRSXML already exists
Dropping the JRS index table...
Could not connect to the database
The configuration tool will retry to connect to the database
during the server initialization process
SQL1032N No start database manager command was issued. SQLSTATE=57019
Creating data tables...
Cannot create JRS data tables
The initialization aborted with errors!
The operation was canceled!
Why is this occurring?
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
I have the following config settings
JRS Server URL : https://localhost:9444/jazz/
JRS server installation path c:\program files\IBM\RRCS\Jazz
JRS Server User : ADMIN
JRS server password : ADMIN
DB2 port number : 50000
DB2 database alias : JRSDB
DB2 database drive : E:\
DB2 index database alias : JRSXML
DB2 index database drive : E:\
DB2 user name : db2admin
DB2 password : ........
Lof file Location: c:\temp\rrc_config.log
JRS Server URL : https://localhost:9444/jazz/
JRS server installation path c:\program files\IBM\RRCS\Jazz
JRS Server User : ADMIN
JRS server password : ADMIN
DB2 port number : 50000
DB2 database alias : JRSDB
DB2 database drive : E:\
DB2 index database alias : JRSXML
DB2 index database drive : E:\
DB2 user name : db2admin
DB2 password : ........
Lof file Location: c:\temp\rrc_config.log
![](http://jazz.net/_images/myphoto/51c539fb085f7cd5b6c54541fbf135a0.jpg)
I wonder if there isn't some sort of permissions issue to DB2 (in sufficient privileges for the user being used, expired/invalid password, etc). You might check the installation roadmap in the online help here for some ideas:
http://publib.boulder.ibm.com/infocenter/rpcmpose/v2r0/index.jsp?topic=/com.ibm.rational.rrc.install_upgrade.doc/topics/t_install_rpc.html
http://publib.boulder.ibm.com/infocenter/rpcmpose/v2r0/index.jsp?topic=/com.ibm.rational.rrc.install_upgrade.doc/topics/t_install_rpc.html