[JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to
by nataleja
Deleted gthe entire Data directory and restarted. JBoss recreated the directory but while the error message looks different it's still the same I think.
2007-02-22 08:33:02,676 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=CMS
State: FAILED
Reason: javax.jcr.NamespaceException: failed to register namespace portalcms -> http://jboss.org/jcr/portalcms: mapping already exists
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=CMS
State: FAILED
Reason: javax.jcr.NamespaceException: failed to register namespace portalcms -> http://jboss.org/jcr/portalcms: mapping already exists
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020537#4020537
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020537
19Â years, 2Â months
[EJB 3.0] - Re: relationship does not prevent from deleting referenced e
by micho
thanks a lot,
that works fine now, and with innodb tables the referential integritay is not violated.
But I´, not sure, how to act here correctly.
I catch two (identical?) runtimeexceptions - why two?
java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=nbmicho/143, BranchQual=, localId=143] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update)
| java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=nbmicho/143, BranchQual=, localId=143] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update)
before two ERRORS one with a stacktrace are reported
ERROR [JDBCExceptionReporter] Cannot delete or update a parent row: a foreign key constraint fails (`test/benutzer_benutzergruppe`, CONSTRAINT `FKFB569FDA36A7B8DE` FOREIGN KEY (`benutzerGruppeListe_sid`) REFERENCES `benutzergruppe` (`sid`))
| ERROR [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020536#4020536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020536
19Â years, 2Â months