Re: Way to reload struts Action classes in WebLogic8.1

2004-05-03 Thread Craig McClanahan
Michael McGrady wrote: At 11:40 PM 5/2/2004, Craig McClanahan wrote: Michael McGrady wrote: Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-03 Thread Michael McGrady
At 11:40 PM 5/2/2004, Craig McClanahan wrote: Michael McGrady wrote: Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does that make? If someone w

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-03 Thread Michael McGrady
Thanks for sticking with this "half-assed" idea for a bit, Craig. All this says, if I understand you, and I am fairly sure I do, is that if you change some class and have no way to reload it, without the container reloading then you have a problem unless you do something about it. That is to b

RE: Way to reload struts Action classes in WebLogic8.1

2004-05-03 Thread Andrew Hill
lassloader replaceClass() call? As for all this being out of struts scope Im definately +1 on that! -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, 3 May 2004 14:41 To: Struts Users Mailing List Subject: Re: Way to reload struts Action classes in WebLo

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig McClanahan
Michael McGrady wrote: Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does that make? If someone wants to hot deploy them, they can redesign the

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig McClanahan
Michael McGrady wrote: This is more of a passing interest of mine, so I will pursue a bit more, if you continue an interest. I have an application that needs to do this from afar on multiple and untrackable sites. So, the bouncing the server idea just won't work for me. I need this to happe

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
Thanks for sharing that, Pedro. I think it is good stuff too. At 05:16 PM 5/2/2004, Pedro Salgado wrote: On 04/05/02 23:50, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > This is more of a passing interest of mine, so I will pursue a bit more, if > you continue an interest. I have an applicatio

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
Isn't it true, Craig, that this is not a problem for hot deploy of the classes that do this. If you have other classes that do not do this, then they cannot be hot deployed. But, what difference does that make? If someone wants to hot deploy them, they can redesign the class. The more I thi

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Pedro Salgado
On 04/05/02 23:50, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > This is more of a passing interest of mine, so I will pursue a bit more, if > you continue an interest. I have an application that needs to do this from > afar on multiple and untrackable sites. So, the bouncing the server idea >

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
This is more of a passing interest of mine, so I will pursue a bit more, if you continue an interest. I have an application that needs to do this from afar on multiple and untrackable sites. So, the bouncing the server idea just won't work for me. I need this to happen without exchanging cla

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Craig R. McClanahan
Michael McGrady wrote: To expand (part question and part statement): Suppose: 1. We made an interface, Action, which the present Struts Action (renamed, say, "ActionImpl") implemented. 2. We created a daemon ActionFactory which loaded actions from outside the CLASSPATH using a URLClassloader

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-02 Thread Michael McGrady
To expand (part question and part statement): Suppose: 1. We made an interface, Action, which the present Struts Action (renamed, say, "ActionImpl") implemented. 2. We created a daemon ActionFactory which loaded actions from outside the CLASSPATH using a URLClassloader, etc., and which did no

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-01 Thread Michael McGrady
Isn't the trick to load the classes with a classloader that does not require you to reload the entire webapp? This is a combination question and statement. I am interested in this issue and want to find a way to load classes in a webapp which will be workable. I am thinking of the stuff that

Re: Way to reload struts Action classes in WebLogic8.1

2004-05-01 Thread Craig R. McClanahan
Inamdar, Anil - Cons wrote: Hello, Is there a way to reload Actions in Weblogic without redeploying the web application. No. Java provides no way to replace a class (loaded by a particular class loader) with a modified version, without throwing away the entire class loader. That's what normall