6 Replies Latest reply on Jul 11, 2006 4:47 AM by koen.aers

    Deploying JBPM

    viegas

      I am using Eclipse 3.1.2 and I have imported the jbpm.3 project, I am running Jboss 4.0.2 and when I try to run the build.deploy.xml file in ant I get the error:

      compile:
      
      build.webapp:
      
      build.service.archive:
      
      build.converter:
      
      build:
      
      db.clean:
      
       [delete] Deleting directory C:\Documents and Settings\M9101406\Desktop\JBPM\jbpm-3.1.1\build\db
      
       [mkdir] Created dir: C:\Documents and Settings\M9101406\Desktop\JBPM\jbpm-3.1.1\build\db
      
      db.start:
      
      [starthsqldb] starting 'java -cp c:/software/jboss-4.0.3/server/default/lib/hsqldb.jar org.hsqldb.Server -database C:\Documents and Settings\M9101406\Desktop\JBPM\jbpm-3.1.1/build/db/localDB -port 1701'...
      
      [starthsqldb] Exception in thread "Thread-0" java.lang.NullPointerException
      
      [starthsqldb] at org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:1981)
      
      [starthsqldb] at org.apache.tools.ant.Project.fireMessageLogged(Project.java:2058)
      
      [starthsqldb] at org.apache.tools.ant.Project.log(Project.java:367)
      
      [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:346)
      
      [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:334)
      
      [starthsqldb] at org.jbpm.ant.Launcher.run(Launcher.java:51)
      
      create.db:
      
      [jbpmschema] 15:40:50,264 [main] DEBUG AntHelper : creating hibernate configuration from cfg 'C:\Documents and Settings\M9101406\Desktop\JBPM\jbpm-3.1.1/src/config.files/hibernate.cfg.xml' and properties 'C:\Documents and Settings\M9101406\Desktop\JBPM\jbpm-3.1.1/src/resources/hsqldb/create.db.hibernate.properties'
      
      [jbpmschema] 15:40:50,389 [main] INFO Environment : Hibernate 3.1
      
      [jbpmschema] 15:40:50,405 [main] INFO Environment : hibernate.properties not found
      


        • 1. Re: Deploying JBPM
          viegas

          I have solved the problem, I have edited the build.properties and changed the jboss.home variable.

          thanks anyway

          • 2. Re: Deploying JBPM
            viegas

            ok, now I have another problem, I can do de deploy just fine into jboss 4.0.4, but when I try to acess to :"http://localhost:8080/jbpm" it says that the request source is not available.

            I believe there is something im not doing but I dont know what

            • 3. Re: Deploying JBPM
              fwshk

              Hi Viegas,

              I meet a similar problem before.

              I unzip starter's kit and execute the start script of the pre-configured jboss
              The JBoss start and http://127.0.0.1:8080/jbpm haven't response
              And the problem fixed after restart jBoss

              I don't know what is the reason, but the problem haven't meet again.

              Roy

              • 4. Re: Deploying JBPM
                viegas

                I had already restarted the server, anyway, Im not using starters kit, Im using a existing Jboss Server, and then I use the ant to deploy the build.deply.xml file (the deplyement goes just fine).

                The directory is created just fine, but I just cant acess it

                • 5. Re: Deploying JBPM
                  viegas

                  I know this must be a newbie question but I really need help in here

                  • 6. Re: Deploying JBPM
                    koen.aers

                    Start with posting the relevant parts of the JBoss log file to increase your chances on a meaningful answer.

                    Regards,
                    Koen