JBoss Community

Re: EJB 3.1 Global JNDI names

created by Süleyman Vurucu in JNDI and Naming - View the full discussion

Hi jaikiran,

I'm trying the new capabilities of the JavaEE6 specification with JBoss-6.0.0.Final. 

One of the great thing for me ist the topic that's discussed in this thread.

But this feature don't work in the final relase.  If I deploy my App I get old style JNDI mapping like:

 

16:58:59,884 INFO  [AbstractNoInterfaceViewBinder] Binding the following entry in Global JNDI for bean:ManagmentBean

    MyApp/ManagmentBean/no-interface -> EJB3.1 no-interface view

16:58:59,900 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

    MyApp/UserBean/remote - EJB3.x Default Remote Business Interface

     MyApp/UserBean/remote-my.company.business.interfaces.UserBeanRemote - EJB3.x Remote Business Interface

 

And if I do a lookup with java:global I get an Exception like:

javax.naming.NameNotFoundException: global not bound

 

I didn't change any configuration from JBoss.

 

So I'm very desperate. What I'm doing wrong ?

 

Thanks.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community