Problem runnig addaptor in RQM
Hello I'm trying to run an RQM adapter that worked for rqm 2.0 & 3.0 but now with rqm 4.0 i keep getting an error after trying to run the command line :
"C:\Users\user\Documents\TestShell Files\RQM Integration\2.0.1>start.bat -repository https://localhost:9443/qm -user admin -password admin -adapter %USERNAME%
Launching Command Line Adapter...
Configuration file C:\Users\user\Documents\TestShell Files\RQM Integration\2.0.1\Config.ini does not exist, adapter will use the arguments passed
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying TLS
Successfully created an HTTP client
The adapter is now connected
Failed to save configuration file for the command line adapter
com.ibm.rqm.adapter.library.data.AdapterException: no protocol: <html><head><tit
le>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,
Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16
px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgro
und-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:bl
ack;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76
;}--></style> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="nosh
ade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>descript
ion</b> <u>The request sent by the client was syntactically incorrect.</u></p><H
R size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.j
ava:205)
at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLi
neAdapter.java:181)
Caused by: java.net.MalformedURLException: no protocol: <html><head><title>Apach
e Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sa
ns-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:T
ahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-colo
r:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#5
25D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font
-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></s
tyle> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p>
<b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The request sent by the client was syntactically incorrect.</u></p><HR size="
1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at java.net.URL.<init>(URL.java:585)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.j
ava:201)
... 1 more
Created Command Line Adapter
Adapter polling RQM server for instructions.
Error in GET for URL:https://localhost:9443/qm/secure/service/com.ibm.rqm.integr
ation.service.IIntegrationService/resources/Quality+Manager/adapter/Administrato
r; ResponseCode:400
Stored configuration is out of sync. Adapter is re-registering.
Adapter process going for sleep for: 5 seconds."
I have to kill the command in order to continue working and can't get the adapter to run.
I'm using a modified 2.0 adapter code.
Thanks
"C:\Users\user\Documents\TestShell Files\RQM Integration\2.0.1>start.bat -repository https://localhost:9443/qm -user admin -password admin -adapter %USERNAME%
Launching Command Line Adapter...
Configuration file C:\Users\user\Documents\TestShell Files\RQM Integration\2.0.1\Config.ini does not exist, adapter will use the arguments passed
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying TLS
Successfully created an HTTP client
The adapter is now connected
Failed to save configuration file for the command line adapter
com.ibm.rqm.adapter.library.data.AdapterException: no protocol: <html><head><tit
le>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,
Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-
family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16
px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgro
und-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:bl
ack;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76
;}--></style> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="nosh
ade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>descript
ion</b> <u>The request sent by the client was syntactically incorrect.</u></p><H
R size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.j
ava:205)
at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLi
neAdapter.java:181)
Caused by: java.net.MalformedURLException: no protocol: <html><head><title>Apach
e Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sa
ns-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:T
ahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-colo
r:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#5
25D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font
-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></s
tyle> </head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p>
<b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The request sent by the client was syntactically incorrect.</u></p><HR size="
1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html>
at java.net.URL.<init>(URL.java:585)
at java.net.URL.<init>(URL.java:482)
at java.net.URL.<init>(URL.java:431)
at com.ibm.rqm.adapter.library.data.NewRequester.register(NewRequester.j
ava:201)
... 1 more
Created Command Line Adapter
Adapter polling RQM server for instructions.
Error in GET for URL:https://localhost:9443/qm/secure/service/com.ibm.rqm.integr
ation.service.IIntegrationService/resources/Quality+Manager/adapter/Administrato
r; ResponseCode:400
Stored configuration is out of sync. Adapter is re-registering.
Adapter process going for sleep for: 5 seconds."
I have to kill the command in order to continue working and can't get the adapter to run.
I'm using a modified 2.0 adapter code.
Thanks
Comments
Ara Masrof
JAZZ DEVELOPER Jun 10 '13, 8:20 p.m.Dan,