This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Cannot Load Faces Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Cannot Load Faces Context" Watch "Cannot Load Faces Context" New topic
Author

Cannot Load Faces Context

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I deployed a jsf application's .ear file in WebSphere Application Server 5.0 and below are the configurations done in
web.xml for this jsf application.

<servlet id="Servlet_1097643234125">
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping id="ServletMapping_1097643265422">
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping id="ServletMapping_1097643265423">
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping id="ServletMapping_1097643265424">
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>


Now if I access the application using URL http://localhost:9080/forms/vendor/can/legal.faces then I am getting "Error 500: Failed to load target servlet [Faces Servlet] "
even though there are jsf-api.jar and jsf-impl.jar in the WEB-INF\lib directory of this application.

Can you please tell me what am I missing here ...


Thanks & Regards,
Kumar.


RR Kumaran
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot Load Faces Context
 
Similar Threads
..jsp extension JSF web.xml
<to-view-id> Element
jsf urls
*.faces suffix mapping
test.jsf works test.jsp doesn't