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

Jens,

        I have that line in the jserv.conf file (which is included
in httpd.conf) and as far as I can see it's workign fine.  If you
see the error again.... (this error comes up in the html source
to replace where the <SERVLET CODE=TopSection></SERVLET> bit was.

<!-- ERROR: ------------
> java.lang.ClassNotFoundException: can't find servlet named
> "TopSection"
>       at java.lang.Throwable.fillInStackTrace(Native Method)
>       at java.lang.Throwable.fillInStackTrace(Compiled Code)
>       at java.lang.Throwable.<init>(Compiled Code)
>       at java.lang.Exception.<init>(Compiled Code)
>       at java.lang.ClassNotFoundException.<init>(Compiled Code)
>       at
> org.apache.servlet.ssi.ServletInfoRequest.runServlet(Compiled Code)
>       at
> org.apache.servlet.ssi.ServletTagHandler.executeTag(Compiled Code)
>       at
> org.apache.servlet.ssi.PageParser.interpretPage(Compiled Code)
>       at org.apache.servlet.ssi.PageParser.process(Compiled Code)
>       at org.apache.servlet.ssi.PageParserServlet.doGet(Compiled Code)
>       at javax.servlet.http.HttpServlet.service(Compiled Code)
>       at javax.servlet.http.HttpServlet.service(Compiled Code)
>       at
> org.apache.jserv.JServConnection.processRequest(Compiled Code)
>       at org.apache.jserv.JServConnection.run(Compiled Code)
>       at java.lang.Thread.run(Compiled Code)
> -->

>From this it seems to me that the JSSI servlet can't see my
other servlets or something.  The JSSI must be kicking in because
otherwise the <SERVLET> tags would just appear in my html, so
some preprocessing is occuring.  I've tried referencing
my other servlets in every way I can imagine and it just doesn't
seem to see them.  Any ideas anyone?

Dave



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Derner
Jens-WFJD1194
Sent: Tuesday, November 30, 1999 6:49 PM
To: 'Java Apache Users'
Subject: AW: Problem with ApacheSSI
Importance: Low


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

may be the following remark helps:
You need to tell to jserv where to find the servlets by a line like
ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
or the like.
For more details you can read the jserv.conf file.

regards

Jens

> -----Urspr�ngliche Nachricht-----
> Von: David Molloy [mailto:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 30. November 1999 19:37
> An: Java Apache Users
> Betreff: Problem with ApacheSSI
>
> ----------------------------------------------------------------
> 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,
>
>       I just tried to get JSSI running on my version of Apache
> which already has JServ up and running.  I followed all the steps
> in the Installation and set up my properties files (I think
> correctly).  The JSSI jar is installed in :
> /usr/local/apache/JSSI/ApacheJSSI.jar
> and it seems to be finding this.  However when I do a simple
> <SERVLET CODE=Class> </SERVLET> to one of my servlets it doesn't
> seem to be finding it.
> Here's the error that occurs in the place of what I'm hoping for:
>
>
> <!-- ERROR: ------------
> java.lang.ClassNotFoundException: can't find servlet named
> "TopSection"
>       at java.lang.Throwable.fillInStackTrace(Native Method)
>       at java.lang.Throwable.fillInStackTrace(Compiled Code)
>       at java.lang.Throwable.<init>(Compiled Code)
>       at java.lang.Exception.<init>(Compiled Code)
>       at java.lang.ClassNotFoundException.<init>(Compiled Code)
>       at
> org.apache.servlet.ssi.ServletInfoRequest.runServlet(Compiled Code)
>       at
> org.apache.servlet.ssi.ServletTagHandler.executeTag(Compiled Code)
>       at
> org.apache.servlet.ssi.PageParser.interpretPage(Compiled Code)
>       at org.apache.servlet.ssi.PageParser.process(Compiled Code)
>       at org.apache.servlet.ssi.PageParserServlet.doGet(Compiled Code)
>       at javax.servlet.http.HttpServlet.service(Compiled Code)
>       at javax.servlet.http.HttpServlet.service(Compiled Code)
>       at
> org.apache.jserv.JServConnection.processRequest(Compiled Code)
>       at org.apache.jserv.JServConnection.run(Compiled Code)
>       at java.lang.Thread.run(Compiled Code)
> -->
>
> Normally I can call this servlet with  http://server/home/TopSection
> I've tried writing <SERVLET CODE=home.TopSection> etc. etc. and have
> tried the full path - each time it's the same class not found message.
> Is it a properties problem, could it be file accesses .. any ideas?
>
> I know this is probably trivial but any help would be greatly
> appreciated.
> Thanks.
>
> David Molloy
>
>
>
>
>
> --
> --------------------------------------------------------------
> 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]



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