This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread 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 Building Microservices this week in the Design 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)
 
Have you checked out Aspose?
 
subject: Making sure that EJB is installed befire it is accessed
 
It's not a secret anymore!