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 | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 1 year 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 | 1 year 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

    ActiveMQ - User - java.lang.OutOfMemoryError: unable to create new native thread on AMQ 5.0

    nabble.com | 7 months ago
    javax.jms.JMSException: Peer (vm://localhost#1) disposed. at > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62) at > org.apache.activemq.ActiveMQConnection.asyncSendPacket(ActiveMQConnection.java:1154) at > org.apache.activemq.AdvisoryConsumer.dispose(AdvisoryConsumer.java:56) at > org.apache.activemq.ActiveMQConnection.cleanup(ActiveMQConnection.java:1326) at > org.apache.activemq.ActiveMQConnection.transportFailed(ActiveMQConnection.java:2027) at > org.apache.activemq.ActiveMQConnection$4.run(ActiveMQConnection.java:1663) at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [ActiveMQ-users] right config for activeMQ to handle persisted messages through Oracle - Grokbase

    grokbase.com | 2 years ago
    javax.jms.JMSException: Cannot remove a consumer from a connection that had not been registered: ID:vhmucj3.helios.cp-55010-1322581269935-2:7 at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppor t.java:49) at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnec tion.java:1784) at org.apache.activemq.ActiveMQConnection$2$1.run(ActiveMQConnection.java :1705) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu tor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:919)
  6. 0

    ActiveMQ - User - can't deserialize proxy instance with non-jdk interface

    nabble.com | 1 year ago
    javax.jms.JMSException: Failed to build body from content. > Serializable class not available to broker. Reason: > java.lang.ClassNotFoundException. Message: ActiveMQObjectMessage > {commandId = 19, responseRequired = true, messageId = > ID:rsi-eng-newsham-56811-1289358131963-0:2:3:1:3, originalDestination > = null, originalTransactionId = null, producerId = > ID:rsi-eng-newsham-56811-1289358131963-0:2:3:1, destination = > queue://ServiceExport, transactionId = null, expiration = > 1289358177656, timestamp = 1289358157656, arrival = 0, brokerInTime = > 1289358157656, brokerOutTime = 1289358157658, correlationId = > 215512f0-0d7e-4f3c-8cc2-5e459d59b582, replyTo = > temp-queue://ID:rsi-eng-newsham-56811-1289358131963-0:2:1, persistent > = true, type = null, priority = 4, groupID = null, groupSequence = 0, > targetConsumerId = null, compressed = false, userID = null, content = > org.apache.activemq.util.ByteSequence@115e628, marshalledProperties = > org.apache.activemq.util.ByteSequence@b977bc, dataStructure = null, > redeliveryCounter = 0, size = 1860, properties = > {sessionId=04fd4b1b-0a01-40f7-8bf8-fda514c773e9}, readOnlyProperties = > true, readOnlyBody = true, droppable = false} at > org.apache.camel.component.jms.JmsBinding.extractBodyFromJms(JmsBinding.java:158) at > org.apache.camel.component.jms.JmsMessage.createBody(JmsMessage.java:183) at > org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:42) at > org.apache.camel.impl.DefaultUnitOfWork.<init>(DefaultUnitOfWork.java:65) at > org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:90) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70) at > org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89) at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68) at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91) at > org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85) at > org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:85) at > org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543) at > org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) at > org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) at > org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) at > org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) at > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) at > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) at > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)

    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