org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.agentExecutableQueue]; nested exception is javax.jms.JMSException: A timeout has occurred during a remote call to the server.

Atlassian JIRA | Deric Lee | 9 months ago
  1. 0

    h3. Summary Remote agent can't reconnect after a Bamboo server restart. Remote agent needs to be restarted. h3. Steps to Reproduce # Install and connect remote agent # Restart Bamboo h3. Expected Results Remote agent should automatically reconnect after Bamboo comes up h3. Actual Results The below exception is thrown in the Bamboo server logs: {noformat} 2016-03-03 21:43:38,778 INFO [bambooHeartBeatMessageListenerConnector-1] [HeartbeatMessageListener] Agent sent an incorrect fingerprint in a JMS message Fingerprint[server: 5843657984118014849 run: 1631167983502063879], an attempt will be made to bring it down. Message:ActiveMQTextMessage {commandId = 79, responseRequired = true, messageId = ID:Derics-MBP.local-56638-1457011654725-1:1:4:1:7, originalDestination = null, originalTransactionId = null, producerId = ID:Derics-MBP.local-56638-1457011654725-1:1:4:1, destination = queue://com.atlassian.bamboo.heartbeatQueue, transactionId = null, expiration = 0, timestamp = 1457012618773, arrival = 0, brokerInTime = 1457012618774, brokerOutTime = 1457012618775, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@537c0a83, marshalledProperties = org.apache.activemq.util.ByteSequence@20fd4ce3, dataStructure = null, redeliveryCounter = 0, size = 2433, properties = {fingerprint=5843657984118014849, BambooUuidHash=725189461, instanceFingerprint=1631167983502063879}, readOnlyProperties = true, readOnlyBody = true, droppable = false, jmsXGroupFirstForConsumer = false, text = <com.atlassian.bamboo.v2.build.agent.messages...beatMessage>} {noformat} The following is seen in the remote agent logs: {noformat:borderStyle=dashed} 2016-03-03 21:42:37,467 WARN [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions. 2016-03-03 21:42:37,471 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [DefaultBuildAgent] Changing context: null -> null on 10.60.2.73/2e2d119e 2016-03-03 21:42:37,473 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Agent '10.60.2.73' ready to take build from queue... 2016-03-03 21:42:37,473 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables... 2016-03-03 21:43:32,933 INFO [scheduler_Worker-3] [ClasslistCollectingConverter] Updating class list at remoting-whitelist.list 2016-03-03 21:47:37,510 ERROR [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '10.60.2.73'. Agent will attempt to recover its normal operation... org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.agentExecutableQueue]; nested exception is javax.jms.JMSException: A timeout has occurred during a remote call to the server. at org.springframework.jms.remoting.JmsInvokerClientInterceptor.convertJmsInvokerAccessException(JmsInvokerClientInterceptor.java:433) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy15.takeBuildContext(Unknown Source) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:222) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: javax.jms.JMSException: A timeout has occurred during a remote call to the server. at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:58) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:390) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:254) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:203) ... 11 more {noformat} Remote agent does not appear to be online from Bamboo h3.Workaround Restart remote agent

    Atlassian JIRA | 9 months ago | Deric Lee [Atlassian]
    org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.agentExecutableQueue]; nested exception is javax.jms.JMSException: A timeout has occurred during a remote call to the server.
  2. 0

    h3. Summary Remote agent can't reconnect after a Bamboo server restart. Remote agent needs to be restarted. h3. Steps to Reproduce # Install and connect remote agent # Restart Bamboo h3. Expected Results Remote agent should automatically reconnect after Bamboo comes up h3. Actual Results The below exception is thrown in the Bamboo server logs: {noformat} 2016-03-03 21:43:38,778 INFO [bambooHeartBeatMessageListenerConnector-1] [HeartbeatMessageListener] Agent sent an incorrect fingerprint in a JMS message Fingerprint[server: 5843657984118014849 run: 1631167983502063879], an attempt will be made to bring it down. Message:ActiveMQTextMessage {commandId = 79, responseRequired = true, messageId = ID:Derics-MBP.local-56638-1457011654725-1:1:4:1:7, originalDestination = null, originalTransactionId = null, producerId = ID:Derics-MBP.local-56638-1457011654725-1:1:4:1, destination = queue://com.atlassian.bamboo.heartbeatQueue, transactionId = null, expiration = 0, timestamp = 1457012618773, arrival = 0, brokerInTime = 1457012618774, brokerOutTime = 1457012618775, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@537c0a83, marshalledProperties = org.apache.activemq.util.ByteSequence@20fd4ce3, dataStructure = null, redeliveryCounter = 0, size = 2433, properties = {fingerprint=5843657984118014849, BambooUuidHash=725189461, instanceFingerprint=1631167983502063879}, readOnlyProperties = true, readOnlyBody = true, droppable = false, jmsXGroupFirstForConsumer = false, text = <com.atlassian.bamboo.v2.build.agent.messages...beatMessage>} {noformat} The following is seen in the remote agent logs: {noformat:borderStyle=dashed} 2016-03-03 21:42:37,467 WARN [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [DefaultBuildAgent] 1 attempts at building without a successful run. The agent will stop after reaching 10 exceptions. 2016-03-03 21:42:37,471 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [DefaultBuildAgent] Changing context: null -> null on 10.60.2.73/2e2d119e 2016-03-03 21:42:37,473 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Agent '10.60.2.73' ready to take build from queue... 2016-03-03 21:42:37,473 INFO [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Agent 393217 checking build queue for executables... 2016-03-03 21:43:32,933 INFO [scheduler_Worker-3] [ClasslistCollectingConverter] Updating class list at remoting-whitelist.list 2016-03-03 21:47:37,510 ERROR [2-BAM::10.60.2.73::Agent:pool-5-thread-1] [BuildAgentControllerImpl] Unknown exception occurred on '10.60.2.73'. Agent will attempt to recover its normal operation... org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.agentExecutableQueue]; nested exception is javax.jms.JMSException: A timeout has occurred during a remote call to the server. at org.springframework.jms.remoting.JmsInvokerClientInterceptor.convertJmsInvokerAccessException(JmsInvokerClientInterceptor.java:433) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:206) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy15.takeBuildContext(Unknown Source) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:222) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: javax.jms.JMSException: A timeout has occurred during a remote call to the server. at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:58) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:390) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:254) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:203) ... 11 more {noformat} Remote agent does not appear to be online from Bamboo h3.Workaround Restart remote agent

    Atlassian JIRA | 9 months ago | Deric Lee
    org.springframework.remoting.RemoteAccessException: Could not access JMS invoker queue [queue://com.atlassian.bamboo.agentExecutableQueue]; nested exception is javax.jms.JMSException: A timeout has occurred during a remote call to the server.
  3. 0

    JMSException C4036

    Oracle Community | 1 decade ago | 807581
    javax.jms.JMSException: [C4036]: A server error occurred.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMS Client J2SE and WAS 6.02- port problem

    Google Groups | 9 years ago | goldham...@de.ibm.com
    javax.jms.JMSException: CWSIA0241E: An exception was received during the call to the method JmsManagedConnectionFactoryImpl.createConnection: com.ibm.websphere.sib.exception.SIResourceException: CWSIT0006E: It is not possible to connect to bus SCA.APPLICATION.esbCell.Bus because the following bootstrap servers could not be contacted <a href="http://www-128.ibm.com/developerworks/forums/">localhost:7276:BootstrapBasicMessaging] and the following bootstrap servers returned an error condition [</a>. See previous messages for the reason for each bootstrap server failure..
  6. 0

    Corrupt message in queue

    Oracle Community | 1 decade ago | 807581
    com.zineup.hirgon.exception.HirgonException: [C4036]: A server error occurred.

    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. javax.jms.JMSException

      A timeout has occurred during a remote call to the server.

      at com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage()
    2. com.atlassian.bamboo
      SpringRemotingMessageConverter.fromMessage
      1. com.atlassian.bamboo.remoting.SpringRemotingMessageConverter.fromMessage(SpringRemotingMessageConverter.java:58)
      1 frame
    3. Spring Framework
      JmsInvokerClientInterceptor.invoke
      1. org.springframework.jms.remoting.JmsInvokerClientInterceptor.extractInvocationResult(JmsInvokerClientInterceptor.java:390)
      2. org.springframework.jms.remoting.JmsInvokerClientInterceptor.executeRequest(JmsInvokerClientInterceptor.java:254)
      3. org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:203)
      3 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      2 frames
    5. com.sun.proxy
      $Proxy15.takeBuildContext
      1. com.sun.proxy.$Proxy15.takeBuildContext(Unknown Source)
      1 frame
    6. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.getContextFromQueue(BuildAgentControllerImpl.java:222)
      2. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      3. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137)
      4. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      5. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      6. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      7. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      7 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame