1 2 Previous Next 28 Replies Latest reply: Oct 17, 2007 3:03 AM by roth RSS

Portal 2.6 support...

Casey Boyd Novice

Any word on when a version of the Wiki the will be released for JBoss Portal 2.6?

Thanks

Indy

  • 1. Re: Portal 2.6 support...
    Tomasz Szymanski Novice

    As soon as JBPortal 2.6 will be out in GA.

    Cheers,
    Tomek

  • 2. Re: Portal 2.6 support...
    Casey Boyd Novice

    This is a really bad question....but what do you mean by "GA"?

    Thanks

    Indy

  • 3. Re: Portal 2.6 support...
    Tomasz Szymanski Novice

    :) Not bad at all.

    GA means general availability, which in other words is final version (not Release Candidate or beta).

    Tomek

  • 4. Re: Portal 2.6 support...
    Viet Master

    2.6 GA is released.

  • 5. Re: Portal 2.6 support...
    Michael Martinsen Newbie

    Hi

    As Julien says, the 2.6 GA is now out; when will you release the Wiki for the 2.6 version?

    Thanks.

    /Michael

  • 6. Re: Portal 2.6 support...
    Thomas Heute Master

    Michael do you mind, trying the Wiki portlet on 2.6 and list the issue(s) ?

    Maybe Tomasz could benefit from your help on resolving those issues too. That would be great !

  • 7. Re: Portal 2.6 support...
    Michael Martinsen Newbie

    Sure - I will try the Wiki on 2.6.

    /Michael

  • 8. Re: Portal 2.6 support...
    Michael Martinsen Newbie

    I have tried the current Wiki on portal v. 2.6. That is I have downloaded the bundled version of JBoss Portal 2.6 and installed EJB3 (EJB 3.0 Preview RC9 Patch 1- FD).

    Once I try to access a page with the Wiki portlet, I get:

    type Exception report
    
    message
    
    description The server encountered an internal error () that prevented it from fulfilling this request.
    
    exception
    
    javax.servlet.ServletException: Servlet execution threw an exception
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    
    root cause
    
    java.lang.NoSuchMethodError: org.jboss.portal.identity.RoleModule.getRoles(Lorg/jboss/portal/identity/User;)Ljava/util/Set;
     org.jboss.wiki.JBossPortalCredentials.getRoleNames(JBossPortalCredentials.java:81)
     org.jboss.wiki.JBossPortalCredentials.setParam(JBossPortalCredentials.java:127)
     org.jboss.wiki.WikiEngine.getCredentialsInstance(WikiEngine.java:1006)
     org.jboss.wiki.WikiPortlet.doView(WikiPortlet.java:351)
     javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
     javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
     org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
     org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
     org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java)
     org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:89)
     org.jboss.portal.web.jboss.JBossWebContext$InvokeNextCommand.execute(JBossWebContext.java:133)
     sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:585)
     org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:99)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
     org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:79)
     org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:61)
     org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
     org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:70)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:68)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:60)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
     org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
     org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:233)
     org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
     org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
     org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
     org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:147)
     org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:147)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:98)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
     org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementInterceptorImpl.java:58)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:116)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:78)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:134)
     org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:413)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
     org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
     org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
     org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
     org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
     org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:240)
     org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:88)
     org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
     org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:57)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:118)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:77)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
     org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:128)
     org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.render(RenderWindowCommand.java:68)
     org.jboss.portal.core.model.portal.command.render.RenderPageCommand.execute(RenderPageCommand.java:203)
     org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
     org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:123)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:57)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:118)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:77)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:51)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
     org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
     org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:128)
     org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
     org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
     org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
     org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:72)
     org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:279)
     org.jboss.portal.core.controller.Controller.processCommand(Controller.java:267)
     org.jboss.portal.core.controller.Controller.handle(Controller.java:226)
     org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
     org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:245)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:84)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
     org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
     org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
     org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
     org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
     org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
     org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
     org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
     org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
     org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:70)
     org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:131)
     org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
     org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
     org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:380)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    
    


    /Mihcael


  • 9. Re: Portal 2.6 support...
    Thomas Heute Master

    The API has slightly changed, can you try to align to the new API ?

    java/util/Set org.jboss.portal.identity.RoleModule.getRoles(org/jboss/portal/identit
    y/User)

    is now:

    java/util/Set org.jboss.portal.identity.MembershipModule.getRoles(org/jboss/portal/identit
    y/User)

  • 10. Re: Portal 2.6 support...
    Michael Martinsen Newbie

    Well - that's not the only thing that has changed. The

    org.jboss.portal.identity.User


    has also been changed. The

    org.jboss.wiki.JBossPortalCredentials


    used to call

    user.getRealEmail()


    which is no longer available...

    Any idea on how to get the email address?

    /Michael


  • 11. Re: Portal 2.6 support...
    Thomas Heute Master

    That's why we need you :)

    You would need to use the UserProfileModule use the getProperty method:

    getProperty(user, User.INFO_USER_EMAIL_REAL);

  • 12. Re: Portal 2.6 support...
    Michael Martinsen Newbie

    Ahh :-)

    Well I have the Wiki runinng when nu user is logged in, but when i log in, I get:

    java.lang.IllegalArgumentException: User is not a HibernateUserImpl user
     at org.jboss.portal.identity.db.HibernateMembershipModuleImpl.getRoles(HibernateMembershipModuleImpl.java:93)
     at org.jboss.wiki.JBossPortalCredentials.getRoleNames(JBossPortalCredentials.java:101)
     at org.jboss.wiki.JBossPortalCredentials.setParam(JBossPortalCredentials.java:159)
     at org.jboss.wiki.WikiEngine.getCredentialsInstance(WikiEngine.java:1006)
     at org.jboss.wiki.WikiPortlet.doView(WikiPortlet.java:351)
     at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
     at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
    .
    .
    .
    


    The user I get from within JBossPortalCredentials and use to call:

    membershipModule.getRoles(org.jboss.portal.identity.User)
    


    The instance of that User is:

    org.jboss.portal.identity.CachedUserImpl
    


    I can see that the MembershipModule bound into JNDI is of type:

    HibernateMembershipModuleImpl
    


    I would like your input on that :-)

    /Michael

  • 13. Re: Portal 2.6 support...
    Boleslaw Dawidowicz Master

    ok. This must be due the fact that wiki retrieves user using JBossRenderRequest.getUser(). and not UserModule method call. This method will return org.jboss.portal.identity.CachedUserImpl. It is used to not perform SQL query on every request.

    To workaround make every JBossRequest.getUser() call in wiki like this:

    User user = jbossRequest.getUser();
    user = userModule.findUserById(user.getId());


    I know its confusing. I need to add handling CachedUserImpl instance check internally in modules implementation to avoid such problems.

1 2 Previous Next