3 Replies Latest reply on Jun 5, 2008 5:18 PM by 468952

    Oc4j stanalone

    soso_xuc
      Hi all

      using Jdev tp4 and oc4j tp4 stanalone.

      i have tried to deploy on clean installations with different java version but with no results.

      have anyone deployed on OC4J TP4 ?

      from the error log is seen that deployment starts normally but is terminated due some error.

      does anyone have any idea what i miss ?
      it there any good menual deployng on oc4j ?
      can anyone help me ?

      here comes error log.




      ---- Deployment started. ---- Jun 2, 2008 3:12:17 PM
      Target platform is (Standalone OC4J 11g).
      Running dependency analysis...
      Building...
      Wrote WAR file to C:\JDeveloper\mywork\Application12\test\deploy\webapp1.war
      Wrote EAR file to C:\JDeveloper\mywork\Application12\test\deploy\webapp1.ear
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Uploading file webapp1.ear ...
      Application Deployer for webapp1 STARTS.
      Copy the archive to C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear
      Initialize C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear begins...
      Unpacking webapp1.ear
      Done unpacking webapp1.ear
      Unpacking webapp1.war
      Done unpacking webapp1.war
      Initialize C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear ends...
      Starting application : webapp1
      Initializing ClassLoader(s)
      application : webapp1 is in failed state
      Operation failed with error:
      oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: webapp1 is in failed state as initialization failed
           at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
           at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
           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:82)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
           at java.lang.Thread.run(Thread.java:595)
      Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: webapp1 is in failed state as initialization failed
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
           ... 5 more
      Caused by: java.lang.InstantiationException: Application: webapp1 is in failed state as initialization failed
           at com.evermind.server.Application.setConfig(Application.java:636)
           at com.evermind.server.Application.setConfig(Application.java:433)
           at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
           at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
           at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:210)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
           ... 5 more
      Caused by: java.lang.InstantiationException: Import was not resolved for webapp1.root:0.0.0: shared library "adf.oracle.domain" could not be found.
           at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
           at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
           at com.evermind.server.Application.setConfig(Application.java:538)
           ... 10 more
      Caused by: oracle.oc4j.loader.config.ConfigurationException: Import was not resolved for webapp1.root:0.0.0: shared library "adf.oracle.domain" could not be found.
           at oracle.oc4j.loader.config.ClassLoaderFactory.handleSharedLibraryNotFound(ClassLoaderFactory.java:706)
           at oracle.oc4j.loader.config.ClassLoaderFactory.getSharedLibraryToImport(ClassLoaderFactory.java:651)
           at oracle.oc4j.loader.config.ClassLoaderFactory.getImportedSharedLibraries(ClassLoaderFactory.java:529)
           at oracle.oc4j.loader.config.ClassLoaderFactory.addImportedSharedLibraries(ClassLoaderFactory.java:486)
           at oracle.oc4j.loader.config.ClassLoaderFactory.createApplicationLoader(ClassLoaderFactory.java:458)
           at com.evermind.server.ApplicationStateRunning.createClassLoader(ApplicationStateRunning.java:1353)
           at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1362)
           ... 12 more
      #### Deployment incomplete. #### Jun 2, 2008 3:12:48 PM
      Deployment Failed