7 Replies Latest reply on Apr 28, 2009 9:21 AM by Heiko Braun

    Installer replacement?

    Heiko Braun Master


      How to use the new installer? Is there any documentation?

        • 1. Re: Installer replacement?
          Heiko Braun Master


          In order to move forward with the console I need to be able to successfully install jbpm into jboss:

          Bonanova:jboss hbraun$ ant -Ddatabase=hsqldb -Djboss.version=5.0.0.GA -Dworkspace=~/Desktop/jbpm-workspace -Dmaven.repo=~/.m2/repository/ install.jboss
          Buildfile: build.xml
           [echo] database: hsqldb
           [echo] jboss.version: 5.0.0.GA
           [echo] worspace: ~/Desktop/jbpm-workspace
           [echo] maven.repo: ~/.m2/repository/
          
          install.jboss:
           [echo] database: hsqldb
           [echo] jboss.version: 5.0.0.GA
           [echo] worspace: ~/Desktop/jbpm-workspace
           [echo] maven.repo: ~/.m2/repository/
          
          get.jboss:
           [mkdir] Created dir: /Users/hbraun/Desktop/Installer-Test/jbpm-4.0.0-SNAPSHOT/jboss/~/Desktop/jbpm-workspace/downloads
           [get] Getting: file:/c:/downloads/jboss/jboss-5.0.0.GA.zip
           [get] To: /Users/hbraun/Desktop/Installer-Test/jbpm-4.0.0-SNAPSHOT/jboss/${downloads.dir}/jboss-5.0.0.GA.zip
           [get] Error getting file:/c:/downloads/jboss/jboss-5.0.0.GA.zip to /Users/hbraun/Desktop/Installer-Test/jbpm-4.0.0-SNAPSHOT/jboss/${downloads.dir}/jboss-5.0.0.GA.zip
          
          BUILD FAILED
          /Users/hbraun/Desktop/Installer-Test/jbpm-4.0.0-SNAPSHOT/jboss/build.xml:180: The following error occurred while executing this line:
          /Users/hbraun/Desktop/Installer-Test/jbpm-4.0.0-SNAPSHOT/jboss/build.xml:186: java.io.FileNotFoundException: /c:/downloads/jboss/jboss-5.0.0.GA.zip (No such file or directory)
          
          


          • 4. Re: Installer replacement?
            Heiko Braun Master

            I managed to get a simple installation into JBoss (no tests) working by tweaking the scripts. However when booting the AS I get this:

            Caused by: java.lang.IllegalArgumentException: Exception loading class for ScopeKey addition.
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:67)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
             ... 23 more
            Caused by: java.lang.ClassNotFoundException: org.jbpm.integration.util.KernelLocator from BaseClassLoader@4cd746{VFSClassLoaderPolicy@c959bf{name=vfsfile:/Users/hbraun/Desktop/jbpm-workspace/jboss-5.0.0.GA/server/default/deployers/jbpm.deployer/ domain=ClassLoaderDomain@124805{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@e04cbf} roots=[MemoryContextHandler@2302353[path= context=vfsmemory://5c4o0b-66wh4w-fu2u1lna-1-fu2u1w9j-d real=vfsmemory://5c4o0b-66wh4w-fu2u1lna-1-fu2u1w9j-d], FileHandler@7398216[path=jbpm.deployer context=file:/Users/hbraun/Desktop/jbpm-workspace/jboss-5.0.0.GA/server/default/deployers/ real=file:/Users/hbraun/Desktop/jbpm-workspace/jboss-5.0.0.GA/server/default/deployers/jbpm.deployer/], DelegatingHandler@5877391[path=jbpm.deployer/jbpm-jboss5.jar context=file:/Users/hbraun/Desktop/jbpm-workspace/jboss-5.0.0.GA/server/default/deployers/ real=file:/Users/hbraun/Desktop/jbpm-workspace/jboss-5.0.0.GA/server/default/deployers/jbpm.deployer/jbpm-jboss5.jar]] delegates=null exported=[org.jbpm.integration.jboss5.mgmt, META-INF, org.jbpm.integration.jboss5, META-INF.maven.org.jbpm.jbpm4.jbpm-jboss5] <IMPORT-ALL>NON_EMPTY}}
             at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:385)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:63)
             ... 24 more
            
            


            • 5. Re: Installer replacement?
              Heiko Braun Master

              Would it be possible to get it into a state like it was before (Beta1)?

              • 6. Re: Installer replacement?
                Heiko Braun Master

                I am switching back to the beta1 branch until this get's fixed. It would be better if you work on a user branch and avoid partial solutions in trunk.

                • 7. Re: Installer replacement?
                  Heiko Braun Master

                  If you compare the target layouts of the new and old installer, you'd see that the new one creates something completely different:

                  New installer:

                  Bonanova:jboss-5.0.0.GA hbraun$ find . -name "jbpm*.jar"
                  ./server/default/deploy/jbpm/jbpm-enterprise.jar
                  ./server/default/deploy/jbpm/jbpm-service.sar/jbpm-jboss5.jar
                  ./server/default/deployers/jbpm.deployer/jbpm-jboss5.jar
                  ./server/default/lib/jbpm.jar
                  


                  Old installer:

                  Bonanova:jboss-5.0.0.GA hbraun$ find . -name "jbpm*.jar"
                  ./server/default/deploy/jbpm/jbpm-enterprise.jar
                  ./server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-integration.jar
                  ./server/default/deploy/jbpm/jbpm-service.sar/jbpm-jpdl.jar
                  ./server/default/deploy/jbpm/jbpm-service.sar/jbpm-pvm.jar
                  ./server/default/deployers/jbpm.deployer/jbpm-api.jar
                  ./server/default/deployers/jbpm.deployer/jbpm-jboss5.jar
                  ./server/default/deployers/jbpm.deployer/jbpm-log.jar
                  ./server/default/deployers/jbpm.deployer/jbpm-spi.jar