JBoss Community

Re: QueueConnectionFactory problem in JBoss-5.1.0.GA

created by Mark Paluch in JNDI and Naming - View the full discussion

Hi there,

the JNDI-View shows your registered EJB structure. By default, the JBoss 5 Connection Factories have following mappings:

 

            <binding>/ConnectionFactory</binding>

            <binding>/XAConnectionFactory</binding>

            <binding>java:/ConnectionFactory</binding>

            <binding>java:/XAConnectionFactory</binding>

(see connection-factories-service.xml)

 

so @Resource(mappedName="/ConnectionFactory")

private ConnectionFactory connectionFactory;

 

should work.

 

Best regards,

Mark

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community