0 Replies Latest reply on Jun 14, 2012 11:03 PM by Jonas Hu

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

    Jonas Hu Newbie

      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