portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Closed: (JS2-844) role user does not exist
Date Thu, 25 Sep 2008 23:15:44 GMT

     [ https://issues.apache.org/jira/browse/JS2-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ate Douma closed JS2-844.

    Resolution: Invalid

This "problem" can be solved by changing the first constructor argument of the PAM bean in
That defines the list of roles ("user" being the default) to be automatically assigned permissions
to when a new pa is deployed.
You must not have a user role in your database which is causing this error.

> role user does not exist
> ------------------------
>                 Key: JS2-844
>                 URL: https://issues.apache.org/jira/browse/JS2-844
>             Project: Jetspeed 2
>          Issue Type: Bug
>         Environment: Windows, Tomcat 5.5
>            Reporter: David Wallace Croft
> This error occurs when you build a custom portal using this command:
> mvn -P tomcat,min
> When tomcat is started, it generates this error indicating role "user" is undefined:
> ERROR: Error granting default permissions for jetspeed-layouts
> org.apache.jetspeed.security.SecurityException: The role user does not exist.
> The conf/tomcat-users.xml file appears to be created by the custom portal build.
> It needs to add role "user".
> Workaround:
> Manually add role "user" to conf/tomcat-users.xml

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message