1. Create Seam Portal Project
STEP: create Dynamic Web Project with following attributes:
-Dynamic Web Project page:
Target runtime: EPP 5.2
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
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 EPP 5.2
(Deploy a datasource file)
STEP: Mark file "<project name>-ds.xml" as deployable (right-click on resources/<project name>-ds.xml and select "Mark as Deployable"
(Deploy the project)
STEP: Run the project on the server (Run As > Run on Sever)
ASSERT: Project was deployed
FAIL: Deployment in error
Deployment "vfsfile:/home/rrabara/runtimes/jboss-epp-5.2/jboss-as/server/default/deploy/Seam-portal-project.war/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.seam.intercept.SessionBeanInterceptor from BaseClassLoader@723c5d28{vfsfile:/home/rrabara/runtimes/jboss-epp-5.2/jboss-as/server/default/deploy/Seam-portal-project.war/}