users@glassfish.java.net

PostConstruct not invoked for MDB

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Jun 2007 03:45:34 PDT

Hi

I'm using Java System Application Server Platform Edition 9.0_01 (build b02-p01) on a Solaris 10 box.
I'm deploying a .ear that contains several EJB and webservices. It contains 2 MDBs. All JMS resources are properly created.
Deployment works fine. However, the PostConstruct methods in the MDB is never invoked, although the MDB is properly listening to the Destination and handling messages.

What is also very strange is that if I activate the monitoring services, I find the following error in the server logs, without any additional comment:
server.log_2007-06-26T12-23-59:[#|2007-06-26T12:08:45.935+0200|WARNING|sun-appserver-pe9.0|javax.enterprise.system.tools.admin|_ThreadID=18;_ThreadName=Thread-14;_RequestID=d9f5a63f-48c8-48d5-bde1-01b101a1df4b;|DeferredRegistrationThread.retryItem: Deferred registration FAILED for "com.sun.appserv:application=Limbs3,name=bean-pool,type=bean-pool,category=monitor,ejb-module=limbsMessageBrokerEJB_jar,ejb=MessageBrokerBean,server=server"due to Exception of type java.lang.IllegalArgumentException|#]

Any help or pointer would be highly appreciated...

Regards

Jean-Noel Colin
[Message sent by forum member 'jncolin' (jncolin)]

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