tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prestation3.EXPLOITAT...@nexans.com
Subject when building tomcat 4.0 : cannot resolve symbol
Date Fri, 08 Aug 2003 07:42:28 GMT
Hi,

Trying to build Tomcat 4.1
I get the following error
what I missed ?
Can You help ?



root@donald:/opt/jakarta-tomcat-4.1.24-src# ant dist
Buildfile: build.xml

deploy-prepare:

deploy-static:

deploy:
     [echo] Target: Catalina - Deploy ...

flags:

flags.display:
     [echo] --- Build environment for Catalina ---
     [echo] If ${property_name} is displayed, then the property is not 
set)
     [echo] --- Build options ---
     [echo] full.dist=${full.dist}
     [echo] build.sysclasspath=${build.sysclasspath}
     [echo] compile.debug=on
     [echo] compile.deprecation=off
     [echo] compile.optimize=on
     [echo] --- Ant Flags ---
     [echo] <style> task available (required)=true
     [echo] --- JDK ---
     [echo] jdk.1.2.present=true
     [echo] jdk.1.3.present=true
     [echo] jdk.1.4.present=true
     [echo] --- Source Dependencies ---
     [echo] jtc.home.present=true
     [echo] --- Required Libraries ---
     [echo] beanutils.present=true
     [echo] collections.present=true
     [echo] digester.present=true
     [echo] jaxp.present=true
     [echo] jndi.present=true
     [echo] logging.present=true
     [echo] regexp.present=true
     [echo] servlet.present=true
     [echo] --- Optional Libraries ---
     [echo] daemon.present=${daemon.present}
     [echo] dbcp.present=${dbcp.present}
     [echo] fileupload.present=${fileupload.present}
     [echo] jaas.present=true
     [echo] javamail.present=${javamail.present}
     [echo] jmx.present=${jmx.present}
     [echo] jsse.present=true
     [echo] jta.present=${jta.present}
     [echo] junit.present=${junit.present}
     [echo] ldap.present=true
     [echo] modeler.present=${modeler.present}
     [echo] pool.present=${pool.present}
     [echo] tyrex.present=${tyrex.present}
     [echo] --- Required JARs ---
     [echo] jndi.jar.present(except JDK 1.3+)=${jndi.jar.present}
     [echo] regexp.jar.present=true
     [echo] servlet.jar.present=true
     [echo] xerces.jar.present(except JDK 1.4+ or xerces2)=true
     [echo] xerces2.jars.present(except JDK 1.4+ or 
xerces1)=${xerces2.jars.pres
ent}
     [echo] --- Optional JARs ---
     [echo] daemon.jar.present=${daemon.jar.present}
     [echo] dbcp.jar.present=${dbcp.jar.present}
     [echo] fileupload.jar.present=${fileupload.jar.present}
     [echo] jaas.jar.present=${jaas.jar.present}
     [echo] javamail.jar.present=${javamail.jar.present}
     [echo] jdbc20ext.jar.present=${jdbc20ext.jar.present}
     [echo] jmx.jar.present=${jmx.jar.present}
     [echo] jta.jar.present=${jta.jar.present}
     [echo] junit.jar.present=${junit.jar.present}
     [echo] ldap.jar.present=${ldap.jar.present}
     [echo] modeler.jar.present=${modeler.jar.present}
     [echo] pool.jar.present=${pool.jar.present}
     [echo] tyrex.jar.present=${tyrex.jar.present}
     [echo] --- Conditional compilation flags ---
     [echo] compile.daemon=${compile.daemon}
     [echo] compile.dbcp=${compile.dbcp}
     [echo] compile.jaas=true
     [echo] compile.javamail=${compile.javamail}
     [echo] compile.jmx=${compile.jmx}
     [echo] compile.jndi=true
     [echo] compile.jsse=true
     [echo] compile.jta=${compile.jta}
     [echo] compile.junit=${compile.junit}
     [echo] compile.ldap=true
     [echo] compile.ssi=true
     [echo] compile.tyrex=${compile.tyrex}
     [echo] --- Distribution flags ---
     [echo] copy.daemon.jar=${copy.daemon.jar}
     [echo] copy.dbcp.jar=${copy.dbcp.jar}
     [echo] copy.jaas.jar=${copy.jaas.jar}
     [echo] copy.jdbc20ext.jar=${copy.jdbc20ext.jar}
     [echo] copy.javamail.jar=${copy.javamail.jar}
     [echo] copy.jmx.jar=${copy.jmx.jar}
     [echo] copy.jndi.jar=${copy.jndi.jar}
     [echo] copy.jta.jar=${copy.jta.jar}
     [echo] copy.ldap.jar=${copy.ldap.jar}
     [echo] copy.logging.jar=true
     [echo] copy.modeler.jar=${copy.modeler.jar}
     [echo] copy.pool.jar=${copy.pool.jar}
     [echo] copy.tyrex.jar=${copy.tyrex.jar}
     [echo] copy.xerces.jar=${copy.xerces.jar}
     [echo] copy.xerces2.jars=${copy.xerces2.jars}

