Number of jazz repository connections via jazz API 4.0
Hello, we develop an application that maintains users in many jazz instances. With plain java jazz API 4.0 we face the problem, that the API does not allow for more than 5 connections with jazz instances. When we try to connect to the 6th instance, we get these messages:
Mar 17, 2015 2:39:24 PM org.apache.commons.httpclient.HttpConnection releaseConnection WARNING: HttpConnectionManager is null. Connection cannot be released. Mar 17, 2015 2:39:24 PM org.apache.commons.httpclient.HttpConnection releaseConnection WARNING: HttpConnectionManager is null. Connection cannot be released. Mar 17, 2015 2:39:24 PM com.ibm.rationalcoc.jazz_v4.JazzAdapterFactory_v4 getRepository SEVERE: Couldn't logon to Jazz repository 'https://inst06.rth-de.ihost.com/jts' with account=jazz_admin Throwable occurred: com.ibm.team.repository.common.transport.ServiceNotAvailableException: CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied: /jts/versionCompatibility?clientVersion=4.0.2. 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.doGet(RestClientConnectionBase.java:122) at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doGet(TeamRawRestServiceClient.java:96) 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 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 com.sun.proxy.$Proxy11.doGet(Unknown Source) at com.ibm.team.repository.client.internal.TeamRepository.fetchClientVersionJSONObject(TeamRepository.java:1625) at com.ibm.team.repository.client.internal.TeamRepository.access$0(TeamRepository.java:1622) at com.ibm.team.repository.client.internal.TeamRepository$5.run(TeamRepository.java:1693) at com.ibm.team.repository.client.internal.TeamRepository$5.run(TeamRepository.java:1) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1288) at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79) at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1281) at com.ibm.team.repository.client.internal.TeamRepository.checkServerVersionMatches(TeamRepository.java:1696) at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1472) at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:640) at com.ibm.rationalcoc.jazz_v4.JazzAdapterFactory_v4.getRepository(JazzAdapterFactory_v4.java:266) at com.ibm.rationalcoc.jazz_v4.RCoCJazzAdapter_v4.doesUserExist(RCoCJazzAdapter_v4.java:482) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:320) at sun.rmi.transport.Transport$1.run(Transport.java:171) at java.security.AccessController.doPrivileged(AccessController.java:362) at sun.rmi.transport.Transport.serviceCall(Transport.java:167) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:761)Does anybody know if there is a kind of maximum number of connections? And how to overcome that limititation? Regards, Berthold |
Accepted answer
I mad a mistake. There is no limit in the number of maximum connections.
Ralph Schoon selected this answer as the correct answer
|
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.