No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)
Caused by java.lang.IllegalStateException with message: "No phase id bound to current thread (make sure you do not have two SeamPhaseListener instances installed)“
Another JBoss to WebLogic migration issue. This error is caused by having the jboss-seam.jar file twice in the classpath or by loading it more than once. This link explains the problem for JBoss in more details, but the same solution can be applied to WebLogic. Move the loading of the jboss-seam.jar first in the application.xml and remove any reference of it in all the MANIFEST.MF files in the rest of the modules declared in application.xml.
application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
<display-name>store-ear</display-name>
<module>
<ejb>jboss-seam.jar</ejb>
</module>
<module>
<web>
<web-uri>store.war</web-uri>
<context-root>/store</context-root>
</web>
</module>
<module>
<ejb>storeModel-ejb.jar</ejb>
</module>
<module>
<ejb>storeCommon-ejb.jar</ejb>
</module>
<module>
<ejb>store-ejb.jar</ejb>
</module>
<module>
<ejb>store-products.jar</ejb>
</module>
</application>
MANIFEST.MF in store-ejb.jar, before jboss-seam.jar removal
Manifest-Version: 1.0 Class-Path: storeCommon-ejb.jar antlr-runtime.jar jboss-seam.jar drools-compiler.jar drools-core.jar jboss-el.jar jbpm-jpdl.jar mvel14.jar richfaces-api.jar
MANIFEST.MF in store-ejb.jar, after jboss-seam.jar removal
Manifest-Version: 1.0 Class-Path: storeCommon-ejb.jar antlr-runtime.jar drools-compiler.jar drools-core.jar jboss-el.jar jbpm-jpdl.jar mvel14.jar richfaces-api.jar
Advertisement

