It's all about the answers!

Ask a question

Migration to 3.0.1 "Application registration" erro


Onkelinx Ghislain (58196) | asked Jul 02 '11, 2:57 p.m.
Hallo,

we have to try migrate RTC3.0 to RTC3.0.1.
We had migrate our derby databases to the new version without any error message.

But when we start the setup "http://<servername>:9443/jts/setup" we have an error message on the "Register Application" page.

Also on the Step 1 windows of the "register apllication" page we don't have any registered applications and the add button don't works

How we can resolve this issue or what we have wrong done during our migration?

btw: we have access to the jts and ccm web pages

An error occurred while scanning the server for installed Applications.ID CRJAZ1725E

Error message:
ava.lang.IllegalArgumentException
java.net.URI.create(URI.java:868)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.detectLocallyInstalledApps(FriendsAdminRestService.java:407)
com.ibm.team.repository.service.internal.discovery.FriendsAdminRestService.getLocallyInstalledApps(FriendsAdminRestService.java:348)
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)
$Proxy170.getLocallyInstalledApps(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:504)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1867)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1723)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1632)
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:76)
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:563)
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:879)
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:
Illegal character in path at index 41: https://dalserver.sbdalsrv.local:9443/ccm - Copy/scr (java.net.URISyntaxException)
java.net.URI$Parser.fail(URI.java:2834)
java.net.URI$Parser.checkChars(URI.java:3007)
java.net.URI$Parser.parseHierarchical(URI.java:3091)
java.net.URI$Parser.parse(URI.java:3039)
... 45 more.

Accepted answer


permanent link
John Vasta (2.6k15) | answered Jul 05 '11, 4:21 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I think the error must means that someone created a folder named "ccm - /Copy" under the server/conf directory of the installation. The code to detect locally installed applications assumes that everything under the server/conf folder is a folder containing configuration files for an application, where the name of the folder is the same as the name of the application. So a folder named "ccm" is assumed to be configuration files for an application named "ccm", and a folder named "ccm - Copy" is also assumed to be for an application with the same name. You should not create extra folders under the server/conf directory. Remove it, or move it somewhere else.
Ralph Schoon selected this answer as the correct answer

9 other answers



permanent link
Ralph Schoon (63.4k33646) | answered Jul 04 '11, 2:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

what would cause the

Illegal character in path at index 41: https://dalserver.sbdalsrv.local:9443/ccm - Copy/scr

issue?

Have you tried to get https://dalserver.sbdalsrv.local:9443/ccm/scr and checked the service document?

Please also check the teamserver.properties of CCM, maybe there is a typo in the public uri or somewhere else.

If you have started with RTC2.x and migrated that to 3.0 you probably installed RTC 3.0.1 wrong, because in that case the context root would still be jazz if you checked the migration option.

I have never seen this error message before. There might even be an issue with the setup or otherwise corrupted data e.g. the /conf/ccm/scr.xml.

permanent link
Onkelinx Ghislain (58196) | answered Jul 04 '11, 3:26 a.m.
We have only upgrade from RTC3.0 to RTC 3.0.1 (never from RTC 2.x)

We cannot find any error in one of these files


Here is our teamserver.properties of CCM file

#Cette mise jour de la configuration a t demande par la commande de migration repotools updateConfigurationFiles. Le contenu antrieur de ce fichier a t copi dans "G:\IBM\JazzTeamServer301\server\conf/ccm/teamserver-1309618877741backup.properties".
#Sat Jul 02 17:01:17 CEST 2011
com.ibm.team.repository.ws.allow.identity.assertion=false
com.ibm.team.datawarehouse.db.automatic.setup=true
com.ibm.team.repository.changeEvent.expirationDefault=1209600
com.ibm.team.fulltext.indexLocation=conf/ccm/indices/workitemindex
com.ibm.team.repository.db.jdbc.location=conf/ccm/derby/repositoryDB
com.ibm.team.repository.db.repoLockId=_03Ce4GkjEeC1M4jvjV8NWw
com.ibm.team.repository.web.suppressedPages={"com.ibm.team.repository.web.admin"\: }
com.ibm.team.repository.web.helpuri=/clmhelp/index.jsp
com.ibm.team.repository.server.jts.url=https\://dalserver.sbdalsrv.local\:9443/jts
com.ibm.team.datawarehouse.db.jdbc.location=//localhost\:1527/conf/jts/derby/warehouseDB
com.ibm.team.jfs.index.root.directory=indices
com.ibm.team.repository.db.vendor=DERBY
com.ibm.team.repository.changeEvent.expirationByType=com.ibm.team.workitem.WorkItem\:5184000 com.ibm.team.build.BuildResult\:172800
com.ibm.team.repository.changeEvent.expirationByCategory=SystemLog\:259200
com.ibm.team.datawarehouse.db.vendor=derby_net
com.ibm.team.repository.web.pageorder={"com.ibm.team.repository.web.admin"\: , "com.ibm.team.process.web.projectArea"\: ,"com.ibm.team.process.web.projectAreaList"\: }
com.ibm.team.repository.server.webapp.url=https\://dalserver.sbdalsrv.local\:9443/ccm


