Hi all,

We're having copious grief here trying to plug Apache 2.0.43 and Tomcat
4.1.12 together with mod_jk/Coyote.  Any advice or assistance will be very
gratefully recieved.

So far we're working on the belief that 4.1.12 is preconfigured to run with
mod_jk2 and therefore that's the connector of choice.  However we're getting
some strange errors when we run through the build process as documented at
various places on the web.

The process we've gone through so far has been:

Downloaded the jakarta-tomcat-connectors-4.1.12-src
Downloaded and installed ant (for which we also had to download and install
gnu tar as Solaris tar just spits checksum errors)
unzipped / untarred etc
configured the build.properties files in /util /jk and /coyote as per the
documentation

however when we then try and run ant we're getting the following 11 compile
errors, see below:

I'm confused.

Could someone throw a little light on to this for me.  Alternatively, could
someone assist me with the process of converting the server.xml in 4.1.12 to
run with the older mod_jk (if that's deemed a good idea).

Many thanks in advance.

Tref Gare/ Harry Sokol

Error output follows

<snip>
ACMIFSQWEB6-70:ant
Buildfile: build.xml

coyote:

detect:

build-prepare:

build-main:
     [echo] ----- Java-utils -----
     [echo] -- puretls.present = ${puretls.present}
     [echo] -- jsse.present = ${jsse.present}
     [echo] -- commons-logging = true
     [echo] -- jmx = true
/opt/jakarta-tomcat-connectors-4.1.12-src/lib/mx4j.jar
    [javac] Compiling 50 source files to
/opt/jakarta-tomcat-connectors-4.1.12-src/util/build/classes
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/n
et/PoolTcpEndpoint.java:118: cannot re
solve symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.net.PoolTcpEndpoint
    [javac]     ThreadPoolRunnable listener;
    [javac]     ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/ThreadPool.java:204: cannot res
olve symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.ThreadPool
    [javac]     public void runIt(ThreadPoolRunnable r) {
    [javac]                       ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/ThreadPool.java:469: cannot res
olve symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class
org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
    [javac]         ThreadPoolRunnable   toRun;
    [javac]         ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/ThreadPool.java:573: cannot res
olve symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class
org.apache.tomcat.util.threads.ThreadPool.ControlRunnable
    [javac]         public synchronized void runIt(ThreadPoolRunnable toRun)
{
    [javac]                                        ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/n
et/PoolTcpEndpoint.java:438: cannot re
solve symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.net.TcpWorkerThread
    [javac] class TcpWorkerThread implements ThreadPoolRunnable {
    [javac]                                  ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/Reaper.java:92: cannot resolve
symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.Reaper
    [javac]     ThreadPoolRunnable cbacks[]=new ThreadPoolRunnable[30]; //
XXX max
    [javac]     ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/Reaper.java:105: cannot resolve
 symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.Reaper
    [javac]     public int addCallback( ThreadPoolRunnable c, int interval )
{
    [javac]                             ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/Expirer.java:71: cannot resolve
 symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.Expirer
    [javac] public final class Expirer  implements ThreadPoolRunnable
    [javac]                                        ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/n
et/ServerSocketFactory.java:137: canno
t resolve symbol
    [javac] symbol  : class DefaultServerSocketFactory
    [javac] location: class org.apache.tomcat.util.net.ServerSocketFactory
    [javac]             theFactory = new DefaultServerSocketFactory ();
    [javac]                              ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/Reaper.java:92: cannot resolve
symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.Reaper
    [javac]     ThreadPoolRunnable cbacks[]=new ThreadPoolRunnable[30]; //
XXX max
    [javac]                                     ^
    [javac]
/opt/jakarta-tomcat-connectors-4.1.12-src/util/java/org/apache/tomcat/util/t
hreads/Reaper.java:143: cannot resolve
 symbol
    [javac] symbol  : class ThreadPoolRunnable
    [javac] location: class org.apache.tomcat.util.threads.Reaper
    [javac]             ThreadPoolRunnable callB=cbacks[i];
    [javac]                 ^
    [javac] 11 errors
</snip>


**********************************************************************
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

**********************************************************************



-------------------------------------------------------------------------------------------------------------------------------

This communication contains information which is confidential and the  copyright of 
the Australian Centre for the Moving Image. 
If you are not the intended recipient of this e-mail please notify the  sender 
immediately and delete it from your system. 
Any views expressed in this message are those of the individual sender and may not be 
the views of the Australian Centre for the Moving Image,  unless specifically stated.

--------------------------------------------------------------------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to