java.lang.IllegalStateException: No client with identity 'appCalificacionCliente:appCalificacionClienteWeb:http://www.xmlns.nextel.com/PreCreditEvaluationProxy/:PreCreditEvaluationProxySOAP:http://14.240.10.124:7001/CrmIntegration_SB/PreCreditEvaluation:' could be found

Stack Overflow | A_Kayras | 1 year ago
  1. 2

    java.lang.IllegalStateException: No client with identity

    Stack Overflow | 1 year ago | A_Kayras
    java.lang.IllegalStateException: No client with identity 'appCalificacionCliente:appCalificacionClienteWeb:http://www.xmlns.nextel.com/PreCreditEvaluationProxy/:PreCreditEvaluationProxySOAP:http://14.240.10.124:7001/CrmIntegration_SB/PreCreditEvaluation:' could be found
  2. 0

    We were alerted about the HipChat messaging being broken on JBAC. Looking at the server log, I was seeing the following stack trace: {noformat} 2014-06-12 12:42:38,182 INFO [Thread-30] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl{name='Default', host='chat.hipchat.com', port=5222, username='xxxxxxx@chat.hipchat.com', resource='jira-bamboo.internal.at lassian.com', secureConnectionRequired=true, enforceLegacySsl=false} Exception in thread "Thread-30" java.lang.IllegalStateException: The Bamboo Smack client could not be initiated. at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.getConnection(BambooSmackClient.java:253) at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.syncSend(BambooSmackClient.java:239) at com.atlassian.bamboo.xmpp.BambooSmackClient$XmppWorkerThread.run(BambooSmackClient.java:278) {noformat} We don't know what caused this problem and the exception that caused the problem is ignored in the code (yay). Unfortunately, it looks like a restart is the only solution to this: * The code is contained in bamboo core; so there is no quick win by disabling and re-enabling the plugin * The unhandled ISE exception caused the worker thread to die; a new thread is only created when the {{BambooSmackClient}} is created - which itself is a Spring bean so it only exists once I suggest to include at least the reason contained in the ignored exception in the ISE. Hardening the worker thread and making sure that when it dies there is a new one would be nice as well. ATM we're running Atlassian Bamboo version 5.6-m1 build 4402 - 15 May 14. Note: using the test functionality on via the UI, I could see the following exception in the server log: {noformat} 2014-06-13 04:55:11,108 INFO [http-bio-8085-exec-133] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl{name='Default', host='chat.hipchat.com', port=5222, username='xxxxxx@chat.hipchat.com', resource='jira-bamboo.internal.atlassian.com', secureConnectionRequired=true, enforceLegacySsl=false} 2014-06-13 04:55:11,126 INFO [http-bio-8085-exec-133] [ConfigureInstantMessagingServer] Exception thrown from IM validation chat.hipchat.com:5222 Exception: XMPPError connecting to chat.hipchat.com:5222.; : remote-server-error(502) at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:600) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1022) at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.createNewConnection(BambooSmackClient.java:197) at com.atlassian.bamboo.xmpp.BambooSmackClient.connect(BambooSmackClient.java:69) at com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver.ConfigureInstantMessagingServer.testImServer(ConfigureInstantMessagingServer.java:218) at com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver.ConfigureInstantMessagingServer.doEdit(ConfigureInstantMessagingServer.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.FieldErrorUsageVerifier.intercept(FieldErrorUsageVerifier.java:49) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.doIntercept(JSONValidationInterceptor.java:69) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.SimpleConversionErrorInterceptor.intercept(SimpleConversionErrorInterceptor.java:78) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) ... {noformat} The {{remote-server-error(502)}} indicates a problem with HipChat?

    Atlassian JIRA | 2 years ago | Martin Meinhold
    java.lang.IllegalStateException: The Bamboo Smack client could not be initiated.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    We were alerted about the HipChat messaging being broken on JBAC. Looking at the server log, I was seeing the following stack trace: {noformat} 2014-06-12 12:42:38,182 INFO [Thread-30] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl{name='Default', host='chat.hipchat.com', port=5222, username='xxxxxxx@chat.hipchat.com', resource='jira-bamboo.internal.at lassian.com', secureConnectionRequired=true, enforceLegacySsl=false} Exception in thread "Thread-30" java.lang.IllegalStateException: The Bamboo Smack client could not be initiated. at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.getConnection(BambooSmackClient.java:253) at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.syncSend(BambooSmackClient.java:239) at com.atlassian.bamboo.xmpp.BambooSmackClient$XmppWorkerThread.run(BambooSmackClient.java:278) {noformat} We don't know what caused this problem and the exception that caused the problem is ignored in the code (yay). Unfortunately, it looks like a restart is the only solution to this: * The code is contained in bamboo core; so there is no quick win by disabling and re-enabling the plugin * The unhandled ISE exception caused the worker thread to die; a new thread is only created when the {{BambooSmackClient}} is created - which itself is a Spring bean so it only exists once I suggest to include at least the reason contained in the ignored exception in the ISE. Hardening the worker thread and making sure that when it dies there is a new one would be nice as well. ATM we're running Atlassian Bamboo version 5.6-m1 build 4402 - 15 May 14. Note: using the test functionality on via the UI, I could see the following exception in the server log: {noformat} 2014-06-13 04:55:11,108 INFO [http-bio-8085-exec-133] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl{name='Default', host='chat.hipchat.com', port=5222, username='xxxxxx@chat.hipchat.com', resource='jira-bamboo.internal.atlassian.com', secureConnectionRequired=true, enforceLegacySsl=false} 2014-06-13 04:55:11,126 INFO [http-bio-8085-exec-133] [ConfigureInstantMessagingServer] Exception thrown from IM validation chat.hipchat.com:5222 Exception: XMPPError connecting to chat.hipchat.com:5222.; : remote-server-error(502) at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:600) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1022) at com.atlassian.bamboo.xmpp.BambooSmackClient$BambooXMPPConnection.createNewConnection(BambooSmackClient.java:197) at com.atlassian.bamboo.xmpp.BambooSmackClient.connect(BambooSmackClient.java:69) at com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver.ConfigureInstantMessagingServer.testImServer(ConfigureInstantMessagingServer.java:218) at com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver.ConfigureInstantMessagingServer.doEdit(ConfigureInstantMessagingServer.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.FieldErrorUsageVerifier.intercept(FieldErrorUsageVerifier.java:49) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.JSONValidationInterceptor.doIntercept(JSONValidationInterceptor.java:69) at com.atlassian.bamboo.ww2.interceptors.AbstractBambooInterceptor.intercept(AbstractBambooInterceptor.java:34) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.atlassian.bamboo.ww2.interceptors.SimpleConversionErrorInterceptor.intercept(SimpleConversionErrorInterceptor.java:78) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) ... {noformat} The {{remote-server-error(502)}} indicates a problem with HipChat?

    Atlassian JIRA | 2 years ago | Martin Meinhold
    java.lang.IllegalStateException: The Bamboo Smack client could not be initiated.
  5. 0

    Spring3 tc Server起動時にエラー発生 - tomotaro1065の日記

    ne.jp | 2 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [com/springsource/insight/repo/app-config-db.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache-with-props' defined in URL [jar:file:/C:/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/webapps/insight/WEB-INF/lib/insight-repo-1.8.3.RELEASE.jar!/com/springsource/insight/repo/app-config-gemfire.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: The following required files could not be found: *.crf files with these ids: [1], *.drf files with these ids: [1].

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No client with identity 'appCalificacionCliente:appCalificacionClienteWeb:http://www.xmlns.nextel.com/PreCreditEvaluationProxy/:PreCreditEvaluationProxySOAP:http://14.240.10.124:7001/CrmIntegration_SB/PreCreditEvaluation:' could be found

      at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.getRequiredClientInfo()
    2. weblogic.wsee.jaxws
      WseeClientTube.copy
      1. weblogic.wsee.jaxws.spi.ClientIdentityRegistry.getRequiredClientInfo(ClientIdentityRegistry.java:731)
      2. weblogic.wsee.jaxws.spi.ClientIdentityRegistry.internalAddClientRuntimeMBean(ClientIdentityRegistry.java:849)
      3. weblogic.wsee.jaxws.spi.ClientIdentityRegistry.addClientRuntimeMBean(ClientIdentityRegistry.java:800)
      4. weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.register(WseeClientTube.java:72)
      5. weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.<init>(WseeClientTube.java:60)
      6. weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.copy(WseeClientTube.java:64)
      7. weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.copy(WseeClientTube.java:24)
      7 frames
    3. JAX-WS RI Runtime Bundle
      AbstractFilterTubeImpl.<init>
      1. com.sun.xml.ws.api.pipe.PipeClonerImpl.copy(PipeClonerImpl.java:120)
      2. com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl.<init>(AbstractFilterTubeImpl.java:65)
      2 frames
    4. weblogic.wsee.jaxws
      MonitoringPipe.copy
      1. weblogic.wsee.jaxws.MonitoringPipe.<init>(MonitoringPipe.java:81)
      2. weblogic.wsee.jaxws.MonitoringPipe.copy(MonitoringPipe.java:89)
      3. weblogic.wsee.jaxws.MonitoringPipe.copy(MonitoringPipe.java:31)
      3 frames
    5. JAX-WS RI Runtime Bundle
      SEIStub.invoke
      1. com.sun.xml.ws.api.pipe.PipeClonerImpl.copy(PipeClonerImpl.java:120)
      2. com.sun.xml.ws.api.pipe.TubeCloner.clone(TubeCloner.java:77)
      3. com.sun.xml.ws.util.Pool$TubePool.create(Pool.java:170)
      4. com.sun.xml.ws.util.Pool$TubePool.create(Pool.java:161)
      5. com.sun.xml.ws.util.Pool.take(Pool.java:78)
      6. com.sun.xml.ws.client.Stub.process(Stub.java:269)
      7. com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
      8. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:115)
      9. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
      10. com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
      10 frames
    6. com.sun.proxy
      $Proxy176.executePreCreditEvaluation
      1. com.sun.proxy.$Proxy176.executePreCreditEvaluation(Unknown Source)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1820.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    8. weblogic.wsee.jaxws
      ClientInstanceInvocationHandler.invoke
      1. weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
      1 frame
    9. com.sun.proxy
      $Proxy177.executePreCreditEvaluation
      1. com.sun.proxy.$Proxy177.executePreCreditEvaluation(Unknown Source)
      1 frame
    10. pe.com.nextel
      PreCreditEvaluationProxySOAPClient.executePreCreditEvaluation
      1. pe.com.nextel.wsp.precreditevaluation.PreCreditEvaluationProxySOAPClient.executePreCreditEvaluation(PreCreditEvaluationProxySOAPClient.java:53)
      1 frame
    11. com.nextel.calificacion
      CreateControlsServlet.doPost
      1. com.nextel.calificacion.webmodule.servlet.CreateControlsServlet.evaluacionDocIdentidad(CreateControlsServlet.java:949)
      2. com.nextel.calificacion.webmodule.servlet.CreateControlsServlet.createControlsOutPut(CreateControlsServlet.java:773)
      3. com.nextel.calificacion.webmodule.servlet.CreateControlsServlet.processsRequest(CreateControlsServlet.java:66)
      4. com.nextel.calificacion.webmodule.servlet.CreateControlsServlet.doPost(CreateControlsServlet.java:1093)
      4 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    13. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      5 frames
    14. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      1 frame
    15. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    16. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    17. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      1 frame
    18. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      1 frame
    19. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      3 frames
    20. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    21. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    22. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      3 frames
    23. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames