----------------------------------------------------------------
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 am hoping someone on this list might be able to lend me a hand in
debugging this problem...I am rapidly losing hair on this one....

Configuration:
Apache JServ 1.1b2
Apache 1.3.9
OS: Solarix 7 (x86 on a 600 MHz Pentium III)


I am having a problem with what I think is a "simple" servlet

The only changes to my jserv.conf file (relative to the jserv.conf.default)
are:

ApJServDefaultHost localhost
ApJServVMTimeout 15
ApJServMount /servlet /servlet
#ApJServMount /servlets /root
#ApJServMount /servlet /root


In my jserv.properties file I have set the ONLY zone to be
zones=servlet

and I define the location of the servlet.properties to the
correct location on the disk.

in my servlet.properties file:

I start up some of the servlets automatically with the

servlets.startup=servlet1,servlet2

these servlets are responsible for reading from the disk some files
needed by the servlets during the init() method.  
However, somewhat randomly some of these files
are NOT being read.  In my servlet's log file I get messages like:

java.io.FileNotFoundException: 
/path/to/apache/init/servlet/pages/activeJobSiteList.html
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.io.IOException.<init>(Compiled Code)
        at java.io.FileNotFoundException.<init>(Compiled Code)
        at java.io.FileInputStream.<init>(Compiled Code)
        at java.io.FileReader.<init>(Compiled Code)
        at com.reticular.metaSearch.jobsearch.servlet.ServletUtil.readHTMLPage(C
ompiled Code)
        at com.reticular.metaSearch.jobsearch.servlet.JobSearchServlet.init(Comp
iled Code)
        at org.apache.jserv.JServServletManager.load_init(Compiled Code)
        at org.apache.jserv.JServServletManager.loadServlet(Compiled Code)
        at org.apache.jserv.JServConnection.processRequest(Compiled Code)
        at org.apache.jserv.JServConnection.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

However, this file exists and the permissions are the same as other files
that are correctly read.  What is somewhat confusing to me is that
I print out stuff to the log file in the init method and some of the 
init printouts come after other debug code that occurs during a request
from a client.  I thought if I set the servlets.startup to the 
correct classes these classes would be initialized before any request
would be serviced.  

If not is there a way to configure this to make that happen?

I am pretty confident that the code works, at least it is working
correctly on Sun's JavaWebServer....

Any help will be greatly appreciated....

thanks

dave z



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