Application gets automatically undeployed after OC4J container restart

Whenever we were restarting the OC4J Container , we observed that some of the applications automatically gets undeployed and are not visible in enterprise manager console.We found below errors in the container logs which are due to the wrong entries in server.xml and default-website.xml file Then we deleted those physical appliation folders from the $OH/j2ee/testoc4j/applications and restarted the container and then deployed the J2EE applications again. It worked even after the restart.


Issue :- opmn referreing to wrong entries in server.xml and default-website.xml file.

Solution :- Delete application folders from $OH/j2ee/testoc4j/applications and redeployed the applications.

#############


09/06/21 17:27:13 [SEVERE]: Error instantiating application at file $OH/j2ee/testoc4j/applications/test.ear: Unable to get A


pplicationConfig for test1 : Error creating deployment directory: IO Error: error in opening zip file


09/06/21 17:27:13 [SEVERE]: Error instantiating application at file/j2ee/testoc4j/applications/test1.ear:


Unable to get ApplicationConfig for test1 : Error creating deployment directory: IO Er


ror: error in opening zip file


09/06/21 17:27:13 [SEVERE]: Error instantiating application at file/j2ee/testoc4j/applications/test2.ear


: Unable to get ApplicationConfig for test2: Error creating deployment directory: IO Er


ror: error in opening zip file


09/06/21 17:27:13 [SEVERE]: Error instantiating application at file/j2ee/testoc4j/applications/test4.ear: Unable to get Appl


icationConfig for test4 : Error creating deployment directory: IO Error: error in opening zip file


09/06/21 17:27:13 [SEVERE]: cannot update a configuration file because configuration parsing is failed. please correct the problem and restart


oc4j.

############

Comments

Iran Vasquez said…
Hi,
You find really what's the problem?
I have this and I can't resolve :(
Thanks.
Vinay Singla said…
just follow the steps provided.

Popular posts from this blog

jstatd error : Could not create remote object : access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)

Weblogic server is not starting up ; java.lang.AssertionError

ORA-22990: LOB locators cannot span transactions