tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garret Wilson <gar...@globalmentor.com>
Subject Re: NullPointerException loading JavaServer Faces web application
Date Thu, 16 Sep 2004 01:20:26 GMT
Hiroshi Iwatani wrote:
> Tell us about whole structure of you application based on the JSF.
> For example, where have you put what and what?

Not much to tell.

I have C:\jakarta-tomcat-5.5.1\conf\Catalina\localhost\test.xml :

<Context docBase="C:\test\www">
</Context>

I have C:\test\www\WEB-INF\web.xml :

  <?xml version="1.0"?>
  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
  2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

  <web-app>

      <display-name>Web Application</display-name>

      <description>Web Application</description>

      <servlet>
          <servlet-name>Faces Servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
      </servlet>

      <servlet-mapping>
          <servlet-name>Faces Servlet</servlet-name>
          <url-pattern>*.faces</url-pattern>
      </servlet-mapping>

      <welcome-file-list>
          <welcome-file>default.jsp</welcome-file>
          <welcome-file>index.html</welcome-file>
      </welcome-file-list>

  </web-app>

In C:\jakarta-tomcat-5.5.1\common\lib I have:

08/27/2004  12:57 PM           118,757 commons-beanutils.jar
08/27/2004  12:57 PM           170,902 commons-collections.jar
08/27/2004  12:57 PM           109,131 commons-digester.jar
09/07/2004  12:56 PM           112,341 commons-el.jar
08/27/2004  12:57 PM            31,638 commons-logging.jar
09/07/2004  12:56 PM           916,757 jasper-compiler-jdt.jar
09/07/2004  12:56 PM           363,184 jasper-compiler.jar
09/07/2004  12:56 PM            75,798 jasper-runtime.jar
08/27/2004  12:59 PM           364,470 jsf-api.jar
08/27/2004  12:59 PM           698,542 jsf-impl.jar
09/07/2004  12:56 PM            50,493 jsp-api.jar
08/31/2004  02:22 PM            16,905 jstl.jar
09/07/2004  12:56 PM            26,002 naming-common.jar
09/07/2004  12:56 PM           154,101 naming-factory-dbcp.jar
09/07/2004  12:56 PM            14,751 naming-factory.jar
09/07/2004  12:56 PM             1,826 naming-java.jar
09/07/2004  12:56 PM            45,448 naming-resources.jar
12/12/2002  04:23 PM           262,152 org.hsqldb.jar
09/07/2004  12:56 PM            97,693 servlet-api.jar
08/31/2004  02:22 PM           293,750 standard.jar

I have C:\jakarta-tomcat-5.5.1\shared\lib\my.shared.routines.jar

There's not much more to tell, really...

Garret


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message