Under one of the answers there is explanation:
"A stateless session bean cannot access resource managers in @PostCreate() or @Remove methods."
But there's no @PostCreate annotation. It should be @PostConstruct.
About Question com.enthuware.ets.scbcd.v5.2.292 :
Moderator: admin
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.292 :
This has now been corrected. Thanks a lot for your feedback!
Re: About Question com.enthuware.ets.scbcd.v5.2.292 :
Hi,
According spec, PostConstruct, PreDestroy, PrePassivate, PostActivate lifecycle callback interceptor methods can access Resource Manager.
Thus option 1 is correct as well.
It may be a @PostConstruct method.
Is that right?
According spec, PostConstruct, PreDestroy, PrePassivate, PostActivate lifecycle callback interceptor methods can access Resource Manager.
Thus option 1 is correct as well.
It may be a @PostConstruct method.
Is that right?
-
- Posts: 8
- Joined: Tue Jan 29, 2013 4:14 pm
- Contact:
Re: About Question com.enthuware.ets.scbcd.v5.2.292 :
They can access from SFSB but not SLSB. There must be a valid transaction context.
Who is online
Users browsing this forum: No registered users and 5 guests