Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cant get projects to work with richfaces library  RSS feed

 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • 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!
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • 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
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes no suggestions are better than bad suggestions.

Good luck.

-Cameron
 
Matt Kohanek
Village Idiot
Ranch Hand
Posts: 484
Java jQuery Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess I asked for that


ce la vie
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!