It's all about the answers!

Ask a question

Error running command line repotools setup: CRJAZ0106E The server is temporarily unavailable


Tim Feeney (30745745) | asked Mar 11 '13, 6:49 p.m.
JAZZ DEVELOPER
retagged Mar 11 '13, 7:14 p.m. by Bo Chulindra (1.3k2718)
When running ./repotools-jts.sh -setup with a response file, at the end, during finalization, I get the error:

CRJAZ2438E An error occurred while invoking the service https://rtcweb.test.net:9443/admin/finalize-setup?client=scripted.
CRJAZ2247E There was an error executing setup: "CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.". Check the log for more details.
CRJAZ2236E There was an error executing setup: "CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted."
Check the log at "/opt/IBM/JazzTeamServer/server/repotools-jts_setup.log" for more information.

Setup did seem to complete and I was able to login to ../ccm/web.

What does this error indicate?  Can it be ignored?

The full text from the setup log is below (didn't see a place to attach a file).

2013-03-11 18:24:51,644 Repo Tools
2013-03-11 18:24:51,645 java.version=1.6.0
2013-03-11 18:24:51,645 java.runtime.version=pxa6460sr11-20120806_01 (SR11)
2013-03-11 18:24:51,650 Provisioning using "./conf/jts/provision_profiles".
2013-03-11 18:24:51,705 repotools-jts -setup adminPassword=********* adminUserID=ADMIN parametersFile=/usr/tmp/response.txt repositoryURL=https://rtcweb.test.net:9443/jts
2013-03-11 18:24:51,714   Jazz Foundation - Core Libraries, Version 4.0.1 (RJF-I20121109-1457)

2013-03-11 18:26:53,283 CRJAZ2438E An error occurred while invoking the service https://rtcweb.test.net:9443/admin/finalize-setup?client=scripted.
com.ibm.team.repository.common.transport.ServiceNotAvailableException: CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:472)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnectionBase.java:315)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.java:181)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doPost(RestClientConnectionBase.java:140)
    at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doPost(TeamRawRestServiceClient.java:112)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
    at com.ibm.team.repository.client.internal.RawRestServiceClientProxy$RestClientConnectionProxy.invoke(RawRestServiceClientProxy.java:121)
    at $Proxy9.doPost(Unknown Source)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:421)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:399)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:959)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:965)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.access$3(ScriptableSetupWizardProcessor.java:963)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.executeRequest(ScriptableSetupWizardProcessor.java:1172)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.execute(ScriptableSetupWizardProcessor.java:1157)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.doCall(ScriptableSetupWizardProcessor.java:1147)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.invokeSetupService(ScriptableSetupWizardProcessor.java:853)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.processServices(ScriptableSetupWizardProcessor.java:557)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeSetupStep(ScriptableSetupWizardProcessor.java:545)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:352)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:375)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand.execute(SetupCommand.java:94)
    at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:66)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:768)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:843)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
2013-03-11 18:26:53,284 CRJAZ2247E There was an error executing setup: "CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.". Check the log for more details.
com.ibm.team.repository.common.transport.ServiceNotAvailableException: CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:472)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnectionBase.java:315)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.java:181)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doPost(RestClientConnectionBase.java:140)
    at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doPost(TeamRawRestServiceClient.java:112)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
    at com.ibm.team.repository.client.internal.RawRestServiceClientProxy$RestClientConnectionProxy.invoke(RawRestServiceClientProxy.java:121)
    at $Proxy9.doPost(Unknown Source)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:421)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:399)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:959)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:965)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.access$3(ScriptableSetupWizardProcessor.java:963)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.executeRequest(ScriptableSetupWizardProcessor.java:1172)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.execute(ScriptableSetupWizardProcessor.java:1157)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.doCall(ScriptableSetupWizardProcessor.java:1147)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.invokeSetupService(ScriptableSetupWizardProcessor.java:853)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.processServices(ScriptableSetupWizardProcessor.java:557)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeSetupStep(ScriptableSetupWizardProcessor.java:545)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:352)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:375)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand.execute(SetupCommand.java:94)
    at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:66)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:768)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:843)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
