-
1. Re: DelegationHandler class Not Found by process classloader
salaboy21 Nov 6, 2008 1:15 PM (in response to johnhurtchan)Yes, the GPD put the classes for you.. but sometimes when you make a change in your classes the checkbox is automatically deselected... so you must look there before you make the deploy.
Also you should check for a typo in you package and class name in the processdefinition.
Hope it helps.. -
2. Re: DelegationHandler class Not Found by process classloader
johnhurtchan Nov 6, 2008 1:40 PM (in response to johnhurtchan)Thanks I dont get the class not found error anymore but still get this exception from UI...
Error completing task: An exception of type "org.jbpm.graph.def.DelegationException" was thrown.
Funny thing is I don't see any errors in the jboss console nor log file. I don't know what to troubleshoot. -
3. Re: DelegationHandler class Not Found by process classloader
salaboy21 Nov 6, 2008 1:46 PM (in response to johnhurtchan)try restarting jboss.. i think if you deploy your new PAR process the classloader can't take the new class definition.. only i supose..
-
4. Re: DelegationHandler class Not Found by process classloader
johnhurtchan Nov 6, 2008 2:25 PM (in response to johnhurtchan)I can see it entering the Decision node, then it tries to save the process. No other info to diagnose. This is frustrating. Thanks for the help anyway salaboy
This is all I see in the log...
[org.jbpm.graph.def.GraphElement] event 'node-leave' on 'StartState(My Start State)' for 'Token(/)'
[org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(My Transition)' for 'Token(/)'
[org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Decision(My Decision Node)' for 'Token(/)'
[org.jbpm.JbpmContext] closing jbpmContext org.jbpm.JbpmContext@3c855e
[org.jbpm.svc.Services] executing default save operations
[org.jbpm.svc.save.HibernateSaveOperation] saving process instance -
5. Re: DelegationHandler class Not Found by process classloader
salaboy21 Nov 6, 2008 2:28 PM (in response to johnhurtchan)did you look in jboss log?? /server/default/log/server.log????
let me know.. -
6. Re: DelegationHandler class Not Found by process classloader
johnhurtchan Nov 6, 2008 2:54 PM (in response to johnhurtchan)I know what it was. My DecisionHandler class generated an Exception that I didn't catch. I fixed my code now.
But why doesn't the exception get logged to the log file when the DecisionHandler throws an exception? This is a problem and makes it hard for folks to diagnose issues. Thanks for the help. -
7. Re: DelegationHandler class Not Found by process classloader
salaboy21 Nov 6, 2008 4:50 PM (in response to johnhurtchan)probably you must look to the log4j.properties file.. and look for increase the log level...
Let me know if you can't figure out what is happening with your logs.
Greetings!