It's all about the answers!

Ask a question

Problem registering the admin app in the RC0 release (again)


Gabriel van diepen (8662) | asked Sep 23 '10, 12:15 p.m.
I followed all the instructions in installing the Release Candidate 0 (Beta 2) Milestone, but I got stuck on the last step in the setup: "Register Applications".

For some reason the ADMIN application is not being accepted.

At the top it is showing:
An error occurred while attempting to register the applications.ID CRJAZ1726E

Please help. This is the second time that I am installing the whole bunch. The first time I didn't install the trial licenses. But this time I installed everything correctly.

When I click on "Show details" the following is shown:

Error invoking registration handler for application "ADMIN" at https://localhost:9443/admin/jtsregistrationID CRJAZ1720E
com.ibm.team.repository.common.TeamRepositoryException
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.postRegisterApp(FriendsAdminRestService.java:590)
sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
$Proxy174.postRegisterApp(Unknown Source)
sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:500)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1817)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1673)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1584)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:811)
Caused by:
Registration handler for application "ADMIN" at https://localhost:9443/admin/jtsregistration failed with status 500 and response body " 500 java.io.IOException java.io.IOException at com.ibm.team.cpa.common.services.JtsRegistrationService.registerJts(JtsRegistrationService.java:104) at com.ibm.team.cpa.common.services.JtsRegistrationService.saveProperties(JtsRegistrationService.java:83) at com.ibm.team.jfs.app.servlet.util.BaseRegistrationService.doPost(BaseRegistrationService.java:106) at com.ibm.team.cpa.common.services.JtsRegistrationService.doPost(JtsRegistrationService.java:70) at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:167) at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:272) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:811) Caused by: java.lang.NullPointerException at java.net.URI$Parser.parse(URI.java:3028) at java.net.URI.<init>(URI.java:604) at java.net.URI.create(URI.java:866) at com.ibm.team.cpa.common.services.JtsRegistrationService.getUserUri(JtsRegistrationService.java:146) at com.ibm.team.cpa.common.services.JtsRegistrationService.assignPreauthUserLicense(JtsRegistrationService.java:119) at com.ibm.team.cpa.common.services.JtsRegistrationService.registerJts(JtsRegistrationService.java:99) ... 28 more Internal Error 500 " (com.ibm.team.repository.common.TeamRepositoryException)ID CRJAZ1721E
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.notifyAppRegistrationHandler(FriendsAdminRestService.java:695)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.postRegisterApp(FriendsAdminRestService.java:577)
sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
... 37 more.

6 answers



permanent link
Gabriel van diepen (8662) | answered Oct 05 '10, 9:44 a.m.
I succeeded at last to install (at least partly) Jazz 3.0 Server (Beta 2).

The two factors of success were:
1. Creating an alias entry in my HOSTS file and using this during setup
2. Limiting the installation to only the ADMIN and one other application

Hereunder in more detail:
1. First I used during setup "localhost" as a server name. This was being accepted with a warning, but appearently this gave problems later on during the setup.
This was resolved by making an entry in the HOSTS file (C:\Windows\system32\drivers\etc) that look likes this format:

<ipaddress> clmwb

Then the alias "clmwb" (or any other name you choose) can be used during setup as base URL: https://clmwb:9443/jts

2. I found out that my 2 GB memory was not enough to register all my applications, so I resolved to install and register only the applications ADMIN and one of the other applications (in my case RM).

After succesfully setting up the applications off course I encounter other problems, :roll: but I will adress these in other topics.

permanent link
Carolyn Pampino (21) | answered Sep 27 '10, 3:30 p.m.
Thanks Matt, I logged a defect and included my logs:
http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=133907

It is difficult to determine the root cause of the problem from the error message that is being reported. Could you please file a defect against "Lifecycle Project Administration" and attach your log files? You can create a new defect here: http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.newWorkItem&type=defect

Thank you,
Matt Jarvis
Jazz Developer, Lifecycle Project Administration


During setup, when you created a new user (rather than ADMIN) did you assign CALS? or check the CAL assignment for the user you are running under: Instructions are here: https://jazz.net/wiki/bin/view/Main/ClmSetupInstructions#6_Setup_User_Registry

permanent link
Kurt Solarte (1633) | answered Sep 27 '10, 12:50 a.m.
JAZZ DEVELOPER
Thanks Matt, I logged a defect and included my logs:
http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=133907

It is difficult to determine the root cause of the problem from the error message that is being reported. Could you please file a defect against "Lifecycle Project Administration" and attach your log files? You can create a new defect here: http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.newWorkItem&type=defect

