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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Nov 14 16:38:21 EST 2012


     [ https://issues.jboss.org/browse/SEAMTRANSACTION-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas updated SEAMTRANSACTION-18:
------------------------------------------

    Assignee:     (was: Stuart Douglas)

    
> 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
>
> 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