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

Gnujsp 1.0 installation problem (NT4/Apache1.3.6/JServ1.0,JDK2.1,JSDK2.0)


Hi !

I'm trying to upgrade from gnujsp 0.91 (which runs great) to gnujsp 1.0 and, I am getting this error, requesting any .jsp page :

Status: 404 Not Found
The requested URL /servlets/gnujsp was not found on this server.
In the jserv log :
(ERROR) ajp11: Servlet Error: ClassNotFoundException: org.gjt.jsp.JSPServlet

I've seen in the archive mailing list that many people have encountered this error, but I've not found a solution yet :-(

I am running : NT4SP4 / Apache 1.3.6 / Apache JServ 1.0 / JDK 2.1 / JSDK 2.0  ... and Starcraft but that's another story

-> This is the setup in my servlet.properties:

...
repositories=D:\Program Files\Apache Group\Apache JServ\servlets
repositories=D:\Program Files\Apache Group\Jsp100\lib\gnujsp10.jar
...

servlet.gnujsp.code=org.gjt.jsp.JSPServlet
servlet.gnujsp.initArgs=scratchdir=D:\Program Files\Apache Group\Apache JServ\servlets

-> and in the jserv.properties :

wrapper.classpath=D:\Program Files\Apache Group\Apache JServ\ApacheJServ.jar
wrapper.classpath=D:\Program Files\jsdk\lib\jsdk.jar
wrapper.classpath=D:\Program Files\java\jdk121\lib\tools.jar
#wrapper.classpath=D:\Program Files\Apache Group\Jsp100\lib\gnujsp10.jar (I TRIED THIS OPTION -> No Effect)
#wrapper.classpath=D:\Program Files\Apache Group\Jsp100\lib\servlet-2.0-plus.jar (I TRIED THIS OPTION -> No Effect)
#wrapper.bin.parameters=-v (I TRIED THIS OPTION -> No Effect)

-> my %classpath% contains all the necessary jar files (compilation worked well with 0.91) :

D:\Program Files\jsdk\lib\jsdk.jar
D:\Program Files\java\jdk121\lib\tools.jar
D:\Program Files\Apache Group\Apache Jserv\ApacheJServ.jar
D:\Program Files\Apache Group\Apache JServ\Servlets
D:\Program Files\Apache Group\Jsp100\lib\gnujsp10.jar
D:\Program Files\Apache Group\Jsp100\lib\servlet-2.0-plus.jar

-> and I of course have the following line in the mod_jserv.conf :

ApJServAction .jsp /servlets/gnujsp

Any help would make my day (and my week-end by the way !)

Best regards,

Bertrand.