jsf project working in intranet Tomcat Server and not in Internet
Hello friends,
When i deploy the project war in my local tomcat 5.5.x my jsf project works fine.....
but when i host my project in web...Tomcat server 5.5.x.. as a war it throws javax.servlet.ServletException: Cannot find FacesContext
Exception.....
I developed the project in Exadel Studio..... the file extention is .jsp but the url containts .jsf according to exadel studio std...
when i deploy the project in remote tomcat and when access login.jsf file .... page cannot found 400 error is thrown by the server....
if i access the page directly by using .jsp path it throws exception javax.servlet.ServletException: Cannot find FacesContext
my war file is like this.... i added all .jar files to my lib directory.....(working in local)
This is my web.xml file
<?xml version="1.0"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Nipponcha</display-name>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>
plz give a solution for this problem.....
Same project works in intranet.....using local tomcat serverbut not working in Remote Tomcat server

