Registering sample adapter RQMAutomationSample results in "500: Internal Server Error"
I am attempting to run a sample RQM automation adapter, which is referenced from the "offical" RQM documentation. Here is the link to the sample:
http://wiki.eclipse.org/Lyo/BuildClient#RQMAutomationSample
Running the sample adapter results in "500: Internal Server Error".
I am able to run the Command-Line adapter (which comes with RQM) successfully on the same machine.
Can anybody help, please? What might be the difference between the command-line and the sample, and why is the "official" sample creating an "internal server error"?
I cannot sniff the difference with wireshark since the connection is over https.
The adapter seems to login successfully; it is just the registration that fails.
Here is the entire log produced by the sample:
Sep 4, 2015 11:53:46 AM org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample configureAdapter
INFO: Loading cached adapter properties from file:/C:/Users/mvpomera/dev/RQM/SampleAdapter/org.eclipse.lyo.client/org.eclipse.lyo.client.java.sample/target/classes/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties
Sep 4, 2015 11:53:47 AM org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample configureAdapter
INFO: Logging into service provider at https://rqmclm.rockwellautomation.com/qm
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Sep 4, 2015 11:53:48 AM org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample configureAdapter
INFO: Registering with service provider
Exception in thread "main" org.eclipse.lyo.client.oslc.samples.automation.AutomationException: Failed to register the adapter at https://rqmclm.rockwellautomation.com/qm/oslc_auto_test/contexts/_I-zpoP5dEeSmF_-Muq0a0Q/resources/com.ibm.rqm.execution.ToolAdapter. 500: Internal Server Error
at org.eclipse.lyo.client.oslc.samples.automation.AutomationAdapter.register(AutomationAdapter.java:800)
at org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample.configureAdapter(RQMAutomationSample.java:147)
at org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample.begin(RQMAutomationSample.java:78)
at org.eclipse.lyo.client.oslc.samples.automation.RQMAutomationSample.main(RQMAutomationSample.java:65)
Comments
Paul Slauenwhite
FORUM MODERATOR / JAZZ DEVELOPER Sep 08 '15, 10:34 a.m.Mikhail Pomeranets
Sep 08 '15, 10:43 a.m.Mikhail Pomeranets
Sep 09 '15, 8:46 a.m.