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

The lyo-rqm-adapter crashes from time to time with http error code 405. Why?

Update at the end of the post!

Hi,

I want to integrate my testtool with RQM 4.0.6 using a custom automation adapter (OSLC). To learn how to develop a custom automation adapter I want to run the Sample Test Automation Adapter Source.

Next to some minor issues the adapter runs pretty well so far. But we're facing a critical issue now. After some time (first run 200 minutes, second run 120 minutes) the adapter crashes. While trying to update the heartbeat a http error code "405: Method not allowed" is returned. Next to this also a JenaException, caused by a SAXParserException is thrown.

Here are excerpts of the log from the first run:
http://pastebin.com/nFgqB16q

I asked google for the last exception and found following bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=389153

Its not exactly the same but maybe a trace. Therefore I changed the log to check, if the user is still logged in. To prove that I called the method getUser() on the JazzFormAuthClient (is this a valid prove?).

Here are the logs of the second run:
http://pastebin.com/vGSwwPVe

As you can see it prints the logged in user name.

At that point I'm pretty helpless in finding a solution or a hint what the problem causes. The system is untouched, the adapter runs normally and suddenly out of nowhere it crashes.

Do you have an idea what the cause could be?

Thanks

UPDATE

I read the wrong line at the first run. The error appears everytime after 120 minutes. I changed the code so that the user automatically re-logins when the error occurs. Now the adapter continues running.

First question:
Can you confirm that this error occurs due to a timeout of the ldap token (or something similar)?

Second question:
How can I check if the user is still logged in?

0 votes



One answer

Permanent link
Hi Michael,

Yes, it appears this error is caused by a session timeout.

Since your remaining questions are related to the Eclipse Lyo sample code, please post these questions to the Eclipse Lyo newsgroup.

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
× 10,938

Question asked: Oct 23 '14, 3:36 a.m.

Question was seen: 3,607 times

Last updated: Oct 24 '14, 10:08 a.m.

Confirmation Cancel Confirm