2 Replies Latest reply on Jan 14, 2008 10:23 AM by anas

    Deploy jbpm-bpel process definition error

      Dears,,

      I'm trying to depoly the hello world example,,
      I'm using jbpm-bpel-1.1.GA with AS 4.2.2 and I successed to run the jbpm-bpel cpnsole,,, but the problem while i'm tryin to deploy the bpel process definition..

      I'm following the deocumentation and other llinks,,,
      i started by build the build.xml of the hello example,, and thats working fine,,
      creats the hello.zip file,, then i'm trying to build this file by ant,, but i'm getting the following error.



      13:28:39,546 INFO [DeploymentServlet] deployed process definition: HelloWorld
      13:28:40,937 INFO [WscompileTool] error : com.sun.tools.javac.Main is not available in the classpath..
      13:28:40,937 INFO [WscompileTool] error: compilation failed, errors should have been reported
      13:28:40,937 ERROR [ProblemHandler] java mapping generation failed
      13:28:40,953 INFO [WebModuleBuilder] packaged web module: hello.war
      13:28:40,953 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception
      javax.servlet.ServletException: could not build web module for: BpelProcessDefinition(HelloWorld)
      at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:208)
      at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      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.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:595)


      I appreciate your help..

        • 1. Re: Deploy jbpm-bpel process definition error
          aguizar

          Notice the following entry in the server console.

          13:28:40,937 INFO [WscompileTool] error : com.sun.tools.javac.Main is not available in the classpath

          Are you running AS with a JRE as opposed to a JDK? If so, please use a JDK because the wscompile tool requires the java compiler.
          Alternatively, if you are running JBoss AS from an IDE (e.g. Eclipse) make sure you include tools.jar from <jdk-install-dir>/lib in the classpath.

          • 2. Re: Deploy jbpm-bpel process definition error

            Yes this solves the problem,,
            I mean after I added the tools.jar to the class path it works fine,,, :)

            thanks for help,, :) but I still have a question about jbpm-bpel,,
            how dose it support custom nodes??
            and if I created myNode type,, dose it supported to appear graphicly on the bpel designer??

            thanks,,
            Anas