I am running a JBoss 5.1.0.GA and deploying a jboss-faces.jar within the WEB-INF/lib folder.
Manifest of the JAR:
Manifest-Version: 1.0 Specification-Title: JBoss Created-By: 1.5.0_15-b04 (Sun Microsystems Inc.) Ant-Version: Apache Ant 1.6.2 Implementation-Title: JBoss [Trinity] Specification-Vendor: JBoss (http://www.jboss.org/) Specification-Version: 4.2.3.GA Implementation-Vendor-Id: http://www.jboss.org/ Implementation-Version: 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=20 0807181417) Implementation-Vendor: JBoss Inc. Implementation-URL: http://www.jboss.org/
Must the Specification-Version match the JBoss version? I will try it out.
I have removed the jboss-faces.jar from the lib, compiled and deployed without getting any errors from JBoss. I just added the package because the tutorial I am working through requires. Beside I have installed j2ee 6 but .. unfortunately the submit java script still doesn't get rendered.
After googling for the signification of "Mojarra" (Sun's JSF Implementation) I can say no, I don't use MyFaces.
What do you mean by, "I have installed j2ee 6". JEE6 is not something you can install. It's a specification that is followed on JBoss AS6, not AS5.
If you leave the JSF implementation out of your WAR and just let the built-in Mojarra implementation take over then your page should render properly. As I said, I have already verified that it works. Make sure you follow these instructions.
I have installed SDK 6. Obviously I misunderstood an answer from another thread where I've also posted a question: http://community.jboss.org/thread/111035?start=15&tstart=0
I followed the JBossWithJSFCDDL instructions and I can't find significant differences.
<?xml version="1.0" encoding="UTF-8"?>