Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Best Practice for applying patches in WL 8.1

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Below is what I did to apply patches to WL 8.1 SP2. Is there a better way?
Best Practice? Thanks in advance.
1) Created directory.
C:\bea\weblogic81\server\lib\patches
2) Copied jar files to patches directory.
CR127930_81sp2.jar
CR124746_81sp2.jar
3) Modified startWebLogic.cmd to include jar files first in the classpath.
set
CLASSPATH=%WL_HOME%\server\lib\patches\CR124746_81sp2.jar;%WL_HOME%\server\l
ib\patches\CR127930_81sp2.jar;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JA
VA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%
4) Restarted server and saw in console that the patches were applied.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think what you did is the correct and clean way.
Just one comment you might want to seperate out the CLASSPATH in a separate script say setEnv.sh and invoke this script from all other scripts for example: start/stop scripts for all admin/amanged servers. That way you don't have to change the CLASSPATH in all the scripts every time you apply a patch.
 
reply
    Bookmark Topic Watch Topic
  • New Topic