We have a servlet (Foo.class) and a jar file (foo.jar) containing support
classes installed in a directory (C:\Foo). Foo.class also reads various
runtime values from configuration file C:\Foo\foo.cfg.
We would like to use Apache/JServ to access the servlet, but keep getting
"premature end of script"errors. I know it must be something I missed in
the installation, but can't seem to spot it at the end of a long day.
Here's the steps I took:
1. Install Apache 1.3.4 for NT (http://localhost succeeds)
2. Install JServ
a. in jserv.properties:
add:
wrapper.classpath=C:\Foo\foo.jar
wrapper.classpath=C:\Foo
b. in zone.properties:
repositories=/apache/servlet,/Crl/,/Crl/crl.jar
servlet.foo.code=Foo
servlet.foo.initArgs=configFile=foo.cfg
Anyone see the glaring error?
Thanks for any assistance you can offer.
PS:
Foo runs fine under servletrunner (jsdk2.0)
---
Michael Stacey
Lexi-Comp, Inc.
1100 Terex Road
Hudson OH 44236
(330) 650-6506
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]