War-File without jsf-library
Hello,
I am using to pack the jar-files (myface-apl.jar, myface-impl.jar, common-*.jar,....) in WEB-INF/lib of War-file. It makes the large file, but I want to reduce the size of War-file. I want to separat the jar-files from War-file, because there are the jar-files in the Path default/deploy/jbossweb-tomcat55.sar/jsf-libs on JBOSS-Server 4.0.5.GA. How can I configure that war-file links to the jar-files in the jbossweb-tomcat55.sar/jsf-libs?
Manuel
[473 byte] By [
Argonista] at [2007-11-27 8:47:11]

# 1
You do not need to do anything special for your WAR file to use the JSF implementation that ships with JBoss. It sounds as if you are already using MyFaces, since the version of JBoss you reference also uses MyFaces, you should be good to go.
# 2
Now I solved my problem.
That code should be added in jbossweb-tomcat55.sar/conf/web.xml to make a reference to jbossweb-tomcat55.sar/jsf-libs/myfaces-impl-1.1.5.jar and tomahawk-1.1.5.jar
<init-param>
<description>MyFaces tlds</description>
<param-name>tagLibJar0</param-name>
<param-value>jsf-libs/myfaces-impl-1.1.5.jar</param-value>
</init-param>
<init-param>
<description>Tomahawk tlds</description>
<param-name>tagLibJar1</param-name>
<param-value>jsf-libs/tomahawk-1.1.5.jar</param-value>
</init-param>
Thank you for posting.
Manuel