[jboss-user] [JNDI and Naming] - Re: Not working injection with Service

Gaspare P. do-not-reply at jboss.com
Mon Jun 11 05:03:20 EDT 2012


Gaspare P. [https://community.jboss.org/people/gpro] created the discussion

"Re: Not working injection with Service"

To view the discussion, visit: https://community.jboss.org/message/740929#740929

--------------------------------------------------------------
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
[https://community.jboss.org/message/740929#740929]

Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120611/cb87b677/attachment.html 


More information about the jboss-user mailing list