Struts Showcase Application

Posted on 2011-10-31
Last Modified: 2012-05-12
Hi - I deployed an application to JBoss called struts showcase application and tried to access the JSF pages link - I keep on getting the following error - tried several changes to the configuration file but still get the error - please let me know if anyone knows a way around it.

Cannot find FacesContext
java.lang.RuntimeException: Cannot find FacesContext
java.lang.RuntimeException: Cannot find FacesContext
File: javax/faces/webapp/
Line number: 1,796


javax.faces.FacesException: java.lang.RuntimeException: Cannot find FacesContext
Question by:abuyusuf35
    LVL 47

    Accepted Solution


    looks like this is a known issue - JSF integration in the Struts 2 Showcase application does not work with JBoss
    see here:

    It works with Tomcat 5 and 6 but not with JBoss


    Author Comment

    I have noticed this - is there any workaround to get it to work on JBoss AS ? I saw a few listed on the web but none of them see to work. Thanks

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
    Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now