[jboss-jira] [JBoss JIRA] (WFLY-4627) Issue when connecting to JBoss 7.1.1 queues installed in Linux from custom application installed in HP-UX

Carmen Rodriguez Leon (JIRA) issues at jboss.org
Tue May 12 03:44:20 EDT 2015


Carmen Rodriguez Leon created WFLY-4627:
-------------------------------------------

             Summary: Issue when connecting to JBoss 7.1.1 queues installed in Linux from custom application installed in HP-UX
                 Key: WFLY-4627
                 URL: https://issues.jboss.org/browse/WFLY-4627
             Project: WildFly
          Issue Type: Bug
         Environment: JBoss AS 7.1.1
JDK: 1.6.0_13
Operating System: Linux
            Reporter: Carmen Rodriguez Leon
            Assignee: Jason Greene


I have a JBoss AS 7.1.1 deployed in a machine with the environment detailed above. In this JBoss I have 4 queues deployed. 

I run Jboss as follows:
./standalone.sh -c standalone-full.xml -b xxx.xxx.xx.xxx -bmanagement=xxx.xxx.xx.xxx &

I have successfully connected HermesJMS from a remote machine (also using Linux) to the JBoss queues.

However, when I try to connect to the queues from a custom application hosted in a remote machine using HP-UX, I get the following error:
javax.jms.JMSException: Failed to create session factory
        at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:615)
        at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:121)
        at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:116)
Caused by: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:619)
        at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:611)
        ... 6 more

I'm quite sure that it is not a connectivity issue because if I configure a wrong username/password it says: Invalid username or password so it's connecting properly to JBoss. The problem is when connecting to the queues.

Regarding the configuration of our custom application, it is exactly the same than the one used in HermesJMS (also the same libraries), so it should be ok as HermesJMS connects properly. 

The only difference is in the Operating System: JBoss and HermesJMS are installed in Linux while our custom application is installed in HP-UX. May this be an issue?

Regards



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list