1. Create Seam Portal Project
STEP: create Dynamic Web Project with following attributes:
-Dynamic Web Project page:
Target runtime: JPP 6.1
Dynamic web module version: 2.5
Configuration: <custom> (Dynamic Web Module, Java, JavaServer Faces [version: 2.0], JBoss Core Portlet, JBoss JSF Portlet, JBoss Seam Portlet, Seam [version: 2.2])
-JBoss Portlet Capabilities page:
Portlet Implementation Library: Portlet Target Runtime Provider
-JSF Capabilities page:
JSF Implementation Library: Library Provided by Target Runtime
-Seam Facet page:
Set Seam 2.2 and select database type HSQL and connection profile DefaultDS
-JBoss JSF Portlet Capabilities page:
JSFPortlet Implementation Library: JSF Portletbridge Runtime Provider
Portletbridge Runtime: /path/JBossPortletBridge-3.2.1.Final
2. Create Seam Portlet
STEP: Create JSF/Seam Portlet (File > New > Other > JBoss Tools Web > Portlet > JBoss JSF/Seam Portlet)
3. Run on server
STEP: Start the server JPP 6.1
- Deploy a datasource file (*-ds.xml)
STEP: Mark file "<project name>-ds.xml" as deployable (right-click on resources/<project name>-ds.xml and select "Mark as Deployable"
ASSERT: No error occurs
FAIL: Error during deployment: ParserException was thrown (deployment was stopped)
- Deploy the project
STEP: Run the project on the server (Run As > Run on Sever)
ASSERT: Project was deployed
FAIL: Error during deployment