[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!

pjodev do-not-reply at jboss.com
Fri Apr 13 10:52:23 EDT 2007


I managed to get the process to deploy, now when I try testing the process, I get this error in the JUnit log...


07:29:41,078 [main] INFO  JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
  | 07:29:41,078 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
  | 07:29:41,203 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.mail.templates'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.smtp.host'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
  | 07:29:41,218 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.job.executor'
  | 07:29:41,234 [main] DEBUG JbpmConfiguration : loading specific configuration...
  | 07:29:41,234 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpmConfiguration'
  | 07:29:41,265 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message, tx, scheduler, authentication, persistence, logging]'
  | 07:29:41,265 [main] DEBUG JbpmContext : creating org.jbpm.JbpmContext at 15fadcf
  | 07:29:41,281 [main] DEBUG DbPersistenceServiceFactory : creating persistence service
  | 07:29:41,281 [main] DEBUG DbPersistenceServiceFactory : building hibernate session factory
  | 07:29:41,343 [main] INFO  Environment : Hibernate 3.2.1
  | 07:29:41,359 [main] INFO  Environment : hibernate.properties not found
  | 07:29:41,359 [main] INFO  Environment : Bytecode provider name : cglib
  | 07:29:41,375 [main] INFO  Environment : using JDK 1.4 java.sql.Timestamp handling
  | 07:29:41,453 [main] DEBUG HibernateHelper : creating hibernate configuration resource 'hibernate.cfg.xml'
  | 07:29:41,453 [main] INFO  Configuration : configuring from resource: hibernate.cfg.xml
  | 07:29:41,453 [main] INFO  Configuration : Configuration resource: hibernate.cfg.xml
  | 07:29:41,562 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/action/Script.hbm.xml
  | 07:29:41,687 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/identity/User.hbm.xml
  | 07:29:41,765 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.User -> JBPM_ID_USER
  | 07:29:41,796 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
  | 07:29:41,796 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/identity/Group.hbm.xml
  | 07:29:41,843 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP
  | 07:29:41,953 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
  | 07:29:41,953 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/identity/Membership.hbm.xml
  | 07:29:41,968 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
  | 07:29:41,984 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
  | 07:29:41,984 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/db/hibernate.queries.hbm.xml
  | 07:29:42,015 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/ProcessDefinition.hbm.xml
  | 07:29:42,031 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
  | 07:29:42,062 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/Node.hbm.xml
  | 07:29:42,093 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
  | 07:29:42,109 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/Transition.hbm.xml
  | 07:29:42,140 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
  | 07:29:42,140 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/Event.hbm.xml
  | 07:29:42,156 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
  | 07:29:42,171 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/Action.hbm.xml
  | 07:29:42,187 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
  | 07:29:42,187 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/SuperState.hbm.xml
  | 07:29:42,250 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
  | 07:29:42,250 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/def/ExceptionHandler.hbm.xml
  | 07:29:42,265 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
  | 07:29:42,281 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/instantiation/Delegation.hbm.xml
  | 07:29:42,296 [main] INFO  HbmBinder : Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
  | 07:29:42,296 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/StartState.hbm.xml
  | 07:29:42,312 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
  | 07:29:42,312 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/EndState.hbm.xml
  | 07:29:42,328 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
  | 07:29:42,328 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/ProcessState.hbm.xml
  | 07:29:42,343 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
  | 07:29:42,343 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/Decision.hbm.xml
  | 07:29:42,359 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
  | 07:29:42,359 [main] INFO  HbmBinder : Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
  | 07:29:42,359 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/Fork.hbm.xml
  | 07:29:42,390 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
  | 07:29:42,406 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/Join.hbm.xml
  | 07:29:42,406 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
  | 07:29:42,406 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/State.hbm.xml
  | 07:29:42,421 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
  | 07:29:42,421 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/node/TaskNode.hbm.xml
  | 07:29:42,437 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
  | 07:29:42,453 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/def/ContextDefinition.hbm.xml
  | 07:29:42,453 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/def/VariableAccess.hbm.xml
  | 07:29:42,468 [main] INFO  HbmBinder : Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
  | 07:29:42,468 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
  | 07:29:42,484 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Swimlane.hbm.xml
  | 07:29:42,562 [main] INFO  HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
  | 07:29:42,562 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/Task.hbm.xml
  | 07:29:42,578 [main] INFO  HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
  | 07:29:42,593 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/taskmgmt/def/TaskController.hbm.xml
  | 07:29:42,609 [main] INFO  HbmBinder : Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
  | 07:29:42,609 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/module/def/ModuleDefinition.hbm.xml
  | 07:29:42,625 [main] INFO  HbmBinder : Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
  | 07:29:42,625 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/bytes/ByteArray.hbm.xml
  | 07:29:42,625 [main] INFO  HbmBinder : Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
  | 07:29:42,625 [main] INFO  HbmBinder : Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
  | 07:29:42,625 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/file/def/FileDefinition.hbm.xml
  | 07:29:42,640 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
  | 07:29:42,640 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
  | 07:29:42,656 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
  | 07:29:42,656 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
  | 07:29:42,671 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
  | 07:29:42,671 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/exe/Comment.hbm.xml
  | 07:29:42,687 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
  | 07:29:42,687 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/exe/ProcessInstance.hbm.xml
  | 07:29:42,703 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
  | 07:29:42,718 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/exe/Token.hbm.xml
  | 07:29:42,734 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
  | 07:29:42,750 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/graph/exe/RuntimeAction.hbm.xml
  | 07:29:42,750 [main] INFO  HbmBinder : Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
  | 07:29:42,765 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/module/exe/ModuleInstance.hbm.xml
  | 07:29:42,781 [main] INFO  HbmBinder : Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
  | 07:29:42,781 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/ContextInstance.hbm.xml
  | 07:29:42,796 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
  | 07:29:42,796 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/TokenVariableMap.hbm.xml
  | 07:29:42,812 [main] INFO  HbmBinder : Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
  | 07:29:42,812 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/VariableInstance.hbm.xml
  | 07:29:42,812 [main] INFO  HbmBinder : Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,828 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
  | 07:29:42,843 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,843 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
  | org.hibernate.MappingNotFoundException: resource: org/jbpm/msg/Message.hbm.xml not found
  | 	at org.hibernate.cfg.Configuration.addResource(Configuration.java:563)
  | 	at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1584)
  | 	at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1552)
  | 	at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
  | 	at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
  | 	at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
  | 	at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
  | 	at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
  | 	at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | 	at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:334)
  | 	at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
  | 	at com.rco.bpm.util.JBPMAccessor.startEfileDestructionProcess(JBPMAccessor.java:37)
  | 	at com.rco.TestJBPMEfileProcess.testSimpleProcess(TestJBPMEfileProcess.java:19)
  | 	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:597)
  | 	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)
  | 07:29:42,859 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,859 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
  | 07:29:42,859 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,875 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
  | 07:29:42,875 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,875 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
  | 07:29:42,890 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,890 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
  | 07:29:42,906 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,906 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml
  | 07:29:42,921 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:42,921 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
  | 07:29:43,000 [main] INFO  HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
  | 07:29:43,000 [main] INFO  Configuration : Reading mappings from resource : org/jbpm/msg/Message.hbm.xml
  | 07:29:43,000 [main] DEBUG JbpmContext : closing JbpmContext
  | 07:29:43,000 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 8a548b
  | 

It seems like something is missing? I am using all of the default jars..

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037105#4037105

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037105



More information about the jboss-user mailing list