[jboss-user] [JBoss jBPM] - Re: Class Cast Exception while the BPEL Process Ends

dhanushgopinath do-not-reply at jboss.com
Wed Dec 17 07:26:03 EST 2008


Inorder to solve this problem, I tried upgrading my jbpm bpel instance to 1.1.1

I ran my process and now it throws a slightly different exception.

17:52:39,153 ERROR [GraphElement] action threw exception: org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
  | java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
  | 	at org.jbpm.svc.Services.getServiceFactory(Services.java:131)
  | 	at org.jbpm.svc.Services.getService(Services.java:148)
  | 	at org.jbpm.svc.Services.getCurrentService(Services.java:94)
  | 	at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:328)
  | 	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:585)

Now its looking throwing class cast exception for the class EntitySchedulerServiceFactory.

Can I some how disable it, as I do not need the scheduler service in my application? 

If so What should be done so that I can disable it ? Will commenting of the line 
    <service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory" />

in jbpm.cfg.xml suffice ?

Please let me know.


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

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

More information about the jboss-user mailing list