Forum Stats

  • 3,837,681 Users
  • 2,262,285 Discussions


ejbCreate method of MDB not invoked

3015580 Member Posts: 1
edited Feb 1, 2016 2:02PM in Java Message Service (JMS)

We are running Weblogic 10.3.6. i have an application containing MDBs listenting on a queue configured in an Oracle DB. When a message arrives on the queue, Weblogic correctly invokes the onMessage method in the bean's class. However, the ejbCreate method is never being invoked. There is code in the ejbCreate method that initializes other objects to be used during message processing. Since the ejbCreate is not invoked, the MDB instance is not fully initialized. Is there something to be configured in Weblogic so that the ejbCreate invocation is not by-passed?

This discussion has been closed.