RELM LQE DWA datasource reindex fails
Hello,
I have installed the SSE solution including RELM and I am trying to create a DOORS datasource for the LQE in https://sse.primeup.com:9443/lqe/web/admin/data-sources following these instructions . After filling out the datasource form, the page shows the following error: Reindex datasource failed. And the following error in the DWA log:
<06-Aug-2013 09:26:33> [http-8443-1] WARN com.telelogic.festival.generalservices.licensing.common.impl.LicenceManagerImpl - Failed to acquire suitable Licence for user [xyz] and package [TRS_DOORS] in session [24BE38BF134D6C1EC1D009A15C4E0C8A]
This is strange because “xyz” is the key and secret, not user.
Investigating the RSSE Sandbox, I see that the functional.user.name AND functional.user.password are set to “Administrator” which I guess is the DOORS administrator. This is different from the help instructions which tells to use the lqe_user from Jazz. I have tried many different values for the properties but the error persists.
The DOORS Derby TRS database starts, initializes and stops with no problem. The TRS configuration in DOORS works fine, that is, I am able to select projects and modules to be tracked (Tools > Configure TRS). The TRS-consumer-internal license is set for lqe_user and theres a corresponding user in the DOORS database, with which I can log into DOORS and into DWA.
There are in place other OSLC integrations between DOORS and Jazz applications (ccm, rqm, rdm), no problem with this.
These are my properties in festival.xml:
<f:properties>
<f:property name="licence.server.location" value="27000@SSE1"/>
<f:property name="published.url.prefix" value="https://sse.primeup.com:8443/doors/redirector/"/>
<f:property name="ForceHttpsForAuthenticationForOAuth" value="true"/>
<f:property name="ForceOAuthForOslcResource" value="false"/>
<f:property name="oauth.domain" value="https://sse.primeup.com:8443/dwa"/>
<f:property name="OauthAccessTokenTimeout" value="40320"/>
<f:property name="functional.user.consumer.key" value="xyz"/>
<f:property name="functional.user.consumer.secret" value="xyz"/>
<f:property name="functional.user.name" value="lqe_user"/>
<f:property name="functional.user.password" value="lqe_user"/>
<f:property name="trs.db.user" value="trs"/>
<f:property name="trs.db.password" value="trs.db.user"/>
<f:property name="trs.page.size" value="250"/>
<f:property name="trs.enable" value="true"/>
</f:properties>
I have also configured the whole environment for the RSSE following these instructions.
Any clues about the cause of the error?
Great job and thanks in advance!
Accepted answer
https://jazz.net/wiki/bin/view/Main/TRSProviderTesting#Importing_TRS_Licenses
Those licenses are the ones which are included in download I mentioned above.
Cheers,
John
Comments
Hello John,
I've managed to follow the instructions but it seems not to work out. Here is what I have:
1-We could not find the mentioned licenses at the license key center website.
From the wiki instructions:
2-The file could not be downloaded using the URL found at https://lqeserver/lqe/scr. I got an error message saiyng the file could not be read. So I found the license jar browsing the file system directly.
3-On "manage licenses" at https://jazzserver/jts/admin, the TRS_consumer_internal.jar, which has the same name as mentioned by the wiki, was already applied for 2 users
4-and-finally, after uploading the license jar, still got the error message from the DWA console: Failed to acquire suitable Licence for user [lqe_user] and package [TRS_DOORS]
I am marking your answer as correct because it makes a lot of sense and no other explanation is available. So, I suppose It is probabilly a PMR issue. Thanks a lot.
Cheers!
2 other answers
Comments
Hello John,
Thanks for the answer. It looks like your are correct, because I dont have the TRS_DOORS licence and I didn't know about it. Is there any documentation explaining about this?
Since it is a single machine topology, the licence server wont be a problem. Im checking what I can do about this licence and I let you know.
I'm sorry but what is a PMR?
Thanks again, your help has been already useful.
Cheers!
The documentation around TRS licensing for DOORS is still a little light unfortunately. If you take a look at your RELM licenses in License Key Center, you should see 2 buttons like this:
(not sure if that picture displays in all browsers - it shows 2 buttons:
'Download'
'Download Jazz Keys' )
The first of those contains the Flex LM licenses including the TRS_DOORS license. You'll need to add all the features in that file to your Flex LM license file to enable DOORS as a TRS contributor.
Sorry for the acronym! A PMR is just another term for a Service Request or a call ticket for the Rational Support team.
Cheers,
John
Comments
Dear John ,
Hi Girish,
Comments
Jin Zhou
May 06 '15, 10:03 p.m.Hi,
I know this is a quite old thred but I got the same error when working on RELM 5.0.2 recently. I figured out the cause and finally fixed the error.
I found there's no need to downloand or install license for DWA datasource indexing. You should already have 2 TRS consumer internal licenses inside of your jts after initial installation. You could assign 1 trs consumer license to lqe_user which is used to perform lqe index with datasource that registed on JTS. Another spared trs consumer license would be used for accessing DWA datasource. So if you haven't yet asssign all the internal trs consumer licenses to jts users, the warning message would gone when you creating datasource of DWA.
Regards