tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Trasuk" <stratus...@on.aibn.com>
Subject RE: installation of tomcat on debian failed
Date Fri, 27 Jul 2001 20:45:39 GMT
The problem is that mod_jserv is designed to implement the Servlet API
version 2.0, whereas the current API is version 2.2.  You need to get the
JSDK2.0 from the Sun website and have that servlet.jar in your classpath
when you compile jserv, not the current one that comes with Tomcat.  Note
that Tomcat 3.2.3 implements servlet 2.2, so there's no problem there.

You might also want to look into using mod_jk instead of mod_jserv.

Greg Trasuk, President
StratusCom Manufacturing Systems Inc. - We use information technology to
solve business problems on your plant floor.
http://stratuscom.ca

-----Original Message-----
From: fate@mailhost.wanadoo-sp.net
[mailto:fate@mailhost.wanadoo-sp.net]On Behalf Of Fabrice Terrasson
Sent: Thursday, July 26, 2001 2:14 PM
To: tomcat-user@jakarta.apache.org
Subject: installation of tomcat on debian failed


I used this configure settings:
./configure --with-apxs=/usr/bin/apxs --prefix=/usr/local/jserv
--with-jdk-home=/usr/lo --with-JSDK=/usr/local/jakarta-tomcat-3.2.3/lib

no errors, but when I do make:

/home/fate/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:
85:
org.apache.jserv.JServConnection should be declared abstract; it does
not define flushBuffer() in org.apache.jserv.JServConnection
public class JServConnection
       ^
/home/fate/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServContext.java:90:
org.apache.jserv.JServContext should be declared abstract; it does not
define getAttributeNames() in org.apache.jserv.JServContext
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
^
/home/fate/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServSession.java:74:
org.apache.jserv.JServSession should be declared abstract; it does not
define getAttribute(java.lang.String) in org.apache.jserv.JServSession
public class JServSession implements HttpSession, JServLogChannels,
Serializable {
       ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
make[5]: *** [JServ.class] Error 1
make[5]: Leaving directory
`/home/fate/ApacheJServ-1.1.2/src/java/org/apache/jserv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/fate/ApacheJServ-1.1.2/src/java/org/apache'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/fate/ApacheJServ-1.1.2/src/java/org'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fate/ApacheJServ-1.1.2/src/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fate/ApacheJServ-1.1.2/src'
make: *** [all-recursive] Error 1
root@brazil:~/ApacheJServ-1.1.2# uname -a
Linux brazil 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown

Anyone got a clue ?

--
Cordialement,
Fabrice Terrasson. fte@wanadoo-sp.net


Mime
View raw message