File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Making sure that EJB is installed befire it is accessed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Making sure that EJB is installed befire it is accessed
 
Similar Threads
javax.naming.NotContextException
Error when deploying an EAR on JBoss 5.1.0
Jboss 5.1 EJBTransactionRolledbackException
NLP: org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java)
Requesting help in connecting a DataSource(DSSDEV)