11 Replies Latest reply on Dec 1, 2009 11:57 AM by Michel Thai

    Seamportlet

    Jannis E. Newbie

      Hi @ll,
      I'm trying to implement a Seamportlet.
      The given Seamapplication is an application created with seam-gen.


      I've put the required libs of the protletbridge in the lib-folders and extended the web.xml, faces-config and the ant-build-script.


      Deploying is fine,  I instantiate the portlet. but when invoking the portalpage i get the following exception.


      Stacktrace will follow....

        • 1. Re: Seamportlet
          Jannis E. Newbie

          11:49:14,596 ERROR [DefaultPageControlPolicy] Rendering portlet window  produced an error
          org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException
               at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:212)
               at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:233)
               at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
               at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
               at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
               at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
               at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
               at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
               at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
               at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:147)
               at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:150)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:99)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
               at org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementInterceptorImpl.java:58)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:116)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:91)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:134)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:427)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
               at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
               at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
               at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
               at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
               at org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:265)
               at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:92)
               at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
               at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
               at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
               at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:72)
               at org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
               at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
               at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
               at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
               at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
               at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
               at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
               at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
               at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
               at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:271)
               at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
               at org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
               at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
               at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
               at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
               at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
               at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
               at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
               at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
               at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:139)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
               at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
               at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
               at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
               at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
               at java.lang.Thread.run(Thread.java:595)
          Caused by: javax.servlet.ServletException
               at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:98)
               at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
               at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
               at org.jboss.portal.web.ServletContainer.include(ServletContainer.java:182)
               at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
               at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:76)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:68)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:60)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
               at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
               ... 162 more
          Caused by: java.lang.IllegalAccessError: tried to access method org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(Ljavax/faces/context/FacesContext;)V from class org.jboss.seam.jsf.SeamPhaseListenerWrapper
               at org.jboss.seam.jsf.SeamPhaseListenerWrapper.beforePortletPhase(SeamPhaseListenerWrapper.java:180)
               at org.jboss.seam.jsf.SeamPhaseListenerWrapper.beforePhase(SeamPhaseListenerWrapper.java:160)
               at org.jboss.portletbridge.lifecycle.LifecyclePhase.execute(LifecyclePhase.java:65)
               at org.jboss.portletbridge.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:64)
               at org.jboss.portletbridge.lifecycle.PortletLifecycle.execute(PortletLifecycle.java:114)
               at org.jboss.portletbridge.AbstractAjaxBridge.execute(AbstractAjaxBridge.java:133)
               at org.jboss.portletbridge.AjaxPortletBridge.renderResponse(AjaxPortletBridge.java:267)
               at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:201)
               at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:181)
               at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:155)
               at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
               at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:136)
               at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
               at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
               at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
               at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
               at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
               at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
               at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
               at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:104)
               at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:131)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
               at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
               at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
               at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
               at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:80)
               ... 177 more


          • 2. Re: Seamportlet
            Jannis E. Newbie

            11:49:14,611 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
            11:49:14,611 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >)
            11:49:14,611 WARN  [LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@169599b<rs=com.mysql.jdbc.ResultSetImpl@de57d>
            11:49:14,611 ERROR [PortalServlet] Unexpected exception
            org.hibernate.exception.GenericJDBCException: Cannot open connection
                 at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
                 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
                 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
                 at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
                 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
                 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
                 at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
                 at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
                 at org.hibernate.loader.Loader.doQuery(Loader.java:673)
                 at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
                 at org.hibernate.loader.Loader.doList(Loader.java:2220)
                 at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
                 at org.hibernate.loader.Loader.list(Loader.java:2099)
                 at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
                 at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
                 at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
                 at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
                 at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
                 at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNodeNoCache(PersistentPortalObjectContainer.java:264)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:281)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:242)
                 at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getObject(AbstractPortalObjectContainer.java:89)
                 at org.jboss.portal.core.model.portal.command.PortalObjectCommand.acquireResources(PortalObjectCommand.java:68)
                 at org.jboss.portal.core.model.portal.command.PortalCommand.acquireResources(PortalCommand.java:56)
                 at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:42)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
                 at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:72)
                 at org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
                 at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                 at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
                 at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
                 at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
                 at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
                 at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
                 at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:271)
                 at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
                 at org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
                 at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                 at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                 at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                 at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:139)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                 at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
                 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
                 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
                 ... 120 more
            Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:304)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
                 ... 122 more
            11:49:14,611 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
            javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: a0a02eb:76c:47c53a15:856 status: ActionStatus.ABORT_ONLY >
                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:304)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
                 at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
                 at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
                 at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
                 at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
                 at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
                 at org.hibernate.loader.Loader.doQuery(Loader.java:673)
                 at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
                 at org.hibernate.loader.Loader.doList(Loader.java:2220)
                 at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
                 at org.hibernate.loader.Loader.list(Loader.java:2099)
                 at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
                 at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
                 at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
                 at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
                 at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
                 at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNodeNoCache(PersistentPortalObjectContainer.java:264)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:281)
                 at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:242)
                 at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getObject(AbstractPortalObjectContainer.java:89)
                 at org.jboss.portal.core.model.portal.command.PortalObjectCommand.acquireResources(PortalObjectCommand.java:68)
                 at org.jboss.portal.core.model.portal.command.PortalCommand.acquireResources(PortalCommand.java:56)
                 at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:42)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
                 at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:72)
                 at org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
                 at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                 at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:133)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
                 at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
                 at org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
                 at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
                 at org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
                 at org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
                 at org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:271)
                 at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
                 at org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
                 at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                 at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                 at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                 at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
                 at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
                 at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:139)
                 at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                 at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                 at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                 at java.lang.Thread.run(Thread.java:595)
            


            • 3. Re: Seamportlet
              Wesley Hales Master

              Can you post your config files that are mentioned on the wiki here:
              http://labs.jboss.com/wiki/JBossPortletBridge
              (in the Configuration section) Or atleast compare them.


              If you still don't see anything, compare your config and jars with the working seam application that's found in the binary download or here http://anonsvn.jboss.org/repos/portletbridge/trunk/examples/seam/booking/


              and if you still have problems, post them to the portletbridge forum here:
              http://www.jboss.com/index.html?module=bb&op=viewforum&f=273

              • 4. Re: Seamportlet
                daniel p Newbie

                Hi, I'm having the same problem us and. I'm wondering if you manage d to fix it?




                • 5. Re: Seamportlet
                  Jannis E. Newbie

                  No, I didn't solve it. I gave up, but I'm forced to solve it in the next 2 weeks ... :(

                  • 6. Re: Seamportlet
                    Matt Rauls Newbie

                    I would echo and amplify what Wesley Hales said about checking the config files. I had this exact same stack trace, and I checked and rechecked web.xml, faces-config.xml and components.xml. But it turned out that I was missing two important files: web-inf/jboss-portlet.xml and web-inf/jboss-web.xml. After adding these two files and correctly configuring them (they are pretty self-explanatory if you look at the seam/portlet booking reference  EAR) and everything worked.


                    Also note, that if you package items in an EAR, that the meta-inf/jboss-app.xml is critical too. Without it you can get some strange behavior when using the portlet in a dashboard. Specifically you will get a blank screen and a stack trace when you go to configure your dashboard. 

                    • 7. Re: Seamportlet
                      Yaroslav Palanskyy Newbie

                      Hi,


                      I have EAR application (web and EJB modules inside EAR) and also have faced the same problem:


                      java.lang.IllegalAccessError:
                      tried to access method org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(Ljavax/faces/context/FacesContext;)V
                      from class org.jboss.seam.jsf.SeamPhaseListenerWrapper



                      This exception is thrown when request is sent to portal. All deploys fine, without any issues.


                      Was this issue solved by anybody?


                      Here is what I have found:



                      • First of all, I wanted to download Seam Booking portlet example to see how it is organized, but it does not exist in examples from svn anymore. And I did not managed to find it, if it was just moved, not finally deleted.

                      • IllegalAccessError arises because org.jboss.seam.jsf.SeamPhaseListenerWrapper tries to call protected method of org.jboss.seam.jsf.SeamPhaseListener (method beforeRestoreView as you can see from exception at the beginning of my post). These two classes reside in the same package, but loaded by different class loaders (by EAR's one and WAR's one), since these classes are contained by different jars: jboss-seam.jar and jboss-portlet-bridge-impl.jar. It can be easily checked using jmx-console.

                      • Some jars are placed under EAR's lib folder, as common for all modules, while other are placed as libs of modules. In my case I have jboss-seam.jar placed on EAR's level and registered as an EJB module. jboss-portlet-bridge.jar in turn, is placed under the lib folder of web module. I used Dependencies chapter of Seam Reference Guide for reference.

                      • I use class loaders isolation in JBoss, so in jboss-app.xml file on EAR level I have enabled scoped class loading (loader scoping is specified only for EAR level, accordingly to documentation):



                      <jboss-app>
                         <loader-repository>com.seamportlet:archive=seamportlet.ear</loader-repository> 
                      </jboss-app>
                      




                      • In jmx-console I can see, that all libs on EAR level were loaded by com.seamportlet:archive=seamportlet.ear loader, specified in EAR's jboss-app.xml. But jars from WAR are loaded by Tomcat's (?) class loader. And this leads to IllegalAccessError.



                      If you have found solution, could you please describe what exactly have you done to make it work (general magic check all files and it will work is not heplful).


                      Thanks!

                      • 8. Re: Seamportlet
                        Jannis E. Newbie

                        I found a solution using the maven archetype from My Link


                        Hopefully this will help you.


                        Jannis

                        • 9. Re: Seamportlet
                          Yaroslav Palanskyy Newbie

                          Jannis, thanks for your reply.


                          Actually, I have no problems with portlet bridge itself, I can use it with JSF RI, Facelets and RichFaces. But I can't setup Seam properly. And I can't find booking portlet example to use it as a reference :).


                          If you have working Seam portlet (as a part of EAR app), could you please tell, where jboss-seam.jar and jboss-portlet-bridge-impl.jar reside. Also, could you please post Class-Path from manifest.mf files (if any) of EAR and WAR modules.


                          Thanks!

                          • 10. Re: Seamportlet
                            Yaroslav Palanskyy Newbie

                            Yaroslav Palanskyy wrote on Sep 17, 2008 16:18:


                            Was this issue solved by anybody?



                            OK, if nobody has explanation about what is going on, me from the future will answer to me from the past :).


                            Again, the problem is in loading jars (jboss-seam.jar and jboss-portlet-bridge-impl.jar) which contain classes from the same package by different class loaders. So, when one such class tries to access protected method of another, we are getting IllegalAccessError.


                            Also, as I said before, just copying config files from sample Seam Booking Portlet may fix this issue, but if you don't know what that configuration do and do you really need it -- you are on the road to nowhere. I don't believe in magic.


                            Way to solve this issue is obvious -- make both that problematic jars be loaded by the same classloader. Simple copying of jars in the same folder won't help because of initialization of Seam, dependencies and so on. Another option is to use scoped class loading. In this case stuff from WAR's WEB-INF/lib and WEB-INF/classes will be loaded by UCL (via delegation from web container's class loader), the same as EAR's libs. In order to make this, just add something like


                              <class-loading java2ClassLoadingCompliance="false">
                                <loader-repository>
                                  com.seamportlet:loader=seamportlet.war
                                  <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
                                </loader-repository>
                              </class-loading>



                            to your jboss-web.xml file under WAR/WEB-INF. That's all!


                            For those, who want to read more about class loading in JBoss: Advanced JBoss Class Loading, Class Loading Configuration, Complete Class Loading Model.

                            • 11. Re: Seamportlet
                              Michel Thai Newbie

                              Hi,


                              Despite the additions of jboss-web.xml and using class loader on my project, I have another problem :s


                              My jboss 5.1.0.GA was blocked after this stacktrace:



                              11:46:36,738 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@1632c2d].
                              11:46:36,738 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE".





                              So I can't access my project web