3 Replies Latest reply on May 1, 2007 3:12 PM by Ai Vay

    Deploying RichFaces Demo to Tomcat 5.5

    Ai Vay Newbie

      Hi,

      I would appreciate if someone can point me to a documentation on how
      to deploy the demo war to tomcat 5.5 running jdk 5.

      I dropped the demo war file but kept getting exceptions.
      I thought the demo war is ready and can be deployed, but
      not sure why it doesn't work.

      Regards,
      Ai

        • 1. Re: Deploying RichFaces Demo to Tomcat 5.5
          Sergey Smirnov Master

          No special instruction required. copy war to webapps directory and launch tomcat.

          • 2. Re: Deploying RichFaces Demo to Tomcat 5.5
            Ai Vay Newbie

            Thank you Sergey for response to my post.
            I dropped the war file richfaces-demo-3.0.1-20070428.001109-32
            to my tomcat 5.5 with jdk 1.5.0_09 and got the following exception.

            Thanks,
            A

            Apr 29, 2007 6:53:30 PM org.apache.catalina.core.StandardContext loadOnStartup
            SEVERE: Servlet /richfaces-demo-3.0.1-20070428.001109-32 threw load() exception
            java.lang.NullPointerException
            at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:497)
            at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1204)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
            at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1377)
            at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)

            • 3. Re: Deploying RichFaces Demo to Tomcat 5.5
              Ai Vay Newbie

              I was hoping that someone in this forum can quickly
              point out what I would need for trying out the richfaces
              demo on tomcat 5.5.
              I tried to drop the demo war in and got errors and
              couldn't figure out what was wrong...

              Thanks...