This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JBoss/WildFly and the fly likes Making sure that EJB is installed befire it is accessed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Making sure that EJB is installed befire it is accessed" Watch "Making sure that EJB is installed befire it is accessed" New topic
Author

Making sure that EJB is installed befire it is accessed

Sham Phadtale
Ranch Hand

Joined: Jul 29, 2008
Posts: 75
Hello all, How can I make sure that the EJB which I am accessing is fully installed or not.
Actually i got some exception and from exception it seems that EJB is not installed. So i think there should be something which can restirct access to EJB if EJB is not installed. I tried Depend annotataion but exception is still there. This exception comes sometimes at server start up.

org.jboss.ejb3.common.registrar.spi.NotBoundException: Object is bound at key jboss.j2ee:ear=test.ear,jar=test-ejb1.jar,name=TestManagerBean,service=EJB3, but is not fully installed, instead of state: ControllerState@b24c03{Start}
at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:170)
at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:134)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.getContainerLocally(SessionProxyInvocationHandlerBase.java:410)
at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler.getContainer(SessionLocalProxyInvocationHandler.java:87)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:193)
at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
 
 
subject: Making sure that EJB is installed befire it is accessed