JBoss Community

Re: finding JMS resources with java:comp/env

created by alejandro soto in JNDI and Naming - View the full discussion

Hi, thanks for your reply.

 

I tell you that I have removed the line: ctx = (Context)ctx.lookup("java:comp/env"), of this way whether i can find the TopicConnectionFactory.

 

But I have that doubt, why doesn't it works using java:comp/env?.

 

Thanks.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community