1. 三期工作流jbpm3.1.2存在连接不释放的bug,当然前提是程序执行数据库操作报错的情况下(如session.flush)。虽然解决了连接不释放的问题,但是这个关于这个报错的深层原因还没搞清楚。另外和相关人员确认,工作流的这些异常可以cacth掉,到目前为止除了引起连接不释放之外,没有发现其他问题。(org.jbpm.JbpmException: setRollbackOnly was invoked while configuration specifies user managed transactions)????
2.在webproject项目中加入一个"SourceFolder" 名字叫"jbpm??
http://1273404116.blog.xunlei.com/category_45.html jbpm3.1.4
http://jaist.dl.sourceforge.net/sourceforge/jbpm/jbpm-starters-kit-3.1.4.zip
http://blog.sina.com.cn/s/blog_51e4230a01009z0u.html jpdl3.2.zip
http://sourceforge.net/projects/jbpm/files/f%29%20jBPM%20jPDL%203/
http://venus224.iteye.com/blog/208934 hibernate对access的支持
org.hibernate.MappingNotFoundException: resource: org/jbpm/graph/action/MailAction.hbm.xml not found???
http://www.iteye.com/topic/176339
http://royzhou1985.iteye.com/blog/428625
http://zhangym.iteye.com/blog/241213
http://zwm.iteye.com/blog/324786
http://zwm.iteye.com/blog/403094
http://blog.csdn.net/princewong/category/318678.aspx
org.hibernate.AssertionFailure: null id in org.jbpm.graph.def.ProcessDefinition entry (don't flush the Session after an exception occurs??
java.sql.SQLException: Field 'CLASS_' doesn't have a default value??
解决方法:把配置文件的主键改为<generator class="assigned" /> 可以进行自定义主键值,因为设主键时没有设成自动增长的。
org.hibernate.exception.GenericJDBCException: could not insert: [org.jbpm.graph.def.ProcessDefinition]??
注意,把gpd.xml,processdefinition.xml,processimage.jpg三个文件打包成*.zip格式放在WebRoot目录下,
在启动tomcat后,首先进入jbpm-web/deploy.html页面,输入*.zip文件在tomcat服务器下的目录地址:例如:
E:\tomcat-6.0.14\webapps\jbpm-web\*.zip