1 Reply Latest reply: Oct 17, 2007 6:14 PM by 603836 RSS

    deploying oc4j ear file from eclipse 3.3 wtp 2.0 to oc4j 10.1.3.3 fails

    603836
      Hi,
      I am trying to deploy a oc4j ear file from eclipse IDE 3.3 (WTP 2.0) to oc4j 10.1.3.3 standalone instance and am getting the following exception. Do I need to modify any of the ant deploy xml files in eclipse 3.3 plugin directory for oc4j? Can some one shed some lignt on this?

      thanks,
      regards,
      Thayu

      07/10/17 14:51:01      at java.lang.Thread.run(Thread.java:595)
      2007-10-17 14:51:01.533 NOTIFICATION Application Deployer for csEAR FAILED.
      2007-10-17 14:51:01.533 NOTIFICATION Application UnDeployer for csEAR STARTS.
      2007-10-17 14:51:02.464 NOTIFICATION Removing all web binding(s) for application csEAR from all web site(s)
      2007-10-17 14:51:08.002 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /cs/index.jsp: Line # 1, <%@include file="/page/inc/tag_inc.jsp"%>
      Error: Include file not found: /page/inc/tag_inc.jsp
      07/10/17 14:51:11 WARNING: ApplicationUnDeployer.removeFiles WARNING: Unable to remove appDir C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR : Unable to remove C:\oracle\oc4j10.1.3\j2ee\home\applications\csEARjava.io.IOException: Unable to remove C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR
           at oracle.oc4j.util.FileUtils.recursiveRemove(FileUtils.java:258)
           at oracle.oc4j.admin.internal.ApplicationUnDeployer.removeFiles(ApplicationUnDeployer.java:146)
           at oracle.oc4j.admin.internal.ApplicationUnDeployer.doUndeploy(ApplicationUnDeployer.java:117)
           at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:91)
           at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:72)
           at oracle.oc4j.admin.internal.ApplicationDeployer.undo(ApplicationDeployer.java:227)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:125)
           at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
           at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
           at java.lang.Thread.run(Thread.java:595)

      07/10/17 14:51:11 WARNING: DeployerRunnable.run nulloracle.oc4j.admin.internal.DeployerException
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
           at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
           at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
           at java.lang.Thread.run(Thread.java:595)

      2007-10-17 14:51:11.267 NOTIFICATION Application UnDeployer for csEAR COMPLETES.
        • 1. Re: deploying oc4j ear file from eclipse 3.3 wtp 2.0 to oc4j 10.1.3.3 fails
          603836
          Hi,
          I am trying to deploy a oc4j ear file from eclipse
          IDE 3.3 (WTP 2.0) to oc4j 10.1.3.3 standalone
          instance and am getting the following exception. Do
          I need to modify any of the ant deploy xml files in
          eclipse 3.3 plugin directory for oc4j? Can some one
          shed some lignt on this?

          thanks,
          regards,
          Thayu

          07/10/17 14:51:01      at
          java.lang.Thread.run(Thread.java:595)
          2007-10-17 14:51:01.533 NOTIFICATION Application
          Deployer for csEAR FAILED.
          2007-10-17 14:51:01.533 NOTIFICATION Application
          UnDeployer for csEAR STARTS.
          2007-10-17 14:51:02.464 NOTIFICATION Removing all web
          binding(s) for application csEAR from all web
          site(s)
          2007-10-17 14:51:08.002 NOTIFICATION J2EE JSP-0008
          Unable to dispatch JSP Page :
          Exception:oracle.jsp.parse.JspParseException:
          /cs/index.jsp: Line # 1, <%@include
          file="/page/inc/tag_inc.jsp"%>
          Error: Include file not found: /page/inc/tag_inc.jsp

          07/10/17 14:51:11 WARNING:
          ApplicationUnDeployer.removeFiles WARNING: Unable to
          remove appDir
          C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR :
          Unable to remove
          C:\oracle\oc4j10.1.3\j2ee\home\applications\csEARjava.
          io.IOException: Unable to remove
          C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR
          at
          t
          oracle.oc4j.util.FileUtils.recursiveRemove(FileUtils.j
          ava:258)
          at
          t
          oracle.oc4j.admin.internal.ApplicationUnDeployer.remov
          eFiles(ApplicationUnDeployer.java:146)
          at
          t
          oracle.oc4j.admin.internal.ApplicationUnDeployer.doUnd
          eploy(ApplicationUnDeployer.java:117)
          at
          t
          oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDe
          ployerBase.java:91)
          at
          t
          oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDe
          ployerBase.java:72)
          at
          t
          oracle.oc4j.admin.internal.ApplicationDeployer.undo(Ap
          plicationDeployer.java:227)
          at
          t
          oracle.oc4j.admin.internal.DeployerBase.execute(Deploy
          erBase.java:125)
          at
          t
          oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploye
          rRunnable.doRun(OC4JDeployerRunnable.java:52)
          at
          t
          oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRun
          nable.run(DeployerRunnable.java:81)
          at
          t
          com.evermind.util.ReleasableResourcePooledExecutor$MyW
          orker.run(ReleasableResourcePooledExecutor.java:298)
               at java.lang.Thread.run(Thread.java:595)

          07/10/17 14:51:11 WARNING: DeployerRunnable.run
          nulloracle.oc4j.admin.internal.DeployerException
          at
          t
          oracle.oc4j.admin.internal.DeployerBase.execute(Deploy
          erBase.java:126)
          at
          t
          oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploye
          rRunnable.doRun(OC4JDeployerRunnable.java:52)
          at
          t
          oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRun
          nable.run(DeployerRunnable.java:81)
          at
          t
          com.evermind.util.ReleasableResourcePooledExecutor$MyW
          orker.run(ReleasableResourcePooledExecutor.java:298)
               at java.lang.Thread.run(Thread.java:595)

          2007-10-17 14:51:11.267 NOTIFICATION Application
          UnDeployer for csEAR COMPLETES.
          Here is the complete deploy information trace:
          07/10/17 16:06:35 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
          2007-10-17 16:06:49.148 NOTIFICATION Application Deployer for csEAR STARTS.
          2007-10-17 16:06:49.168 NOTIFICATION Copy the archive to C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear
          2007-10-17 16:06:49.178 NOTIFICATION Can't move uploaded file c:\Temp\dir49874tmp\csEAR.ear to C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear
          2007-10-17 16:06:49.178 NOTIFICATION Maybe the uploaded file is mounted on different disk than the destination. You can try -Djava.io.tmpdir for oc4j.jar.
          2007-10-17 16:06:49.178 NOTIFICATION Move operation failed: Can't move uploaded file c:\Temp\dir49874tmp\csEAR.ear to C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear. Try to copy the file then.
          2007-10-17 16:06:49.368 NOTIFICATION Initialize C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear begins...
          2007-10-17 16:06:49.368 NOTIFICATION Auto-unpacking C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear...
          2007-10-17 16:06:49.368 NOTIFICATION Unpacking csEAR.ear
          2007-10-17 16:06:49.378 NOTIFICATION Unjar C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear in C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR
          2007-10-17 16:06:53.674 NOTIFICATION Done unpacking csEAR.ear
          2007-10-17 16:06:53.674 NOTIFICATION Finished auto-unpacking C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear
          2007-10-17 16:06:53.684 NOTIFICATION Auto-unpacking C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR\cs.war...
          2007-10-17 16:06:53.684 NOTIFICATION Unpacking cs.war
          2007-10-17 16:06:53.704 NOTIFICATION Unjar C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR\cs.war in C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR\cs
          2007-10-17 16:07:10.038 NOTIFICATION Done unpacking cs.war
          2007-10-17 16:07:10.038 NOTIFICATION Finished auto-unpacking C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR\cs.war
          2007-10-17 16:07:10.048 NOTIFICATION Initialize C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR.ear ends...
          2007-10-17 16:07:10.048 NOTIFICATION Starting application : csEAR
          2007-10-17 16:07:10.048 NOTIFICATION Initializing ClassLoader(s)
          2007-10-17 16:07:10.048 NOTIFICATION Initializing EJB container
          2007-10-17 16:07:10.048 NOTIFICATION Loading connector(s)
          2007-10-17 16:07:10.079 NOTIFICATION Starting up resource adapters
          2007-10-17 16:07:10.079 NOTIFICATION Initializing EJB sessions
          2007-10-17 16:07:10.079 NOTIFICATION Committing ClassLoader(s)
          2007-10-17 16:07:10.079 NOTIFICATION Initialize cs begins...
          2007-10-17 16:07:10.099 NOTIFICATION Initialize cs ends...
          2007-10-17 16:07:10.109 NOTIFICATION Started application : csEAR
          2007-10-17 16:07:10.119 NOTIFICATION Binding web application(s) to site default-web-site begins...
          2007-10-17 16:07:10.119 NOTIFICATION Binding cs web-module for application csEAR to site default-web-site under context root cs
          07/10/17 16:07:12 oracle.oc4j.admin.internal.DeployerException
          07/10/17 16:07:12      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
          07/10/17 16:07:12      at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
          07/10/17 16:07:12      at com.onefbusa.subsystem.cs.startup.Log4jStarter.init(Log4jStarter.java:56)
          07/10/17 16:07:12      at com.onefbusa.subsystem.cs.startup.Initializer.contextInitialized(Initializer.java:74)
          07/10/17 16:07:12      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
          07/10/17 16:07:12      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
          07/10/17 16:07:12      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
          07/10/17 16:07:12      at com.evermind.server.Application.getHttpApplication(Application.java:570)
          07/10/17 16:07:12      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
          07/10/17 16:07:12      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
          07/10/17 16:07:12      at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
          07/10/17 16:07:12      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
          07/10/17 16:07:12      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
          07/10/17 16:07:12      at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
          07/10/17 16:07:12      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
          07/10/17 16:07:12      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
          07/10/17 16:07:12      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
          07/10/17 16:07:12      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
          07/10/17 16:07:12      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
          07/10/17 16:07:12      at java.lang.Thread.run(Thread.java:595)
          2007-10-17 16:07:12.843 NOTIFICATION Application Deployer for csEAR FAILED.
          2007-10-17 16:07:12.843 NOTIFICATION Application UnDeployer for csEAR STARTS.
          2007-10-17 16:07:13.874 NOTIFICATION Removing all web binding(s) for application csEAR from all web site(s)
          2007-10-17 16:07:16.358 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: C:\oracle\oc4j10.1.3\j2ee\home\default-web-app\cs\index.jsp (The system cannot find the path specified)
          07/10/17 16:07:20 WARNING: ApplicationUnDeployer.removeFiles WARNING: Unable to remove appDir C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR : Unable to remove C:\oracle\oc4j10.1.3\j2ee\home\applications\csEARjava.io.IOException: Unable to remove C:\oracle\oc4j10.1.3\j2ee\home\applications\csEAR
               at oracle.oc4j.util.FileUtils.recursiveRemove(FileUtils.java:258)
               at oracle.oc4j.admin.internal.ApplicationUnDeployer.removeFiles(ApplicationUnDeployer.java:146)
               at oracle.oc4j.admin.internal.ApplicationUnDeployer.doUndeploy(ApplicationUnDeployer.java:117)
               at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:91)
               at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:72)
               at oracle.oc4j.admin.internal.ApplicationDeployer.undo(ApplicationDeployer.java:227)
               at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:125)
               at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
               at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
               at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
               at java.lang.Thread.run(Thread.java:595)

          2007-10-17 16:07:20.764 NOTIFICATION Application UnDeployer for csEAR COMPLETES.
          07/10/17 16:07:20 WARNING: DeployerRunnable.run nulloracle.oc4j.admin.internal.DeployerException
               at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
               at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
               at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
               at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
               at java.lang.Thread.run(Thread.java:595)