[ 
https://issues.apache.org/jira/browse/KARAF-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146381#comment-13146381
 ] 

Raul Kripalani commented on KARAF-499:
--------------------------------------

This has been solved in PAX Web:

Regarding TLDs:

* http://team.ops4j.org/browse/PAXWEB-86
* http://team.ops4j.org/browse/PAXWEB-130

JSF2 classloading specifics:

* http://team.ops4j.org/browse/PAXWEB-310

Additionally, specific to MyFaces: 
https://issues.apache.org/jira/browse/MYFACES-3356.

Tested with MyFaces 2.1.x, Tomahawk, Primefaces. Please let me know if you find 
any issues.

Beware that you need to add the {{StartupServletContextListener}} listener to 
web.xml if you are using MyFaces. Additionally, if you are using Facelets you 
will need to specify your -taglib.xml files under the facelets.LIBRARIES 
context parameter (see 
http://shrubbery.mynetgear.net/c/display/W/Using+taglibs+with+Facelets). 

If your -taglib.xml files are located in imported bundles, you can use the 
{{classpath:}} URL from PAX URL, making sure that the bundle that provides this 
functionality is assigned a start-level lower than the ordinary start level. 
Start level 5 works well.

Regards,
Raúl.
                
> Unable to load simple standalone JSF 2.0 webapp - JSF's implementation's 
> META-INF/*.tld files are not scanned at startup
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-499
>                 URL: https://issues.apache.org/jira/browse/KARAF-499
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-webcontainer
>    Affects Versions: 2.2.0
>         Environment: windows, linux, java 6
>            Reporter: Dan Tran
>            Priority: Blocker
>             Fix For: 3.1.0
>
>
> A testable war file is at 
> http://repo2.maven.org/maven2/org/apache/myfaces/commons/myfaces-commons-examples20/1.0.1/myfaces-commons-examples20-1.0.1.war
> Discussion is at 
> http://karaf.922171.n3.nabble.com/Unable-to-load-a-JSF-2-0-Spring-JPA-2-0-standalone-webapp-war-onto-Karaf-2-2-with-war-feature-instald-td2622522.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to