Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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)





0 votes

Comments

Please check the RQM logs for the source of the 500 error response.

 Sure, I may have to do that eventually, but it is not easy to arrange in the corporate environment: it is a production server and I would have to request all sorts of permissions from IT to check the logs on that server. I was just hoping that somebody had seen the same problem before (I am playing with the unmodified "official" sample, after all) and would be able to point me in the right direction without the server logs...

 Paul, installing a trial version is a good idea; I did not know it was available. I have already requested the permissions for access to the production server's logs, though, so I hope I will get the answers shortly.



2 answers

Permanent link
It's difficult to determine the issue without the cause of the 500 error response. 

I would suggest installing a trial version of CLM (express setup is very simple) on your personal computer for testing instead of using a production environment.

0 votes


Permanent link

I had the same problem. I resolved adding the Custom Test Automation Script Types in RQM Project Area with id org.eclipse.lyo.clients.oslc.sample

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,079
× 43

Question asked: Sep 04 '15, 12:04 p.m.

Question was seen: 5,767 times

Last updated: Feb 21 '17, 5:51 p.m.

Confirmation Cancel Confirm