Could you be a little more specific about what you mean by "it does not work." Is it that when you deploy the application, you get errors? Or there are no errors, but when you attempt to acces a web page you get errors or a corrupt page? If you are getting errors, please post them.
Also, do you have the JSF jars in your war file. In JBoss 4.0.4 (you never mentioned which version of JBoss you are using), the MyFaces jars are already provided, so I don't think you need tthem in your war file.
I am using Jboss 4.0.4, and I placed my .war file in server/default/deploy.
After reading your reply, I then went on to delete all of the jar files from my project lib. I started the JBoss server, and put in the address http://localhost:8080/Forms.war
Jboss is not able to see the project, I am getting the error...
description The requested resource (/Forms.war) is not available.
I am not sure if there is something more I need to add, or if I'm not starting JBoss correctly. Please get back to me
Thanks for the reply
Thank you Peter for your help, I was able to figure it out. The problem was that I had not updated the listener in my project web xml.
After changing it to
Everything Came out fine :)
So for anyone else who encounters the same problem in the future, be sure to delete the jar files from your project lib folder, since Jboss already provides them, and change your project web.xml listener to the one posted above.