----------------------------------------------------------------
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!!!
----------------------------------------------------------------
I was able to compile and run ApacheJServer1.1.2 with JSDK2.1. I am using
Apache1.3.12
On a sun sparc (running solaris 2.6)
My JDK is JDK1.3 beta
So, I am not sure why this works for me, when I read people mention that JServer1.1.2
will not work with JSDK2.1.
[EMAIL PROTECTED] wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Jserv ONLY support jsdk 2.0, not 2.1.
>
> [EMAIL PROTECTED] on 07/09/2000 03:37:25 PM
>
> Please respond to "Java Apache Users"
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> cc: (bcc: John Chen/New York/ACMC)
> Subject: jsdk2.1 and Apache JServ 1.1.2 compile problems
>
> ----------------------------------------------------------------
> 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]
>
> ______________________________________________________________________
>
> The information contained in this transmission may contain
> privileged and confidential information and is intended only
> for the use of the person(s) named above. If you are not the
> intended recipient, or an employee or agent responsible for
> delivering this message to the intended recipient, any review,
> dissemination, distribution or duplication of this communication
> is strictly prohibited. If you are not the intended recipient,
> please contact the sender immediately by reply e-mail and destroy
> all copies of the original message.
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]