[jboss-user] [JBoss Seam] - Re: DVDstore application with persistence allowing server re
appendix
do-not-reply at jboss.com
Fri Aug 25 02:53:31 EDT 2006
HI,
thank you for your response. I've tried your suggestion and removed the processDefinition from components.xml starting off from a completely functional copy, but then Seam can't create the new process anymore because none of the jbpm related tables are created in the database at server startup.
Obviously an exception[1] is thrown when the order is submit. Why is the Jbpm-component not initialized, if I don't define a processDefinition in components.xml?
After putting the process definition back into components.xml everythings working - just as before, but I'm still loosing orders between server restarts.
Any pointers?
Thanks, Kurt
[1]
| 2006-08-25 08:47:18,113 INFO [STDOUT] Hibernate: select nextval ('hibernate_sequence')
| 2006-08-25 08:47:18,113 INFO [org.jbpm.JbpmConfiguration] using jbpm configuration resource 'jbpm.cfg.xml'
| 2006-08-25 08:47:21,191 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] schema export unsuccessful
| java.sql.SQLException: You cannot set autocommit during a managed transaction!
| at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java:482)
|
and further down the line:
| 2006-08-25 08:47:21,410 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: 42P01
| 2006-08-25 08:47:21,410 ERROR [org.hibernate.util.JDBCExceptionReporter] ERROR: relation "jbpm_processdefinition" does not exist
| 2006-08-25 08:47:21,629 ERROR [STDERR] org.hibernate.exception.SQLGrammarException: could not execute query
| at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
| at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967410#3967410
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967410
More information about the jboss-user
mailing list