2 Replies Latest reply on Jun 28, 2006 5:32 AM by timfox

    JBOSS Crashing  on Linux while sending JMS messages Irregula

    sumesh_ps

      Hi All,

      Our Application is running on Red Hat Enterprise Linux ES release 4 (Nahant)
      Kernel version : Linux 2.6.9-5.ELsmp #1 SMP i686 i686 i386 GNU/Linux

      JDK version : 1.4.2_07
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)

      Jboss : Jboss 4.0.0


      We have one incoming queue with name 'Incoming'
      and more than one outgoing queue named queue/M1
      ans one MDB to listen the Incoming queue.

      JMS clients are in a different JVMs, machines.

      Occassionally sending of JMS messages CRASHES JBOSS
      Please find the given below log of one such occation


      We are getting JMS error

      ***2006-06-18 15:40:09,953 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
      java.net.SocketException: Socket closed

      see the application stack trace below

      sometimes after JMS messages sender this error Jboss crahes with a Messages REAL TIME SIGNAL 27


      Pls give some hints to solve this issue, if anybody have come across this type of issue.

      Thanks in Advance
      Sumesh

      2006-06-18 15:40:09,804 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] Database updated Successfully for message with reference No: 18060600000000000002800001
      2006-06-18 15:40:09,804 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] updateDB Ended
      2006-06-18 15:40:09,804 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] sendMessage Started
      2006-06-18 15:40:09,805 INFO [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] Sending message to the queue
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] messageType :T
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] mobileNumber :919880311563
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] queueId :queue/M1
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] refNo :18060600000000000002800001
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] message :CM0800906122P#########M###Q2U867######s*N####s*###########c###################################################################################################37
      2006-06-18 15:40:09,809 INFO [com.mobiapps.mtrak.outgoing.sender.MessageSender] Sending message to queue queue/M1 with destination number 919880311563
      2006-06-18 15:40:09,818 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--}
      2006-06-18 15:40:09,851 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--}
      2006-06-18 15:40:09,856 DEBUG [org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] Extracting SpyConnectionFactory from reference
      2006-06-18 15:40:09,858 DEBUG [org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The GenericConnectionFactory is: GenericConnectionFactory[server=org.jboss.mq.il.uil2.UILServerIL@99e843 connectionProperties={UIL_ADDRESS_KEY=192.168.6.187, UIL_CHUNKSIZE_KEY=1000000, UIL_TCPNODELAY_KEY=yes, ClientILService=org.jboss.mq.il.uil2.UILClientILService, UIL_PORT_KEY=8093, UIL_BUFFERSIZE_KEY=2048, PingPeriod=60000}]
      2006-06-18 15:40:09,860 DEBUG [org.jboss.mq.referenceable.SpyDestinationObjectFactory] SpyDestinationObjectFactory->getObjectInstance()
      2006-06-18 15:40:09,877 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2006-06-18 15:40:09,879 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2006-06-18 15:40:09,882 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2006-06-18 15:40:09,883 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2006-06-18 15:40:09,883 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2006-06-18 15:40:09,883 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2006-06-18 15:40:09,884 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2006-06-18 15:40:09,885 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--}
      2006-06-18 15:40:09,886 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2006-06-18 15:40:09,890 DEBUG [org.jboss.mq.il.uil2.UILClientILService] Starting
      2006-06-18 15:40:09,898 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2006-06-18 15:40:09,898 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2006-06-18 15:40:09,927 DEBUG [org.jboss.mq.security.SecurityManager] No SecurityMetadadata was available for M1 using default security config
      2006-06-18 15:40:09,933 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--}
      2006-06-18 15:40:09,946 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
      2006-06-18 15:40:09,948 DEBUG [org.jboss.mq.il.uil2.UILClientILService] Stopping
      2006-06-18 15:40:09,948 INFO [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] message Successfully send to the queue
      2006-06-18 15:40:09,948 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] sendMessage Ended
      2006-06-18 15:40:09,949 INFO [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] Received 1 constructed messages from Message Constructor:
      2006-06-18 15:40:09,949 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] constructAndSendMessage Ended
      2006-06-18 15:40:09,949 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] sendPollCommand() Ended
      2006-06-18 15:40:09,949 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageControllerBean] sendPollCommand() Started
      2006-06-18 15:40:09,949 DEBUG [com.mobiapps.mtrak.outgoing.controllerbean.OutgoingMessageHelper] getMandatoryParams() Started
      2006-06-18 15:40:09,953 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
      java.net.SocketException: Socket closed
      at java.net.SocketInputStream.read(SocketInputStream.java:162)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
      at java.lang.Thread.run(Thread.java:534)
      2006-06-18 15:40:09,954 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run