Is there a workaround to allow the WebLogic 6 deployment descriptor xml file (weblogic-ejb-jar.xml) to not be regenerated?

By: Christopher Moeller

Abstract: Workaround for preserving changes to the WebLogic 6 deployment descriptor xml file.


Question:


WebLogic 6 deployment descriptor xml file (weblogic-ejb-jar.xml) gets regenerated by JBuilder 5, but I need to make changes to it that persist. Is there a workaround for this issue?

 
Answer:


Workaround:

1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your project directory.

2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.

3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file and swap in the weblogic-ejb-jar.xml file.

 

Server Response from: ETNASC04