---------------------------------------------------------------- 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!!! ---------------------------------------------------------------- Use jar files rather than a path in your repositories definition in the zone.properties as follows: repositories=C:\Program Files\Apache Group\Apache Jserv 1.1b3\jsp\gnujsp10.jar repositories=C:\Program Files\Apache Group\Apache JServ 1.1b3\jsp\servlet2.0.jar Li Andy 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!!! > ---------------------------------------------------------------- > > Hello, > > I installed Apache Server, Jserv 1.1.3 b3, and GnuJsp > on Windows 98. Servlets are all working but running > the test JSPs never worked at all. I always get the > message "The requested URL > /servlets/org.gjt.jsp.JspServlet was not found on this > server.". I tried all different configurations and > unfortunately always unsuccessful. I have been working > on this for many days, reading the faqs, others > articles and have not found the answer to this. > > Any suggestions, or any similar configs that you may > share are all appreciated. > > Thanks, > > Andy > > My configuration: > > Computer : > ========== > Windows 98 > Apache 1.3.9 - apache_1_3_9_win32.exe > Apache Jserv 1.1.3 b3 - apacheJserv-1.1b3.exe > Gnujsp 1.0 - gnu100jsp.zip > jdk 1.2.2 > jsdk 2.0 - jsdk20-win32.exe > > Jserv.conf > ========== > ApJServAction .jsp /servlets/org.gjt.jsp.JspServlet > > Jserv.properties - others were all set by their > default installs > ================ > wrapper.bin=c:\jdk1.2.2\bin\java.exe > wrapper.classpath=c:\program files\apache group\Apache > JServ 1.1b3\ApacheJServ.jar > wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar > wrapper.classpath=C:\gnujsp-1.0.0\lib\gnujsp10.jar > wrapper.classpath=C:\jdk1.2.2\lib\tools.jar > zones=root > root.properties=c:\program files\apache group\Apache > JServ 1.1b3\servlets\zone.properties > > zone.properties > =============== > repositories=C:\Program Files\Apache Group\Apache > JServ 1.1b3\servlets > repositories=C:\Program Files\Apache Group\Apache > JServ 1.1b3\jsp > servlet.gnujsp.code=org.gjt.jsp.JspServlet > servlet.gnujsp.initArgs=scratchdir=C:\Program > Files\Apache Group\Apache JServ 1.1b3\jsp > > A. Test 1 > > The file "snoop.jsp" is under the document root of > Apache "c:\program files\apache group\htdocs" > directory. > > From the browser location: > > http://localhost/snoop.jsp > > Result: > ------- > Not Found > The requested URL /servlets/org.gjt.jsp.JspServlet was > not found on this server. > > mod_jserv.log > ============= > [29/12/1999 04:01:30:200] (ERROR) ajp12: Servlet > Error: NoClassDefFoundError: org.gjt.jsp.JspServlet > > jserv.log > ========= > empty.. > > error.log (in the apache web server) > ========= > [Tue Dec 28 22:56:23 1999] [error] [client 127.0.0.1] > client denied by server configuration: c:/program > files/apache group/apache/htdocs/jserv > > access.log > ========== > 127.0.0.1 - - [28/Dec/1999:23:01:23 -0500] "GET / > HTTP/1.0" 304 - > 127.0.0.1 - - [28/Dec/1999:23:01:25 -0500] "GET / > HTTP/1.0" 304 - > 127.0.0.1 - - [28/Dec/1999:23:01:30 -0500] "GET > /snoop.jsp HTTP/1.0" 404 297 > > Test 2. > ------- > The file "snoop.jsp" is in c:\program files\apache > group\Apache Jserv 1.1b3\servlets directory. > > From the browser location: > > http://localhost/servlets/snoop.jsp > > Results: > ------- > Not Found > The requested URL /servlets/org.gjt.jsp.JspServlet was > not found on this server. > > mod_jserv.log > ============= > [29/12/1999 04:30:55:780] (ERROR) ajp12: Servlet > Error: NoClassDefFoundError: org.gjt.jsp.JspServlet > > access.log > ========== > 127.0.0.1 - - [28/Dec/1999:23:30:47 -0500] "GET / > HTTP/1.0" 304 - > 127.0.0.1 - - [28/Dec/1999:23:30:55 -0500] "GET > /servlets/snoop.jsp HTTP/1.0" 404 297 > > error.log (in the apache web server) > ========= > empty... > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://messenger.yahoo.com > > -- > -------------------------------------------------------------- > 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]
