• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cant get projects to work with richfaces library

 
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just downloaded richfaces and got everything set up. I tried to do the "greeter" sample application they walk through with you but I cannot get it to work!

I am getting absolutely no compile warnings or errors. I have added richfaces as a component library to eclipse. I create an index page, and modify the web.xml and faces-config file per the tutorial. It is all the usual stuff. Like I said, no errors or warnings. I add the project to tomcat and restart the server, then try to go to http://localhost/greeter/index.jsp But when I do so I see this:



HTTP Status 404 -

--------------------------------------------------------------------------------

type Status report

message

description The requested resource () is not available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.18



I have no idea what the problem is so I don't even know what information one would need to help me resolve this. Please let me know what info is needed so I can get past this, I have been working on this four hours and Im losing it!
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Should the url end in .faces, rather than .jsp?

Also, are you running on port 80, or port 8080?

This isn't really a Java issue. You're request seems like it's not even getting to the server.

Do a netstat -a on the command line and check to see if port 80 is even open.

Good luck!

-Cameron

 
Matt Kohanek
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The url is definitely correct, its exactly what the tutorial Im following says to go to. Although I have tried different variations like .jsf with no luck.

And Im not sure it is a server issue. Im using tomcat and it is configured to port 80. The nail that drives that home is the fact that all my projects that dont use richfaces open just fine at http://localhost/projetname

I posted this on the JBoss forums but I havent gotten one response in 6 hours. That seems to be a really useless place for help lol
 
Cameron Wallace McKenzie
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sometimes no suggestions are better than bad suggestions.

Good luck.

-Cameron
 
Matt Kohanek
Village Idiot
Posts: 484
jQuery Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess I asked for that


ce la vie
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic