----------------------------------------------------------------
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 guys,

I got the same problem a few days ago.
I was able to fix it anyways. My setup though was on HP UX 11.0
with Apache Web Server 1.3.11 (rest the same as you have).

Here is my proposed solution : (may just work out !) ;-)
Make a file called "create" (or whatever) under the apache
Jserv directory (the directory where you untarred apache).
The contents of create looks something like this for my setup -
-----------------------------------------------------------------
./configure \
        --prefix=/usr/local/jserv \
        --with-apache-src=/usr/local/apache_1.3.11 \
        --with-java-platform=2 \
        --with-javac=/opt/java/bin/javac \
        --with-jdk-home=/opt/java \
        --with-JSDK=/opt/JSDK2.0/lib/jsdk.jar \
        --enable-debugging
-------------------------------------------------------------------
Then execute "create" to configure apache jserv and then make and
make install. Also be sure you have the GNU utilities installed - autoconf,
automake, et al. Make sure that your CLASSPATH is pointing to tools.jar.
CLASSPATH=/opt/java/lib/tools.jar for my setup.

Now i  think the lines that made the difference here were the
explicit declaration of the java-platform. (don't know for sure though !)

HTH,
Karthik
--
Karthik K
Hewlett Packard India Software Operations,
1, Habibullah Road, T.Nagar,
Chennai, INDIA

Michael Lim Shek Sia 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!!!
> ----------------------------------------------------------------
>
> Sorry, Gary, instead of some solution to your problem I am actually
> writing to you to trouble you with a question.
>
> Your system setup is actually very similar to mine, reading your mail,
> I assume that you have the complete setup going alright. However, I have
> encounterd some problem during make Jserv1.1.
>
> I am using
>
> Linux 6.0 Mandrake
> JDK1.2.2
> JSDK2.0
> ApacheJServ-1.1
> apache_1.3.12
>
> I have successfully configured JServ, but the following error
> was encountered when doing make. Have you come across this problem ?
> Or could you suggest any solution to it ?
>
> michael
>
> etc.....
> etc.....
> Making all in jserv
> make[5]: Entering directory
> `/usr/local/ApacheJServ-1.1/src/java/org/apache/jserv'
> 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/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
> class org.apache.jserv.JServConnection must be declared abstract. It
> does not define java.u
> til.Enumeration getAttributeNames() from interface
> javax.servlet.ServletRequest.
> public class JServConnection
>              ^
> /usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
> class org.apache.jserv.JServConnection must be declared abstract. It
> does not define java.l
> ang.String encodeURL(java.lang.String) from interface
> javax.servlet.http.HttpServletResponse.
> public class JServConnection
>              ^
> /usr/local/ApacheJServ-1.1/src/java/org/apache/jserv/JServConnection.java:85:
> class org.apache.jserv.JServConnection must be declared abstract. It
> does not define void s
> etAttribute(java.lang.String, java.lang.Object) from interface
> javax.servlet.ServletRequest.
> public class JServConnection
>
> Gary wrote:
> >
> > Hi,
> >
> > I have installed JServ, Apache, etc, and everything appears to be running
> > fine, including the example servlets. I am, however, concerned with an
> > error that is logged to mod_jserv.log when I shut down apache:
>
> --
> --------------------------------------------------------------
> 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]



--
--------------------------------------------------------------
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]

Reply via email to