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 473547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:11:52+00:00 2026-05-13T00:11:52+00:00

I am getting the below messages when my JSF page gets rendered. The page

  • 0

I am getting the below messages when my JSF page gets rendered. The page is rendered correctly however in the Console the message below repeats itself numerous times…

INFO: ERROR: Unable to get Faces Context for session variable: localeBean

11:54:27,090 INFO [STDOUT] Nov 24, 2009 11:54:27 AM com.web.util.faces.UtilFacesFuncs log
INFO: Most likely, you’ve requested a Faces object from a NON-Faces (i.e. Servlet) context.

In my JSF I am usign localebean as follows:

<f:view locale="#{localeBean.userLocaleLoggedIn}">

In the faces-config file I have it defined as below:

<managed-bean>
    <description>Locale Bean</description>
    <managed-bean-name>localeBean</managed-bean-name>
    <managed-bean-class>com.mg.faces.LocaleBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
</managed-bean>

In my class LocaleBean there is a method getUserLocaleLoggedIn() which is the code that gets executed when the JSF page executes:

  <f:view locale="#{localeBean.userLocaleLoggedIn}">

On debugging my jsp I can see that method being called and everyhting is fine, I debug my jsp all the way thru till it creates the footer, just when it is rendering to the browser these errors are thrown about 20 + times repeatedly. It only happens on tihs jsp as it is a new one I have added. I tried comparing with existing jso I cannot see anything different, Does anyone know what I shud be looking out for?

Any help much appreciated.

Thanks.

Regards

  • 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. Editorial Team
    Editorial Team
    2026-05-13T00:11:52+00:00Added an answer on May 13, 2026 at 12:11 am

    Sorry my comment I added above did not come across correctly, here is what I have in my web.xml:
    Also my url I use is http://localhost.com/context/register/mypage.htm
    I have these jsp under the folder register. I can call other jsp from the register folder
    and this error does not appear…. just happens for this particular jsp that I have added.

    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.htm</url-pattern>
    </servlet-mapping>
    

    I am trying to add my full mappings but the way the code tags work here, it is not coming across since hte mappings have tags… I tried blockquotes provided, but still this editor is not able to display my mappings correctly, apologies!

    Any idea how I should be calling my url. Thanks.

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

Sidebar

Related Questions

I am getting the below message on my sites page there are more than
WinForms C#.. am getting some JSON in the format below (bottom of message) and
All time am getting below error message in groovy... Could not understand whats causing
When i tried to install php5 curl i am getting the messages below and
I have a JSF page with two forms (pseudo-code below). First form is for
I am getting the error message below when I try to compile my code
I am getting the following error message on the code below (which is at
I was changing the vc++ include directory with new paths suddenly getting below error
I'm getting the following error on the line of code below: Syntax error (missing
So my code is below. I'm not getting any errors and it places everything

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.