0 Replies Latest reply on May 15, 2009 4:26 AM by Steffen Stundzig

    Caused by: org.jbpm.pvm.internal.wire.WireException: couldn'

    Steffen Stundzig Newbie

      Hi,

      I've installed the new jbpm4 beta 2 with jboss 5.0.1GA and eclipse jee 3.4 as described in the jBPM User Guide. The setup is running after smaller changes in the JBossStarterAntTask for my mac with ant demo.setup.

      Now I could login to the gwt-console.

      Great.

      If I start a process e.g. Java-1 I got a error page (http-500) in the console and the exception in the jboss log:

      10:17:18,202 ERROR [STDERR] Caused by: org.jbpm.api.JbpmException: couldn't load class org.jbpm.examples.java.JohnDoe
      10:17:18,203 ERROR [STDERR] at org.jbpm.pvm.internal.util.ReflectUtil.loadClass(ReflectUtil.java:62)
      10:17:18,203 ERROR [STDERR] at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.construct(ObjectDescriptor.java:138)

      So I started the eclipse and redeployes the examples with the ant task jbpm.examples -> deploy.examples.

      As I can see in the build.xml, the java classes are not packaged in the examples.bar, so I've fixed the ant task:
       <jar destfile="${jbpm.home}/examples/target/examples.bar">
       <fileset dir="${jbpm.home}/examples/target/classes">
       <include name="**/*.class" />
       </fileset>
       <fileset dir="${jbpm.home}/examples/src">
       <include name="**/*.jpdl.xml" />
      


      In the gwt-console I've found now java-2, java-3 and so on. But If I start an instance of such a process definition I got the exception above. The examples.bar contains JohnDoe.class.

      What could I do?

      Regards