The producer is unable to send messages to the JMS server unless it is located 
on the same server; this is my primary concern  (not the DEBUG statement).

I do not understand why it does not allow the connection.  There is one line 
that looks a bit fishy in the trace output below:
17:24:46,828 TRACE UILServerIL: Connecting to : bullseye/127.0.0.1:8093

bullseye is the name of the machine that attempts to connect to the JMS server 
(on another server).

Thoughts?



Here's a trace of what is happening when trying to connect (before the one 
posted in the original post):

  |  17:24:46,718 DEBUG SpyDestinationObjectFactory: 
SpyDestinationObjectFactory->getObjectInstance()
  | 17:24:46,796 DEBUG Connection: Setting the clockDaemon's thread factory
  | 17:24:46,796 TRACE Connection: Connection Initializing userName=guest 
[EMAIL PROTECTED] rcvstate=STOPPED]
  | 17:24:46,796 TRACE Connection: Getting the serverIL [EMAIL PROTECTED] 
rcvstate=STOPPED]
  | 17:24:46,796 TRACE Connection: [EMAIL PROTECTED] [EMAIL PROTECTED] 
rcvstate=STOPPED]
  | 17:24:46,796 TRACE Connection: Authenticating user guest [EMAIL PROTECTED] 
rcvstate=STOPPED]
  | 17:24:46,828 TRACE UILServerIL: Connecting to : bullseye/127.0.0.1:8093
  | 17:24:46,828 TRACE UILServerIL: Connecting with addr=127.0.0.1, port=8093, 
localAddr=null, localPort=0, [EMAIL PROTECTED], enableTcpNoDelay=true, 
bufferSize=2048, chunkSize=1000000
  | 17:24:46,828 TRACE UILServerIL: Begin connect loop, maxRetries=10, delay=0
  | 17:24:47,765 TRACE UILServerIL: Failed to connect, retries=1
  | java.net.ConnectException: Connection refused: connect
  |     at java.net.PlainSocketImpl.socketConnect(Native Method)
  |     at java.net.PlainSocketImpl.doConnect(Unknown Source)
  |     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
  |     at java.net.PlainSocketImpl.connect(Unknown Source)
  |     at java.net.SocksSocketImpl.connect(Unknown Source)
  |     at java.net.Socket.connect(Unknown Source)
  |     at java.net.Socket.connect(Unknown Source)
  |     at java.net.Socket.<init>(Unknown Source)
  |     at java.net.Socket.<init>(Unknown Source)
  |     at javax.net.DefaultSocketFactory.createSocket(Unknown Source)
  |     at 
org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:642)
  |     at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:532)
  |     at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:334)
  |     at org.jboss.mq.Connection.authenticate(Connection.java:1114)
  |     at org.jboss.mq.Connection.<init>(Connection.java:267)
  |     at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:57)
  |     at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:108)
  |     at 
com.squaretrade.jms.MessageDeliveryDelegate.send(MessageDeliveryDelegate.java:96)
  |     at 
com.squaretrade.jms.DefaultMessagingFacade.send(DefaultMessagingFacade.java:34)
  |     at 
com.squaretrade.jms.BaseMessageObject.sendInternal(BaseMessageObject.java:80)
  |     at com.squaretrade.jms.BaseMessageObject.send(BaseMessageObject.java:43)
  |     at 
com.squaretrade.jms.client.TestTopicMessageProducer.sendMessages(TestTopicMessageProducer.java:25)
  |     at 
com.squaretrade.jms.client.MessageProducerThread.run(MessageProducerThread.java:49)
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944082#3944082

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944082


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to