1 Reply Latest reply on Oct 22, 2008 12:03 PM by N H

    Unable to Login to JBoss Portal 2.7 CR1

    Alex Acevedo Newbie

      hey all,
      I recently had Portal 2.6.6 and just wanted to mess around and give 2.7 a try. Unfortunately, I am for some strange reason unable to login. All i did for this upgrade is basically move the jboss-portlet.sar into the deploy directory of the jboss server that I am running which is currently 4.2.2. I am not sure if this is actually all that is needed but I figured it was. However, I am unable to login and receive the following error:

      ObjectName: portal:service=CMS
      State: FAILED
      Reason: java.lang.RuntimeEXception: org.jboss.portal.identity.IdentityException: Cannot find user by name admin



      Has anyone ever run into an issue like this? Any help would be appreciated. Thanks.

        • 1. Re: Unable to Login to JBoss Portal 2.7 CR1
          N H Newbie

          We had the same problem on Portal 2.7.

          It has to do with your database permissions. Try logging into your database as root.

          Make sure you set the password for the user:
          SET PASSWORD FOR portal@localhost=PASSWORD(‘password’);

          replacing password as the password.

          Then:

          GRANT ALL PRIVILEGES ON jbossportal.* TO 'portal'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

          if you are using portal as the user, and replacing password with your password in your datasource xml config file.