This is a quick note on how to get Orbeon Forms 3.7.0beta nightly running on JBoss Portal 2.7.1 bundled with JBoss AS. These instructions seems to missing in the Orbeon docs. 1. First setup and run the portal normally and check that you get the portal first page ok at http://localhost:8080/portal
- Get the orbeon WAR (I got some nightly of January 2009 of the 3.7.0 version) and add the following files to WEB-INF:
<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portlet Instances 2.6//EN" "http://www.jboss.org/portal/dtd/portlet-instances_2_6.dtd">
<!DOCTYPE deployments PUBLIC "-//JBoss Portal//DTD Portal Object 2.6//EN" "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
3. In my case I had to uncomment the following in the web.xml, since the resource was present in jboss-web.xml file:
<resource-ref> <description>DataSource</description> <res-ref-name>jdbc/db</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </code> 4. Deploy modified WAR to $JBOSS_PORTAL_DIR/server/default/deploy
- The deployer should automatically deploy the WAR and if you refresh the first page on the portal, you will see that the orbeon portlet view has appeared on the page. Check the terminal or logs for issues during deployment if you have some problems.
NOTE: This is just me testing if it Orbeon works on JBoss Portal so no guarantees are given. Hopefully this’ll give someone a nudge at the right direction, though.