Environment:
Windows 2003 Server standard
Jboss EAP 4.3
Jboss portal 2.6.8 GA
removed Hypersoninc DS file added oracle-ds.xml and portal-ds.xml both pointing to Oracle 9i backend.
Checked the jbp_users table and it contains the admin and user users.
Jboss startsup and no errors on the portal side, but when I go to the home page, a "nosuchuser" exception is thrown.
Her's part of the stack trace:
"ERROR
Cause: java.lang.RuntimeException: org.jboss.portal.identity.NoSuchUserException: No such user No user found with name: admin
Message: org.jboss.portal.identity.NoSuchUserException: No such user No user found with name: admin
StackTrace:
java.lang.RuntimeException: org.jboss.portal.identity.NoSuchUserException: No such user No user found with name: admin
at org.jboss.portal.cms.security.AuthorizationProviderImpl.getRoot(AuthorizationProviderImpl.java:236)
at org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.computeAccess(ACLEnforcer.java:383)
at org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasReadAccess(ACLEnforcer.java:238)
at org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasReadAccess(ACLEnforcer.java:224)
at org.jboss.portal.cms.impl.jcr.command.ACLEnforcer.hasAccess(ACLEnforcer.java:132)
at org.jboss.portal.cms.security.AuthorizationManagerImpl.checkPermission(AuthorizationManagerImpl.java:114)
at org.jboss.portal.cms.impl.interceptors.ACLInterceptor.invoke(ACLInterceptor.java:190)
at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36)
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.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:625)
at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.execute(HAJCRCMS.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
"
Any suggestions?
I would suggest you remove the schema and create a brand new one. Then start the jboss portal server. It will create a brand new user table.
Brian Ko