Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 3.0.0.Beta4
-
Labels:None
Description
I am trying to use a seam managed hibernate session from a WebApplication Startup event. There is no request context at this time causing the injection to fail. It is because of the dependency on org.jboss.seam.persistence.transaction.EjbSynchronizations that a request context is required.
Resolved by making the Synchronizations components @ApplicationScoped and using ThreadLocals to track the syncronizations