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

[2276 byte] By [Balasubramaniama] at [2007-11-26 16:38:43]
# 1
Hi you there. You've spammed my mailbox with exact this question. I am not charmed of this kind of behaviour and by this you can forget my help.
BalusCa at 2007-7-8 23:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
sorry yar.... i tried to reach you online..... sorry for that hear after i will not send mails to your personal id........ do u have any idea abt this.... problem..... plz man dont mistake me....
Balasubramaniama at 2007-7-8 23:05:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

So you want the first page to be a JSF page?

I did it this way (note I'm a novice with JSF too!):

In the web xml file have a jsp page as the welcome file.

<welcome-file-list>

<welcome-file>psuedoIndex.jsp</welcome-file>

</welcome-file-list>

Then, in the psuedoIndex file, just have a redirect to the jsf file:

<html>

<head></head>

<body>

<jsp:forward page="login.jsf" />

</body>

</html>

Illua at 2007-7-8 23:05:33 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...