1 Reply Latest reply on Jun 27, 2005 4:09 PM by Elias Ross

    Stack trace on createTopicConnection

    Colin Goudie Newbie

      I am starting up a subscriber connection to a topic. As soon as I call createTopicConnection I get a fairly large bunch of messages printed to the console as well as a stack trace but it almost appears as if this is just debug output.

      Is this normal? And if so can I shut it off? Or is it an error of some kind.

      Thanks

      The output is:
      Extracting SpyConnectionFactory from reference
      The GenericConnectionFactory is: GenericConnectionFactory[server=org.jboss.mq.il.uil2.UILServerIL@1f5d386 connectionProperties={UIL_PORT_KEY=8093, ClientILService=org.jboss.mq.il.uil2.UILClientILService, UIL_ADDRESS_KEY=192.168.0.100, UIL_TCPNODELAY_KEY=yes, PingPeriod=60000, UIL_CHUNKSIZE_KEY=1000000, UIL_RECEIVE_REPLIES_KEY=No, UIL_BUFFERSIZE_KEY=2048}]
      Setting the clockDaemon's thread factory
      Connection Initializing userName=null Connection@1760304[clientID=null rcvstate=STOPPED]
      Getting the serverIL Connection@1760304[clientID=null rcvstate=STOPPED]
      serverIL=org.jboss.mq.il.uil2.UILServerIL@16df84b Connection@1760304[clientID=null rcvstate=STOPPED]
      Authenticating user null Connection@1760304[clientID=null rcvstate=STOPPED]
      Connecting to : BLITZ.GOUDIENETWORK/192.168.0.100:8093
      Connecting with addr=192.168.0.100, port=8093, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@1bc887b, enableTcpNoDelay=true, bufferSize=2048, chunkSize=1000000
      Begin connect loop, maxRetries=10, delay=0
      start called
      java.lang.Exception: Start stack trace
      at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96)
      at org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:666)
      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.(Connection.java:267)
      at org.jboss.mq.Connection.(Connection.java:338)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:68)
      at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
      at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:136)
      at com.positive.core.util.MessageSubscriber.initialiseConnection(MessageSubscriber.java:135)
      at com.positive.core.util.MessageSubscriber.initialiseConnection(MessageSubscriber.java:107)
      at com.positive.client.modules.hrs.gui.HRSTableViewPanel.(HRSTableViewPanel.java:118)
      at com.positive.client.modules.hrs.gui.HRSMainApplicationPanel.registerScreensOnTableScreen(HRSMainApplicationPanel.java:79)
      at com.positive.client.modules.hrs.HRSApplicationModule.(HRSApplicationModule.java:95)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at com.positive.client.MainClient.(MainClient.java:97)
      at com.positive.client.MainClient.main(MainClient.java:208)
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null]
      Begin ReadTask.run
      Begin WriteTask.run
      Created ObjectOutputStream
      Write msg: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null]
      Created ObjectInputStream
      Read msgType: m_authenticate, msgID: 1
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg5546792[msgType: m_authenticate, msgID: 1, error: null]
      Starting the client il Connection@1760304[clientID=null rcvstate=STOPPED]
      Handing out ClientIL: org.jboss.mq.il.uil2.UILClientILService
      Starting
      Using client id org.jboss.mq.il.uil2.UILClientILService@2e7820 Connection@1760304[clientID=null rcvstate=STOPPED]
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null]
      Read msgType: m_setSpyDistributedConnection, msgID: 2
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.ConnectionTokenMsg13665843[msgType: m_setSpyDistributedConnection, msgID: 2, error: null]
      Creating XAResourceManager Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Starting the ping thread Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Connection establishment successful Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Checking clientID=null Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Ask for an id Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.GetIDMsg27475272[msgType: m_getID, msgID: 3, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.GetIDMsg27475272[msgType: m_getID, msgID: 3, error: null]
      PING 1119709294058 Connection@1760304[token=ConnectionToken:null/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      Begin internalSendMessage, one-way msg=org.jboss.mq.il.uil2.msgs.PingMsg11665455[msgType: m_ping, msgID: 4, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.PingMsg11665455[msgType: m_ping, msgID: 4, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.PingMsg11665455[msgType: m_ping, msgID: 4, error: null]
      Read msgType: m_getID, msgID: 3
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.GetIDMsg27475272[msgType: m_getID, msgID: 3, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.GetIDMsg27475272[msgType: m_getID, msgID: 3, error: null]
      Read msgType: m_pong, msgID: -2147483644
      Read new msg: org.jboss.mq.il.uil2.msgs.PingMsg2771331[msgType: m_pong, msgID: -2147483644, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.GetIDMsg27475272[msgType: m_getID, msgID: 3, error: null]
      ClientID established Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      New session SpySession@17707667[tx=false ack=AUTO txid=null RUNNING connection=Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]]
      Begin handleMsg, msgType: 24
      PONG serverTime=1119709385458 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]
      End handleMsg
      SpyDestinationObjectFactory->getObjectInstance()
      New message consumer SpyMessageConsumer@17933220[sub=Subscription[subId=0 destination=TOPIC.posTopic messageSelector=null Local Create] listening=false receiving=false sessionConsumer=false waitingForMessage=false messages=0 session=SpySession@17707667[tx=false ack=AUTO txid=null RUNNING connection=Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]]]
      Adding consumer SpyMessageConsumer@17933220[sub=Subscription[subId=0 destination=TOPIC.posTopic messageSelector=null Local Create] listening=false receiving=false sessionConsumer=false waitingForMessage=false messages=0 session=SpySession@17707667[tx=false ack=AUTO txid=null RUNNING connection=Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]]]
      addConsumer sub=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b destination=TOPIC.posTopic messageSelector=null Local Create]
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.SubscribeMsg17725708[msgType: m_subscribe, msgID: 5, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.SubscribeMsg17725708[msgType: m_subscribe, msgID: 5, error: null]
      Read msgType: m_subscribe, msgID: 5
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.SubscribeMsg17725708[msgType: m_subscribe, msgID: 5, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.SubscribeMsg17725708[msgType: m_subscribe, msgID: 5, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.SubscribeMsg17725708[msgType: m_subscribe, msgID: 5, error: null]
      Set message listener=com.positive.core.util.MessageSubscriber@982589 old listener=null SpyMessageConsumer@17933220[sub=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b destination=TOPIC.posTopic messageSelector=null Local Create] listening=false receiving=false sessionConsumer=false waitingForMessage=false messages=0 session=SpySession@17707667[tx=false ack=AUTO txid=null RUNNING connection=Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STOPPED]]]
      Starting connection Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.EnableConnectionMsg13141056[msgType: m_setEnabled, msgID: 6, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.EnableConnectionMsg13141056[msgType: m_setEnabled, msgID: 6, error: null]
      Receive subscription=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b destination=TOPIC.posTopic messageSelector=null Local Create] wait=0
      Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.ReceiveMsg29418586[msgType: m_receive, msgID: 7, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.ReceiveMsg29418586[msgType: m_receive, msgID: 7, error: null]
      Read msgType: m_receive, msgID: 7
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.ReceiveMsg29418586[msgType: m_receive, msgID: 7, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.ReceiveMsg29418586[msgType: m_receive, msgID: 7, error: null]
      Read msgType: m_setEnabled, msgID: 6
      Found replyMap msg: org.jboss.mq.il.uil2.msgs.EnableConnectionMsg13141056[msgType: m_setEnabled, msgID: 6, error: null]
      Read msg reply: org.jboss.mq.il.uil2.msgs.EnableConnectionMsg13141056[msgType: m_setEnabled, msgID: 6, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.ReceiveMsg29418586[msgType: m_receive, msgID: 7, error: null]
      waiting in run() SpyMessageConsumer@17933220[sub=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b destination=TOPIC.posTopic messageSelector=null Local Create] listening=true receiving=false sessionConsumer=false waitingForMessage=true messages=0 thread=Thread[MessageListenerThread - posTopic,5,main] listener=com.positive.core.util.MessageSubscriber@982589 session=SpySession@17707667[tx=false ack=AUTO txid=null RUNNING connection=Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]]]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.EnableConnectionMsg13141056[msgType: m_setEnabled, msgID: 6, error: null]
      Message subscriber connection created successfully
      Cardlayout: Show TableView
      PING 1119709354058 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      Begin internalSendMessage, one-way msg=org.jboss.mq.il.uil2.msgs.PingMsg12432643[msgType: m_ping, msgID: 8, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.PingMsg12432643[msgType: m_ping, msgID: 8, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.PingMsg12432643[msgType: m_ping, msgID: 8, error: null]
      Read msgType: m_pong, msgID: -2147483643
      Read new msg: org.jboss.mq.il.uil2.msgs.PingMsg11985823[msgType: m_pong, msgID: -2147483643, error: null]
      Begin handleMsg, msgType: 24
      PONG serverTime=1119709445458 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      End handleMsg
      PING 1119709414058 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      Begin internalSendMessage, one-way msg=org.jboss.mq.il.uil2.msgs.PingMsg18471958[msgType: m_ping, msgID: 9, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.PingMsg18471958[msgType: m_ping, msgID: 9, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.PingMsg18471958[msgType: m_ping, msgID: 9, error: null]
      Read msgType: m_pong, msgID: -2147483642
      Read new msg: org.jboss.mq.il.uil2.msgs.PingMsg12606779[msgType: m_pong, msgID: -2147483642, error: null]
      Begin handleMsg, msgType: 24
      PONG serverTime=1119709505469 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      End handleMsg
      PING 1119709474058 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      Begin internalSendMessage, one-way msg=org.jboss.mq.il.uil2.msgs.PingMsg23506867[msgType: m_ping, msgID: 10, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.PingMsg23506867[msgType: m_ping, msgID: 10, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.PingMsg23506867[msgType: m_ping, msgID: 10, error: null]
      Read msgType: m_pong, msgID: -2147483641
      Read new msg: org.jboss.mq.il.uil2.msgs.PingMsg10044878[msgType: m_pong, msgID: -2147483641, error: null]
      Begin handleMsg, msgType: 24
      PONG serverTime=1119709565468 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      End handleMsg
      PING 1119709534058 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      Begin internalSendMessage, one-way msg=org.jboss.mq.il.uil2.msgs.PingMsg1114115[msgType: m_ping, msgID: 11, error: null]
      End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.PingMsg1114115[msgType: m_ping, msgID: 11, error: null]
      Write msg: org.jboss.mq.il.uil2.msgs.PingMsg1114115[msgType: m_ping, msgID: 11, error: null]
      Read msgType: m_pong, msgID: -2147483640
      Read new msg: org.jboss.mq.il.uil2.msgs.PingMsg1565898[msgType: m_pong, msgID: -2147483640, error: null]
      Begin handleMsg, msgType: 24
      PONG serverTime=1119709625474 Connection@1760304[token=ConnectionToken:ID:3/926cd699839c60a6f0e64cde592cd95b rcvstate=STARTED]
      End handleMsg