3 Replies Latest reply on Mar 3, 2009 4:48 AM by Piergiorgio Lucidi

    wiki support portal  2.7 ?

    arthur wei Newbie

      when I deploy Binary Beta2 Version for JBoss Portal 2.6 on Portal 2.7 CR1
      then click login, the log show you are not running JBoss Portal

        • 2. Re: wiki support portal  2.7 ?
          Rohith Raveendranath Newbie

          Hi,

          I tried the change but no luck still the same error. I ried having alook at the source and realised the issue is coming at following section :
          if (param instanceof JBossActionRequest) {
          JBossActionRequest jrReq = (JBossActionRequest) param;

          if (jrReq.getUser() != null) {
          extractCredentialsFromUser(jrReq.getUser(),
          userModule,
          membershipModule,
          userProfileModule);
          }
          } else if (param instanceof JBossRenderRequest) {
          JBossRenderRequest jrReq = (JBossRenderRequest) param;

          if (jrReq.getUser() != null) {
          extractCredentialsFromUser(jrReq.getUser(),
          userModule,
          membershipModule,
          userProfileModule);
          } else {
          name = "Unknown";
          }
          } else {
          log.error("You are not running JBoss Portal");
          }

          Now i modified the source to see what is the type for jrReq, the updated logging i had put shows that the jrReq is of type : org.jboss.portal.portlet.impl.jsr168.api.RenderRequestImpl.

          This as far as i understand has been a portak change to comply to JSR168. Now the object(param) does not posses function for getUser since this is more of JBossRenderer method and not implemented in RenderRequestImpl. Could anyone please explain what i should be doing to remove the error of"[JBossPortalCredentials] You are not running JBoss Portal" and whether the investigations i have made make any sense or not.

          Thanks
          Rohith

          • 3. Re: wiki support portal  2.7 ?
            Piergiorgio Lucidi Novice

            I have finished migration for supporting JBoss Portal 2.7, now I'm checking last things during this days I hope to commit the new tag on source repository.

            As soon as I'll post news about how to get the new version ;)