These links might be helpful:
 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL
 
The upshot of using MyFaces with JBoss 4.2.0 is that you need to package 
MyFaces in your WAR and add the following to your web.xml:
 
<context-param>
     <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
     <param-value>true</param-value>
</context-param>

Raymond DeCampo 
Software Architect
PROMERGENT
5010 Campuswood Drive - East Syracuse NY 13057
315.414.9855 x411 || 315-414-9856 f
http://www.promergent.com <http://www.promergent.com/>  

PEOPLE . PROCESS . DATATM 
This electronic transmission contains information from Progressive Software 
Solutions, Inc. (d/b/a ProSoft, d/b/a PROMERGENT), which may be company 
confidential and/or company private. The information contained herein is 
intended for the exclusive use of the addressee named above. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of this information is prohibited. If you have received this electronic mail 
transmission in error, please notify us by telephone or by electronic mail.

-----Original Message-----
From: Boeckli, Dominique [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 12, 2007 03:48
To: MyFaces Discussion
Subject: RE: MyFaces jar files in JBoss container


Hi Dave,
 
myfaces stuff comes here: ...........deploy\jbossweb-tomcat55.sar\jsf-libs\
 
and this file has to be updated accordignly: 
.....deploy\jbossweb-tomcat55.sar\conf\web.xml (see the jsf section)
 
in 4.2.0 the new Tomcat is in ...........deploy\jboss-web.deployer.
 
In your case i think you use JBoss 4.2.0.GA, right? They use Tomcat 6 and they 
have a strange setting for the
JSF stuff. I wasn't able to make it run. Finally i deleted Tomcat 6 in JBoss 
and replaced it with the older Tomcat
used in JBoss 4.0.5, and it worked very well.
 
Greetings
 
Dominique
 
 


  _____  

From: Dave [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 10, 2007 11:14 AM
To: [email protected]
Subject: MyFaces jar files in JBoss container


I tried to put MyFaces lib jar files ( myfaces-api-1.1.5.jar and  
myfaces-impl-1.1.5.jar) in JBoss container under 
<JBOSS-root>/server/default/lib in order to reduce my JSF web application ear 
file size, but I got error saying that
 
uri:    http://java.sun.com/jsf/html
can not be resolved. 
 
I believe that the uri is from jsf page:

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
 
The jars are in the container, and should be visible to all applications.
 
Thanks for help.
Dave
 
 



  _____  

Take the Internet to Go: Yahoo!Go puts the Internet  
<http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC> in 
your pocket: mail, news, photos & more. 

Reply via email to