There's a Tomcat based src tree in workspace/mlittle/legstar

Mark.


On 2 Dec 2008, at 10:00, Anand Nigam wrote:

Hi,

I need to deploy Jboss ESB on tomcat.  I have downloaded 'jbossesb-4.4.GA.zp' and trying to deploy in on tomcat using the following ant target of the build.xml present in the 
install directory of the distribution:

ant tomcat

this is giving the following errors:

C:\Users\Public\Downloads\jbossesb-4.4.GA\install>ant tomcat
Buildfile: build.xml

check.tomcat.props:

dependencies.source:

dependencies.jbossesb:

dependencies:

tomcat.compile:
    [javac] Compiling 1 source file to C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\war\WEB-INF\classes
    [javac] C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\src\org\jboss\soa\esb\servlet\ConfigListener.java:9: p
ackage org.jboss.soa.esb.common does not exist
    [javac] import org.jboss.soa.esb.common.Environment;
    [javac]                                 ^
    [javac] C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\src\org\jboss\soa\esb\servlet\ConfigListener.java:10:
package org.jboss.soa.esb.listeners.config does not exist
    [javac] import org.jboss.soa.esb.listeners.config.ConfigurationController;
    [javac]                                           ^
    [javac] C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\src\org\jboss\soa\esb\servlet\ConfigListener.java:21:
cannot find symbol
    [javac] symbol  : class ConfigurationController
    [javac] location: class org.jboss.soa.esb.servlet.ConfigListener
    [javac]     private ConfigurationController configurationController ;
    [javac]             ^
    [javac] C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\src\org\jboss\soa\esb\servlet\ConfigListener.java:45:
cannot find symbol
    [javac] symbol  : variable Environment
    [javac] location: class org.jboss.soa.esb.servlet.ConfigListener
    [javac]             System.setProperty(Environment.PROPERTIES_FILE, "abs://" + absPropertyFile) ;
    [javac]                                ^
    [javac] C:\Users\Public\Downloads\jbossesb-4.4.GA\install\tomcat\src\org\jboss\soa\esb\servlet\ConfigListener.java:60:
cannot find symbol
    [javac] symbol  : class ConfigurationController
    [javac] location: class org.jboss.soa.esb.servlet.ConfigListener
    [javac]             configurationController = new ConfigurationController(absConfigFile, null) ;
    [javac]                                           ^
    [javac] 5 errors

BUILD FAILED
C:\Users\Public\Downloads\jbossesb-4.4.GA\install\build.xml:212: Compile failed; see the compiler error output for details.

My deploy.properties looks like this:

######################################################################
# JBossESB ant deployment properties file
#
# Copy the example file and replace with your values
#
######################################################################

######################################################################
# You can use three deployment options: deploy to JBossAS, Tomcat or
# create a standalone launcher, so you probably only care about
# one of the following sections.
######################################################################
# JBossAS
######################################################################
# The Directory in Which JBoss AS is Installed 
# The absolute path to a directory in which a version of JBoss AS with 
# EJB3 has been installed. 
# This path should not include spaces. 
# Use of relative paths or paths with spaces will cause runtime errors 
# when deploying and executing the quickstart and the trailblazers. 
# (e.g. /home/pbennett/jboss-4.0.5.GA-ejb3) 
# (By default the 'ant install' task will create this directory.)
# org.jboss.esb.server.home=/jbossesb-server-4.2
# The Configuration of JBoss AS to Use 
# (e.g. default) 
# org.jboss.esb.server.config=default
######################################################################
# Tomcat
######################################################################
# jbossesb tomcat home directory
org.jboss.esb.tomcat.home=C:/Users/Public/Downloads/apache-tomcat-5.5.20
org.jboss.esb.dist.lib=../lib 

Please let me know what I am doing wron here. I am new to Jboss ESB so I may be missing some basic configuration.

Regards,
Anand.




_______________________________________________
esb-users mailing list
esb-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/esb-users

---
Mark Little

JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903 Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons (USA) and Brendan Lane (Ireland).