[
https://issues.jboss.org/browse/SEAMSECURITY-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marek Schmidt updated SEAMSECURITY-122:
---------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/seam/security/pull/37
> cannot deploy idmconsole to AS6
> -------------------------------
>
> Key: SEAMSECURITY-122
> URL: https://issues.jboss.org/browse/SEAMSECURITY-122
> Project: Seam Security
> Issue Type: Bug
> Affects Versions: 3.1.0.Beta4
> Environment: jboss-as-6, seam-3.1.0.Beta4
> Reporter: Tomas Remes
> Assignee: Marek Schmidt
> Fix For: 3.1.0.Beta5
>
>
> running mvn clean package -Pjbossas6 and deploying security-idmconsole.war to
> AS6 causes following exception:
> ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/security-idmconsole]]
> Exception sending context initialized event to listener instance of class
> org.jboss.solder.servlet.event.ServletEventBridgeListener:
> javax.persistence.TransactionRequiredException: EntityManager must be access
> within a transaction
> at
> org.jboss.jpa.deployment.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:157)
> [:1.0.2-alpha-3]
> at
> org.jboss.jpa.deployment.PersistenceUnitDeployment.verifyInTx(PersistenceUnitDeployment.java:318)
> [:1.0.2-alpha-3]
> at
> org.jboss.jpa.impl.tx.TransactionScopedEntityManager.verifyInTx(TransactionScopedEntityManager.java:105)
> [:2.0.0]
> at
> org.jboss.jpa.impl.tx.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:205)
> [:2.0.0]
> at
> org.jboss.seam.security.examples.idmconsole.model.PopulateDatabase.loadData(PopulateDatabase.java:27)
> [:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [:1.6.0_24]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues