2 Replies Latest reply: Jun 23, 2014 8:37 AM by rohanwalia RSS

    Deploying ADF Application to Apache Tomcat

    92180189-65a4-42b1-858e-d53bb6019e8e

      I am using Jdeveloper 11.1.2.2.0 and Tomcat 8.0.8 .

       

      while deploying ADF application,I am getting following exceptions:

       

      18-Jun-2014 10:24:10.432 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MDPT]]

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704)

              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

              at java.util.concurrent.FutureTask.run(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

              at java.lang.Thread.run(Unknown Source)

       

      Caused by: java.lang.NoClassDefFoundError: Ljavax/faces/application/ProjectStage

      ;

              at java.lang.Class.getDeclaredFields0(Native Method)

              at java.lang.Class.privateGetDeclaredFields(Unknown Source)

              at java.lang.Class.getDeclaredFields(Unknown Source)

              at org.apache.catalina.util.Introspection.getDeclaredFields(Introspectio

      n.java:106)

              at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(Web

      AnnotationSet.java:261)

              at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAn

      notations(WebAnnotationSet.java:140)

              at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotatio

      ns(WebAnnotationSet.java:66)

              at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfi

      g(ContextConfig.java:332)

              at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfi

      g.java:771)

              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi

      g.java:303)

              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl

      eSupport.java:117)

              at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa

      se.java:90)

              at org.apache.catalina.core.StandardContext.startInternal(StandardContex

      t.java:5069)

              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

              ... 11 more

      Caused by: java.lang.ClassNotFoundException: javax.faces.application.ProjectStag

      e

              at java.net.URLClassLoader$1.run(Unknown Source)

              at java.net.URLClassLoader$1.run(Unknown Source)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              ... 25 more

       

       

      18-Jun-2014 10:24:10.460 SEVERE [localhost-startStop-1] org.apache.catalina.star

      tup.HostConfig.deployWAR Error deploying web application archive C:\apache-tomca

      t\apache-tomcat-8.0.8\webapps\MDPT.war

      java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.cata

      lina.LifecycleException: Failed to start component [StandardEngine[Catalina].Sta

      ndardHost[localhost].StandardContext[/MDPT]]

              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase

      .java:727)

              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70

      0)

              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)

       

       

              at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)

       

       

              at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:

      1704)

              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

              at java.util.concurrent.FutureTask.run(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

              at java.lang.Thread.run(Unknown Source)

       

      please help me to solve this issue