忠雨 胡 [
https://community.jboss.org/people/he_man888] created the discussion
"Singleton bean of EJB3.x, will instantiate twice at first time ?"
To view the discussion, visit:
https://community.jboss.org/message/741879#741879
--------------------------------------------------------------
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
[
https://community.jboss.org/message/741879#741879]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]