3 Replies Latest reply on Sep 5, 2006 3:55 PM by Alejandro Guizar

    Can't create jbpm-bpel.sar for setting up the BPEL Extension

    Rainer Schuster Newbie

      Hi guys,
      I am trying to set up the BPEL extension for the jBPM, but I have a few problems.
      I downloaded the documention for the BPEL and went through the Chapter 3 - Getting started. I better tell you what I've done and were I got stuck:

      1.) Download and install Apache Ant 1.6.5
      2.) Download and install jBoss AS 4.0.4.GA
      3.) Download and install jBPM 3.1.2
      4.) Download jBPM-BPEL 1.1-Beta
      --------------------------------------------
      5.) Hibernate settings (is this necessary for my initial try)
      6.) jBPM settings (don't know what i should configure there?)
      --------------------------------------------
      7.) Packaging
      a) modify build.properties with the jBoss AS information
      b) build.xml is allready in the root directory
      c) console: ant service.build.404

      --> AND HERE IS MY PROBLEM:
      There should be a file generated called jbpm-bpel.sar - BUT it isn't!!!!!!
      In the folder build is only the following data:
      folder: bpel.classes
      folder: webapp.classes
      jbpm-bpel-1.1-beta1
      jbpm-bpel.war
      -----> No .sar file

      What am I doing wrong?
      Did I forget some settings?

      Thanks for your help!
      Rainer

        • 1. Re: Can't create jbpm-bpel.sar for setting up the BPEL Exten
          Alejandro Guizar Master

          Hey Rainer,

          What is the output of your ant execution? In any case, the right target is build.service.404, but I guess that is not the problem :-)

          • 2. Re: Can't create jbpm-bpel.sar for setting up the BPEL Exten
            Rainer Schuster Newbie

            Hey alex,
            the output of ant is the following:

            C:\Programme\Java\jbpm-bpel-1.1-beta1>ant build.service.404
            Buildfile: build.xml
            
            compile.bpel:
             [mkdir] Created dir: C:\Programme\Java\jbpm-bpel-1.1-beta1\build\bpel.classe
            s
             [javac] Compiling 208 source files to C:\Programme\Java\jbpm-bpel-1.1-beta1\
            build\bpel.classes
             [javac] Note: Some input files use unchecked or unsafe operations.
             [javac] Note: Recompile with -Xlint:unchecked for details.
             [copy] Copying 58 files to C:\Programme\Java\jbpm-bpel-1.1-beta1\build\bpel
            .classes
            
            build.bpel:
             [jar] Building jar: C:\Programme\Java\jbpm-bpel-1.1-beta1\build\jbpm-bpel-
            1.1-beta1.jar
            
            compile.webapp:
             [mkdir] Created dir: C:\Programme\Java\jbpm-bpel-1.1-beta1\build\webapp.clas
            ses
             [javac] Compiling 2 source files to C:\Programme\Java\jbpm-bpel-1.1-beta1\bu
            ild\webapp.classes
            
            build.webapp:
             [war] Building war: C:\Programme\Java\jbpm-bpel-1.1-beta1\build\jbpm-bpel.
            war
            
            build:
            
            BUILD SUCCESSFUL
            Total time: 18 seconds



            Thanks for your help

            • 3. Re: Can't create jbpm-bpel.sar for setting up the BPEL Exten
              Alejandro Guizar Master

              That's the output corresponding to the (default) target build. Just to be sure, I downloaded a fresh copy of 1.1.Beta1. Here is my output for build.service.404

              C:\dev\jbpm-bpel-1.1-beta1>ant build.service.404
              Buildfile: build.xml
              
              build.service.404:
               [jar] Building jar: C:\dev\jbpm-bpel-1.1-beta1\build\jbpm-bpel.sar


              If I call build my output matches yours:

              C:\dev\jbpm-bpel-1.1-beta1>ant build
              Buildfile: build.xml
              
              compile.bpel:
               [mkdir] Created dir: C:\dev\jbpm-bpel-1.1-beta1\build\bpel.classes
               [javac] Compiling 208 source files to C:\dev\jbpm-bpel-1.1-beta1\build\bpel.classes
               [copy] Copying 58 files to C:\dev\jbpm-bpel-1.1-beta1\build\bpel.classes
              
              build.bpel:
               [jar] Building jar: C:\dev\jbpm-bpel-1.1-beta1\build\jbpm-bpel-1.1-beta1.jar
              
              compile.webapp:
               [mkdir] Created dir: C:\dev\jbpm-bpel-1.1-beta1\build\webapp.classes
               [javac] Compiling 2 source files to C:\dev\jbpm-bpel-1.1-beta1\build\webapp.classes
              
              build.webapp:
               [war] Building war: C:\dev\jbpm-bpel-1.1-beta1\build\jbpm-bpel.war
              
              build:


              So, I don't know, perhaps a clean install would help?