0 Replies Latest reply on Apr 27, 2006 1:59 AM by Nancy Aggarwal

    problem in deploying a web project using jboss

    Nancy Aggarwal Newbie

      Hi,
      I have problem in deploying a web project using jboss.
      I put my war file in jboss-4.0.0DR3/server/default/deploy folder.
      Then i run my jsp page on the browser then it will create tmp2341web-console.war in jboss-4.0.0DR3/server/default/tmp/deploy
      On browser it gives the message
      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)

      root cause

      java.lang.IllegalStateException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!
      org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:123)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.getServletMapping(JspViewHandlerImpl.java:346)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:199)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:95)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.0.20 logs.
      Apache Tomcat/5.0.20

      Plz give me the solution

      Thanks in advance
      Nancy Aggarwal