It's all about the answers!

Ask a question

Does the LPA app support multiple JTS?


Daniel Stefan Haischt (21412322) | asked Jan 03 '11, 2:15 p.m.
Hi,

I distributed the CCM, RM, and QM apps on multiple, distinct WAS nodes. Each WAS node currently runs its own JTS and LPA application.

What I'd like to know is whether the LPA application can be installed on just one node and whether in such a case it would serve multiple JTS? That way I would be able to add a CLM app (e.g. RM, CCM or QM) to the LPA application that actually runs on a different server (i.e. a different WAS node) using the configuration tab.

Cheers
Daniel

Accepted answer


permanent link
Matthew Jarvis (2411) | answered Jan 06 '11, 9:15 a.m.
JAZZ DEVELOPER
Daniel,

I think it might be easier to continue this investigation in a work item since it seems like there's a real bug here and not just a configuration problem. I opened http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=148851

Could you attach your admin.log to that work item? Also, could you comment in the work item with the build id you got your admin.war from?

Thanks,
Matt Jarvis, Jazz LPA Development Lead
Daniel Stefan Haischt selected this answer as the correct answer

11 other answers



permanent link
Matthew Jarvis (2411) | answered Jan 04 '11, 10:05 a.m.
JAZZ DEVELOPER
Hi Daniel,

The only requirement is that LPA is installed on the same node as your stand-alone JTS. The other applications, which can be running on different nodes, will register with LPA when they are registered with your stand-alone JTS.

For example, the JTS and LPA need to be co-located, so you could install the JTS at https://server1:9443/jts and LPA at https://server1:9443/admin. CCM could be installed at https://server2:9443/ccm, QM at https://server3:9443/qm, and RM at https://server4:9443/rm. In order to configure your applications, you should point a browser to https://server1:9443/jts/setup and follow the steps of the setup wizard. At the "Register Applications" step, you should add entries for each of your applications. (There should be an entry for the LPA application pre-populated since it's on the same node as the JTS.) For example:

Name: CCM
Discovery Document: https://server2:9443/ccm/scr
Functional User: ccm_user

This would allow the single LPA instance to manage the CCM, QM, and RM applications on different nodes. Let me know if you have any more questions.

Thanks,
Matt Jarvis, Jazz LPA Development Lead

permanent link
Robin Bater (3.4k47) | answered Jan 04 '11, 12:56 p.m.
JAZZ DEVELOPER
Hi Daniel,

The only requirement is that LPA is installed on the same node as your stand-alone JTS. The other applications, which can be running on different nodes, will register with LPA when they are registered with your stand-alone JTS.

For example, the JTS and LPA need to be co-located, so you could install the JTS at https://server1:9443/jts and LPA at https://server1:9443/admin. CCM could be installed at https://server2:9443/ccm, QM at https://server3:9443/qm, and RM at https://server4:9443/rm. In order to configure your applications, you should point a browser to https://server1:9443/jts/setup and follow the steps of the setup wizard. At the "Register Applications" step, you should add entries for each of your applications. (There should be an entry for the LPA application pre-populated since it's on the same node as the JTS.) For example:

Name: CCM
Discovery Document: https://server2:9443/ccm/scr
Functional User: ccm_user

This would allow the single LPA instance to manage the CCM, QM, and RM applications on different nodes. Let me know if you have any more questions.

Thanks,
Matt Jarvis, Jazz LPA Development Lead


Hi Matt,

I believe that Daniel has used separate JTS because he wants to try the approach of installing RRC (M9), RQM (M11) RTC V3 (GA) on separate WAS nodes, all of which use different versions of JTS and cannot be used with a single instance of JTS.

Do you have any recommendation for using the latest milestone versions of all 3 products together?

permanent link
Daniel Stefan Haischt (21412322) | answered Jan 04 '11, 2:04 p.m.
Hi Daniel,

The only requirement is that LPA is installed on the same node as your stand-alone JTS. The other applications, which can be running on different nodes, will register with LPA when they are registered with your stand-alone JTS.

For example, the JTS and LPA need to be co-located, so you could install the JTS at https://server1:9443/jts and LPA at https://server1:9443/admin. CCM could be installed at https://server2:9443/ccm, QM at https://server3:9443/qm, and RM at https://server4:9443/rm. In order to configure your applications, you should point a browser to https://server1:9443/jts/setup and follow the steps of the setup wizard. At the "Register Applications" step, you should add entries for each of your applications. (There should be an entry for the LPA application pre-populated since it's on the same node as the JTS.) For example:

Name: CCM
Discovery Document: https://server2:9443/ccm/scr
Functional User: ccm_user

This would allow the single LPA instance to manage the CCM, QM, and RM applications on different nodes. Let me know if you have any more questions.

Thanks,
Matt Jarvis, Jazz LPA Development Lead


Hi Matt,

I believe that Daniel has used separate JTS because he wants to try the approach of installing RRC (M9), RQM (M11) RTC V3 (GA) on separate WAS nodes, all of which use different versions of JTS and cannot be used with a single instance of JTS.

