It's all about the answers!

Ask a question

Issue integrating DOORS with RQM


Ramavarma M (131) | asked Mar 03 '10, 12:42 a.m.
Hi,

I am trying to integrate DOORS v9.2.0.2 with RQM 2.0. I think I am stuch in the porocess; I believe I am missing a simple but critical point

RQMI server is able to connect to RQM (as can be seen from log below) but then it raises java.lang.StringIndexOutOfBoundsException

Logging level: 2
Mar 3, 2010 6:12:14 AM uk.co.stpsoft.util.Log server
INFO: Initialise RMI_HOST: vipin-0cd6589e1
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise RMI_PORT: 7764
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise POOL_SIZE: 20
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise IPC_PORT: 8768
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: GET _registryManager
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Attempting to get an existing registry ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Existing registry retieved
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log app
INFO: RQMI Server v1.02.0002 starting...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: RMI_PORT: 7764
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Database connection string:jdbc:derby:../../rqmdrsDB;create=false;user=adm
in;password=<encrypted>
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: derby.locks.deadlockTimeout=15
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: derby.locks.waitTimeout=60
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: The connection is live
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: BeforeQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: BeforePrepareStatement(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: AfterPrepareStatement(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: BeforeQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: AfterQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: AfterQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: FieldCount = 5
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: RowCount = 1
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Synchronisation started for: 36677@vipin-0cd6589e1
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log app
INFO: Initialising server ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: get(ResourceType: ALL_PROJECT_AREAS)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log sync
INFO: Sync Interval = 1440
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log sync
INFO: Sync Interval is: 1440 minutes.
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: the worker has been created
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Getting from ... /jazz/secure/service/com.ibm.rqm.integration.service.IInt
egrationService/projects?abbreviate=false
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: client reference
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Start new thread for submitting SSL to RQM
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Security provider
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: client Object created
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: requesting authrequired ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: requesting initialization data ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Logging into RQM ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: responseCode ...200
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Login request status 200
Exception in thread "main" java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1088)
at uk.co.stpsoft.exportserver.RemoteRQMWorker.get(Unknown Source)
at uk.co.stpsoft.exportserver.RQMRMI.initialiseNextTestPlanId(Unknown So
urce)

at uk.co.stpsoft.exportserver.RQMRMI.main(Unknown Source)


I have added users on RQMISYNC in DOORS and RQMIUSER in RQM with necessary licenses and permissions.

rqmdrsDB folder is also crated

Request help.

Thanks in advance.


RV

2 answers



permanent link
John Nason (2.4k1012) | answered Mar 03 '10, 7:35 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I went to integrate RQM with DOORs to reproduce a defect today and hit the same issue. I'm trying to find out more information but unfortunately I do not have access to the DOORs RQMI Server source.
I'll be sure to post when I find out more.
Regards,
John

Hi,

I am trying to integrate DOORS v9.2.0.2 with RQM 2.0. I think I am stuch in the porocess; I believe I am missing a simple but critical point

RQMI server is able to connect to RQM (as can be seen from log below) but then it raises java.lang.StringIndexOutOfBoundsException

Logging level: 2
Mar 3, 2010 6:12:14 AM uk.co.stpsoft.util.Log server
INFO: Initialise RMI_HOST: vipin-0cd6589e1
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise RMI_PORT: 7764
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise POOL_SIZE: 20
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Initialise IPC_PORT: 8768
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: GET _registryManager
Mar 3, 2010 6:12:15 AM uk.co.stpsoft.util.Log server
INFO: Attempting to get an existing registry ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Existing registry retieved
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log app
INFO: RQMI Server v1.02.0002 starting...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: RMI_PORT: 7764
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Database connection string:jdbc:derby:../../rqmdrsDB;create=false;user=adm
in;password=<encrypted>
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: derby.locks.deadlockTimeout=15
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: derby.locks.waitTimeout=60
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: The connection is live
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: BeforeQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: BeforePrepareStatement(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: AfterPrepareStatement(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: BeforeQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Procedure: AfterQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: AfterQuery(SELECT * FROM Database)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: FieldCount = 5
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: DBManager.executeGet: RowCount = 1
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Synchronisation started for: 36677@vipin-0cd6589e1
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log app
INFO: Initialising server ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: get(ResourceType: ALL_PROJECT_AREAS)
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log sync
INFO: Sync Interval = 1440
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log sync
INFO: Sync Interval is: 1440 minutes.
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: the worker has been created
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Getting from ... /jazz/secure/service/com.ibm.rqm.integration.service.IInt
egrationService/projects?abbreviate=false
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: client reference
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Start new thread for submitting SSL to RQM
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Security provider
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: client Object created
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: requesting authrequired ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: requesting initialization data ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Logging into RQM ...
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: responseCode ...200
Mar 3, 2010 6:12:16 AM uk.co.stpsoft.util.Log server
INFO: Login request status 200
Exception in thread "main" java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1088)
at uk.co.stpsoft.exportserver.RemoteRQMWorker.get(Unknown Source)
at uk.co.stpsoft.exportserver.RQMRMI.initialiseNextTestPlanId(Unknown So
urce)

at uk.co.stpsoft.exportserver.RQMRMI.main(Unknown Source)


I have added users on RQMISYNC in DOORS and RQMIUSER in RQM with necessary licenses and permissions.

rqmdrsDB folder is also crated

Request help.

Thanks in advance.


RV

permanent link
Natsumi Yokoyama (209387101) | answered Apr 01 '10, 2:21 a.m.
Hi

Have you started RQM server before staring the RQMI server?
When I faced the same situation, I started the RQM server previously. Then it worked.

Following thread will be about same situation.
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=267564&tstart=30

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.