[jboss-user] [JBoss jBPM] - Re: problem with getVariable of serializable Object value
Hi Alex, Really, my class (TaskRef) are in two different places, in the jboss lib directory and in the classes directory of my webapp. So i solved the problem putting it in a unique place that both (jbpm and my webapp) can see. Thanks for the help!! Leonardo Gamas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023642#4023642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problem with getVariable of serializable Object value
Hi to all, I'm using the jbpm-starters-kit-3.1.3 and try to set and get variables from the process instance, where all my variables are serializable objects that are instances of a TaskRef class. No problem, but when i try to get the variable from the process instance, i get the following error: | org.jbpm.JbpmException: couldn't deserialize object | at org.jbpm.context.exe.converter.SerializableToByteArrayConverter.revert(SerializableToByteArrayConverter.java:66) | at org.jbpm.context.exe.VariableInstance.getValue(VariableInstance.java:146) | at org.jbpm.context.exe.VariableContainer.getVariablesLocally(VariableContainer.java:109) | at org.jbpm.context.exe.VariableContainer.getVariables(VariableContainer.java:93) | at org.cana.tasks.server.TaskServiceImpl.endTask(Unknown Source) | 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:597) | at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:262) | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:146) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.cana.tasks.server.TaskRef | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:247) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at
[jboss-user] [JBoss jBPM] - Data trigger task end
Hi all, I'm newbie in JBPM and workflow stuff and need to develop a lightweigth framework around it, that support data triggered task completation. So, if i have some data conditions that must be reached by user interference and when all conditions are satisfied, it must trigger a task instance completation, but without direct task ending by the user. There's a good way to do that? Thanks in advance, Leonardo Gamas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019935#4019935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Data trigger task end
thanks for the help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020152#4020152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user