Do you have any recommendation for using the latest milestone versions of all 3 products together?

What Robin called out is exactly the issue I am facing right now. Using three different JTS instances each deployed to a separate WAS node that is. I know what I did is contrary to the approach Jazz V3 took which is just using a single JTS for each CLM app. I took that approach to be able to use the CCM GA version together with the latest RM and QM milestones.

Cheers
Daniel

permanent link
Matthew Jarvis (2411) | answered Jan 04 '11, 3:13 p.m.
JAZZ DEVELOPER
Okay, I understand. I think you *should* be able to connect RTC 3.0 and the latest milestone builds of RQM and RRC to a server running the most recent JTS milestone, but it should also be possible to get things working with LPA in the topology you describe. You should still only have one LPA instance, and you can register it with the stand-alone JTS used by RM. For the applications that aren't registered with the same JTS as LPA, you'll need to follow a few manual steps for each application. (Applications that are registered to the same JTS as LPA can connect to LPA as I described before):

I'll use https://server:9443/ccm as an example in the following steps:

1.) Point a browser at https://server:9443/ccm/admin#action=com.ibm.team.repository.admin.configureOAuth
2.) Register a new consumer:
2a.) Name: LPA
2b.) Secret: <choose_a_secret> (Remember this for step 6 later on)
2c.) Trusted: Yes
3.) Find the LPA consumer you just created in the authorized keys table, edit the entry, and add a Functional User Id. Make sure the functional user id you enter has the appropriate license (Analyst in RRC, Quality Professional in RQM, Developer in RTC). Take note of the consumer key in the table for step 6 later on.
4.) Point a browser at the LPA Web UI (example: https://server:9443/admin/web) and go to the Configuration tab
5.) In the "Registered Applications" table, click "Add...", and enter the ccm rootservices URI (https://server:9443/ccm/rootservices)
6.) Enter the OAuth key and secret from steps 2 and 3 above
7.) Click Validate and Finish

After all the applications are registered with LPA, you should be able to use LPA to create projects across all the applications and manage the users in those projects.

Hope that helps,
Matt Jarvis, Jazz LPA Development Lead

permanent link
Daniel Stefan Haischt (21412322) | answered Jan 04 '11, 6:10 p.m.
Okay, I understand. I think you *should* be able to connect RTC 3.0 and the latest milestone builds of RQM and RRC to a server running the most recent JTS milestone, but it should also be possible to get things working with LPA in the topology you describe. You should still only have one LPA instance, and you can register it with the stand-alone JTS used by RM. For the applications that aren't registered with the same JTS as LPA, you'll need to follow a few manual steps for each application. (Applications that are registered to the same JTS as LPA can connect to LPA as I described before):

I'll use https://server:9443/ccm as an example in the following steps:

1.) Point a browser at https://server:9443/ccm/admin#action=com.ibm.team.repository.admin.configureOAuth
2.) Register a new consumer:
2a.) Name: LPA
2b.) Secret: <choose_a_secret> (Remember this for step 6 later on)
2c.) Trusted: Yes
3.) Find the LPA consumer you just created in the authorized keys table, edit the entry, and add a Functional User Id. Make sure the functional user id you enter has the appropriate license (Analyst in RRC, Quality Professional in RQM, Developer in RTC). Take note of the consumer key in the table for step 6 later on.
4.) Point a browser at the LPA Web UI (example: https://server:9443/admin/web) and go to the Configuration tab
5.) In the "Registered Applications" table, click "Add...", and enter the ccm rootservices URI (https://server:9443/ccm/rootservices)
6.) Enter the OAuth key and secret from steps 2 and 3 above
7.) Click Validate and Finish

After all the applications are registered with LPA, you should be able to use LPA to create projects across all the applications and manage the users in those projects.

Hope that helps,
Matt Jarvis, Jazz LPA Development Lead


Hi Matt,

I think I already accomplished what you are describing by manually editing the friends.rdf file of the LPA app. My proof for that is that I can create a new lifecycle app using the LPA app based on the "no template (build project manually)" template. Already existing lifecycle projects residing on different WAS nodes will be listed accordingly. Thus my statement that I think I accomplished what you were describing.

What does NOT work is creating a lifecycle app using the "Quality Professional..." template. Probably because the first approach is a bottom up approach where the latter approach is a top down approach that involves creating new project areas and users.

Cheers
Daniel

permanent link
Matthew Jarvis (2411) | answered Jan 05 '11, 8:34 a.m.
JAZZ DEVELOPER
Daniel,

Yes, manually editing the friends file should have the same effect. You can confirm that the applications are linked to LPA correctly by going to the configuration tab in the LPA Web UI and making sure the applications and their domains are listed correctly.

If everything looks good there, it may just be an issue with the functional user associated with your consumer key/secret for each application. You should make sure that the consumer key LPA is using for each application:

1.) Is marked "trusted" in that application
2.) Has a preauthorized (functional) user associated with it
3.) That the functional user has JazzAdmins privileges and has the appropriate licenses (Developer for RTC, Analyst for RRC, Quality Professional for RQM)

