Wes,

On Mon, Mar 30, 2009 at 7:23 PM, Wesley Acheson
<wesley.ache...@gmail.com> wrote:
>
> It was because of the SSL stuff I haven't learnt how to set up SSL with
> tomcat.
>

I'm curious: What's the benefit having Tomcat run in SSL-mode for
Servlet / JDP-development?

> Okay but as far as I know when you make any trivial change in eclipse, It
> builds an entire WAR file and restarts its tomcat instance which means lost
> sessions really annoying if your working on the forth step of a 4 step
> process. and also it means Its slow to develop.

That's definately wrong. Eclipse won't restart Tomcat but will
re-deploy the war-file.

I'm not too sure about the next one. I remeber that here's a
discussion going on here about losing sessions during re-deplyment:

AFAIK a session is only lost after you stop an application - not
during redeployment.

However, there's a small catch:

If you change the class which is added to a session as a
sesson-attribute, I'm pretty much sure that the session will be lost,
since deserializing the session-data might not work any more.

Maybe one of the guys here can shed some more light how it's /supposed/ to be.

There's an interesting thread here on the list regarding the loss of
sessions during re-deployment which some consider a bug, and there's
even a workaround for that bug:

http://www.nabble.com/Session-lost-when-app.-is-redeployed-td22660549.html

My personal oppinion:

When I re-deploy a webapp (and the webapp is changed!), a session
/must/ be lost, otherwise serialization / de-serialization of
session-data might end up somewhere in Nirvana.

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to