[jboss-user] [JBoss jBPM] - Class Cast Exception while the BPEL Process Ends
dhanushgopinath
do-not-reply at jboss.com
Thu Dec 11 02:26:51 EST 2008
Hi,
I am instantiating a BPEL process through the JBPM-BPEL API's. Everything works well and even the last task is getting executed. But after that I am getting this class cast exception .
The trace is as given.
12:21:52,950 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.variable.def.MessageType - this operation breaks ==
| 12:21:53,075 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.scope.Scope - this operation breaks ==
| 12:21:53,137 ERROR [GraphElement] action threw exception: $Proxy63
| java.lang.ClassCastException: $Proxy63
| at org.jbpm.bpel.scheduler.ejbtimer.EjbSchedulerServiceFactory.getSchedulerControlHome(EjbSchedulerServiceFactory.java:50)
| at org.jbpm.bpel.scheduler.ejbtimer.EjbSchedulerService.<init>(EjbSchedulerService.java:49)
| at org.jbpm.bpel.scheduler.ejbtimer.EjbSchedulerServiceFactory.openService(EjbSchedulerServiceFactory.java:60)
| at org.jbpm.svc.Services.getService(Services.java:144)
| at org.jbpm.svc.Services.getCurrentService(Services.java:91)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:329)
| 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)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
| at org.jbpm.graph.exe.ProcessInstance_$$_javassist_349.end(ProcessInstance_$$_javassist_349.java)
| at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:332)
| at org.jbpm.graph.exe.Token.end(Token.java:304)
| at org.jbpm.graph.exe.Token.end(Token.java:254)
Its probably trying to look up the jndi name schedulerControlHomeName and so gettting a class cast exception.
Do I need to add this property somewhere? If so where? Also any ide why is this property used.
Thanks
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195811#4195811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195811
More information about the jboss-user
mailing list