[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1148) SEAM / JSF / Portlet: Compatibility problem

JP Barbe (JIRA) jira-events at jboss.com
Thu Nov 30 11:44:55 EST 2006


SEAM / JSF / Portlet: Compatibility problem
-------------------------------------------

                 Key: JBPORTAL-1148
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1148
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Portlet
    Affects Versions: 2.6.CR1
         Environment: Windows XP
MyFaces 1.1.5
SEAM 1.0.1
            Reporter: JP Barbe
         Assigned To: Julien Viet


When I use a seam tag into a jsf page, I have the following exception (You can see config files after the exception):
2006-11-30 17:20:57,934 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-desk]] No active conversation context
java.lang.IllegalStateException: No active conversation context
	at org.jboss.seam.core.Process.instance(Process.java:32)
	at org.jboss.seam.core.TaskInstance.instance(TaskInstance.java:51)
	at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance(BusinessProcessContext.java:213)
	at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:51)
	at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:155)
	at org.jboss.seam.Component.getInstance(Component.java:1245)
	at org.jboss.seam.Component.getInstance(Component.java:1230)
	at org.jboss.seam.contexts.Lifecycle.resumeConversation(Lifecycle.java:328)
	at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:42)
	at org.jboss.seam.jsf.SeamPortletPhaseListener.beforePhase(SeamPortletPhaseListener.java:51)
	at org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener.beforePhase(SeamExtendedManagedPersistencePortletPhaseListener.java:37)
	at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:396)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
	at com.eads.desk.core.portlet.DeskAccessPortlet.doView(DeskAccessPortlet.java:30)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)


#### Here is the faces-config.xml file:
<faces-config>

	<lifecycle>
		<phase-listener>
			org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener
		</phase-listener>
	</lifecycle>
	
	
	<navigation-rule>
		<from-view-id>/view/deskAccess.jsp</from-view-id>
		<navigation-case>
			<from-outcome>trManager</from-outcome>
			<to-view-id>/view/viewTRManager.jsp</to-view-id>
			<redirect />
		</navigation-case>	
	</navigation-rule>
    
    <navigation-rule>
    	<navigation-case>
    		<from-action>#{pooledTask.assignToCurrentActor}</from-action>
    		<from-outcome>taskAssignedToActor</from-outcome>
    		<to-view-id>/view/viewTRManager.jsp</to-view-id>
    	</navigation-case>
    </navigation-rule>
	
</faces-config>

#### web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

    <!-- Seam -->
   
    <listener>
        <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>

</web-app>

###
I have seen an issue (Key: JBSEAM-347) but I don't anderstand the solution proposed or if a solution exists !
(http://jira.jboss.org/jira/browse/JBSEAM-347)

Thanks.
JP.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list