JBoss Community

Singleton bean of EJB3.x, will instantiate twice at first time ?

created by 忠雨 胡 in EJB3 - View the full discussion

Hi everyone:

 

    My JBoss version:   jboss-as-7.1.0.CR1b

    The scenario is a singleton bean named 'ProductSubscriberCallbackCache' was deployed in a Webapp, the ejb jar is located in Webapp/webroot/lib, in WebApp,  a client will call ProductSubscriberCallbackCache via JNDI, my question is ,   why did the singleton bean 'ProductSubscriberCallbackCache' was instantiated twice at the first time?

 

   Attachments are the code and the log.

   this has puzzled me for a long time, any suggestion will be appreciated!

   thanks

  

Reply to this message by going to Community

Start a new discussion in EJB3 at Community