1 Reply Latest reply on Nov 13, 2006 12:53 PM by Kurt Stam

    Problems installing JBoss ESB

    Josh Hepworth Newbie

      Hi,

      Im a bit confused about installing JBoss ESB. I have downloaded and installed the JBoss AS, ant and postgre database. When it comes to downloading the esb I have used tortoise svn and downloaded the trunk. Is this all that is needed? or do I download one of the packages, such as jbossesb-4.0Beta1MP1.zip?

      I went to the jboss-esb\product\install folder, where I configured the deployment.properties file:

      org.jboss.esb.appserver.home=C:\jboss-4.0.4.GA\jbossesb
      org.jboss.esb.appserver.config=default
      org.jboss.esb.config.objstore=C:\jboss-esb\product\samples\trailblazer\bankloanbrokerdemo\conf\ObjStore.xml

      org.jboss.esb.db.driver.jar=postgresql-8.1-407.jdbc2ee.jar
      org.jboss.esb.db.driver=org.postgresql.Driver
      org.jboss.esb.db.url=jdbc:postgresql://localhost:5432/jbossesb


      I seem to have jboss-4.0.4.GA in both my C:\ and in the Program Files (though I think this is my mistake and have set the JBoss_HOME to C:\jboss-4.0.4.GA).

      Anyway, I moved back to the \product folder and issued "ant configue.jboss", which gave the following output:

      C:\jboss-esb\product\install>ant configure.jboss
      Buildfile: build.xml

      init:

      datasource:
      [echo] Installing datasource JBossESB-ds.xml
      [copy] Copying 1 file to C:\jboss-4.0.4.GAjbossesb\server\default\depl

      hsql-datasource:

      create-hsqldb:

      configure.jboss:
      [copy] Copying 1 file to C:\jboss-4.0.4.GAjbossesb\server\default\lib
      [copy] Copying 1 file to C:\jboss-4.0.4.GAjbossesb\server\default\lib
      [copy] Copying 1 file to C:\jboss-4.0.4.GAjbossesb\server\default\conf

      BUILD SUCCESSFUL
      Total time: 0 seconds


      Then I move to the folder above, and perform 'ant deploy' and I get a load of errors and the summary:

      BUILD FAILED
      C:\jboss-esb\product\build.xml:87: The following error occurred while executing this line:
      C:\jboss-esb\product\core\build.xml:39: The following error occurred while executing this line:
      C:\jboss-esb\product\core\rosetta\build.xml:44: The following error occurred while executing this line:
      C:\jboss-esb\product\core\rosetta\build.xml:58: Compile failed; see the compiler error output for details.


      Any suggestions?

      Thanks

      Josh

        • 1. Re: Problems installing JBoss ESB
          Kurt Stam Master

          Hi Josh,

          1. You can use either SVN or one of the packages, but it is recommended to use beta1MP1 and not the trunk. The trunk is stable, but the configuration changed and this is not documented yet (will be soon though).

          2. Yes you need the AS installer, but please don't install it to anything with a space in the path like (Program Files). C:\jboss-4.0.4.GA should work well.

          3. Is your appserver.home: org.jboss.esb.appserver.home=C:\jboss-4.0.4.GA\jbossesb
          or should is be
          org.jboss.esb.appserver.home=C:\jboss-4.0.4.GA\

          I can't really know what's wrong unless you publish some stack traces. You seem to be on the right road.

          --Kurt