Question

i got error:

javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException:BranchProcessorLocal not bound]

in my EJB-Hibernet project

I am using jboss-4.0.2, NetBeans-6.8, JavaEE 5

Project is build successfully in NetBeans but when i try to deploy it and run application i got above error.

I had put .ear files into lib directory also.

How do I resolve this exception?

Était-ce utile?

La solution

As Luciano suggested, check that you really have BranchProcessorLocal bound in JNDI. You can find it in JMX Console (WUI app that ships with JBoss - http://server:port/jmx-console). Use ObjectName filter on top right and search for jboss:service=JNDIView. On the bean that is found, execute list method. You'll get list of all names in JNDI. If the BranchProcessorLocal is not there, then you have incorrect implementation or deployment, but it is hard to guess, because options are numerous.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top