2 Replies Latest reply on Jan 3, 2007 2:39 AM by Niklas Eriksson

    Problem with quickstart

    Niklas Eriksson Newbie

      Hi, I seem to miss some required libraries when running the quickstart test but I don´t know which. I downloaded the source distribution and get the error when I try run the build.xml file in the helloworld_embedded_reg directory.

      These are the errors I get:

      C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg>C:\download\apache-ant-1.7.0\bin\ant
      Buildfile: build.xml

      prepare:

      compile:
      [javac] Compiling 4 source files to C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\bui
      ld
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      9: package org.jboss.internal.soa.esb.persistence.format.db does not exist
      [javac] import org.jboss.internal.soa.esb.persistence.format.db.DBConnectionManager;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      10: package org.jboss.soa.esb.common does not exist
      [javac] import org.jboss.soa.esb.common.Configuration;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:6:
      package org.jboss.soa.esb.common does not exist
      [javac] import org.jboss.soa.esb.common.Configuration;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:7:
      package org.jboss.soa.esb.listeners.gateway does not exist
      [javac] import org.jboss.soa.esb.listeners.gateway.GatewayListenerController;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:8:
      package org.jboss.soa.esb.listeners.message does not exist
      [javac] import org.jboss.soa.esb.listeners.message.EsbListenerController;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:14
      : cannot find symbol
      [javac] symbol : class EsbListenerController
      [javac] location: class quickstart.Launcher
      [javac] private EsbListenerController _esbListController;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:15
      : cannot find symbol
      [javac] symbol : class GatewayListenerController
      [javac] location: class quickstart.Launcher
      [javac] private GatewayListenerController _gatewayController;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:3: package org.jboss.soa.esb.helpers does not exist
      [javac] import org.jboss.soa.esb.helpers.ConfigTree;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:4: package org.jboss.soa.esb.message does not exist
      [javac] import org.jboss.soa.esb.message.Message;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:9: cannot find symbol
      [javac] symbol : class ConfigTree
      [javac] location: class quickstart.MyJMSListenerAction
      [javac] protected ConfigTree _config;
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:11: cannot find symbol
      [javac] symbol : class ConfigTree
      [javac] location: class quickstart.MyJMSListenerAction
      [javac] public MyJMSListenerAction(ConfigTree config) { _config = config; }
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:14: cannot find symbol
      [javac] symbol : class Message
      [javac] location: class quickstart.MyJMSListenerAction
      [javac] public Message displayMessage(Message message) throws Exception{
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\MyJMSListenerAct
      ion.java:14: cannot find symbol
      [javac] symbol : class Message
      [javac] location: class quickstart.MyJMSListenerAction
      [javac] public Message displayMessage(Message message) throws Exception{
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      67: cannot find symbol
      [javac] symbol : variable Configuration
      [javac] location: class quickstart.HsqldbUtil
      [javac] String url = Configuration.getStoreUrl();
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      68: cannot find symbol
      [javac] symbol : variable Configuration
      [javac] location: class quickstart.HsqldbUtil
      [javac] String username = Configuration.getStoreUser();
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      69: cannot find symbol
      [javac] symbol : variable Configuration
      [javac] location: class quickstart.HsqldbUtil
      [javac] String password = Configuration.getStorePwd();
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      83: cannot find symbol
      [javac] symbol : class DBConnectionManager
      [javac] location: class quickstart.HsqldbUtil
      [javac] DBConnectionManager mgr = DBConnectionManager.getInstance();
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\HsqldbUtil.java:
      83: cannot find symbol
      [javac] symbol : variable DBConnectionManager
      [javac] location: class quickstart.HsqldbUtil
      [javac] DBConnectionManager mgr = DBConnectionManager.getInstance();
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:28
      : cannot find symbol
      [javac] symbol : variable Configuration
      [javac] location: class quickstart.Launcher
      [javac] if (Configuration.getStoreDriver().equals("org.hsqldb.jdbcDriver")) {
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:35
      : cannot find symbol
      [javac] symbol : variable Configuration
      [javac] location: class quickstart.Launcher
      [javac] if (Configuration.getStoreDriver().equals("org.hsqldb.jdbcDriver")) {
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:49
      : cannot find symbol
      [javac] symbol : class EsbListenerController
      [javac] location: class quickstart.Launcher
      [javac] _esbListController = new EsbListenerController(messageAwareConfigFile);
      [javac] ^
      [javac] C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\src\quickstart\Launcher.java:59
      : cannot find symbol
      [javac] symbol : class GatewayListenerController
      [javac] location: class quickstart.Launcher
      [javac] _gatewayController = new GatewayListenerController(gatewayConfigFile);
      [javac] ^
      [javac] 22 errors

      BUILD FAILED
      C:\download\JBOSSE~1.0RC\product\samples\quickstarts\helloworld_embedded_reg\build.xml:42: Compile failed; see the compi
      ler error output for details.

      Total time: 2 seconds

      org.jboss.internal.soa.esb.persistence.format.db.DBConnectionManager

      Which .jar is missing?

      /Niklas

        • 1. Re: Problem with quickstart
          Bernard Tison Newbie

          Hi Niklas,

          You have to build the esb itself first, before building the quickstart examples. To do so, execute the dist target in the main build file.

          Next verify the settings in quickstart.properties. Especially, the esb.product.lib.dir property should point to the directory where the esb libraries built by the previous step were created.

          HTH

          Bernard

          • 2. Re: Problem with quickstart
            Niklas Eriksson Newbie

            Thanks. The tip about checking the "esb.product.lib.dir" was also useful. I did not do any changes to the directory structure but I had to change the had to change that property as you indicated:

            product.lib.dir=../../../build/jbossesb/lib

            /Niklas