My Oracle Support Banner

Oc4j Server.Xml Not Updated Where There's an Invalid EAR File After Deployment And Recycle (Doc ID 881208.1)

Last updated on OCTOBER 28, 2021

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.


When an application is deployed where the server.xml file already contains a name of an invalid EAR, it will not show any new deployments.

Steps to Reproduce

Oracle Application Server
OC4J Instance: Tars

Using JDeveloper do:

- Create 2 workspaces - App1 and App2
- Just create an HTML file in each of the Apps
- Create 2 EAR files - 1 for each app.
- App1
- Change EAR file to App1.ear
- Change application name to App1
- App2
- Change EAR file to App2.ear
- Change application name to App2
- Deploy App1 to an application server 
- Edit $ORACLE_HOME/j2ee/Tars/config/server.xml
- It contains the following line:

=> notice "XApp1.ear" file does not exist

- stop/start OAS

- From JDeveloper deploy App2 to the same application server
- Look at server.xml
### New deployment file does not appear in there





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.