----------------------------------------------------------------
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!!!
----------------------------------------------------------------
----- Original Message -----
From: Alan Niederauer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 10:32 PM
Subject: running a servlet
> I am using Apache 1.3.9 with JServ 1.1B3 on a pentium using Win95. I have
> the default zone of root in jserv.properties. In zone.properties, the
> repositories is set to "d:\Program Files\Apache JServ1.1B3\servlets. In
> this folder, I have created a servlet name SampleServlet. I have
> successfully compiled it. In my browser (I.E. 5.0), I enter
> http://localhost/servlets/SampleServlet and get an Internal Error. What am
> I doing wrong?
>
Maybe nothing - just for fun, what does your Apache Server Log say?
With Win95 try running JServ (for now) manually.
Here is a run JServ in manual mode bat file - replace ALL paths with your computer
paths
(our path names will not match)
I named it runjsm.bat
--------------------- runjsm.bat ------------------
SET JSRoot=E:\apache32\apache\jserv11
SET JSProperties=%JSRoot%\conf\jserv.properties
SET JSLog=%JSROOT%\logs\jserv.log
SET CP=%JSRoot%\ApacheJServ.jar;e:\jsdk2.0\lib\jsdk.jar
java -cp %CP% org.apache.jserv.JServ %JSProperties%
-----------------------------------------------------------
Change "ApJServManual on" in jserv.conf.
Start Apache Web Server
Start runjsm.bat
Try your servlets or
http://localhost/jserv/
http://localhost/servlets/IsItWorking
Let the other Windows users know.
JLW
--
--------------------------------------------------------------
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]