|
Re: License token is never released on DOORS 9.6.1.4 [message #1748614 is a reply to message #1744182] |
Fri, 25 November 2016 09:43 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Hi,
I continue with this issue. I thought it was a DOORS problem, so I opened an IBM ticket and they help me to test with CCM. Using this tool, a 'DWA_EDIT' token is taken and once the timeout is achieved, the token is released.
Debugging 'DoorsOauthSample.java', I realized the problem is when the requirement is retrieved. When I execute:
ClientResponse getResponse = client.getResource(requirementURL,OslcMediaType.APPLICATION_RDF_XML);
The 'DWA_Review' token is taken and never released.
What is the difference between CCM and 'DoorsOauthSample.java' behaviors?
Why CCM takes a 'DWA_EDIT' token and 'DoorsOauthSample.java' a "DWA_Review" token?
I hope you could help me with this issue.
BR,
Carlos
[Updated on: Fri, 25 November 2016 09:43] Report message to a moderator
|
|
|
Re: License token is never released on DOORS 9.6.1.4 [message #1748628 is a reply to message #1748614] |
Fri, 25 November 2016 12:52 |
Carlos Gomez Messages: 63 Registered: October 2010 |
Member |
|
|
Hi,
I want to add more information:
When I use 'org.eclipse.lyo.client.oslc.OslcOAuthClient.getResource' in 'DoorsOauthSample.java':
- during authentication process (Steps 1-4) -> no token is taken
- finding ServiceProvider (Steps 4-5) -> no token is taken
- finding QueryCapability (Step 6) -> no token is taken
- finding CreationFactory (Step 7) -> no token is taken
- finding RequirementsInstanceShapes -> no token is taken
- submitting OSLC query (Steps 8-9) -> "DWA_Review" token is taken and never released
- getting requirement (only Steps 12, without Step 10-11) -> "DWA_Review" token is taken and never released
In conclusion, "DWA_Review" token is taken and never released only when an OSLC query is executed for a DOORS module and when it's retrieved a requirement (object) of a DOORS module.
I opened a defect for this case: Bug 508182
BR,
Carlos
[Updated on: Fri, 25 November 2016 13:01] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03159 seconds