Here is our teamserver.properties of JTS file

#Cette mise jour de la configuration a t demande par la commande de migration repotools updateConfigurationFiles. Le contenu antrieur de ce fichier a t copi dans "G:\IBM\JazzTeamServer301\server\conf/jts/teamserver-1309617231862backup.properties".
#Sat Jul 02 16:33:51 CEST 2011
com.ibm.team.repository.user.registry.type=LDAP
com.ibm.team.datawarehouse.db.net.port=1527
com.ibm.team.repository.db.jdbc.location=conf/jts/derby/repositoryDB
com.ibm.team.jfs.index.root.directory=indices
com.ibm.team.repository.changeEvent.expirationDefault=1209600
com.ibm.team.repository.notification.mail.from_name=RTC@dalemans.com
com.ibm.team.repository.ldap.findUsersByUserIdQuery=sAMAccountName\=?1
com.ibm.team.repository.db.repoLockId=_qR_LwGkjEeC7PbR9-WYtQQ
com.ibm.team.repository.server.webapp.url=https\://dalserver.sbdalsrv.local\:9443/jts
com.ibm.team.repository.notification.mail.smtp.user=Administrateur
com.ibm.team.datawarehouse.db.vendor=DERBY
com.ibm.team.repository.web.suppressedPages={"com.ibm.team.repository.web.admin"\: }
com.ibm.team.repository.ldap.baseGroupDN=OU\=Security Groups,OU\=MyBusiness,DC\=sbdalsrv,DC\=local
com.ibm.team.repository.db.vendor=DERBY
com.ibm.team.repository.notification.mail.from=RTC@dalemans.com
com.ibm.team.repository.ldap.membersOfGroup=member
com.ibm.team.repository.ldap.userAttributesMapping=userId\=sAMAccountName,name\=cn,emailAddress\=mail
com.ibm.team.repository.web.helpuri=/clmhelp/index.jsp
com.ibm.team.repository.ldap.registryLocation=ldap\://dalserver.sbdalsrv.local\:389
com.ibm.team.repository.ldap.registryPassword=
com.ibm.team.repository.notification.mail.smtp.server=mailserver
com.ibm.team.repository.notification.mail.smtp.password=
com.ibm.team.repository.notification.mail.reply=G.Onkelinx@dalemans.com
com.ibm.team.datawarehouse.db.automatic.setup=true
com.ibm.team.repository.ldap.baseUserDN=OU\=SBSUsers,OU\=Users,OU\=MyBusiness,DC\=sbdalsrv,DC\=local
com.ibm.team.fulltext.indexLocation=conf/jts/indices/workitemindex
com.ibm.team.datawarehouse.db.jdbc.location=conf/jts/derby/warehouseDB
com.ibm.team.repository.notification.mail.enabled=true
com.ibm.team.repository.web.pageorder={"com.ibm.team.repository.web.admin"\: , "com.ibm.team.process.web.projectArea"\: ,"com.ibm.team.process.web.projectAreaList"\: }
com.ibm.team.repository.ws.allow.identity.assertion=false
com.ibm.team.repository.changeEvent.expirationByCategory=SystemLog\:259200
com.ibm.team.repository.ldap.registryUserName=CN\=Administrateur,CN\=Users,DC\=sbdalsrv,DC\=local

Here is our /conf/ccm/scr.xml.
<xml><Licensed>

<rdf>
<Service>
<Application>
<jd>
<oslc>
<jd>%server-URL%</jd>
<jd>
<jd>
<jd>
<dc>http://open-services.net/ns/cm#</dc>
</jd>
</jd>

<Home>
<ju>
<jd>
<ju>
<oslc>
<Leaving>
<ju>
<jd>%server-URL%</jd>
</ju>

<Admin>
<jfs>
<jd>
<jd>%server-URL%</jd>
<oslc>
</jfs>

<oslc_cm>
<jd>
</oslc_cm>

