It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making sure that EJB is installed befire it is accessed
 
Similar Threads
Jboss 5.1 EJBTransactionRolledbackException
Requesting help in connecting a DataSource(DSSDEV)
Error when deploying an EAR on JBoss 5.1.0
javax.naming.NotContextException
NLP: org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java)