Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading the newly created class at runtime

 
Harish Malavade
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hot deployment? I am not sure about how to enable this option in weblogic, just check.
 
Harish Malavade
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply Seetharaman...ya kind of hot deployment...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic