help compiling mod_jk for Tomcat 4.0.4 and Apache 2 on windows 2000
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sam_Vacca
Posted On:   Sunday, July 14, 2002 02:04 PM

I am having trouble building the java portion of mod_jk to integrate Tomcat 4.0.4 and Apache 2.0.39. I am using the latest 4.0.4 connectors and Ant 1.4.1. I am getting the following errors and build failure: C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjk>"%ant_home%" in ant Buildfile: build.xml detect: [echo] -------- jakarta-tomcat-connectors -------- guess_catalina40: guess_catalina41: cpath: prepare: report: [echo] Tomcat33: ${tomcat33.detect} C:jakarta-tomcat-4.0.4jakarta-tomcat build omcatlibcommon omcat_core.jar [echo] Tomcat40: ${tomcat40.detect} C:jakarta-tomcat-4.0   More>>


I am having trouble building the java portion of mod_jk to integrate Tomcat 4.0.4 and Apache 2.0.39.



I am using the latest 4.0.4 connectors and Ant 1.4.1. I am getting the following errors and build failure:



			C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjk>"%ant_home%" in
			
ant
Buildfile: build.xml

detect:
[echo] -------- jakarta-tomcat-connectors --------

guess_catalina40:

guess_catalina41:

cpath:

prepare:

report:
[echo] Tomcat33: ${tomcat33.detect} C:jakarta-tomcat-4.0.4jakarta-tomcat
build omcatlibcommon omcat_core.jar
[echo] Tomcat40: ${tomcat40.detect} C:jakarta-tomcat-4.0.4jakarta-tomcat
-4.0 uild
[echo] Tomcat41: ${tomcat41.detect} C:jakarta-tomcat-4.0.4jakarta-tomcat-
4.1 uild
[echo] Apache13: ${apache13.detect} ${apache13.home}
[echo] Apache2: ${apache2.detect} ${apache2.home}
[echo] iPlanet: ${iplanet.detect} ${iplanet.home}
[echo] IIS: ${iis.detect} ${iis.home}
[echo] Using catalina.home: C:jakarta-tomcat-4.0.4jakarta-tomcat-4.0
uild

