[seam-issues] [JBoss JIRA] (SEAMSECURITY-122) cannot deploy idmconsole to AS6
Tomas Remes (Created) (JIRA)
jira-events at lists.jboss.org
Wed Oct 26 08:11:46 EDT 2011
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
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
More information about the seam-issues
mailing list