It's all about the answers!

Ask a question

Rational CLM 6 cli Jazz Setup sending time out when connecting with non-local application


Adrian Arba (112) | asked May 05 '17, 3:30 a.m.
edited May 05 '17, 3:58 a.m.

Hello guys,

I am wandering if you might be able to help me with the following problem:

I am trying to automate the deployment of a Rational CLM 6.0.2 application (using WebSphere as app server and DB2 as database) through Ansible, thus needing to call the Jazz Setup step through command line.

The problem appears when Jazz Setup reaches a step where it is trying to finalize registering a non-local application  (let's say Requirements Manager in this case):


The stdout message from Ansible:

--- Starting Setup For Application: "Requirements Management (https://was_nonlocal.ibm.com:9443/rm)"
--- Executing step: Configure Database By default, this Jazz Team Server includes a pre-configured database using a JDBC connection. You can either keep this default or choose a different database vendor and/or connection type.
The type of connection pool to use (either J2EE or JDBC).
Using properties file entry: rm.1:configure.database.page:db.type=JDBC, The JDBC vendor. 
Using properties file entry: rm.1:configure.database.page:db.vendor=DB2
Using properties file entry: rm.1:configure.database.page:db.jdbc.location=//database_server.ibm.com:50005/RM:user=db2inst2;password={password};
Using properties file entry: rm.1:configure.database.page:db.jdbc.password=*
Performing configuration validation... 
Updating service property configurations...
Creating tables, this may take a few moments...
The database creation has completed successfully
Executing step: Finalize Application 
In order to finish the configuration of this application, there are a few operations that need to be completed. This step will provide feedback regarding the status of these operations. Once this step is complete, the application setup will be complete.
Finalizing
Finalizing ADMIN User
Completing Setup
CRJAZ2438E An error occurred while invoking the service https://was_nonlocal.ibm.com:9443/rm/service/com.ibm.team.repository.service.internal.setup.ISetupCompletionService.
CRJAZ2247E There was an error executing setup for the application "Requirements Management (https://was_nonlocal.ibm.com:9443/rm)"
CRJAZ2594E An error occurred while executing request "https://was_nonlocal.ibm.com:9443/rm/service/com.ibm.team.repository.service.internal.setup.ISetupCompletionService"
"Check the log at "/opt/IBM/CLM_602/server/repotools-jts_setup.log" for more information.""



The message in repotools-jts_setup.log:

repotools-jts -setup adminPassword=* adminUserID=*
@**.ibm.com includeLifecycleProjectStep=false parametersFile=/opt/IBM/jazz_setup.xml repositoryURL=https://was_local_jts.ibm.com:9443/jts
CRJAZ2438E An error occurred while invoking the service https://was_nonlocal.ibm.com:9443/rm/service/com.ibm.team.repository.service.internal.setup.ISetupCompletionService.
com.ibm.team.repository.common.TeamRepositoryException: CRJAZ2594E An error occurred while executing request "https://was_nonlocal.ibm.com:9443/rm/service/com.ibm.team.repository.service.internal.setup.ISetupCompletionService"
Caused by: com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ0099E An HTTP error occurred when this URL was being accessed: /rm/service/com.ibm.team.repository.service.internal.setup.ISetupCompletionService. Error details: java.net.SocketTimeoutException.
  (...)
Caused by: java.net.SocketTimeoutException
  (...)



As mentioned, this is how I run the setup:

- 2 was servers, one with jts and one with rm (non-local), 1 db2 server
- manual cli jazz setup through Ansible (but same happens on direct manual run from terminal)
- response file already generated by Ansible previous to this step
- authentication is set as non-ldap "UNSUPPORTED" for Jazz
- all the servers can communicate with each other (telnet in the was and db2 ports are working from one server to the other)
- internet speed between servers is fair
- firewall was also disabled

Although my script ends in error, when I access the jts/admin URL, I can see and access the RM application and create Projects. The problem is that, If I would like to register 2 non-local applications in this way, the second one would never be registered since the script fails when the first one attempts the registering.

What could be causing this behavior?
Is there any parameter for increasing the timeout value?
Does cli Jazz Setup automatically die after 1 hour?

Thank you for any thoughts.


Comments
Liora Milbaum commented Dec 19 '17, 11:42 a.m.

 Did you find a solution for this issue? Do you have a working playbook for your setup?

Be the first one to answer this question!


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.