[jboss-user] [JBoss jBPM] - Re: No class loaders found
hi, have you found a solution to your problem? because i've the same problem... thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142576#4142576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
com.it.model.User must be serializable. Is it? The code for it must be accessible in either the process deployment or in the JBPM classpath. Is it? -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084389#4084389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi Ed, thanks again for helping, i searched that way and i found multiple deployment of the jbpm-jpdl.jar. While removing that redundant deployement i got another exception (i'm trying to read some instance variable of type com.it.model.User) : javax.servlet.ServletException: org.jbpm.JbpmException: couldn't deserialize object caused by : org.jbpm.JbpmException: couldn't deserialize object org.jbpm.context.exe.converter.SerializableToByteArrayConverter.revert(SerializableToByteArrayConverter.java:66) org.jbpm.context.exe.VariableInstance.getValue(VariableInstance.java:147) caused by : java.lang.ClassNotFoundException: No ClassLoaders found for: com.it.model.User org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514) org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408) java.lang.ClassLoader.loadClass(ClassLoader.java:251) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Class.java:242) Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084019#4084019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
I said earlier that it was failing trying to instantiate the ServiceFactory. That's not exactly right. It's failing in casting it to a ServiceFactory. "org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory" is indeed a ServiceFactory, the only thing I can think of is that ServiceFactory and EjbSchedulerServiceFactory are being loaded by two different classloaders that are fetching them from different places. So I'd be looking for "competing" deployments of the jbpm jarfiles. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083977#4083977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi Ed, thanks for helping. the class you are refering to is mine. Its my User class. What i am trying to do is : putting that user in the variable instance. Doing my things. Taking back the user. LAST developpements : i took the part of code which was suspicious : taskInstance.end and i put it somewhere else in my action. and i have only one exception now : 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) Its seems that jbpm is trying to end the process instance (wich is nice) but fail to do so. It try to end the instance because my task is the last one of he process. I cant seem to understand why jbpm cant find the right class for that EjbSchedulerService thing. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083952#4083952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
It's trying to instantiate a scheduler in order to kill off all the timers in use by the process. (I know, there probably aren't any timers in your case.) It looks like the underlying problem is this: anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for: com.it.model.User I don't recognize the class. Do you know what it is? -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083933#4083933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi again, i wwas wondering : what is the relation beetween the EjbSchedulerService and ending a process instance ? I'm wondering because it's seems that its related to my problem. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083928#4083928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi, i have some more information. jbpm is trying to end the process when this error occurs. Stack 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) thanks for helping, regards, O.M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083901#4083901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user