[jboss-user] [JBoss jBPM] - Re: Exception when deploying a process definition to Mysql
sujeewanie
do-not-reply at jboss.com
Fri Jul 27 01:18:28 EDT 2007
Ok.I figured it out. The jbpm.jpdl.mysql.sql not only does not have a ; at each sql statement, there is no commit at the end. So even though i ran the script there are no tables in the DB :(
But even after that I still keep getting the exception
org.jbpm.JbpmException: no jbpm tx service configured
at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:390)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:212)
at org.jbpm.svc.Services.close(Services.java:222)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at org.jbpm.examples.action.HelloWorldDbTest.deployProcessDefinition(HelloWorldDbTest.java:116)
at org.jbpm.examples.action.HelloWorldDbTest.testSimplePersistence(HelloWorldDbTest.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068083#4068083
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068083
More information about the jboss-user
mailing list