jkjava:
[echo] Logging: C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-src
libcommons-logging.jar
[javac] Compiling 30 source files to C:jakarta-tomcat-4.0.4jakarta-tomcat-
connectors-4.0.4-srcjk uildclasses
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcoreJkHandler.java:65: package org.apache.tomcat.util.handler doe
s not exist
[javac] import org.apache.tomcat.util.handler.*;
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkInputStream.java:66: cannot resolve symbol
[javac] symbol : class ServletInputStream
[javac] location: package servlet
[javac] import javax.servlet.ServletInputStream;
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkInputStream.java:67: cannot resolve symbol
[javac] symbol : class HttpServletRequest
[javac] location: package http
[javac] import javax.servlet.http.HttpServletRequest;
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkInputStream.java:68: cannot resolve symbol
[javac] symbol : class Cookie
[javac] location: package http
[javac] import javax.servlet.http.Cookie;
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkMX.java:69: package org.apache.tomcat.util.mx does not ex
ist
[javac] import org.apache.tomcat.util.mx.*;
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:79: cannot resolve symbol
[javac] symbol : class ProtocolHandler
[javac] location: class org.apache.jk.server.JkCoyoteHandler
[javac] ProtocolHandler,
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJniHandler.java:140: cannot resolve symbol
[javac] symbol : method convert (java.lang.String)
[javac] location: class org.apache.tomcat.util.buf.C2BConverter
[javac] charsetDecoder.convert( s );
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:406: cannot resolve symbol
[javac] symbol : method setResponse (org.apache.coyote.Response)
[javac] location: class org.apache.coyote.Request
[javac] req.setResponse(res);
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:479: cannot resolve symbol
[javac] symbol : method setAttribute (java.lang.String,java.lang.String)
[javac] location: class org.apache.coyote.Request
[javac] req.setAttribute("javax.servlet.request.key_size",
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:489: cannot resolve symbol
[javac] symbol : method setAttribute (java.lang.String,java.lang.String)
[javac] location: class org.apache.coyote.Request
[javac] req.setAttribute(n, v );
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:510: cannot resolve symbol
[javac] symbol : method getRemoteUser ()
[javac] location: class org.apache.coyote.Request
[javac] msg.getBytes(req.getRemoteUser());
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:515: cannot resolve symbol
[javac] symbol : method getAuthType ()
[javac] location: class org.apache.coyote.Request
[javac] msg.getBytes(req.getAuthType());
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:548: cannot resolve symbol
[javac] symbol : method setAttribute (java.lang.String,java.security.cert.
X509Certificate[])
[javac] location: class org.apache.coyote.Request
[javac] req.setAttribute("javax.servlet.request.X509Certific
ate",
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:555: cannot resolve symbol
[javac] symbol : method setAttribute (java.lang.String,java.lang.String)
[javac] location: class org.apache.coyote.Request
[javac] req.setAttribute("javax.servlet.request.cipher_suite",
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonHandlerRequest.java:562: cannot resolve symbol
[javac] symbol : method setAttribute (java.lang.String,java.lang.String)
[javac] location: class org.apache.coyote.Request
[javac] req.setAttribute("javax.servlet.request.ssl_session",
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkMX.java:96: cannot resolve symbol
[javac] symbol : class DynamicMBeanProxy
[javac] location: class org.apache.jk.common.JkMX
[javac] DynamicMBeanProxy mbean=new DynamicMBeanProxy();
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkMX.java:96: cannot resolve symbol
[javac] symbol : class DynamicMBeanProxy
[javac] location: class org.apache.jk.common.JkMX
[javac] DynamicMBeanProxy mbean=new DynamicMBeanProxy();
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkcommonJkMX.java:171: cannot resolve symbol
[javac] symbol : variable DynamicMBeanProxy
[javac] location: class org.apache.jk.common.JkMX
[javac] mserver = DynamicMBeanProxy.getMBeanServer();
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:78: org.apache.jk.server.JkCoyoteHandl
er should be declared abstract; it does not define doRead(org.apache.tomcat.util
.buf.ByteChunk) in org.apache.jk.server.JkCoyoteHandler
[javac] public class JkCoyoteHandler extends JkHandler implements
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:194: cannot resolve symbol
[javac] symbol : method getResponse ()
[javac] location: class org.apache.coyote.Request
[javac] Response res=req.getResponse();
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:210: cannot resolve symbol
[javac] symbol : method getResponse ()
[javac] location: class org.apache.coyote.Request
[javac] org.apache.coyote.Response res=req.getResponse();
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:267: cannot resolve symbol
[javac] symbol : method convert (org.apache.tomcat.util.buf.MessageBytes)
[javac] location: class org.apache.tomcat.util.buf.C2BConverter
[javac] c2b.convert ( hN );
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:271: cannot resolve symbol
[javac] symbol : method convert (org.apache.tomcat.util.buf.MessageBytes)
[javac] location: class org.apache.tomcat.util.buf.C2BConverter
[javac] c2b.convert( hV );
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:294: cannot resolve symbol
[javac] symbol : variable ACTION_CLIENT_FLUSH
[javac] location: class org.apache.coyote.ActionCode
[javac] } else if( actionCode==ActionCode.ACTION_CLIENT_FLUSH )
{
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:315: cannot resolve symbol
[javac] symbol : variable ACTION_REQ_SSL_ATTRIBUTE
[javac] location: class org.apache.coyote.ActionCode
[javac] } else if( actionCode==ActionCode.ACTION_REQ_SSL_ATTRIBU
TE ) {
[javac] ^
[javac] C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjkjava
orgapachejkserverJkCoyoteHandler.java:318: cannot resolve symbol
[javac] symbol : variable ACTION_REQ_HOST_ATTRIBUTE
[javac] location: class org.apache.coyote.ActionCode
[javac] } else if( actionCode==ActionCode.ACTION_REQ_HOST_ATTRIB
UTE ) {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 26 errors

BUILD FAILED





Total time: 8 seconds
C:jakarta-tomcat-4.0.4jakarta-tomcat-connectors-4.0.4-srcjk>



Tomcat and Apache work fine independently. I would appreciate any help. Thanks in advance.


Sam    <<Less

Re: help compiling mod_jk for Tomcat 4.0.4 and Apache 2 on windows 2000

Posted By:   baris_aksu  
Posted On:   Monday, July 15, 2002 11:59 PM

Why don't you just browse http://www.acg-gmbh.de/mod_jk/ and download the precompiled mod_jk.dll there?

I have successfully configured Tomcat4.0.4 and Apache2.0.39
on a Windows2000 machine with that mod_jk.dll


...baris...

About | Sitemap | Contact