0 Replies Latest reply on Apr 22, 2010 11:37 AM by Sameer Tiwari

    The deployment location of the Archive

    Sameer Tiwari Newbie

      Hi,

       

      I have used the jbpm-jpdl-3.2.3 version and when i create a process project and deploy it deploys successfully. But when i try to change the state from the Jboss-console it gives me an error which is as mentioned below:

       

      8:28:01,921 ERROR [[GDP Deployer Servlet]] Servlet.service() for servlet GDP Deployer Servlet threw exception
      rg.jbpm.jpdl.JpdlException: [[ERROR] line 25: cvc-complex-type.2.4.a: Invalid content was found starting with element 'transition'. One of '{"http://jbpm.org/3/jpdl":event, "http://jbpm.org/3/jpdl":timer, "http://jbpm.org/3/jpdl":exception-handler}' is expected.]
             at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:178)
             at org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:51)
             at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81)
             at org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:197)
             at org.jbpm.web.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:91)
             at org.jbpm.web.ProcessUploadServlet.service(ProcessUploadServlet.java:58)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
             at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
             at java.lang.Thread.run(Thread.java:619)
      8:34:59,781 ERROR [Delegation] couldn't load delegation class 'com.sample.decision.Verifyorder'
      ava.lang.ClassNotFoundException: class 'com.sample.decision.Verifyorder' could not be found by the process classloader
             at org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:118)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:140)
             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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
             at org.jbpm.instantiation.Delegation_$$_javassist_11.instantiate(Delegation_$$_javassist_11.java)
             at org.jbpm.graph.node.Decision.execute(Decision.java:87)
             at org.jbpm.graph.def.Node.enter(Node.java:318)
             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 org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)

       

      I am attaching my par file with this. also i have the in this i have used few handler class. basically its the example that i am trying to execute from the link:

       

      http://www.mastertheboss.com/en/jbpm/51-jbpm-tutorial-part-1.html


      I have annother question where does the deployment happen, where can i see the deployed class or archive.

       

      Thanks

      Sameer