----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hello,
I am trying to compile ApacheJServ-1.1.2 (.tar.gz) with Sun's JSDK 2.1
for use with Apache 1.3.12.
After running configure:
./configure \
--prefix=/foo/jserv.2.1 \
--with-apxs=/foo/apache/bin/apxs \
--with-jdk-home=/foo/jdk1.2.2/ \
--with-JSDK=/foo/jsdk2.1/servlet.jar \
--enable-debugging \
and make, I get compile errors that seem to indicate changes to
Interface definitions:
JServ.java:171: class org.apache.jserv.JServConnection is an abstract
class. It can't be instantiated.
JServConnection connection = new JServConnection();
^
/foo/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 getAttributeNames() from interface
javax.servlet.ServletRequest.
public class JServConnection
^
and
/foo/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServServletManager.java:974:
class org.apache.jserv.JServSession is an abstract class. It can't be
instantiated.
JServSession s = new JServSession(getIdentifier(route), this);
^
/foo/src/ApacheJServ-1.1.2/src/java/org/apache/jserv/JServContext.java:90:
class org.apache.jserv.JServContext must be declared abstract. It does
not define int getMinorVersion() from interface
javax.servlet.ServletContext.
class JServContext implements ServletConfig, ServletContext,
JServSendError, JServLogChannels {
I know the jar name changed. Are there other changes I must account
for?
thanks much,
-J
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]