It's all about the answers!

Ask a question

Repotools and RTC 2.0.0.2 update


marco Kaiser (2311313) | asked Jan 08 '10, 8:23 a.m.
Hi colleagues,

I just did an RTC Update from 2.0 to 2.0.0.2 on a Apache Server. I did this via a zip file and followed the instructions provided in the install_standard_zip.html.

Just after the installation, I tried to make an repotool -exportUser command. But I got the following message:

2010-01-08 13:22:31,952 CRJAZ1356E Connection to the Repository 'https://localhost:9443/jazz' could not be established. For the commands -createUser, -createUsers, -archiveUser, -listLicenses, -importUsers, -exportUsers und -syncUsers an active server is necessary. Make sure that the server 'https://localhost:9443/jazz' is operational and can be connect from a web browser.

(Translated from german)
Additionally, the following java errors where plodded in the repotools_exportUsers.log file.


com.ibm.team.repository.common.transport.ConnectionException: CRJAZ1371E Die URL "https://localhost:9443/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService" ist nicht erreichbar. Der Server ist nicht erreichbar. Das Netz konnte keine Verbindung zum Server herstellen. Der Fehler ist "Connection refused: connect". Wenden Sie sich an Ihren Systemadministrator.
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:170)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:561)
at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:531)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:471)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:201)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy0.describe(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84)
at $Proxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1382)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1169)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1162)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1375)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:570)
at com.ibm.team.repotools.commands.remote.RemoteRepositoryCommand.createTeamRepository(RemoteRepositoryCommand.java:120)
at com.ibm.team.repotools.commands.remote.RemoteRepositoryCommand.teamRepository(RemoteRepositoryCommand.java:318)
at com.ibm.team.repotools.commands.remote.RemoteRepositoryCommand.getServiceFromClientLibrary(RemoteRepositoryCommand.java:255)
at com.ibm.team.repotools.commands.remote.RemoteRepositoryCommand.assertJazzAdminsPermission(RemoteRepositoryCommand.java:99)
at com.ibm.team.repotools.commands.remote.internal.ExportUsersCommand.execute(ExportUsersCommand.java:78)
at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:48)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:727)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:764)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:533)
at com.ibm.team.repository.transport.client.InterruptableSocketFactory.doConnect(InterruptableSocketFactory.java:88)
at com.ibm.team.repository.transport.client.InterruptableSocketFactory.createSocket(InterruptableSocketFactory.java:67)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:316)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:155)
... 41 more


The following setting where done in the teamserver.properties
com.ibm.team.repository.db.db2.content.tablespace.numpages=250000
com.ibm.team.repository.user.registry.type=TOMCAT
com.ibm.team.repository.db.jdbc.location=//10.16.77.35\:60004/JAZZP\:user\=db2conde;password\={password};
com.ibm.team.repository.server.repourl.hostname=129.35.198.233
com.ibm.team.repository.db.jdbc.password=
com.ibm.team.repository.changeEvent.expirationDefault=1209600
com.ibm.team.repository.notification.mail.from_name=RTC Central
com.ibm.team.repository.server.webapp.url=https\://129.35.198.233/jazz
com.ibm.team.repository.ws.allow.admin.access=false
com.ibm.team.repository.licenseService.floatingLicenseServerURI=
com.ibm.team.repository.web.suppressedPages={"com.ibm.team.repository.web.admin"\: }
com.ibm.team.repository.db.vendor=DB2
com.ibm.team.repository.notification.mail.from=amsratcc@de.ibm.com
com.ibm.team.repository.changeEvent.expirationByType=com.ibm.team.workitem.WorkItem\:5184000 com.ibm.team.build.BuildResult\:172800
com.ibm.team.repository.web.helpuri=http\://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp
com.ibm.team.repository.notification.mail.smtp.server=129.35.200.148

com.ibm.team.fulltext.indexLocation=workitemindex
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.db.db2.content.tablespace.location=/database/DE/JAZZ/JAZZP/content_tablespace
com.ibm.team.repository.ws.allow.identity.assertion=false
com.ibm.team.repository.changeEvent.expirationByCategory=SystemLog\:259200


The server is a Windows Server 2003 machine.

Does anyone have an idea about the error, and why repotools doesn't work?

Thanks for any help

Kind regards

Marco

One answer



permanent link
Elisabeth Carbone (616108) | answered Jan 14 '10, 7:52 a.m.
JAZZ DEVELOPER
Should you have changed the port for the jazz server you can run the repotools command with the repositoryURL option to overwrite the default url.

Example:
repotools -exportUsers adminUserId=<jazz> adminPassword=<password> repositoryURL=https://localhost:<new>/jazz

Hope this helps,
Elisabeth

Comments
Eike Meyer commented Jan 13 '10, 7:30 a.m. | edited Sep 19 '13, 10:14 a.m.

Same problem here. The question I have is: where does repotools get the server parameters from? Do I need to configure a config file for this?

It says "Connection to the Repository 'https://localhost:9443/jazz' could not be established", but the server isn't even running under that port.

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.