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


So after manually starting jserv,  and turning on all logging.
I notice that an I/O exception is thrown (and ignored) at the end
of each request:

[10/07/2000 14:13:06:204 CDT] Connection: close
[10/07/2000 14:13:06:205 CDT] Content-Type: text/html
[10/07/2000 14:13:06:997 CDT] Ignored IOException.

[10/07/2000 14:13:05:021 CDT] Sending response headers.
[10/07/2000 14:13:05:022 CDT] Status: 200 OK
[10/07/2000 14:13:05:022 CDT] Content-Type: text/html
[10/07/2000 14:13:05:025 CDT] Ignored IOException.

This exception is not happening in my servlets (I log all exceptions).

Two Questions:

1. Could this exception be the cause of my VM exit/restaring problem: 
   (when run in auto mode)  from the mod_jserv.log file:
[10/07/2000 12:40:22:353] (INFO) wrapper: Java VM exited (PID=42539)
[10/07/2000 12:40:22:353] (INFO) wrapper: Java VM restarting (PID=42539)

2.  Any ideas what might be causing the I/O exception?


thanks again, 
I'll be happy to host a backyard bbq/servlet party if I can get all these
problems solved.


mike


-------- original plead for help --------------
                                                                                
jserv and the problems listed below are driving me nuts.  Can anyone            
provide some help?                                                              
                                                                                
                                                                                
ApacheJServ/1.1 running on a freebsd box.                                       
                                                                                
                                                                                
                                                                                
1.  Frequent restarting of servlets.                                            
    If I look at my jserv.log file, I see that the same servlet(s) are          
logging init every 3 to 4 minutes.  I am better off with mod_perl.              
Is there any way to affect the policy of when servlets are removed?             
Should I start the jvm with any particular parameters?                          
                                                                                
from jserv.properties:                                                          
# Arguments passed to Java interpreter (optional)                               
# Syntax: wrapper.bin.parameters=[parameters] (String)                          
# Default: NONE                                                                 
                                                                                
                                                                                
2. Sessions not persisting.                                                     
   Perhaps #1 is causing this one.  But if I snoop the headers, I can see       
the cookie for the session being passed from the browser to the servlet. Yet    
getSession() will return a new session object.                                  
                                                                                
   My session object does implements serializable but it is not persisiting.    
If no servlets are loaded, do all session objects disappear?  What else         
needs to be done so that sessions persist through server reloads or             
removal of all servlets?                                                        
                                                                                
                                                                                
3. I get the following errors non-deterministically:  (i wish I could           
repeat them on demand, but I can't)                                             
                                                                                
                                                                                
   [Fri Jul  7 14:36:21 2000] [emerg]                                           
   JServ: ajp12[1]: cannot scan servlet headers (500)                           
   [Fri Jul  7 14:36:21 2000] [error]                                           
   JServ: an error returned handling request via protocol "ajpv12"              
                                                                                
                                                                                
   [Wed May 31 14:46:07 2000] [emerg]                                           
   JServ: ajp12: can not connect to host +127.0.0.1:8007                        
   [Wed May 31 14:46:07 2000] [emerg]                                           
   JServ: ajp12: connection fail                                                
   [Wed May 31 14:46:07 2000] [error]                                           
   JServ: an error returned handling request via +protocol "ajpv12"             



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