You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jan-Willem Goedheer <jw...@rijnh.nl> on 2002/06/25 10:05:29 UTC

Error while building mod_jk.so

For a project I need to run Apache with Tomcat because I want to use servlets.
I've read that I need mod_jk.so to pull this off. Because I want to run 
Apache-2.0.39 and Tomcat-4.0.4-LE-jdk14 on a Server with Solaris 7, I have 
to build this myself because there isn't any binary file for this platform.

I've downloaded Jakarta-connectors-4.0.2-01-src, Jakarta-ant-1.4.1 and Java 
1.4 so I can build mod_jk.so. With these three packages I succeeded to make 
the mod_jk.so file. But when I tested it didn't work and got the message: 
"handler 'Jakarta-servlet' not found for:" followed by the servlets name.

I read on a web page that this was a common error and that it would solve 
when I used Jakarta-connectors-4.0.4-b3-src. But when I try to build the 
mod_jk file I get these faults.
  jkjava:
  [echo] Logging: 
/usr/local/jakarta-tomcat-connectors-4.0.4-b3-src/lib/commons-logging.jar
     [javac] Compiling 21 source files to 
/usr/local/jakarta-tomcat-connectors-4.0.4-b3-src/jk/build/classes
     [javac] 
/usr/local/jakarta-tomcat-connectors-4.0.4-b3-src/jk/java/org/apache/jk/server/JkCoyoteHandler.java:78: 
org.apache.jk.server.JkCoyoteHandler should be declared abstract; it does 
not define start() in org.apache.jk.server.JkCoyoteHandler
     [javac] public class JkCoyoteHandler extends JkHandler implements
     [javac]             ^
     [javac] 
/usr/local/jakarta-tomcat-connectors-4.0.4-b3-src/jk/java/org/apache/jk/server/JkMain.java:375: 
warning: save(java.io.OutputStream,java.lang.String) in 
java.util.Properties has been deprecated
     [javac]             props.save( new FileOutputStream(outFile), 
"AUTOMATICALLY GENERATED" );
     [javac]                  ^
     [javac] 
/usr/local/jakarta-tomcat-connectors-4.0.4-b3-src/jk/java/org/apache/ajp/RequestHandler.java:295: 
warning: getInt() in org.apache.tomcat.util.buf.MessageBytes has been 
deprecated
     [javac]                     int contentLength = (vMB == null) ? -1 : 
vMB.getInt();
     [javac] 
^
     [javac] 1 error
     [javac] 2 warnings

I hope someone can help me solving this problem.

Jan-Willem Goedheer
jwgoedhr@rijnh.nl



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>