Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » oc4j plugin
oc4j plugin [message #197990] Wed, 08 August 2007 19:02
Eclipse UserFriend
Originally posted by:

I am running Windows XP, Stand-alone OC4J, 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.

007-08-01 11:16:14.786 NOTIFICATION Application Deployer for J2EEEval-ear
07/08/01 11:16:14 SEVERE: ApplicationDeployer.removeFiles ERROR: Unable to
remove appDir D:\Java\ocj4_101330\j2ee\home\applications\J2EEEval-ear :
Unable to remove
D:\Java\ocj4_101330\j2ee\home\applications\J2EEEval-earjava. io.IOException:
Unable to remove D:\Java\ocj4_101330\j2ee\home\applications\J2EEEval-ear
at oracle.oc4j.util.FileUtils.recursiveRemove( 8)

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

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

<target name="deploy.j2ee.ear" depends="check.skip.ear.deploy"
<antcall target="package.module.ear"/>
<oracle:redeploy deployerUri="${deployer.uri}"

Does anyone have any ideas (e.g. is it my environment, known bug, work
around, etc.).
Previous Topic:Support for WebSphere 6.1 in Eclipse 3.3 EE
Next Topic:org.eclipse.wst.rdb.models.sql.edit dependency for update - WHY?
Goto Forum:

Current Time: Thu Apr 15 12:29:30 GMT 2021

Powered by FUDForum. Page generated in 0.02060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top