Deployment Hanging in JBoss 5.0.1.GA
lcompton Apr 13, 2009 9:52 PMI'm putting together a sample Seam application by hand using Seam 2.1.1.GA and JBoss 5.0.1.GA. When I deploy my application, the application server stalls immediately after (or in the process of) deploying the web application for my app. I've included some of the configuration files below. Any idea why this is happening?
faces-config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
<lifecycle>
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
</lifecycle>
</faces-config>
web.xml:
<?xml version="1.0" ?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
<filter>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.web.SeamFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
</web-app>
Tail end of the application server output:
15:40:06,511 INFO [SessionFactoryImpl] building session factory
15:40:06,518 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=larry.ear/larry-ejb-1.0.0.jar#sampledb
15:40:06,520 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
15:40:06,525 INFO [NamingHelper] Creating subcontext: persistence.unit:unitName=larry.ear
15:40:06,525 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=larry.ear/larry-ejb-1.0.0.jar#sampledb
15:40:06,525 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
15:40:06,539 INFO [SchemaExport] Running hbm2ddl schema export
15:40:06,540 INFO [SchemaExport] exporting generated schema to database
15:40:06,540 INFO [SchemaExport] schema export complete
15:40:06,543 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
15:40:06,907 INFO [TomcatDeployment] deploy, ctxPath=/larry
15:40:07,522 WARN [SeamPhaseListener] There should only be one Seam phase listener per application