[jboss-user] [JBoss Seam] - Re: Seam + Portlets + JSF + Facelets problem: Exception in P

andyd do-not-reply at jboss.com
Fri Sep 15 20:23:11 EDT 2006


Thanks chuaky.
Tried this and now got it working to the point of registering in the app apparently ok.  I have also upgraded to portal 2.4.0GA.

When logging in with the new account I get

2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.core.Manager] Found conversation id in request parameter: 8
2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.core.Manager] Restoring conversation with id: 8
2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
2006-09-16 01:12:46,767 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(8)
2006-09-16 01:12:47,128 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: user
2006-09-16 01:12:47,128 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: user
2006-09-16 01:12:47,128 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
2006-09-16 01:12:47,138 ERROR [STDERR] 16-Sep-2006 01:12:47 com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/main.xhtml]
java.lang.IllegalArgumentException: URL must be absolute. Was: main.seam
	at org.jboss.portal.common.util.URLTools.enforceAbsoluteURL(URLTools.java:65)
	at org.jboss.portal.portlet.impl.spi.AbstractInvocationContext.encodeURL(AbstractInvocationContext.java:49)
	at org.jboss.portal.portlet.impl.jsr168.PortletResponseImpl.encodeURL(PortletResponseImpl.java:53)
	at org.apache.myfaces.context.portlet.PortletExternalContextImpl.encodeResourceURL(PortletExternalContextImpl.java:197)
	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderOutputLinkStart(HtmlLinkRendererBase.java:381)
	at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:95)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:540)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:396)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
	at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
	at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
	at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
	at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
	at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
	at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
	at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
	at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
	at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
	at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
	at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
	at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
	at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
	at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
	at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanO


in the log file

So some progress, but not quite there yet.

Anyone any ideas?

Andy.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972065#3972065

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972065



More information about the jboss-user mailing list