Making some progress:
Adding the needed libs to the project/lib directory like shown in the jboss seam movie tutorial won't do anything. Adding them via the Build-Path option in the project-properties dialog will do it.
So I finally deployed to JBoss AS 4.0.4.GA and am now stuck at the following issue:
Code:
20:52:40,515 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
javax.faces.el.EvaluationException: Cannot get value for expression '#{roleSelector.pageTitle}'
at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:397)
at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225)
at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:65)
at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
at org.apache.jsp.findRole_jsp._jspx_meth_h_outputText_0(findRole_jsp.java:215)
at org.apache.jsp.findRole_jsp._jspx_meth_f_view_0(findRole_jsp.java:150)
at org.apache.jsp.findRole_jsp._jspService(findRole_jsp.java:110)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
Another thing that strikes me odd is the property "hibernate.dialect" that has the value "org.hibernate.dialect.HSQLDialect" in project/resources/META-INF/persistence.xml and the value "org.hibernate.dialect.MySQLDialect" in hibernate.cfg.xml.