tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Vandyck <arn...@ressource-toi.org>
Subject Re: Building Tomcat-3.2.1
Date Mon, 19 Mar 2001 08:10:03 GMT
Not sure, but don't you need the servlet-api (servlet.jar)?

http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz

or

http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.zip

Niels Wagner wrote:
> 
> Hi everybody,
> 
> i downloaded the source of tomcat 3.2.1 and tried to build it. I followed the
> README and got ant, jaxp (1.0.1), jsse ...
> 
> My setup:
> 
> SuSE Linux 7.0, IBMJava2-13.
> 
> Environment variables
> export JAKARTA_HOME=/opt
> export TOMCAT_HOME=/opt/jakarta-tomcat-3.2.1
> export JAVA_HOME=/opt/IBMJava2-13
> export JNDI_HOME=/usr/lib
> export JSSE_HOME=/usr/lib
> export JMX_HOME=/usr/lib
> export REGEXP_HOME=/usr/src/packages/SOURCES/jakarta-regexp-1.2/build
> export SERVLETAPI_HOME=/opt/dist/servletapi
> export JAXP_HOME=/opt/jaxpi-1.0.1
> export
> CLASSPATH=/opt/IBMJava2-13/:/opt/IBMJava2-13/lib:/usr/lib:/opt/IBMJava2-13/lib/tools.jar:/opt/jaxp-1.0.1/jaxp.jar:/opt/dist/ant/lib/ant.jar:/opt/IBMJava2-13/jre/lib/rt.jar:/opt/jaxp-1.0.1/parser.jar:/usr/lib/jsse.jar:/opt/dist/servletapi/lib/serlvet.jar
> export COCOON_HOME=/var/cocoon
> 
> The error i get when building:
> 
> Buildfile: /opt/jakarta-tomcat-3.2.1-src/build.xml
> 
> prepare:
>      [copy] Copying 1 files to /opt/build/tomcat/conf
>      [copy] Copying 1 files to /opt/build/tomcat/lib
> 
> tomcat:
>     [javac] Compiling 6 source files to /opt/build/tomcat/classes
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/net/SSLSocketFactory.java:67:
> Class javax.net.ServerSocketFactory not found in import.
>     [javac] import javax.net.ServerSocketFactory;
>     [javac]        ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java:84:
> class org.apache.tomcat.facade.HttpServletResponseFacade must be declared
> abstract. It does not define void resetBuffer() from interface
> javax.servlet.ServletResponse.
>     [javac] final class HttpServletResponseFacade  implements
> HttpServletResponse
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82:
> class org.apache.tomcat.facade.ServletContextFacade must be declared abstract.
> It does not define java.util.Set getResourcePaths() from interface
> javax.servlet.ServletContext.
>     [javac] final class ServletContextFacade implements ServletContext {
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/ServletContextFacade.java:82:
> class org.apache.tomcat.facade.ServletContextFacade must be declared abstract.
> It does not define java.lang.String getServletContextName() from interface
> javax.servlet.ServletContext.
>     [javac] final class ServletContextFacade implements ServletContext {
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define java.lang.StringBuffer getRequestURL() from
> interface javax.servlet.http.HttpServletRequest.
>     [javac] final class HttpServletRequestFacade implements HttpServletRequest {
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define void setCharacterEncoding(java.lang.String) from
> interface javax.servlet.ServletRequest.
>     [javac] final class HttpServletRequestFacade implements HttpServletRequest {
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/facade/HttpServletRequestFacade.java:83:
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define java.util.Map getParameterMap() from interface
> javax.servlet.ServletRequest.
>     [javac] final class HttpServletRequestFacade implements HttpServletRequest {
>     [javac]             ^
>     [javac]
> /opt/jakarta-tomcat-3.2.1-src/src/share/org/apache/jasper/runtime/PageContextImpl.java:99:
> class org.apache.jasper.runtime.PageContextImpl must be declared abstract. It
> does not define void handlePageException(java.lang.Throwable) from class
> javax.servlet.jsp.PageContext.
>     [javac] public class PageContextImpl extends PageContext {
>     [javac]              ^
>     [javac] Note: 2 files use or override a deprecated API.  Recompile with
> "-deprecation" for details.    [javac] 8 errors, 1 warning
> 
> BUILD FAILED
> 
> /opt/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed, messages should have
> been provided.
> 
> Total time: 28 seconds
> 
> I suppose the javax stuff is in the jaxp/parser jars. I tried Version 1.1 and
> 1.0.1 from sun.
> 
> Any ideas ?
> 
> Thanks in advance
> 
> Niels

-- 
Arnaud Vandyck <http://www.ressource-toi.org/>

Mime
View raw message