<oslc_scm>
<jd>
</oslc_scm>
</rdf>

permanent link
Ralph Schoon (63.4k33646) | answered Jul 04 '11, 3:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, this is my conf/ccm/scr.xml. Yours did not come through. I had to disable html in this post.

:


<?xml version="1.0"?><!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2010. All Rights Reserved.

Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->

<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:ju="http://jazz.net/ns/ui#"
xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/"
xmlns:oslc_scm="http://open-services.net/xmlns/scm/1.0/"
xmlns:oslc="http://open-services.net/ns/core#"
>
<!--
Service Contribution Resource document for the CCM application.
-->
<!-- Application properties -->
<jd:Application>
<oslc:publisher rdf:resource="%server-URL%/application-about"/>
<jd:contextRoot>%server-URL%</jd:contextRoot>
<jd:rootServices rdf:resource="%server-URL%/rootservices" />
<jd:registration rdf:resource="%server-URL%/service/com.ibm.team.repository.service.internal.setup.IRegistrationHandlerService" />
<jd:domain rdf:parseType="Resource">
<dc:identifier>http://open-services.net/ns/cm#</dc:identifier>
</jd:domain>
</jd:Application>

<!-- Home menu service -->
<ju:HomeMenu>
<jd:service rdf:resource="%server-URL%/home-menu-project"/>
<ju:menuSection rdf:resource="http://jazz.net/ns/ui/menuSection#project"/>
<oslc:publisher rdf:resource="%server-URL%/application-about"/>
<!-- Leaving default icon here for now until home menu supports icon from application-about -->
<ju:defaultIcon rdf:resource="%server-URL%/web/com.ibm.team.rtc.web/ui/graphics/UICustomizations/RTC_16.png"/>
<jd:contextRoot>%server-URL%</jd:contextRoot>
</ju:HomeMenu>

<!-- Admin home service -->
<jfs:AdminHome>
<jd:service rdf:resource="%server-URL%/admin-home"/>
<jd:contextRoot>%server-URL%</jd:contextRoot>
<oslc:publisher rdf:resource="%server-URL%/application-about"/>
</jfs:AdminHome>

<oslc_cm:CmServiceProviders>
<jd:service rdf:resource="%server-URL%/oslc/workitems/catalog" />
</oslc_cm:CmServiceProviders>

<oslc_scm:ScmServiceProviders>
<jd:service rdf:resource="%server-URL%/oslc-scm/catalog" />
</oslc_scm:ScmServiceProviders>
</rdf:RDF>


permanent link
Ralph Schoon (63.4k33646) | answered Jul 04 '11, 3:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should probably create a work item. I could not spot any obvious issue in the data. Not sure how this error could come up. Maybe there is an issue with national language support?

permanent link
Ralph Schoon (63.4k33646) | answered Jul 04 '11, 3:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You should probably create a work item. I could not spot any obvious issue in the data. Not sure how this error could come up. Maybe there is an issue with national language support?


And one thing again, can you connect to https://dalserver.sbdalsrv.local:9443/ccm/scr and get the SCR.xml displayed?

permanent link
Onkelinx Ghislain (58196) | answered Jul 04 '11, 5:47 a.m.
Yes, we can read the https://dalserver.sbdalsrv.local:9443/ccm/scr file.
We have also compaired Your one with our scr.xml file. (they are the same)

We have also selected when we had installed RTC 3.0. the french national language and the standard English language. But the full installation was done in English.

When we had migrate to RTC 3.0.1 he had during the full installation give us all the instructions and messges in French.

It was sometime very dificult to understand some instructions. Therefore we had before launch the https://<server>:9433/jts/setup. Change the regional and language settings format to English UK and correct the date time settings. (before it was French belgium)

Had this anything todo with our issue?

permanent link
Ralph Schoon (63.4k33646) | answered Jul 04 '11, 5:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I don't know. I just see this in the log: Illegal character in path at index 41. I'd suggest to create a work item here: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.newWorkItem

You could attach the logs, maybe there is more in there.

permanent link
Onkelinx Ghislain (58196) | answered Jul 05 '11, 4:27 p.m.
hallo,

it works now, we had make a backup of our CCM and JTS folder under RTC3.0.1 before we had copy the ccm and jts directory from our older RTC 3.0 version in the same directory as .../server/config

many thanks for this hint.

permanent link
Ralph Schoon (63.4k33646) | answered Jul 06 '11, 3:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Thanks John,

that is a great hint. Not sure why I did not draw that conclusion.

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.