I can't start my EPP 5.2 server with my custom ecmdemo based container

Solution Verified - Updated -

Issue

I'm migrating from EPP 5.1 and I created a custom Site Publisher container based in "ecmdemo". It works in EPP 5.1, but I can't start EPP 5.2 with it using a local-tx datasource. The following exception is throw:

javax.jcr.RepositoryException: You cannot rollback during a managed transaction!: You cannot rollback during a managed transaction!
    at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCStorageConnection.rollback(JDBCStorageConnection.java:366)
    at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager$ChangesLogPersister.rollback(WorkspacePersistentDataManager.java:365)
....
Caused by: java.sql.SQLException: You cannot rollback during a managed transaction!
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcRollback(BaseWrapperManagedConnection.java:695)
    at org.jboss.resource.adapter.jdbc.WrappedConnection.rollback(WrappedConnection.java:510)
    at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCStorageConnection.rollback(JDBCStorageConnection.java:353)
    ... 104 more

How can I can get it working in EPP 5.2?

Environment

  • JBoss Enterprise Portal Platform (EPP) 5.2
  • Site Publisher (SP) 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In