build-prepare:

copy-activation.jar:

copy-daemon.jar:

copy-dbcp.jar:

copy-fileupload.jar:

copy-jaas.jar:

copy-jdbc20ext.jar:

copy-jmx.jar:

copy-jndi.jar:

copy-jsse.jar:

copy-jta.jar:

copy-ldap.jar:

copy-modeler.jar:

copy-pool.jar:

copy-tyrex.jar:

copy-xerces.jar:

copy-xerces2.jars:

build-static:

build-tomcat-util:

detect:

build-prepare:

build-main:
     [echo] ----- Java-utils -----
     [echo] -- puretls.present = ${puretls.present}
     [echo] -- jsse.present = true
     [echo] -- commons-logging = true
     [echo] -- jmx = ${jmx.present} /opt/mx4j-1.1.1/lib/mx4j-jmx.jar
     [echo] -- modeler = ${modeler.present} 
/opt/commons-modeler-1.0/commons-mod
eler.jar
    [javac] Compiling 50 source files to 
/opt/jakarta-tomcat-connectors-4.1.24-s
rc/util/build/classes
    [javac] This version of java does not support the classic compiler; 
upgradin
g to modern
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/net/PoolTcpEndpoint.java:122: cannot resolve 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.24-src/util/java/org/apache/tomca
t/util/threads/ThreadPool.java:551: cannot resolve symbol
    [javac] symbol  : class ThreadPoolRunnable 
    [javac] location: class 
org.apache.tomcat.util.threads.ThreadPool.ControlRun
nable
    [javac]         ThreadPoolRunnable   toRun;
    [javac]         ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/ThreadPool.java:664: cannot resolve symbol
    [javac] symbol  : class ThreadPoolRunnable 
    [javac] location: class 
org.apache.tomcat.util.threads.ThreadPool.ControlRun
nable
    [javac]         public synchronized void runIt(ThreadPoolRunnable 
toRun) {
    [javac]                                        ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/ThreadPool.java:273: cannot resolve 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.24-src/util/java/org/apache/tomca
t/util/net/PoolTcpEndpoint.java:490: cannot resolve 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.24-src/util/java/org/apache/tomca
t/util/threads/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.24-src/util/java/org/apache/tomca
t/util/threads/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 m
ax
    [javac]     ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/Reaper.java:111: 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.24-src/util/java/org/apache/tomca
t/util/net/ServerSocketFactory.java:137: cannot 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.24-src/util/java/org/apache/tomca
t/util/threads/ThreadPool.java:580: cannot resolve symbol
    [javac] symbol  : class ThreadWithAttributes 
    [javac] location: class 
org.apache.tomcat.util.threads.ThreadPool.ControlRun
nable
    [javac]             t = new ThreadWithAttributes(p, this);
    [javac]                     ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/ThreadPool.java:679: warning: stop() in java.lang.Thread 
has been
 deprecated
    [javac]             t.stop();
    [javac]              ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/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 m
ax
    [javac]                                     ^
    [javac] 
/opt/jakarta-tomcat-connectors-4.1.24-src/util/java/org/apache/tomca
t/util/threads/Reaper.java:149: cannot resolve symbol
    [javac] symbol  : class ThreadPoolRunnable 
    [javac] location: class org.apache.tomcat.util.threads.Reaper
    [javac]             ThreadPoolRunnable callB=cbacks[i];
    [javac]                 ^
    [javac] 12 errors
    [javac] 1 warning

BUILD FAILED
file:/opt/jakarta-tomcat-connectors-4.1.24-src/util/build.xml:63: Compile 
failed
; see the compiler error output for details.

Total time: 23 seconds
root@donald:/opt/jakarta-tomcat-4.1.24-src# 


Thierry CONSTANT
NEXANS-CLICHY
01-55-62-79-72
prestation3.exploitation@nexans.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message