One note though : We did the migration, but there is a catch. The response
object behaves differently. If you do a resp.sendRedirect("") (this empty),
the servlet will call itself without any parameters, which can have very
strange result. So make sure you always redirect to something else than
empty.
Mvgr,
Martin
> -----Original Message-----
> From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 3:48 AM
> To: [EMAIL PROTECTED]; Jan Labanowski; [EMAIL PROTECTED]
> Subject: Re: quick & clean jserv to tomcat/modjk migration?
>
>
> Migration from jserv and servlet spec 2.0 IS NOT EASY!!! (unless you
> have 2 servlets and one html page). So you cannot do it quick.
> If you have disk space, you can just COPY all stuff you have
> to new directories, and install apache and tomcat to run on other
> ports that what you use now (probably 80(http), 443(https), 8007(jserv).
> Just install latest greatest 1.3.20 apache, change in httpd.conf
> the 443 to 9443, 80 9080, and use 9007 for ajp12 (and 9008 for ajp13).
>
> Then you will test everything, and when things work, you will just
> kill your new setup, change your config files to standard ports,
> kill the previous install of apache/JServ and start the new setup.
> And with a bit of luck your downtown will be 30 seconds or less.
>
>
> On Mon, 21 May 2001, thibaut colar wrote:
>
> > Hi,
> > I would like to upgrade some of our servers from
> > apache / jserv
> > to
> > tomcat 3.3 (and 4 soon) + mod-jk
> > because we want good jsp reloading, faster apjv13 protocol, Velocity ...
> >
> > Now the question is:
> > Is it possible to migrate those server without much down time,
> > Some of those server are on quite heavy load (up to 200.000
> request /Day),
> > some of them use virtual hosting.
> > We don't have a high performance spare server at this time, so
> we need to
> > make a quick and clean migration.
> >
> > It is pretty easy to install a fresh apache/tomcat,
> > but is it easy to migrate without getting any conflict between
> jserv and jk ?
> > Is there a document explaining how to migrate step by step to
> avoid conflicts,
> > and make it clean.
> >
> > Did some of you already do that, do you have specific recommandations ?
> >
> > Thank you.
> >
> > ***************************************
> > Thibaut Colar ([EMAIL PROTECTED])
> > Lead Java Developer
> > Qarbon.com
> > 84 West Santa Clara st.
> > Suite 890, San jose. 95113 CA.
> > http://www.qarbon.com/
> > T: 408 792 3800 x 227
> > ***************************************
> >
>
> Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
> Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
> 1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
> Columbus, OH 43212-1163 | http://www.osc.edu/
>
>