0 Replies Latest reply: Jun 18, 2012 7:34 AM by 943709 RSS

    Unable to deploy portlet into standalone oc4j

    943709
      Hi,

      I am very new to the portal development and I have been following the portal development/deployment instructions given on oracle for developing a Struts based portlet.

      I have created the a new application server connection to the standalone oc4j 10g 10.1.3 and I have also created the deployment profile.

      But when I try to deploy my application to this standalone connection I always receive the following error. Please help me find a solution for this as I have no idea why this is happening:

      java.io.IOException: The process cannot access the file because another process has locked a portion of the file
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(FileInputStream.java:194)
      at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
      at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
      at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
      at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
      at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
      at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
      at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
      at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
      *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/Oc4jJmsExceptionQueue'. Skipping this entry.
      java.io.IOException: The process cannot access the file because another process has locked a portion of the file
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(FileInputStream.java:194)
      at oracle.jdevimpl.deploy.JarUtil.initStoredZipEntry(JarUtil.java:999)
      at oracle.jdevimpl.deploy.JarUtil.writeJarFile(JarUtil.java:720)
      at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:210)
      at oracle.jdevimpl.deploy.war.WarDeployer.deploy(WarDeployer.java:67)
      at oracle.jdevimpl.deploy.ModulePackager.deploy(ModulePackager.java:139)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
      at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:84)
      at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:71)
      at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
      at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:67)
      at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:53)
      *** Warning: Caught class java.io.IOException while trying to process jar entry whose URL of origin is 'file:/C:/jdevstudio10133/j2ee/home/persistence/jms.state'. Skipping this entry.