[ 
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 deployment.xml
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to