----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Some suggestions:

- If you want to invoke a servlet by its class name, you must include the 
fully-qualified package name, eg:

         /servlets/com.acme.MyServlet

- Alias definitions in a zone.properties file are only for individual 
servlet classes.  You had something like:

         # Define an alias for our servlet
         #servlet.simple.code=servlets

Define aliases in the form:

         servlet.MyServlet.code=com.acme.MyServlet

Hope this helps.

- Fernando

At 11:00 AM 3/14/00 -0600, you wrote:

>I keep getting the following error when calling a servlet:
>
>The requested URL /servlets/Logon was not found on this server.
>
>Here are the pertinent lines from the config files:
>
> >From jserv.conf:
>
>ApJServMount /servlets /esse
>
>This is supposed to mount the subdirectory esse to /servlets in the URL. 
>Is the path
>incorrect to the servlet repository?
>
>from jserv.properties:
>
># Servlet Zones parameters
>###########################
>
># List of servlet zones Apache JServ manages
># Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of 
>Strin$
># Default: NONE
>zones=esse,oracle
>
># Configuration file for each servlet zone (one per servlet zone)
># Syntax: [servlet zone name as on the zones list].properties=[full path 
>to con$
># Default: NONE
># Note: if the file could not be opened, try using absolute paths.
>
>esse.properties=/usr/local/apache/conf/jserv/esse.properties
>
>I left the oracle zone out of it for later inclusion, if needed. I just 
>want the logon
>screen to come up right now.
>
> >From esse.properties, the zone properties file:
>
># The list of servlet repositories controled by the servlet zone
>
>repositories=/usr/local/apache/servlets/esse
>
># Define an alias for our servlet
>
>#servlet.simple.code=servlets
>
>What am I missing here?
>
>Ben Ricker
>Essehealth, Inc.


=======================================
Fernando Salazar <[EMAIL PROTECTED]>
w -781-392-2514


--
--------------------------------------------------------------
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]

Reply via email to