[seam-issues] [JBoss JIRA] (SEAMTRANSACTION-18) DefaultSeamTransaction relies on EJB-API but probably shouldn't

Wulf Rowek (JIRA) jira-events at lists.jboss.org
Wed Sep 12 19:27:32 EDT 2012


Wulf Rowek created SEAMTRANSACTION-18:
-----------------------------------------

             Summary: DefaultSeamTransaction relies on EJB-API but probably shouldn't
                 Key: SEAMTRANSACTION-18
                 URL: https://issues.jboss.org/browse/SEAMTRANSACTION-18
             Project: Seam Transaction
          Issue Type: Feature Request
    Affects Versions: 3.1.0.Final
         Environment: Jave SE
            Reporter: Wulf Rowek
            Assignee: Stuart Douglas


trying to use the DefaultSeamTransaction w/o ejb-api.jar on classpath leads to this error:

INFO: WELD-000119 Not generating any bean definitions from org.jboss.seam.transaction.DefaultSeamTransaction because of underlying class loading error
Caused by: java.lang.NoClassDefFoundError: javax/ejb/EJBContext

adding ejb-api as a workaround is not an option cause seam persistence uses existing ejb-classpath-entries for detecting an ee-environment.
hence you'll get an unexpected seam persistence behaviour in a non-ee env with ejb-api on classpath, like described here: https://community.jboss.org/message/715541#715541

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list