If you think that is okay too, could you post the error message you're seeing when you try to create an LPA project using the Quality Professional template?

-Matt Jarvis, Jazz LPA Development Lead

permanent link
Daniel Stefan Haischt (21412322) | answered Jan 05 '11, 1:01 p.m.
Daniel,

Yes, manually editing the friends file should have the same effect. You can confirm that the applications are linked to LPA correctly by going to the configuration tab in the LPA Web UI and making sure the applications and their domains are listed correctly.

If everything looks good there, it may just be an issue with the functional user associated with your consumer key/secret for each application. You should make sure that the consumer key LPA is using for each application:

1.) Is marked "trusted" in that application
2.) Has a preauthorized (functional) user associated with it
3.) That the functional user has JazzAdmins privileges and has the appropriate licenses (Developer for RTC, Analyst for RRC, Quality Professional for RQM)

If you think that is okay too, could you post the error message you're seeing when you try to create an LPA project using the Quality Professional template?

-Matt Jarvis, Jazz LPA Development Lead


Hi Matt,

I validated (1), (2) and (3) and here my setup seems to look alright. If I try to create a test project using the LPA app, the setup wizard fails during the step "Running pre-validation checks" with "Error instantiating the template: java.lang.NullPointerException".

This is the corresponding exception:

[1/5/11 18:48:36:004 CET] 00000145 SystemErr     R Exception in thread "Thread-601" java.lang.RuntimeException: com.ibm.team.cpa.automation.TaskException: java.lang.NullPointerException

[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.AsyncTask$TaskRunner.run(AsyncTask.java:42)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at java.lang.Thread.run(Thread.java:736)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R Caused by: com.ibm.team.cpa.automation.TaskException: java.lang.NullPointerException
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.CompositeTask$MonitoredSubTask.run(CompositeTask.java:74)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.CompositeTask.run(CompositeTask.java:149)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.AsyncTask$TaskRunner.run(AsyncTask.java:40)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R ... 1 more
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R Caused by: java.lang.NullPointerException
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.ws.webcontainer.srt.SRTServletRequest$SRTServletRequestHelper.access$2100(SRTServletRequest.java:2629)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.ws.webcontainer.srt.SRTServletRequest.processLocales(SRTServletRequest.java:2141)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.ws.webcontainer.srt.SRTServletRequest.getLocales(SRTServletRequest.java:666)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at javax.servlet.ServletRequestWrapper.getLocales(ServletRequestWrapper.java:330)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.common.util.ClientMessages.getLocales(ClientMessages.java:136)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.common.util.ClientMessages.getString(ClientMessages.java:192)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.tasks.ValidationTask.validateUser(ValidationTask.java:79)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.tasks.ValidationTask.runTask(ValidationTask.java:65)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.common.tasks.AbstractTask.run(AbstractTask.java:56)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.CompositeTask.run(CompositeTask.java:149)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R at com.ibm.team.cpa.automation.CompositeTask$MonitoredSubTask.run(CompositeTask.java:68)
[1/5/11 18:48:36:004 CET] 00000145 SystemErr R ... 3 more


I am using the LPA app from the RQM M11 milestone and the JTS app from the RTC V3 GA release. Just to get it right - If I would download the most recent Jazz Foundation release, would it contain a more recent LPA app or does a Jazz Foundation release always come without the LPA app?

On the LPA configuration page I see these entries:

Change and Configuration Management	CCM	https://rtc.polly.boeblingen.de.ibm.com:63002/ccm	


Quality Management QM https://rqm.polly.boeblingen.de.ibm.com:61002/qm,https://rqm.polly.boeblingen.de.ibm.com:61002/jts

Requirements Management RM https://rrc.polly.boeblingen.de.ibm.com:64002/rm,https://rrc.polly.boeblingen.de.ibm.com:64002/jts


Hint: Both the LPA app and the CCM app were installed on the same WAS node. I try to not use the other LPA apps on the other WAS nodes any longer.

Cheers
Daniel

permanent link
Matthew Jarvis (2411) | answered Jan 05 '11, 2:50 p.m.
JAZZ DEVELOPER
That stack trace makes it look like the application is having a problem determining the locale of your browser (or that your browser is set to a locale that the server doesn't recognize). What locale are you using in your browser?

If you aren't already using it, could you try changing to "en-us" to see if that corrects the problem? If that fixes the problem, I'll open up a bug.

Thanks,
Matt Jarvis, Jazz LPA Development Lead

permanent link
Daniel Stefan Haischt (21412322) | answered Jan 05 '11, 3:23 p.m.
That stack trace makes it look like the application is having a problem determining the locale of your browser (or that your browser is set to a locale that the server doesn't recognize). What locale are you using in your browser?

If you aren't already using it, could you try changing to "en-us" to see if that corrects the problem? If that fixes the problem, I'll open up a bug.

Thanks,
Matt Jarvis, Jazz LPA Development Lead


Hi Matt,

my locale is set to en-us and the fallback local is en. I am using Firefox Namoroka 3.6.3 64bit.

Cheers
Daniel

Your answer


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