You have to have the servlet.jar in your classpath just like when you build a connector. 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. 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]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>