I am running Windows XP, Stand-alone OC4J 10.1.3.3.0, Eclipse 3.3, WTP 2.0
with the included oc4j plugin. I am having an issue working with this
plugin in terms of deploying an EAR project consisting of an ejb and war.

Upon initially adding the application to the oc4j server, everything is
fine. I can access the application via internet explorer. But, if I
attempt to re-sync the application on the server (e.g. re-deploy), I take
a plug-in error saying ".....unable to find/read
META-INF/application.xml". Further research shows the OC4J log showing the
following error.

It looks like after the application has been deployed via eclipse, when
you want to re-deploy, it first undeploys the existing application but
leaves the ejb jar in the directory in a locked state; thus, the deploy
fails.

I have played around a-bit with the plug-in xml file (e.g.
eclipse\plugins\org.eclipse.jst.server.generic.oc4j_1.5.100. v20070608\buildfiles\oracle.10.1.3.xml).
After the initial deployment, I changed the deploy.j2ee.ear target to
redeploy instead of "deploy" which seems to allow me to re-sync without
error.