Thank you,
Matt Jarvis
Jazz Developer, Lifecycle Project Administration

permanent link
Yaron Norani (47267064) | answered Sep 26 '10, 10:37 a.m.
Hi,

Same problem. Installing on Windows machine.
All Applications are registered accept the ADMIN.
tried with both ADMIN user and a new user that is a member to all groups.

Can it be that you have to first add a jazz team server at the configuration tab?

permanent link
Matthew Jarvis (2411) | answered Sep 24 '10, 9:29 a.m.
JAZZ DEVELOPER
It is difficult to determine the root cause of the problem from the error message that is being reported. Could you please file a defect against "Lifecycle Project Administration" and attach your log files? You can create a new defect here: http://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.newWorkItem&type=defect

Thank you,
Matt Jarvis
Jazz Developer, Lifecycle Project Administration

permanent link
Kurt Solarte (1633) | answered Sep 24 '10, 2:26 a.m.
JAZZ DEVELOPER
I am getting same error.

I am installing on VMs, tried windows 2008 server and windows xp.

When I go to the unregistered url I see this xml (https://localhost:9443/admin/scr):

?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:jfs="http://jazz.net/xmlns/foundation/1.0/"
xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
xmlns:oslc="http://open-services.net/ns/core#"
>

<jd:Application>
<jd:contextRoot>https://localhost:9443/admin</jd:contextRoot>
<jd:rootServices rdf:resource="https://localhost:9443/admin/rootservices"/>
<oslc:publisher rdf:resource="https://localhost:9443/admin/application-about"/>
</jd:Application>

<registration xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/">
<service xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" rdf:resource="https://localhost:9443/admin/jtsregistration"/>

</registration>
<Registration xmlns="http://jazz.net/xmlns/foundation/cpa/1.0/">
<service xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" rdf:resource="https://localhost:9443/admin/cparegistration"/>
</Registration>
<UserProjects xmlns="http://jazz.net/xmlns/foundation/cpa/1.0/">
<service xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" rdf:resource="https://localhost:9443/admin/user-projects"/>
</UserProjects>
<taskStatus xmlns="http://jazz.net/xmlns/foundation/cpa/1.0/">
<service xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" rdf:resource="https://localhost:9443/admin/jobs"/>

</taskStatus>
<setupWizardDescriptor xmlns="http://jazz.net/xmlns/prod/jazz/jfs/1.0/">
<service xmlns="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" rdf:resource="https://localhost:9443/admin/wizard-descriptor"/>
</setupWizardDescriptor>


</rdf:RDF>

Original error:
Error invoking registration handler for application "ADMIN" at https://localhost:9443/admin/jtsregistrationID CRJAZ1720E
com.ibm.team.repository.common.TeamRepositoryException
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.postRegisterApp(FriendsAdminRestService.java:590)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
$Proxy190.postRegisterApp(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:618)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:500)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1817)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1673)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1584)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:62)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:811)

Caused by:
Registration handler for application "ADMIN" at https://localhost:9443/admin/jtsregistration failed with status 500 and response body " 500 java.io.IOException java.io.IOException at com.ibm.team.cpa.common.services.JtsRegistrationService.registerJts(JtsRegistrationService.java:104) at com.ibm.team.cpa.common.services.JtsRegistrationService.saveProperties(JtsRegistrationService.java:83) at com.ibm.team.jfs.app.servlet.util.BaseRegistrationService.doPost(BaseRegistrationService.java:106) at com.ibm.team.cpa.common.services.JtsRegistrationService.doPost(JtsRegistrationService.java:70) at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:167) at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:272) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:811) Caused by: java.lang.NullPointerException at java.net.URI$Parser.parse(URI.java:3028) at java.net.URI.<init>(URI.java:604) at java.net.URI.create(URI.java:866) at com.ibm.team.cpa.common.services.JtsRegistrationService.getUserUri(JtsRegistrationService.java:146) at com.ibm.team.cpa.common.services.JtsRegistrationService.assignPreauthUserLicense(JtsRegistrationService.java:119) at com.ibm.team.cpa.common.services.JtsRegistrationService.registerJts(JtsRegistrationService.java:99) ... 28 more Internal Error 500 " (com.ibm.team.repository.common.TeamRepositoryException)ID CRJAZ1721E
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.notifyAppRegistrationHandler(FriendsAdminRestService.java:695)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.postRegisterApp(FriendsAdminRestService.java:577)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
... 39 more.

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.