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

  • SEARCH
  • Home
  • 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 8438865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:50:13+00:00 2026-06-10T07:50:13+00:00

Environment: JSF2.0 + MyFace + Trinidad + GlassFish ,IDE: eclipse I am very new

  • 0

Environment: JSF2.0 + MyFace + Trinidad + GlassFish ,IDE: eclipse

I am very new to JSF and currently I want to display Trinidad Chart on my pages but fail to do it. I can display other Trinidad components panelFormLayout like but shows following errors on browser.

Uncaught ReferenceError: ApacheChart is not defined

And Fail to load4 resourse (404)

://…/adf/jsLibs/resources/LocaleElements_zh_TW2_0_0_beta_2.js;
://…/adf/jsLibs/resources/DebugLocale2_0_0_beta_2.js;
://…/adf/jsLibs/resources/DebugCoreFmt2_0_0_beta_2.js;
://…/adf/jsLibs/resources/DebugApacheChart2_0_0_beta_2.js;

I have found my problem is very like this one

http://mail-archives.apache.org/mod_mbox/myfaces-users/200707.mbox/%3Cfa024af00707161819h4f93034fj1ec2574f4f38918c@mail.gmail.com%3E

But I still don’t know how to make it work.
Any suggestion will be appreciated

Thanks

  • 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-06-10T07:50:16+00:00Added an answer on June 10, 2026 at 7:50 am

    It looks like the ADF resources servlet is missing in your web.xml.

    <servlet>
      <servlet-name>resources</servlet-name>
      <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
      <servlet-name>resources</servlet-name>
      <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Environment: Windows Server 2008 R2 on Amazon EC2 Netbeans IDE with Glassfish started on
Environment: IDE: Eclipse IDE for Java Developers 3.7.1 Plugin: ADT 14.0.0.v2011101719 Host: Fedora 13
I'm using JSF2 and JPA Eclipse Link on Glassfish 3.1. I developed an application
We are currently in the process of migrating our application from our production environment
I'm using PrimeFaces 3.0 and JSF 2.0. In my webapp, I display a modal
APPLICATION and ENVIRONMENT Java EE / JSF2.0 / JPA enterprise application, which contains a
ENVIRONMENT NetBeans 6.9.1, GlassFish 3.1 + METRO 2.1 I am hosting METRO web services,
Environment: NetBeans 6.9.1, GlassFish 3.1 I have a Java Web Application. How to get
In native JSF 2.0 environment user is able to refer to request parameters with
Environment: Apache/2.2.11 (Win32) mod_apreq2-20051231/2.6.2-dev mod_perl/2.0.4-dev Perl/v5.10.0 Situation very similar to what's described in this

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.