File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes EJB JNDI name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB JNDI name" Watch "EJB JNDI name" New topic


Igor Dvorzhak

Joined: Jul 23, 2010
Posts: 6
I am trying to assign a JNDI name for the session bean.

But specified name ejb/AuthorityService mapped only for home interface of the EJB, remote interface is still mapped to the generated name: RoomBookerRoomBooker-ejb_jarAuthorityServiceEjb_EO

In what may be the problem?

P.S. sorry for my English


Igor Dvorzhak

Joined: Jul 23, 2010
Posts: 6
WebLogic sets the JNDI name properly

Problem was in spring configuration file:
I use org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean factory for the Dependency Injection instead of org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
I agree. Here's the link:
subject: EJB JNDI name
Similar Threads
Problem Accessing Local EJB!!!!!!
Regarding Deploying Ejb in Weblogic server 5.1
weblogic6.1 - JNDI name
Common Spring context for all EJBs
ejb deployment on weblogic 6.0