----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi All,
I am having a problem compiling Jserv 1.1.2 for apache 1.3.12 on Redhat
Linux 6.0.
I have looked at teh FAQs and see there is a questions that is imiliar to
mine, but i see no answer for it.
Having run a config command like:
./configure \
--prefix=/usr/local/jserv \
--with-jdk-home=/usr/local/jdk \
--with-JSDK=/usr/local/classes/servlet.jar \
--disable-debugging >config_out
I try and do a make, where I get a whole pile of errors (44 errors) while
compiling JServv.java.
I have captured the output of both the config and the make commands to
file and have posted the files on the web at:
http://www.rebel.net.au/~jason/jserv
The config output is in a file called "config_out" and the make output is
in a file called "make_out".
I have tried using the jsdk jars from both sun which ends up being called
"servlet.jar" and form teh rpm version of the jserv package whcih is
called "servlet-2.0.jar".
I have also used jdk 1.1.8 ans awell as jdk1.2.
I have tried specifying the java platform (--with-java-platform= ) as 1
and 2 with both of these JDKs as well as not specifying the java platform
with both of these JDKs.
Any suggestions even if they re-refer me to an approptaite part of the
FAQ which I may have missed would be appreciated.
A representative error is:
Compiling ExtendedProperties.java ...
make[6]: Leaving directory
`/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/java/util'
make[6]: Entering directory
`/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/java'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory
`/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/java'
make[5]: Leaving directory
`/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/java'
Making all in jserv
make[5]: Entering directory
`/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/jserv'
Compiling Ajpv12InputStream.java ...
Compiling JServ.java ...
JServ.java:171: class org.apache.jserv.JServConnection is an abstract
class. It can't be instantiated.
JServConnection connection = new JServConnection();
^
/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.lang.String getContextPath() from interface
javax.servlet.http.HttpServletRequest.
public class JServConnection
^
/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.util.Enumeration getHeaders(java.lang.String) from
interface javax.servlet.http.HttpServletRequest.
public class JServConnection
^
/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define javax.servlet.http.HttpSession getSession() from interface
javax.servlet.http.HttpServletRequest.
public class JServConnection
^
/usr/local/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServConnection.java:85:
class org.apache.jserv.JServConnection must be declared abstract. It does
not define java.security.Principal getUserPrincipal() from interface
javax.servlet.http.HttpServletRequest.
public class JServConnection
regards
jason tan
--
------------------------------------------------------------------------------
Jason Tan [EMAIL PROTECTED]
Some people have a way about them that seems to say: "If I have
only one life to live, let me live it as a jerk."
-/usr/games/fortune
------------------------------------------------------------------------------
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]