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

I forgot to say in the last e-mail that I can access the jserv status page
and it shows all three zones with the correct repository information, so I
know the configuration files are at least being read.  This only adds to my
confusion.

> -----Original Message-----
> From: Allen,Eva 
> Sent: Wednesday, September 20, 2000 12:52 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      What have I done wrong?
> 
> I'm sure you see this question lots, but I can't find anything that tells
> me what I've done wrong.  I'm trying to run ApacheJServ 1.1.2 on AIX
> 4.3.3, using JDK 1.1.8 and JSDK 2.0, and Apache 1.3.12.   The Java
> development environment is OK, I've been compiling and running on it for
> several months.  I've had a running Apache server now for a month.  When I
> start up the server with the JServ component the JServ component starts
> okay.  When I try to access my servlets I get the dreaded 404 error.  The
> problem must be with configuration, yes?
> 
> Well, I have three zones (I've been experimenting with different
> configurations).  The zones are production, development and example.  In
> my jserv.conf file I have 
> ApJServProperties /full/path/to/file/jserv.properties, 
> ApJServLogLevel debug
> ApJServMount /servlets /development
> ApJServMount /servlet /production
> ApJServMount /example /example
> 
> and everything else is the default (except I allow everyone from my domain
> to access the jserv information page).
> 
> In jserv.properties I have 
> zones=production,development,example
> 
> production.properties=/full/path/to/production.properties
> development.properties=/full/path/to/file/development.properties
> example.properties=/full/path/to/file/example.properties
> wrapper.bin points to the correct directory for java
> wrapper.classpath contains only the path to the ApacheJServ.jar file and
> the jsdk.jar file
> 
> security.allowedAddresses=DISABLED (I know, I know, dangerous, but I have
> *no* idea what's wrong, I'm trying *everything*)
> 
> and everything else set to the default.
> 
> In production.properties I have
> repositories=/full/path/name/to/a/directory/containing/class/files
> 
> In development.properties I have
> repositories=/full/path/name/to/directory/containing/class/files
> 
> In example.properties I have
> repositories=/full/path/name/to/directory/containing/class/files
> 
> In each of these zone properties files the ApacheJServ.jar file is also
> included in the repositories and everything else is set to the default.
> In particular, the production repository contains the file Hello.class,
> the development repository contains the file IsItWorking.class, and the
> example repository contains the file PathInfo.class.  All files and
> directories have permissions 777.  The URLs I have been using to access
> them are
> 
> http://machine.name.org:port/servlets/IsItWorking
> http://machine.name.org:port/servlet/Hello and
> http://machine.name.org:port/example/PathInfo, where port is the port the
> Apache server is sitting on.  The Apache server and JServ are running on
> the same machine.  There is absolutely no information printed in the
> jserv.log file.  mod_jserv.log only shows that the Java VM was started,
> and after that no further output.  I can see no reason why these files
> aren't found.  I'm sure I must have missed something obvious, but I'm
> durned if I know what it is.  The Apache error_log, of course, shows the
> familiar File does not exist: /example/PathInfo (or whatever).
> 
> What is wrong with my configuration?
> 
> 


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to