Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 50195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:33:19+00:00 2026-05-10T16:33:19+00:00

Ok, I’ve run across my first StackOverflowError since joining this site, I figured this

  • 0

Ok, I’ve run across my first StackOverflowError since joining this site, I figured this is a must post :-). My environment is Seam 2.0.1.GA, JBoss 4.2.2.GA and I’m using JSF. I am in the process of converting from a facelets view to JSP to take advantage of some existing JSP tags used on our existing site. I changed the faces-config.xml and the web.xml configuration files and started to receive the following error when trying to render a jsp page. Anyone have any thoughts?

2008-09-17 09:45:17,537 DEBUG [org.jboss.seam.contexts.FacesLifecycle] Begin JSF request for /form_home.jsp 2008-09-17 09:45:17,587 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:210) at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:222) at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:222) at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:222) …

My faces-config.xml file is now empty with no FaceletsViewHandler:

<?xml version='1.0' encoding='UTF-8'?> <faces-config version='1.2' xmlns='http://java.sun.com/xml/ns/javaee'  xmlns:xi='http://www.w3.org/2001/XInclude'  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'  xsi:schemaLocation='http://java.sun.com/xml/ns/javaee      http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd'>  </faces-config> 

And my Web.xml file:

<?xml version='1.0'?> <web-app version='2.5' xmlns='http://java.sun.com/xml/ns/javaee'  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'  xsi:schemaLocation='http://java.sun.com/xml/ns/javaee    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd'>  <!-- Ajax4jsf -->  <context-param>   <param-name>org.richfaces.SKIN</param-name>   <param-value>blueSky</param-value>  </context-param>   <!-- Seam -->  <listener>   <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>  </listener>    <filter>   <filter-name>Seam Filter</filter-name>   <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>  </filter>   <filter-mapping>   <filter-name>Seam Filter</filter-name>   <url-pattern>*.jsp</url-pattern>  </filter-mapping>   <servlet>     <servlet-name>Seam Resource Servlet</servlet-name>      <servlet-class>org.jboss.seam.servlet.SeamResourceServlet      </servlet-class>  </servlet>  <servlet-mapping>    <servlet-name>Seam Resource Servlet</servlet-name>    <url-pattern>/seam/resource/*</url-pattern>  </servlet-mapping>  <!-- Seam end -->    <!-- JSF -->  <context-param>         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>         <param-value>.jsp</param-value>  </context-param>   <servlet>     <servlet-name>Faces Servlet</servlet-name>     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>     <load-on-startup>1</load-on-startup>  </servlet>  <servlet-mapping>     <servlet-name>Faces Servlet</servlet-name>     <url-pattern>*.jsp</url-pattern>   </servlet-mapping> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:33:20+00:00Added an answer on May 10, 2026 at 4:33 pm

    I was able to figure out this problem. Apparently you can not configure web.xml to have the same param-value of .jsp for Javax.faces.DEFAULT_SUFFIX as the Faces Servlet url-pattern (*.jsp). If you change your url-pattern to .jspx or to /whateverdirnameyouwant/ the application starts up with no stack overflow errors. (note: the key is that DEFAULT_SUFFIX and Faces Servlet url-pattern cannot be the same regardless of what they are.) Hope this helps anyone else that experiences this specific problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer By default the form will just hide when you click… May 11, 2026 at 12:10 pm
  • added an answer Looks like you're trying to make recursion work in templates.… May 11, 2026 at 12:10 pm
  • added an answer The issue is actually somewhat complicated. Operands of arithmetic expressions… May 11, 2026 at 12:10 pm

Related Questions

OK, I know what you're thinking, "why write a method you do not want
Ok, I asked a question earlier about Flex and ADO.NET Data Services but didn't
Ok, I have been working with Solaris for a 10+ years, and have never
OK, I know there have already been questions about getting started with TDD ..
Ok, I have a strange exception thrown from my code that's been bothering me
OK, I am not sure if the title it completely accurate, open to suggestions!
OK, I have been working on a random image selector and queue system (so
Ok, I've run across my first StackOverflowError since joining this site, I figured this
Ok, I am reading in dat files into a byte array. For some reason,
OK, I am trying to generate the rDoc for paperclip, but the rake task

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.