> From: Narahari 'n' Savitha [mailto:savith...@gmail.com] > Subject: Re: Tomcat deployment webapps and the whole stew
> 22:18:34,427 ERROR [ConfigServlet] com.adp.rev.config.ConfigServlet.init(): > Error trying to read file [null]. Exception = [java.lang.NullPointerException] > java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:116) > at java.io.FileInputStream.<init>(FileInputStream.java:79) > at com.alp.rev.config.ConfigServlet.init(ConfigServlet.java:59) > It is trying to find the faces-config.xml file which does not seem to be > found. > (yes it is a part of the war file and exists under WEB-INF) Your servlet is making the invalid assumption that its data is accessible through the file system, which is explicitly not allowed by the servlet spec. It should be using ServletContext.getResourceAsStream() rather than java.io. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org