Hi, I have some problems with the EjbScheduler. while executing code : ProcessInstance processInstance = new ProcessInstance(processDefinition); Token token = processInstance.getRootToken(); token.signal("Transition");
I got this : exception javax.servlet.ServletException: java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) caused by java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory org.jbpm.svc.Services.getServiceFactory(Services.java:122) org.jbpm.svc.Services.getService(Services.java:139) org.jbpm.svc.Services.getCurrentService(Services.java:88) org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:328) org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:331) org.jbpm.graph.exe.Token.end(Token.java:303) org.jbpm.graph.exe.Token.end(Token.java:253) org.jbpm.graph.node.EndState.execute(EndState.java:59) org.jbpm.graph.def.Node.enter(Node.java:318) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.enter(Node_$$_javassist_307.java) org.jbpm.graph.def.Transition.take(Transition.java:151) org.jbpm.graph.def.Node.leave(Node.java:393) org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209) org.jbpm.graph.def.Node.leave(Node.java:357) org.jbpm.graph.node.TaskNode.execute(TaskNode.java:190) org.jbpm.graph.def.Node.enter(Node.java:318) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.enter(Node_$$_javassist_307.java) org.jbpm.graph.def.Transition.take(Transition.java:151) org.jbpm.graph.def.Node.leave(Node.java:393) org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136) org.jbpm.graph.node.Decision.execute(Decision.java:152) org.jbpm.graph.def.Node.enter(Node.java:318) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.enter(Node_$$_javassist_307.java) org.jbpm.graph.def.Transition.take(Transition.java:151) org.jbpm.graph.def.Node.leave(Node.java:393) org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136) org.jbpm.graph.node.Decision.execute(Decision.java:152) org.jbpm.graph.def.Node.enter(Node.java:318) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.enter(Node_$$_javassist_307.java) org.jbpm.graph.def.Transition.take(Transition.java:151) org.jbpm.graph.def.Node.leave(Node.java:393) org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209) org.jbpm.graph.def.Node.leave(Node.java:357) org.jbpm.graph.node.TaskNode.execute(TaskNode.java:190) org.jbpm.graph.def.Node.enter(Node.java:318) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.enter(Node_$$_javassist_307.java) org.jbpm.graph.def.Transition.take(Transition.java:151) org.jbpm.graph.def.Node.leave(Node.java:393) org.jbpm.graph.node.StartState.leave(StartState.java:70) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) org.jbpm.graph.def.Node_$$_javassist_307.leave(Node_$$_javassist_307.java) org.jbpm.graph.exe.Token.signal(Token.java:194) org.jbpm.graph.exe.Token.signal(Token.java:157) com.it.application.responsable.cinematique.taches.tachesAction.traitement(tachesAction.java:165) com.it.framework2.cinematique.InterforumGeneraleAction.execute(InterforumGeneraleAction.java:240) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) Does anyone know about this ? Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069219#4069219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069219 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user