See the attached WAR at the bottom of the page.
The "Hello JSF" application is a simple "Hello World" that runs on JBoss 4.2 and JBoss 5.x. It demonstrates the minimum configuration you need in a JSF WAR running on the integrated JSF 1.2 included in newer JBoss platforms.
The entire WAR only contains four files:
To deploy, put this WAR into the /deploy directory of your JBoss server. Then point your browser to http://localhost:8080/hellojsf.