Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Dynamic class loader for adapters : Modifying the JAR files

Modifying the JAR files

When a JAR file is loaded by BP Server, some operating systems like Windows do not allow updating that JAR file. However, you can update the JAR file as follows:
1. Copy the JAR file to a new location.
2. Update the JAR file in the new location.
3. Copy the JAR file back to the previous location.
For example, to update OEBPS_HOME\ebmsapps\common\lib\common_class.jar,
*Copy OEBPS_HOME\ebmsapps\common\lib\common_class.jar to OEBPS_HOME\tmp folder.
*Execute the command: jar –uvf OEBPS_HOME\tmp\common_class.jar NewClass.class
*Copy OEBPS_HOME\tmp\common_class.jar back to OEBPS_HOME\ebmsapps\common\lib folder.