| Author |
Loading the newly created class at runtime
|
Harish Malavade
Greenhorn
Joined: Jun 08, 2011
Posts: 5
|
|
Hi,
In my application, I have a war deployed on weblogic server. On some condition i'm replacing the jar say sample.jar with a new sample.jar by adding few more classes to it and placing them inside lib folder of weblogic. I'm invoking ant task programatically to achieve this. The problem is that To load the new classes from sample.jar it expects me to restart the server. Is there any configuration that i have to do to load the newly created classes from jar without restarting the server. I tried loading class using Classloader inside my program that did not work. Please help me out to overcome this problem.
Thanks in advance,
Harish Malavade
(harish.malavade@t-mobile.com)
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
hot deployment? I am not sure about how to enable this option in weblogic, just check.
|
 |
Harish Malavade
Greenhorn
Joined: Jun 08, 2011
Posts: 5
|
|
|
thanks for the reply Seetharaman...ya kind of hot deployment...
|
 |
 |
|
|
subject: Loading the newly created class at runtime
|
|
|