• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

how can i change jar files without restarting Weblogic 5.1

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I m working with Weblogic 5.1.In its startWeblogic batch file i point the POST_CLASSPATH to a jar file.Now whenever i modify the jar file i require to restart the WL server. Is there nyway to avoid this step??? My main priority is to avoid restarting weblogic.
Actually my pages use some java classes.Those classes i put into a jar file and point the POST_CLASSPATH(WL) to the jar file.
Any suggestion is most welcome...in advance THANKS....
-Sunil
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sunil
Anything that is in the Weblogic Classpath needs a restart . However if you try to deploy the library within your application you need to redeploy the application for the new changes to take affect.
Br
Rahul
 
Sunil Trivedi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rahul Mahindrakar:
Hi Sunil
Anything that is in the Weblogic Classpath needs a restart . However if you try to deploy the library within your application you need to redeploy the application for the new changes to take affect.
Br
Rahul


Hi Rahul
Thanks a lot for ur reply. I v not clear with ur suggestion. I tell u wat i m doing currently..
My weblogic root path is : /weblogic/myserver/v5webapps/mywebapp/
under mywebapp i v my working folder(CPT) and WEB-INF also.In CPT i v my one "lib" folder where i m keeping my jar files(that contains only java classes, these classes are mainly used for serviceing JSP page). In weblogic startWeblogic.sh file, i set POST_CLASSPATH to /CPT/lib/cpt.jar;
So whenever i modified my jar file i require to restart the WL server.It's correct. Also I put my jar file inside WEB-INF/lib folder, even it didnt work.
Here i want to remind u that i m working with WL 5.1.
How could i solve this problem....is there any other way to resolve it..??
Once again thanks for ur suggestion....i'll forward ur reply
With regards
Sunil
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sunil
Checked up the 5.1 documentation and found this doc
http://www.weblogic.com/docs51/techdeploy/hotdeploy.html
I am not sure if the Hot Deploy option redeploys .jar files in the lib of you web application. You will need to dig further in documentation.
Its been such a long time that I have worked on 5.1 that I seem to have forgotton how it worked!!
Any how do get back if you want any suggestions
 
Are you okay? You look a little big. Maybe this tiny ad will help:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic