3 Replies Latest reply on Aug 22, 2008 10:16 PM by Leigh Miller-Oracle

    error deploying to standalone oc4j 11g tp4

    455493
      Hi,

      I am trying to deploy a application from jdeveloper 11 tp4 to oc4j 11 tp4 standalone. But keep getting a deployment error. I think this error has something to do with wrong or missing libraries but don't know where to look. The application uses ejb and ADF Rich Faces.

      Here is the error:
      08/08/14 10:47:48 Notification ==>Application Deployer for our-app STARTS.
      08/08/14 10:47:48 Notification ==>Copy the archive to path\our-app.ear
      08/08/14 10:47:48 Notification ==>Initialize path\our-app.ear begins...
      08/08/14 10:47:48 Notification ==>Removing everything under: path
      08/08/14 10:47:48 Notification ==>Unpacking our-app.ear
      08/08/14 10:47:49 Notification ==>Done unpacking our-app.ear
      08/08/14 10:47:49 Notification ==>Unpacking our-app-web.war
      08/08/14 10:47:50 Notification ==>Done unpacking our-app-web.war
      08/08/14 10:47:50 Notification ==>Initialize path\our-app.ear ends...
      08/08/14 10:47:50 Notification ==>Starting application : our-app
      08/08/14 10:47:50 Notification ==>Initializing ClassLoader(s)
      08/08/14 10:47:50 Notification ==>Initializing EJB container
      08/08/14 10:47:50 Notification ==>Loading connector(s)
      08/08/14 10:47:50 Notification ==>Starting up resource adapters
      08/08/14 10:47:50 Notification ==>Processing EJB module: our-app-ebj.jar
      08/08/14 10:47:53 Notification ==>Compiling EJB generated code
      08/08/14 10:47:53 Notification ==>Committing ClassLoader(s)
      08/08/14 10:47:53 Notification ==>Initialize our-app-web begins...
      08/08/14 10:47:53 Notification ==>Initialize our-app-web ends...
      08/08/14 10:47:53 Notification ==>Started application : our-app
      08/08/14 10:47:53 Notification ==>Binding web application(s) to site default-web-site begins...
      08/08/14 10:47:53 Notification ==>Binding our-app-web web-module for application our-app to site default-web-site under context root our-app

      SEVERE: AbstractProgressObjectImpl.reportError oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           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: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
           ... 5 more
      Caused by: java.lang.InstantiationException: The application named, our-app, could not start due to an error.
      java.lang.NullPointerException
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
           at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
           at com.evermind.server.Application.getHttpApplication(Application.java:769)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
           at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
           at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
           at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
           ... 5 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:134)
           at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
           at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
           at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
           ... 17 more
      Caused by: java.lang.NullPointerException
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.createDefaultMBeanAssociationInfo(ADFConnectionLifeCycleCallBack.java:73)
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(ADFConnectionLifeCycleCallBack.java:62)
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:92)
           ... 21 more

      08/08/14 10:47:59 Notification ==>Operation failed with error:
      oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           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: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
           ... 5 more
      Caused by: java.lang.InstantiationException: The application named, our-app, could not start due to an error.
      java.lang.NullPointerException
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
           at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
           at com.evermind.server.Application.getHttpApplication(Application.java:769)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
           at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
           at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
           at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
           ... 5 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:134)
           at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
           at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
           at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
           ... 17 more
      Caused by: java.lang.NullPointerException
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.createDefaultMBeanAssociationInfo(ADFConnectionLifeCycleCallBack.java:73)
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(ADFConnectionLifeCycleCallBack.java:62)
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:92)
           ... 21 more


      oracle.oc4j.admin.deploy.cmdline.AdminCommandException: Deploy error: deploy failed: Operation failed with error:
      oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           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: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
           ... 5 more
      Caused by: java.lang.InstantiationException: The application named, our-app, could not start due to an error.
      java.lang.NullPointerException
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
           at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
           at com.evermind.server.Application.getHttpApplication(Application.java:769)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
           at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
           at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
           at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
           ... 5 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:134)
           at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
           at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
           at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
           ... 17 more
      Caused by: java.lang.NullPointerException
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.createDefaultMBeanAssociationInfo(ADFConnectionLifeCycleCallBack.java:73)
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(ADFConnectionLifeCycleCallBack.java:62)
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:92)
           ... 21 more

           at oracle.oc4j.admin.deploy.cmdline.DeployCommand.doExecute(DeployCommand.java:134)
           at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:58)
           at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
           at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
      Caused by: oracle.oc4j.admin.deploy.api.DeploymentStatusFailedException: deploy failed: Operation failed with error:
      oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           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: The application named, our-app-web ( web module named,
      ) failed to deploy. The application named, our-app, could not start due to an error.
      java.lang.NullPointerExceptionReason: {4}
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
           ... 5 more
      Caused by: java.lang.InstantiationException: The application named, our-app, could not start due to an error.
      java.lang.NullPointerException
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
           at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
           at com.evermind.server.Application.getHttpApplication(Application.java:769)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
           at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
           at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
           at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
           at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
           at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
           at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
           ... 5 more
      Caused by: java.lang.RuntimeException: java.lang.NullPointerException
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:134)
           at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
           at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
           at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
           at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
           ... 17 more
      Caused by: java.lang.NullPointerException
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.createDefaultMBeanAssociationInfo(ADFConnectionLifeCycleCallBack.java:73)
           at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.getConfigObjectMBeanAssociationInfos(ADFConnectionLifeCycleCallBack.java:62)
           at oracle.as.jmx.framework.util.ServletContextListenerSupport.contextInitialized(ServletContextListenerSupport.java:92)
           ... 21 more

           at oracle.oc4j.admin.deploy.shared.exceptions.JSR88DeploymentExceptions.statusFailed(JSR88DeploymentExceptions.java:186)
           at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.commonDeploy(J2EEDeploymentManager.java:598)
           at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.internalDeploy(J2EEDeploymentManager.java:372)
           at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.deploy(J2EEDeploymentManager.java:315)
           at oracle.oc4j.admin.deploy.cmdline.DeployCommand.doExecute(DeployCommand.java:132)
           ... 3 more

      Does anyone have any ideas??

      Thanks, Karin