2013-03-11 18:26:53,285 CRJAZ2236E There was an error executing setup: "CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted."
Check the log at "/opt/IBM/JazzTeamServer/server/repotools-jts_setup.log" for more information.
com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$ScriptableSetupException: CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:220)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:375)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand.execute(SetupCommand.java:94)
    at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:66)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:768)
    at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:843)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Caused by: com.ibm.team.repository.common.transport.ServiceNotAvailableException: CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/proxy?uri=https%3A%2F%2Frtcweb.test.net%3A9443%2Fadmin%2Ffinalize-setup%3Fclient%3Dscripted.
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:472)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnectionBase.java:315)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.java:181)
    at com.ibm.team.repository.transport.client.RestClientConnectionBase.doPost(RestClientConnectionBase.java:140)
    at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doPost(TeamRawRestServiceClient.java:112)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
    at com.ibm.team.repository.client.internal.RawRestServiceClientProxy$RestClientConnectionProxy.invoke(RawRestServiceClientProxy.java:121)
    at $Proxy9.doPost(Unknown Source)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:421)
    at com.ibm.team.repotools.commands.remote.internal.SetupCommand$HttpClient.send(SetupCommand.java:399)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:959)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeHttpRequest(ScriptableSetupWizardProcessor.java:965)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.access$3(ScriptableSetupWizardProcessor.java:963)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.executeRequest(ScriptableSetupWizardProcessor.java:1172)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.execute(ScriptableSetupWizardProcessor.java:1157)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor$AbstractServiceHandler.doCall(ScriptableSetupWizardProcessor.java:1147)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.invokeSetupService(ScriptableSetupWizardProcessor.java:853)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.processServices(ScriptableSetupWizardProcessor.java:557)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.executeSetupStep(ScriptableSetupWizardProcessor.java:545)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.process(ScriptableSetupWizardProcessor.java:352)
    at com.ibm.team.repository.service.internal.setup.processor.ScriptableSetupWizardProcessor.runSetup(ScriptableSetupWizardProcessor.java:215)
    ... 19 more





Comments
Bo Chulindra commented Mar 11 '13, 7:05 p.m. | edited Mar 11 '13, 7:05 p.m.
JAZZ DEVELOPER

I'll just make a note here that this is RTC 4.0.1 with Derby/Tomcat


Bo Chulindra commented Mar 11 '13, 7:12 p.m.
JAZZ DEVELOPER

Can you check your server logs for errors? For help locating the logs, see here.

Also, did you happen to try to "reset" your server by dropping your database and then run through setup again?

2 answers



permanent link
Tim Feeney (30745745) | answered Mar 12 '13, 7:36 a.m.
JAZZ DEVELOPER
I am running this in a virtual machine.  It turns out that my change to /etc/security/limits.conf hadn't been saved in the snapshot I ran the above test from.  Looking at the server logs, I saw the 'too many open files' messages.  Once I updated limits.conf and restarted the machine, I was able to run through the command line setup successfully.

permanent link
Lonnie VanZandt (88717) | answered Sep 02 '16, 11:23 a.m.
  Has this /etc/security/limits.conf setting been confirmed as the reason why the JTS services may deny one or more URL requests?

Which server log file contained the crucial implicating error message "too many open files"? Was that a OS-level syslog file or one of Jazz's repotools, jts, or liberty logs?

When you had insufficient open file handles, did "ulimit -Sn" and "ulimit -Hn" both suggest that you should have more than an adequate number available yet /etc/security/limits.conf had some lesser limit?

By default, on recent Ubuntu anyway, all of /etc/security/limits.conf is commented out and so I am expecting that only the ulimit settings are controlling quotas for the runtime processes.

I ask because now, in 2016, I see this same kind of behavior on Ubuntu 16 when attempting to run repotools-jts.sh -setup for CLM 6.0.2 -- and the running user has a nofiles ulimit of 65536 for both Hard and Soft limits. Everything is commented out in /etc/security/limits.conf

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.