[jboss-user] [JBoss Portal] - Re: Unable to login to Jboss portal 2.7.2

PeterJ do-not-reply at jboss.com
Mon Apr 27 06:16:30 EDT 2009


Sorry, the table name I gave was a typo - you have the correct table. Are all of the table empty, or do some of them have content? For example, in my database jbp_portal_mode has 12 rows, and jbp_portal_object has 29 rows (the number of rows you have might be different).

The initial users are loaded from the file jboss-portal.sar/conf/hibernate/user/setup.txt. Check that file.

In the log file, you should see entries like this:

2009-03-25 16:18:36,663 DEBUG [org.hibernate.pretty.Printer] listing entities:
2009-03-25 16:18:36,665 DEBUG [org.hibernate.pretty.Printer] org.jboss.portal.identity.db.HibernateRoleImpl{users=[org.jboss.portal.identity.db.HibernateUserImpl#4], name=User, displayName=Users, key=2}
2009-03-25 16:18:36,665 DEBUG [org.hibernate.pretty.Printer] org.jboss.portal.identity.db.HibernateRoleImpl{users=[org.jboss.portal.identity.db.HibernateUserImpl#3], name=Admin, displayName=Administrators, key=1}
2009-03-25 16:18:36,666 DEBUG [org.hibernate.pretty.Printer] org.jboss.portal.identity.db.HibernateUserImpl{dynamic=[], enabled=true, registrationDate=2009-03-25 16:18:36, viewRealEmail=true, roles=[org.jboss.portal.identity.db.HibernateRoleImpl#1], familyName=null, fakeEmail=null, userName=admin, realEmail=admin at portal.com, givenName=null, password=21232f297a57a5a743894a0e4a801fc3, key=3}
2009-03-25 16:18:36,667 DEBUG [org.hibernate.pretty.Printer] org.jboss.portal.identity.db.HibernateUserImpl{dynamic=[], enabled=true, registrationDate=2009-03-25 16:18:36, viewRealEmail=true, roles=[org.jboss.portal.identity.db.HibernateRoleImpl#2], familyName=null, fakeEmail=null, userName=user, realEmail=user at portal.com, givenName=null, password=ee11cbb19052e40b07aac0ca060c23ee, key=4}




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

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



More information about the jboss-user mailing list