struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <>
Subject Re: Way to reload struts Action classes in WebLogic8.1
Date Sun, 02 May 2004 05:43:23 GMT
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 has been discussed in books on container programming in Java.

At 10:15 PM 5/1/2004, Craig R. McClanahan wrote:
>Inamdar, Anil - Cons wrote:
>>Is there a way to reload Actions in Weblogic without redeploying the web
>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 normally happens when you reload a webapp.
>>I have the servlet reloading enabled , but weblogic doesnt seem to recognize
>>the changes to the Action classes and throws a ClassCastException.
>>So every small change I make, I have to redeploy the Web app which makes the
>>whole development process slow.
>I don't know about Weblogic, but Sun's app servers (and Tomcat) have 
>"reload" options that are *much* faster than the undeploy/redeploy cycle 
>it sounds like you are using.  Check the docs.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message