tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Read <e.r...@qut.edu.au>
Subject Re: Build Problem - jakarta-tomcat-connectors-4.1.30-src
Date Wed, 09 Jun 2004 23:41:40 GMT
Hey,

Thanks for the pointer.  I am on Tru64 which doesn't provide a J2EE but 
I was able to downloaded the classes anyway and add them to my class path.

I am following some instructions for getting the connector working and I 
am expecting a "jtc.jar" file to be created when running ant in the 
connectors source directory.

The Build is now successful (with your help) but this file is not being 
created.  Do I need something further defined?

Thanks for your help.

Kommuru, Bhaskar wrote:
> Do you have j2ee downloaded as well? As you know, It is looking for servlet
> package.  I am not sure where this package is set as classpath in your ant
> script.
> But you can try to apend this classpath to some classpath mentioned in your
> ant scripts or else, try to set CLASSPATH in you evnvironment and tell me
> :-)
> 
> -----Original Message-----
> From: Evan Read [mailto:e.read@qut.edu.au]
> Sent: Wednesday, June 09, 2004 8:51 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Build Problem - jakarta-tomcat-connectors-4.1.30-src
> 
> 
> Hi everyone.  I am trying to build jakarta-tomcat-connectors-4.1.30-src. 
>   I get the following errors (mainly unresolved symbols) and I am not 
> sure why.  Obviously it can't find the right packages, but I thought the 
> Servlet Java stuff was implimented in Tomcat itself.  Do I need another 
> package I can't find anywhere?
> 
> I have just pasted a sample of the errors.  Most are identical.  Missing 
> things from this "javax.servlet" package. I am running "ant" (properly 
> setup of course) from the jakarta-tomcat-connectors-4.1.30-src directory.
> 
> Thanks.
> 
> Evan
> 
> ----------------------------------
> 
> Buildfile: build.xml
> 
> build:
> 
> detect:
> 
> build-prepare:
> 
> build-main:
>       [echo] ----- Java-utils -----
>       [echo] -- puretls.present = ${puretls.present}
>       [echo] -- jsse.present = true $/usr/opt/java142/jre/lib/jsse.jar
>       [echo] -- commons-logging = true
>       [echo] -- jmx = true 
> /usr/local/qut/bpr/utils/mx4j-2.0.1/lib/mx4j-jmx.jar
>       [echo] -- modeler = true 
> /usr/local/qut/bpr/utils/commons-modeler-1.1/commons-modeler.jar
>       [echo] -- JDK14 = true
> 
> init:
>       [echo] -------- Coyote 1.0-dev --------
> 
> prepare:
> 
> static:
> 
> report-tc5:
>       [echo] Tomcat5 detected
> 
> report-tc4:
>       [echo] Tomcat4 detected
> 
> report-tc33:
> 
> report:
> 
> compile.shared:
> 
> compile.tomcat4:
>      [javac] Compiling 13 source files to 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/build/classes
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteAdapter.java:68: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.Cookie;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteAdapter.java:69: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.HttpServletRequest;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:89: 
> package javax.ser
> vlet does not exist
>      [javac] import javax.servlet.RequestDispatcher;
>      [javac]                      ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:90: 
> package javax.ser
> vlet does not exist
>      [javac] import javax.servlet.ServletContext;
>      [javac]
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:91: 
> package javax.ser
> vlet does not exist
>      [javac] import javax.servlet.ServletInputStream;
>      [javac]                      ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:92: 
> package javax.ser
> vlet does not exist
>      [javac] import javax.servlet.ServletRequest;
>      [javac]                      ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:93: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.Cookie;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:94: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.HttpServletRequest;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:95: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.HttpServletResponse;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:96: 
> package javax.ser
> vlet.http does not exist
>      [javac] import javax.servlet.http.HttpSession;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:125: 
> cannot resolve s
> ymbol
>      [javac] symbol  : class HttpServletRequest
>      [javac] location: class org.apache.coyote.tomcat4.CoyoteRequest
>      [javac]     implements HttpRequest, HttpServletRequest {
>      [javac]                             ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequest.java:186: 
> cannot resolve s
> ymbol
>      [javac] symbol  : class Cookie
>      [javac] location: class org.apache.coyote.tomcat4.CoyoteRequest
>      [javac]     protected Cookie[] cookies = null;
>      [javac]               ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteInputStream.java:76: 
> cannot resolv
> e symbol
>      [javac] symbol  : class ServletInputStream
>      [javac] location: class org.apache.coyote.tomcat4.CoyoteInputStream
>      [javac] public class CoyoteInputStream extends ServletInputStream {
>      [javac]                                        ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequestFacade.java:74: 
> package jav
> ax.servlet does not exist
>      [javac] import javax.servlet.RequestDispatcher;
>      [javac]                      ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequestFacade.java:76: 
> package jav
> ax.servlet.http does not exist
>      [javac] import javax.servlet.http.Cookie;
>      [javac]                           ^
>      [javac] 
> /usr/local/qut/bpr/appsrc/jakarta-tomcat-connectors-4.1.30-src/coyote/src/ja
> va/org/apache/coyote/tomcat4/CoyoteRequestFacade.java:77: 
> package jav
> ax.servlet.http does not exist
>      [javac] import javax.servlet.http.HttpServletRequest;
>      [javac]
> 
> 

-- 
------------------------------------
Evan Read
Business Process Consultant
Call Center Section
Information Technology Services
Queensland University of Technology
Phone: 3864 2160 (x2160)
Email: e.read@qut.edu.au
CRICOS No. 00213J
------------------------------------

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


Mime
View raw message