java.lang.ClassCastException: org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.XAConnectionFactory

Stack Overflow | fipries | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WSO2 ESB 5.0.0 + ActiveMQ 5.10.0

    Stack Overflow | 6 months ago | fipries
    java.lang.ClassCastException: org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.XAConnectionFactory
  2. 0

    Issue with WSO2 ESB using JMS transport with IBM WMQ8

    Stack Overflow | 1 year ago | Gaurav
    java.lang.ClassCastException: com.ibm.mq.jms.MQSession cannot be cast to javax.jms.QueueSession
  3. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  6. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188

    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.ClassCastException

      org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.XAConnectionFactory

      at org.apache.axis2.transport.jms.JMSOutTransportInfo.createJMSSender()
    2. Apache Axis2 - Transport - JMS
      JMSSender.sendMessage
      1. org.apache.axis2.transport.jms.JMSOutTransportInfo.createJMSSender(JMSOutTransportInfo.java:377)
      2. org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:135)
      2 frames
    3. Apache Axis2 - Transport - Base
      AbstractTransportSender.invoke
      1. org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
      1 frame
    4. org.apache.axis2
      OperationClient.execute
      1. org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
      2. org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
      3. org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
      3 frames
    5. Apache Synapse - Core
      SynapseCallbackReceiver.receive
      1. org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:581)
      2. org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:78)
      3. org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:512)
      4. org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:382)
      5. org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:65)
      6. org.apache.synapse.endpoints.TemplateEndpoint.sendMessage(TemplateEndpoint.java:74)
      7. org.apache.synapse.endpoints.TemplateEndpoint.send(TemplateEndpoint.java:66)
      8. org.apache.synapse.endpoints.ResolvingEndpoint.sendMessage(ResolvingEndpoint.java:74)
      9. org.apache.synapse.endpoints.ResolvingEndpoint.send(ResolvingEndpoint.java:58)
      10. org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:121)
      11. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:97)
      12. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59)
      13. org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158)
      14. org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:330)
      15. org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:554)
      16. org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:188)
      16 frames
    6. org.apache.axis2
      AxisEngine.receive
      1. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
      1 frame
    7. org.apache.synapse
      ClientWorker.run
      1. org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:261)
      1 frame
    8. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames