Message "java.lang.IllegalStateException: The following keys are invalid for configuring a connector: httpUpgradeEndpoint, activemqServerName, httpUpgradeEnabled" in the server log of EAP 6 when configuring pooled-connection-factory to remote EAP 7

Solution Verified - Updated -

Issue

  • The following error message is logged in EAP 6 log file when pooled-connection-factory in messaging subsystem is configured to connect to Artemis in EAP 7:

    ERROR [org.hornetq.ra] (default-threads - 1) HQ154003: Unable to reconnect    org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@a8cd1d91 destination=org.acme.jee.AcmeTest.Front.jms.queue.QueueC destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15): java.lang.IllegalStateException: The following keys are invalid for configuring a connector: httpUpgradeEndpoint, activemqServerName, httpUpgradeEnabled
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.checkTransportKeys(ClientSessionFactoryImpl.java:1542)
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.<init>(ClientSessionFactoryImpl.java:212)
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:872)
        at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:347)
        at org.hornetq.ra.inflow.HornetQActivation.reconnect(HornetQActivation.java:774)
        at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:829)
        at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:215)
        at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
        at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)
        at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
        at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828)
        at java.lang.Thread.run(Thread.java:748)
        at org.jboss.threads.JBossThread.run(JBossThread.java:122)
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
    • MDB deployed in EAP 6 bounded to remote EAP 7.1 server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content