[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Apache/JServ Won't Execute JSPs!


Hello all.

I have this annoying little problem which has turned into a really annoying
BIG problem because my Apache/JServ WILL NOT execute JSPs. I have tried with
Oracle JSP and now GNUJSP and in both cases it won't work, which leads me to
believe something is wrong with mny Apache/JServ installation but I don't
think so because my servlets are working.

Here's what I have done: (Following the install.apache file to the letter!)

jserv.conf

ApJServVMTimeout 30
ApJServMount /alph /alphzone
ApJServAction .jsp /alph/gnujsp

jserv.properties

wrapper.classpath=c:/apps/GNUJSP/servlet-2.0-plus.jar
wrapper.classpath=c:/apps/ApacheOracleJSP/xmlparserv2.jar
wrapper.classpath=c:/apps/ApacheJServ1.1/ApacheJServ.jar

zones=root,alphzone
root.properties=c:/apps/ApacheJServ1.1/servlets/rootZone.properties
alphzone.properties=c:/apps/ApacheJServ1.1/servlets/alphzone.properties

alphzone.properties

repositories=c:/apps/GNUJSP/gnujsp10.jar
repositories=c:/apps/GNUJSP/sax2.jar
repositories=c:/apps/GNUJSP/openxml-1.2-w3c.jar
repositories=c:/apps/GNUJSP/aelfred.jar

servlet.gnujsp.code=org.gjt.jsp.JspServlet
servlet.gnujsp.initArgs=debug=true
servlet.gnujsp.initArgs=scratchdir=c:/apps/apache/Apache/htdocs/_pages
servlet.gnujsp.initArgs=usepackages=true
servlet.gnujsp.initArgs=checkdependancies=true,checkclass=true

servlet.gnujsp.initArgs=compiler=builtin-javac -classpath
%classpath%;%scratchdir%;c:/apps/GNUJSP/gnujsp10.jar -d %
scratchdir% -deprecation %source%

.... In the c:/apps/GNUJSP directory I have:

aelfred.jar, gnujsp10.jar, openxml-1.2-w3c.jar, sax2.jar,
servlet-2.0-plus.jar

... My classpath is :

CLASSPATH=C:\apps\jdk1.2.2\jre\lib\ext\classes12.jar;C:\apps\jdk1.2.2\jre\li
b\ext\activation.jar;
C:\apps\jdk1.2.2\jre\lib\ext\mail.jar

... and that's it! In both cases the server simply prints out my JSPs, it
doesn't execute them. Anyone know WHY this is? I have looked in all the
apache and jserv logs and there are NO errors. There are simply:

"GET /hello.jsp HTTP/1.1" 304 -

... in the Apache access.log. If I try to execute a servlet in either the
root or alphzone zones, it works.

But JSPs, NOTHING! Can someone please give me a clue? I am at the end of my
patience!!!

Thanks in advance,
_bob