You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Wallace Croft (JIRA)" <je...@portals.apache.org> on 2008/01/03 22:13:34 UTC

[jira] Created: (JS2-844) role user does not exist

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


[jira] Closed: (JS2-844) role user does not exist

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org