I guess a little more info for the problem. I found an queue example at http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample and changed it from localhost to use the server ip. Run from the server it returned: Creating jndi context - alternatively use a jndi.properties Looking up queue Looking up connection factory Creating connection Creating session Creating sender Creating message Sending message Creating receiver Try to receive message, it will not work You have to start the connection before receiving messages This receive will work Got message: org.jboss.mq.SpyTextMessage { Header { jmsDestination : QUEUE.testQueue jmsDeliveryMode : 2 jmsExpiration : 0 jmsPriority : 4 jmsMessageID : ID:16-10900107639031 jmsTimeStamp : 1090010763903 jmsCorrelationID: null jmsReplyTo : null jmsType : null jmsRedelivered : false jmsProperties : {} jmsPropertiesReadWrite:false msgReadOnly : true producerClientId: ID:16 } Body { text :hello } } Run from the client it failed similarly: Creating jndi context - alternatively use a jndi.properties Looking up queue Looking up connection factory Creating connection Exception in thread "main" org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.Connect Exception: Connection refused: connect) at org.jboss.mq.Connection.authenticate(Connection.java:883) at org.jboss.mq.Connection.(Connection.java:238) at org.jboss.mq.Connection.(Connection.java:315) at org.jboss.mq.SpyConnection.(SpyConnection.java:60) at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116) at gov.ca.boe.afsp.messages.Client.main(Client.java:36) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:169) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:153) at javax.net.DefaultSocketFactory.createSocket(DashoA6275) at org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:579) at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:500) at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:302) at org.jboss.mq.Connection.authenticate(Connection.java:876) ... 5 more JMS was not a problem with 1.3.1_09 and is with 1.4.2_04. Is there something different between the two that I am not seeing? Help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842447#3842447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842447 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user