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

Sounds like jvm crashes and then restarts ... jserv can restarts jvm
automatically,
but if vm crashes all session objects destroys with it.

I use apache jserv on linux box - all works ok - servlets did not reloads at
all...

Try also check servlets .class file timestamps and permissions - convenient
way to
reload servlet in jserv is " touch /home/httpd/servlets/<YourServlet>.class"

Try use ApJServManual=on in jserv.conf and start jvm manually (see docs - i
forgot )
and see if it recently crashed.

Try also increase logging level (use log.chanel.debug in jserv.properties)

What system configuration are you works in - memory, processor, etc. -
isn't it very low ?

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to