On Mon, 2002-08-12 at 12:33, Adrian wrote: > You have to have the servlet.jar in your classpath just like when you build > a connector.
Thanks, but I'm afraid I need to have this spelled out. I don't seem to have any CLASSPATH environment variable set. With ant, is there some standard way to add a path to the classpath used while building? I`ve built `em on FreeBSD, > so I know it can be a pain. There was a site www.pubbitch.org/jboss that > helped point me in the right direction. This page: http://www.pubbitch.org/jboss.html suggests building it with a manual gcc command line, but I would really prefer to use the regular build system. There are other pages there about using mod_jk2 instead, but everything I've seen so far suggests that mod_webapp is the regular choice. I just want to set it up in the most standard way possible. > I`ve got to build a linux box today > for a customer with James and Tomcat, write back if you still need help. > ----- Original Message ----- > From: "Murray Cumming" <[EMAIL PROTECTED]> > To: "Tomcat-User" <[EMAIL PROTECTED]> > Sent: Sunday, August 11, 2002 2:58 PM > Subject: Getting mod_webapp > > > > I'm sure this should be on an FAQ somewhere, but I have a good look all > > over the place and I can't find any definitive help. > > > > I'm using Tomcat 4.0.4 (because I've read that Cocoon 2 needs it rather > > than Tomcat 3), trying to make it work though Apache2 on RedHat 7.2 > > > > To keeps things simple, I've installed from the RPM. I believe I need > > the mod_webapp apache module that's provided by > > tomcat-jakarta-connectors4.0.4, but I can't find any RPM of this. > > > > Instead, I tried building tomcat-jakarta-connectors from source, but > > maybe I'm not familiar enough with the ant build system: > > > > If I run ant from the top level I get this error: > > > > [javac] Compiling 31 source files to > > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/build/classes > > [javac] > > > /home/murrayc/jakarta-tomcat-connectors-4.0.4-src/jk/java/org/apache/jk/comm > on/JkInputStream.java:66: package javax.servlet does not exist > > [javac] import javax.servlet.ServletInputStream; > > > > > > And if I run ant from the webapp directory, I get this error: > > > > BUILD FAILED > > > file:/home/murrayc/jakarta-tomcat-connectors-4.0.4-src/webapp/build.xml:105: > Cannot find Tomcat 4.0 classes > > > > > > -- > > Murray Cumming > > [EMAIL PROTECTED] > > www.murrayc.com > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>