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