users@glassfish.java.net

Re: Not getting any out put from in a MDB

From: <glassfish_at_javadesktop.org>
Date: Sat, 15 Dec 2007 18:19:03 PST

Which version of glassfish? Your log format is different. I pretty much copied your code to create a EJB3 MDB and java client. I can clearly see the bean output in server.log. Are your log entries from domain1/logs/server.log?

[#|2007-12-14T21:42:48.781-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=15;_ThreadName=httpWorkerThread-4848-0;|MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...|#]

[#|2007-12-14T21:42:50.281-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=15;_ThreadName=httpWorkerThread-4848-0;|MQJMSRA_EB1101: EMBEDDED broker started with code =0|#]

[#|2007-12-14T21:42:50.281-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=15;_ThreadName=httpWorkerThread-4848-0;|MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT|#]

[#|2007-12-14T21:42:50.640-0500|INFO|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=15;_ThreadName=httpWorkerThread-4848-0;javax.jms.Topic;MY_TOPIC;FooMessageBeanBean;|endpoint.determine.destinationtype|#]

[#|2007-12-14T21:42:51.015-0500|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=httpWorkerThread-4848-0;EnterpriseApplication1-ejb;|LDR5010: All ejb(s) of [EnterpriseApplication1-ejb] loaded successfully!|#]

[#|2007-12-14T21:44:02.312-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=p: thread-pool-1; w: 5;|MQJMSRA_MF1101: setAddressList:NOT setting default value=localhost|#]

[#|2007-12-14T21:44:02.312-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=p: thread-pool-1; w: 5;|MQJMSRA_MF1101: setPassword:NOT setting default value|#]

[#|2007-12-14T21:44:02.312-0500|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=p: thread-pool-1; w: 5;|MQJMSRA_MF1101: setUserName:NOT setting default value=guest|#]

[#|2007-12-14T21:56:35.734-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=Session5772513955167554560;|

DirectConsumer:Caught Exception delivering messagecom.sun.messaging.jmq.io.Packet cannot be cast to com.sun.messaging.jms.ra.DirectPacket|#]

[#|2007-12-14T21:56:35.843-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=p: thread-pool-1; w: 12;|

### in onMessage|#]

[#|2007-12-14T21:56:35.843-0500|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=p: thread-pool-1; w: 12;|

### text=This is a test message|#]

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=250270