Re: Silent runtime replace of a class

2005-07-08 Thread Gal Robert
Thanky you very much, for your long answer. It seems, your theory is absolutely correct, I even found an article with detailed information about setting up a high availability Tomcat; here it is: http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-tomcat.html --robert Peter Crowther wrote:

RE: Silent runtime replace of a class

2005-07-08 Thread Peter Crowther
From: Gal Robert [mailto:[EMAIL PROTECTED] Thanky you very much, for your long answer. No problem. It seems, your theory is absolutely correct, I even found an article with detailed information about setting up a high availability Tomcat; here it is:

RE: Silent runtime replace of a class

2005-07-06 Thread Peter Crowther
From: Gal Robert [mailto:[EMAIL PROTECTED] Often happens, that we must correct a little error in business logic. In these cases we usually patch a class file, and replace it in the application, then redeploy it. From your (and other) responses it seems, there's no correct way to do such a

Re: Silent runtime replace of a class

2005-07-05 Thread delbd
This is tricky. Concerning jsp, you can simply replace old jsp with new one, they'll get recompiled. But what do you mean by replacing a class without affecting user work? This is practically impossible to do, because you can't change the class of an existing instance, all you can do is load

Re: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Gal Robert [EMAIL PROTECTED] wrote: Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime,

RE: Silent runtime replace of a class

2005-07-05 Thread Peter Crowther
From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. That's a very broad requirement, and may not be achievable in its full form. Does this mean that users must

RE: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Peter Crowther [EMAIL PROTECTED] wrote: From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. snip/ You'll could place the context.xml in either the

Re: Silent runtime replace of a class

2005-07-05 Thread Gal Robert
I'll give you the user- requirement, to understand better the problem: pre-defined subsystems or modules should be upgraded or patched without interfering/interrupting system usage (defined by the supplier). Often happens, that we must correct a little error in business logic. In these cases

Re: Silent runtime replace of a class

2005-07-05 Thread Charles Meier
This article may help... http://www.fawcette.com/javapro/2002_09/magazine/columns/proshop/ Gal Robert wrote: Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war