《深入浅出jBPM》一书中第7章与第9章相关工程的源码
《深入浅出jBPM》一书中第7章与第9章相关工程的源码。本书由人民邮电出版社出版。
第7章介绍的报销及采购流程的完整工程及其源代码: jbpm-web-test.rar
第9章企业级应用里涉及到的工程及相关EJB的源代码:jbpm-ent-test.ear.rar
《深入浅出jBPM》一书中第7章与第9章相关工程的源码。本书由人民邮电出版社出版。
第7章介绍的报销及采购流程的完整工程及其源代码: jbpm-web-test.rar
第9章企业级应用里涉及到的工程及相关EJB的源代码:jbpm-ent-test.ear.rar
评论功能维护中,当前仅展示历史评论。
学习 留爪
org.jbpm.JbpmException: closed JbpmContext in different order then they were created... check your try-finally's around JbpmContexts blocks org.jbpm.JbpmConfiguration.popJbpmContext(JbpmConfiguration.java:580) org.jbpm.JbpmConfiguration.jbpmContextClosed(JbpmConfiguration.java:592) org.jbpm.JbpmContext.close(JbpmContext.java:144) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:85) 这样的问题怎么解决呢?高老师
高老师 您好 我有个问题,就是第一个流程我创建实例的时候我后台打出下面部分后没有报错,但是我查了下jbpm_taskinstance这个表 没有任务实例数据,创建实例没成功,麻烦帮我看下,谢谢 2010-11-21 22:05:12,812 WARN (org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog:581) - Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks == 2010-11-21 22:05:12,843 WARN (org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog:581) - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks ==
您好,能不能把建表sql上传下,这样跑实例代码更容易些,谢谢
高洁写的垃圾书,他tm难看 :?: :?: :?: :?:
郁闷,为什么我这里也没有配置文件呢,请指点下!!!
同问167楼的。第七章的采购流程实例。 看了高老师的jbpm的mail配置,怎么发邮件不用用户名、密码啊。一直报错,和167楼的一样的错
高老师,首先感谢你出的这本《深入浅出jBPM》,对我帮助很大。不过,我是入门新手,在认真看本书中遇到一些问题,希望你帮助解决一下: 我从第一章看到第七章(目前看到第七章),所有的例子基本都可以正常运行,也仔细的按照书中所写的内容实现了相当的代码,不过,也发现一些问题,都是与邮件发送有关的。 问题分别来自: 1、第107-111页的mail node节点示例 2、第127-131页的tasknotify流程示例 3、第七章的采购流程示例中的邮件发送功能 以上3处问题都出现在邮件发送失败。 按照书中所写,配置jbpm.cfg.xml(已放在classpath下),增加内容: 以上内容,我当然改成了自己所使用的邮箱, :) , 我当时也在想,这样应该是不能发邮件吧,理由是:邮件的用户名和密码都没有配置出来,这样就能发邮件了吗,感觉不行? 果然在测试是发送不了邮件,报出程度异常错误,如:运行第七章的采购流程示例TestPurchaseProcess.java报错如下: org.jbpm.graph.def.DelegationException: couldn't send email at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:259) at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:198) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:197) at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:168) at org.jbpm.graph.def.Node.enter(Node.java:318) 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 org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$9daea9b7.enter() at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:393) at org.jbpm.graph.def.Node.leave(Node.java:368) at org.jbpm.graph.node.Fork.execute(Fork.java:140) at org.jbpm.graph.def.Node.enter(Node.java:318) 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 org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$9daea9b7.enter() at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:393) at org.jbpm.graph.node.StartState.leave(StartState.java:70) 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 org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$9daea9b7.leave() at org.jbpm.graph.exe.Token.signal(Token.java:192) at org.jbpm.graph.exe.Token.signal(Token.java:140) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:479) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393) at test.testprocess.TestPurchaseProcess.newProcessInstance(TestPurchaseProcess.java:46) at test.testprocess.TestPurchaseProcess.testPurchaseProcess(TestPurchaseProcess.java:18) 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:130) 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) Caused by: org.jbpm.JbpmException: couldn't send email at org.jbpm.mail.Mail.send(Mail.java:208) at org.jbpm.mail.Mail.send(Mail.java:160) at org.jbpm.mail.Mail.execute(Mail.java:81) at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:292) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:262) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentActorIdExpr(TaskMgmtInstance.java:287) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:247) ... 54 more Caused by: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. 33sm10603102wad.6
另外,我也查看了高老师这里前面的几个回贴,如你回的第26楼贴,说这样配置:
我发现ManagerAssignment这个handler根本没有被调用,请高老师解释下
楼下的同志们,有没有会连接TOMCAT6。0到SQL2005啊,求帮助啊。。。
高老师,在采购流程中我在点击“我的待办任务”菜单中的操作列表下的“处理该流程”出现如下异常: java.sql.SQLException: 未执行语句句柄: getMetaData at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) at oracle.jdbc.driver.OracleResultSetImpl.getMetaData(OracleResultSetImpl.java:134) at oracle.jdbc.driver.OraclePreparedStatement.getMetaData(OraclePreparedStatement.java:3984) at test.dao.BusinessDAO.query(BusinessDAO.java:45) at org.apache.jsp.cancel_002dapply_jsp._jspService(cancel_002dapply_jsp.java:96) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 这是什么原因?希望你帮我解决一下
刚才翻阅前面的同志出现的异常和我的很像,高老师说是否把变量ISSEU_PERSON放入流程实例当中,看后果然发现是个错误。 于是我尝试着修改拉Constans.java中,String final ISSEU_PERSON="issueperson" 或者把流程其他文件里的issueperson改为issue_person则都不会使junit报错。
但是无论修改于否,整个流程只能进行到部门经理这个环节,不能向下进行。 我也尝试修改TestProcess.java中关于关于部门经理是否同意的参数,调整为不同意,但是仍然流不到财务报销结果的Node当中,望指教啊。。。 是不是就是 package test.assignment;
import org.jbpm.graph.exe.ExecutionContext; import org.jbpm.taskmgmt.def.AssignmentHandler; import org.jbpm.taskmgmt.exe.Assignable;
import test.Constants;
public class ManagerAssignment implements AssignmentHandler,Constants { public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception { //从当前流程实例上下文中取得当前报销人 String issueperson = executionContext.getContextInstance().getVariable(Constants.ISSUE_PERSON).toString();
}
当中String issueperson = executionContext.getContextInstance().getVariable(Constants.ISSUE_PERSON).toString(); 无法获取ISSUE_PERSON在上下文当中的传进来的数据呢?怎么可以传进来呢?
还有,如果有可能的话,能不能发一份带有第一个报销流程的TestPaymentProcess.java的文件给我呢,谢谢拉。
Dear Jacky 在第七章报销流程进行junit进行测试的时候,出现错误。错误代码如下。 org.jbpm.graph.def.DelegationException at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:259) at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:198) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:197) at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:168) at org.jbpm.graph.def.Node.enter(Node.java:318) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$fd4ef93d.enter() at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:393) at org.jbpm.graph.node.StartState.leave(StartState.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157) at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$fd4ef93d.leave() at org.jbpm.graph.exe.Token.signal(Token.java:192) at org.jbpm.graph.exe.Token.signal(Token.java:140) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:479) at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393) at test.testprocess.TestProcess.newProcessInstance(TestProcess.java:66) at test.testprocess.TestProcess.testPayProcess(TestProcess.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.NullPointerException at test.assignment.ManagerAssignment.assign(ManagerAssignment.java:15) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:271) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:244) ... 44 more
指向的句子是 String issueperson = executionContext.getContextInstance().getVariable(this.ISSUE_PERSON).toString(); 请问该怎么处理啊,搞拉好久拉。
做采购流程时,项目代码写完后运行,出现如下错误: java.lang.NullPointerException at org.apache.jsp.write_002dpurchase_jsp._jspService(write_002dpurchase_jsp.java:110) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 提示的是项目中write-purchase.jsp中的 ProcessDefinition pd=jbpmContext.getGraphSession().findLatestProcessDefinition("purchase"); ProcessInstance pi=pd.createProcessInstance(); ContextInstance ci=pi.getContextInstance(); ci.setVariable("issueperson",issueperson);中ProcessInstance pi=pd.createProcessInstance();出现错误,请问高老师这是什么原因,我找了好久都不知道,现在很急这两个问题。你能帮我解决一下吗?谢谢
做p173的例子运行出来时候出现这个错误是怎么回事啊,高老师? java.lang.NullPointerException at test.testprocess.TestProcess.newProcessInstance(TestProcess.java:50) at test.testprocess.TestProcess.testPayProcess(TestProcess.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:130) 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)
TaskInstance ti = pi.getTaskMgmtInstance().createStartTaskInstance(); //向任务实例当中写入相关变量 ti.setVariable("title", "测试报销"); ti.setVariable("money_count", "1111"); ti.setVariable("remark", "测试报销的备注"); 就是这一行ti.setVariable("title", "测试报销"); 它报空指针。很急
解决了,需要在 destinations-service.xml 文件内配置好相应的队列!
要在 destinations-service.xml 配置文件中配置队列吗?
在学习9.1 EJB方式的异步和任务调度章节时,按书上的要求部署,出现如下错误:
16:49:28,176 WARN JMS provider failure detected for CommandListenerBean org.jboss.deployment.DeploymentException: Could not find the queue destination-jndi-name=queue/JbpmCommandQueue; - neste d throwable: (javax.naming.NameNotFoundException: JbpmCommandQueue not bound) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:872) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:944) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) ....
请问是不是还要手工配置队列:JbpmCommandQueue
原因?
我现在发不了邮件 报错如下: org.jbpm.JbpmException: couldn't send email
楼上说“然后是重写org.jbpm.mail包里面的Mail文件” 我该怎样重写jbpm-jpdl.jar 这可是一个.jar包呀 里面有mail.class文件 不明白
高老师,你好!买了你的书,并对第七章的应用进行了部署,感觉很有收获。但目前有个问题:在查看流程进度的时候,process-image.jsp页面老是出现问题。如,org.apache.jasper.JasperException: javax.servlet.ServletException: org.dom4j.DocumentException: Error on line 24 of document : Element type "node" must be followed by either attribute specifications, ">" or "/>". Nested exception: Element type "node" must be followed by either attribute specifications, ">" or "/>". org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
但之前发布的流程,有成功显示过。个人感觉是解析gpd.xml文件的时候出现问题,但经过修改乱码问题后,目前好像没错。 谢谢!