How to Deploy Our Portlet to JBoss Portal
Some PALab's portlets support JBoss Portal(All portlet will support it..). To deploy PALab's portlet which uses JSF implementation(Teeda) to JBoss Portal(JBoss Portal has embedded MyFaces issue..), please see the following instruction:
1) Remove jsf-libs directory
2) Copy Jar files to server/default/deploy/ directory
3) Remove the following entry in server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml
4) Deploy PALab's portlet :)
1) Remove jsf-libs directory
$ cd jboss-portal-2.4.0
$ mv server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/ .
2) Copy Jar files to server/default/deploy/ directory
$ cp jsf-libs/commons-beanutils.jar jsf-libs/commons-codec-1.2.jar jsf-libs/commons-digester-1.6.jar jsf-libs/jstl.jar jsf-libs/myfaces-* server/default/deploy/
3) Remove the following entry in server/default/deploy/jbossweb-tomcat55.sar/conf/web.xml
<init-param>
<description>MyFaces tlds</description>
<param-name>tagLibJar0</param-name>
<param-value>jsf-libs/myfaces-impl.jar</param-value>
</init-param>
4) Deploy PALab's portlet :)
2 Comments:
Are you able to run Jboss's management portal with this changes? I tried and even fixed the xhtml files (add h:form tag to accommodate 1.1.3's removal of dummy form). I got the management portlet showing, but the tree does not work. If I click on the tree, it doesn't expand or anything...
Thank you for finding the problem. But I have no other solution right now. Actually, this is JBoss's issue on JSF. So, in the future, I hope that JBoss team fixes it.
Post a Comment
<< Home