This content has been marked as final.
Show 3 replies
-
1. Re: @Resource for a UserTransaction not working
fisherab Sep 29, 2015 11:14 AM (in response to fisherab)I see that the code does appear to work as when I print userTransaction it says: org.jboss.tm.usertx.client.ServerVMClientUserTransaction@174edfc3 rather than null. So what does the message mean?
-
2. Re: @Resource for a UserTransaction not working
jaikiran Sep 29, 2015 1:07 PM (in response to fisherab)Which exact version of WildFly is this?
Steve Fisher wrote:
INFO [org.apache.cxf.common.injection.ResourceInjector] (MSC service thread 1-6) failed to resolve resource org.icatproject.exposed.ICAT/userTransaction
That looks a odd message since it's coming from Apache CFX and also logged at INFO level, whereas the @Resource injection should/is be managed by the EE subsystem in WildFly and as you already noticed, the @Resource is indeed injected.
Maybe asoldano would know more about that INFO log message.
-
3. Re: @Resource for a UserTransaction not working
fisherab Sep 29, 2015 4:24 PM (in response to jaikiran)It is 9.0.1.Final