• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

How to reload an ini file without restarting weblogic 7.0 ??

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using an .ini file to supply the data required for testing. The java Class file will read the .ini file and make appropriate assignments in the EJB client. If I change the data in the .ini file i need to restart the server to make this change reflect during the client assignments. Is there any way to avoid this restarting of the server so that the changes made to the .ini file will get dynamically reflected in the proces..
Thanks in advance
Balaji.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
1 You can pack the .ini and classes into a .jar or .war file, each time you modified the .ini, you need to pack them again and redeploy the pack.
or
2 Directly moidfy the .ini in your pack and redeploy the pack.
or
(I am not sure whether this will work out, but servlet reload .ini in this way)
3 put you .ini file in your bean (or bean container ) working directoy, redeploy the bean classes.
I think the .ini file only can be read during component initial time, so each time you modify your .ini file, youneed to redeploy the component
Howard
 
Can't .... do .... plaid .... So I did this tiny ad instead:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic