Try telling that to the folks at `http://www.positive-internet.com/'.

There are the only affordable Java Servlet hoster in the UK. There are not
many company willing to host Java Servlets or JSP on their machine unless
you go the co-location or dedicated server route (������$$$$$$ Expensive) .
This is because JVM is a huge memory and disk hogger. It is impractible
for each virtual host to have their own JVM machine. ( FYI
P.I. also offer mod_perl, php4, perl, cgi, python, and they are Linux based.)

It's a pity that shared Java Servlet engine are not scalable between virtual
hosts. JServ should be a pooled or cluster between several virtual hosts.

Also as you can see from the servlets interest list that many people DONT KNOW
how to write servlets properly, then when they are hosted on a web host
that shares a single servlet engine. A rogue servlet could take down
the whole mother...

That's why they shutdown and restart periodically. A comprise but it
blows the sessions. I am thinking of looking at the JServ code my self and trying
to get the sessions serialised to a file at shutdown or then reread at startup.

Since Nic and Craig are Servlet Engine builders then they might be able
to offer a suggestion or two.

--
Peter Pilgrim
G.O.A.T
                    "The Greatest of All Time"



---------------------------------------- Message History 
----------------------------------------


From: [EMAIL PROTECTED] on 06/11/2000 10:41

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Shared Servlet Engine and Sessions [Scanned by Yellow Pages              
PostMaster]



Contact:   Tel: 2726  -  New Media Systems, 1st Floor South, Queens Walk

Peter,

I am sure you will find anwsers to these questions eventually, but why should
you go through all these trouble? You might as well just spend more time to
persuade your sys admin NOT to shutdown and restart the servlet engine every 15
minutes as that seems to me a very extreme method! Not an acceptable solution
for any commercial web site?





Charles






Peter Pilgrim <[EMAIL PROTECTED]> on 11/06/2000 10:21:00 AM

To:        [EMAIL PROTECTED]
cc:         (bcc: Charles Chen/YellowPages)
From:      Peter Pilgrim <[EMAIL PROTECTED]>, 6 November 2000, 10:21 a.m.

Shared Servlet Engine and Sessions  [Scanned by Yellow Pages PostMaster]


I have a question about shared servlets web hosting.

My web hoster provides a single Java servlet engine (Apache jserv)
which shared across many Apache virtual host. Because of people
writing bad servlets, the web hoster has adopted the policty of shutdowning
and restarting the servlet engine every 15 minutes.

The consequence is that all sessions are gone.

1) Can one detect when the servlet engine starts or shutdown?
(Probably look in the JServ open source )

2) Can one recreate sessions at start up?
(Probably look in the JServ open source )

3) Is there a way to save the sessions to a database or persistant file store?

4) Has anyone done this for Jserv or any another engine?

--
Peter Pilgrim
G.O.A.T
                    "The Greatest of All Time"



--

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.

___________________________________________________________________________
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

___________________________________________________________________________
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





--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

___________________________________________________________________________
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