Wednesday, September 13, 2006

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

$ 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

<description>MyFaces tlds</description>

4) Deploy PALab's portlet :)


Anonymous Michael Chan said...

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...

2:02 AM  
Anonymous shinsuke said...

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.

12:31 PM  

Post a Comment

<< Home