测试结果:
开始***********************
10:56:10,046 [main] INFO  JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
10:56:10,046 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'default.jbpm.context'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.hibernate.cfg.xml'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.business.calendar'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.default.modules'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.converter'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.action.types'
10:56:10,140 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.node.types'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.parsers'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'resource.varmapping'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.msg.wait.timout'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.byte.block.size'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'mail.smtp.host'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.task.instance.factory'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.variable.resolver'
10:56:10,156 [main] DEBUG ObjectFactoryImpl : adding object info 'jbpm.mail.address.resolver'
10:56:10,156 [main] DEBUG JbpmConfiguration : loading specific configuration...
10:56:10,187 [main] DEBUG JbpmContextInfo : creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
10:56:10,187 [main] DEBUG JbpmContext : creating JbpmContext
10:56:10,328 [main] DEBUG JpdlParser$JpdlEntityResolver : resolving schema reference publicId(null) systemId(http://jbpm.org/jpdl-3.1.xsd)
10:56:10,328 [main] DEBUG JpdlParser$JpdlEntityResolver : providing input source to local 'jpdl-3.1.xsd' resource
10:56:10,500 [main] DEBUG NodeTypes : node 'page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded
10:56:10,500 [main] DEBUG NodeTypes : node 'start-page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded
10:56:10,515 [main] WARN  JpdlXmlReader : process xml warning: warning: no swimlane or assignment specified for task '<task xmlns="urn:jbpm.org:jpdl-3.1" blocking="false" signalling="true" priority="normal"> 
<controller config-type="field"> 
<variable name="name" access="read,write"/> 
<variable name="day" access="read,write"/> 
<variable name="note" access="read,write"/> 
</controller> 
</task>'

解决方案 »

  1.   

    开始 存储到数据库***********************
    10:56:10,546 [main] DEBUG DbPersistenceServiceFactory : creating persistence service
    10:56:10,546 [main] DEBUG DbPersistenceServiceFactory : building hibernate session factory
    10:56:10,593 [main] INFO  Environment : Hibernate 3.1
    10:56:10,593 [main] INFO  Environment : hibernate.properties not found
    10:56:10,593 [main] INFO  Environment : using CGLIB reflection optimizer
    10:56:10,593 [main] INFO  Environment : using JDK 1.4 java.sql.Timestamp handling
    10:56:10,687 [main] DEBUG HibernateHelper : creating hibernate configuration resource 'hibernate.cfg.xml'
    10:56:10,687 [main] INFO  Configuration : configuring from resource: hibernate.cfg.xml
    10:56:10,687 [main] INFO  Configuration : Configuration resource: hibernate.cfg.xml
    10:56:10,718 [main] INFO  Configuration : Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
    10:56:10,828 [main] INFO  Configuration : Reading mappings from resource: org/jbpm/identity/User.hbm.xml
    10:56:10,953 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.User -> JBPM_ID_USER
    10:56:11,000 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
    10:56:11,000 [main] INFO  Configuration : Reading mappings from resource: org/jbpm/identity/Group.hbm.xml
    10:56:11,046 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP
    10:56:11,125 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
    10:56:11,140 [main] INFO  Configuration : Reading mappings from resource: org/jbpm/identity/Membership.hbm.xml
    10:56:11,156 [main] INFO  HbmBinder : Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
    10:56:11,156 [main] INFO  HbmBinder : Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
    10:56:11,156 [main] INFO  Configuration : Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml...................10:56:13,437 [main] INFO  HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
    10:56:13,453 [main] INFO  HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
    10:56:13,453 [main] INFO  HbmBinder : Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
      

  2.   

    10:56:13,453 [main] INFO  Configuration : processing association property references
    10:56:13,453 [main] INFO  Configuration : processing foreign key constraints
    10:56:13,546 [main] INFO  DriverManagerConnectionProvider : Using Hibernate built-in connection pool (not for production use!)
    10:56:13,546 [main] INFO  DriverManagerConnectionProvider : Hibernate connection pool size: 20
    10:56:13,546 [main] INFO  DriverManagerConnectionProvider : autocommit mode: false
    10:56:13,546 [main] INFO  DriverManagerConnectionProvider : using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/jbpm
    10:56:13,546 [main] INFO  DriverManagerConnectionProvider : connection properties: {user=root, password=****}
    10:56:13,812 [main] INFO  SettingsFactory : RDBMS: MySQL, version: 5.0.18-nt
    10:56:13,812 [main] INFO  SettingsFactory : JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.7 ( $Date: 2005/01/25 19:11:41 $, $Revision: 1.27.4.54 $ )
    10:56:13,843 [main] INFO  Dialect : Using dialect: org.hibernate.dialect.MySQLDialect
    10:56:13,843 [main] INFO  TransactionFactoryFactory : Using default transaction strategy (direct JDBC transactions)
    10:56:13,843 [main] INFO  TransactionManagerLookupFactory : No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    10:56:13,843 [main] INFO  SettingsFactory : Automatic flush during beforeCompletion(): disabled
    10:56:13,843 [main] INFO  SettingsFactory : Automatic session close at end of transaction: disabled
    10:56:13,843 [main] INFO  SettingsFactory : JDBC batch size: 15
    10:56:13,843 [main] INFO  SettingsFactory : JDBC batch updates for versioned data: disabled
    10:56:13,859 [main] INFO  SettingsFactory : Scrollable result sets: enabled
    10:56:13,859 [main] INFO  SettingsFactory : JDBC3 getGeneratedKeys(): enabled
    10:56:13,859 [main] INFO  SettingsFactory : Connection release mode: auto
    10:56:13,859 [main] INFO  SettingsFactory : Maximum outer join fetch depth: 2
    10:56:13,859 [main] INFO  SettingsFactory : Default batch fetch size: 1
    10:56:13,859 [main] INFO  SettingsFactory : Generate SQL with comments: disabled
    10:56:13,859 [main] INFO  SettingsFactory : Order SQL updates by primary key: disabled
    10:56:13,859 [main] INFO  SettingsFactory : Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    10:56:13,859 [main] INFO  ASTQueryTranslatorFactory : Using ASTQueryTranslatorFactory
    10:56:13,859 [main] INFO  SettingsFactory : Query language substitutions: {}
    10:56:13,859 [main] INFO  SettingsFactory : Second-level cache: enabled
    10:56:13,859 [main] INFO  SettingsFactory : Query cache: disabled
    10:56:13,859 [main] INFO  SettingsFactory : Cache provider: org.hibernate.cache.EhCacheProvider
      

  3.   

    在失败跟踪地方提示:java.class.NoClassDefFoundError:net/sf/ehcache/CacheException