Hi Sanjay
Are you able to reproduce this issue with LOCAL mode in jms-service? Could you
please change jms-service type from EMBEDDED to LOCAL and restart the server and
try your tests and let us know?
https://glassfish.dev.java.net/javaee5/docs/DG/beaob.html#beaof
We think it might appear only with EMBEDDED and might be a MQ Direct mode
implementation issue.
Thanks
--Siva
glassfish_at_javadesktop.org wrote:
> Siva,
>
> Another interesting thing was all errors occur on the same connection. For example, it occurred 16 times today in all cases the connection id was same, the connection ID was 5906212638271760640.
>
> Here is the stack trace from today's run.
> -------------------
> September 18, 2007 03:37:44 PM EDT:750365:ERROR :p: thread-pool-1; w: 7 :ExceptionHandlingManager.handleException:160: opuse
> rid: Exception thrown:
> javax.jms.JMSException: MQJMSRA_DS4001: JMSServiceException on send message:sendMessage: Sending message failed. Connection
> ID: 5906212638271760640
> at com.sun.messaging.jms.ra.DirectSession._sendMessage(DirectSession.java:1821)
> at com.sun.messaging.jms.ra.DirectProducer._send(DirectProducer.java:1074)
> at com.sun.messaging.jms.ra.DirectProducer.send(DirectProducer.java:474)
> at com.foliotrade.arch.queue.QueueWrapper.sendWithoutRetry(QueueWrapper.java:1103)
> at com.foliotrade.arch.queue.QueueWrapper.send(QueueWrapper.java:704)
> at com.foliotrade.arch.queue.QueueWrapper.send(QueueWrapper.java:670)
> at com.foliotrade.op.ejb.messagedriven.OrderMatcherMdb.sendResultsToOutputQueue(OrderMatcherMdb.java:146)
> at com.foliotrade.op.ejb.messagedriven.OrderMatcherMdb.onMessage(OrderMatcherMdb.java:83)
> at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
> at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
> at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2884)
> at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3975)
> at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
> at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
> at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.jav
> a:179)
> at $Proxy68.onMessage(Unknown Source)
> at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:249)
> at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
> at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:524)
> Caused by: com.sun.messaging.jmq.jmsservice.JMSServiceException: sendMessage: Sending message failed. Connection ID: 5906212
> 638271760640
> at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.sendMessage(IMQDirectService.java:1933)
> at com.sun.messaging.jms.ra.DirectSession._sendMessage(DirectSession.java:1816)
> ... 21 more
> Caused by: com.sun.messaging.jmq.jmsserver.util.BrokerException: transaction failed: Unexpected Broker Exception: [Transacti
> on 5906212638274580736: is not started, ignoring]
> at com.sun.messaging.jmq.jmsserver.data.handlers.DataHandler.routeMessage(DataHandler.java:338)
> at com.sun.messaging.jmq.jmsserver.data.protocol.ProtocolImpl.processMessage(ProtocolImpl.java:822)
> at com.sun.messaging.jmq.jmsserver.service.imq.IMQDirectService.sendMessage(IMQDirectService.java:1926)
> ... 22 more
> ------------------
>
> --
> Sanjay
> [Message sent by forum member 'sanjaydwivedi' (sanjaydwivedi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=235920
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>