You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Derek Laufenberg <la...@elroynet.com> on 2001/05/21 19:01:49 UTC

Trying to build tomcat contrib example - need some help

Hello,

I'm very new to EJB/Tomcat and I am having trouble building the contrib
examples.
Ive installed JBoss-2.2.1_Tomcat-3.2.1 bundle and was able to run the
system.  Next I wanted
to build the example out of the contrib package.  I've unzipped the contrib
files and tried to compile
as directed by the readme.  The build starts, but fails to find the
javax.ejb package.

I know I'm missing some setup or something simple.  Could anyone send me a
pointer?

Thanks,

Derek Laufenberg

Output from build process:
========================
F:\ejb_dev\contrib\tomcat\src\build>build.bat install
build.bat install
Searching for build.xml ...
Buildfile: F:\ejb_dev\contrib\tomcat\src\build\build.xml

init:
Using jboss.dist=F:\JBoss-2.2.1_Tomcat-3.2.1\jboss
Using tomcat.dist=F:\JBoss-2.2.1_Tomcat-3.2.1\tomcat
Using
classpath=F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\client\jaas.jar;F:\JBoss-2.2.1_T
omcat-3.2.1\jboss\client\jbosssx-client.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jbos
s\client\jnp-client.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\client\jta-spec1_0
_1.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\jdbc2_0-stdext.jar;F:\JBoss-2.2
.1_Tomcat-3.2.1\jboss\lib\jaxp.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\cri
mson.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\jmxri.jar;F:\JBoss-2.2.1_Tomc
at-3.2.1\jboss\lib\jboss-jaas.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\ext\
jboss-j2ee.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jboss\lib\ext\jboss.jar;F:\JBoss-
2.2.1_Tomcat-3.2.1\jboss\lib\ext\jbosssx.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\jbo
ss\lib\ext\log4j.jar;F:\JBoss-2.2.1_Tomcat-3.2.1\tomcat\lib\webserver.jar;F:
\JBoss-2.2.1_Tomcat-3.2.1\tomcat\lib\servlet.jar;F:\ejb_dev\contrib\tomcat\b
uild\classes

prepare:

compile:
    [javac] Compiling 5 source files to
F:\ejb_dev\contrib\tomcat\build\classes
    [javac] Modern compiler is not available - using classic compiler
    [javac]
F:\ejb_dev\contrib\tomcat\src\main\org\jboss\test\tomcat\ejb\bean\StatelessS
essionBean.java:8: Package javax.ejb not found in import.
    [javac] import javax.ejb.*;
    [javac]        ^
    [javac]
F:\ejb_dev\contrib\tomcat\src\main\org\jboss\test\tomcat\ejb\bean\StatelessS
essionBean.java:12: Interface org.jboss.test.tomcat.ejb.bean.SessionBean of
class org.jboss.test.tomcat.ejb.bean.StatelessSessionBean not found.
    [javac] public class StatelessSessionBean implements SessionBean {

                       ..... more of the same