JBoss Community

Re: Not working injection with Service

created by Gaspare P. in JNDI and Naming - View the full discussion

Hi all,

 

I have the same problem trying to have a valid resource using:

@Resource(mappedName="activemq/TopicConnectionFactory")

private TopicConnectionFactory factory;

 

I think there are some problems related to class isolation. In my tests, "factory" is null when class isolation is ON, while it works fine when isolation is disabled.

 

Any idea?

 

Please help on this.

 

Regards

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community