• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Loading the newly created class at runtime

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for the reply Seetharaman...ya kind of hot deployment...
 
reply
    Bookmark Topic Watch Topic
  • New Topic