Do you have a user without role?

About your admin, it's normal, an admin can do everything.

Emmanuel

Iker Almandoz a écrit :
Hi Emmanuel,

I have updated to 1.1-beta-3 following the instructions in
http://maven.apache.org/continuum/guides/mini/guide-data-management.html

The problem is gone as now my admin user can see all the projects. However,
i was not able to import the users.

While trying to import the users database, i run into the following problem
which means that i could not import the users into the db...

15144 [main] INFO JPOX.RDBMS  - Validated 1 index(es) for table
USERSMANAGEMENTMODELLOMETADATA
Exception in thread "main" java.lang.NullPointerException
        at
org.codehaus.plexus.redback.management.JdoDataManagementTool.restoreRBACDatabase
(JdoDataManagementTool.java:169)
        at
org.apache.maven.continuum.management.redback.JdoDataManagementTool.restoreDatabase
(JdoDataManagementTool.java:93)
        at
org.apache.maven.continuum.management.DataManagementCli.processDatabase(
DataManagementCli.java:243)
        at org.apache.maven.continuum.management.DataManagementCli.main(
DataManagementCli.java:153)

Any thoughts ?

Regards,
Iker






On 10/1/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
You can upgrade your continuum to 1.1-beta-3, some issues in redback
(security framework) are fixed.

Emmanuel

Iker Almandoz a écrit :
Hi All,

I'm using continuum-1.1-beta-2 with maven 7.

I am running the system as admin and i am getting a project group twice
when
i look at my permission list:

    * Project Administrator - Aggregators
    * Project User - Aggregators
    * Project Administrator - Aggregators
    * Project Developer - Aggregators
    * Project User - Aggregators
    * Project Developer - Aggregators

When i try to add a new project into this group, i am getting the
following
error:
  * You are not authorized to access this page. Please contact your
administrator to be granted the appropriate permissions.

However, i am the admin of the continuum installation.

Here is part of my log:


INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,818
[SocketListener0-0] INFO  DispatcherUtils                - Unable to
find '
webwork.multipart.saveDir' property setting. Defaulting to
javax.servlet.context.tempdir
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,821
[SocketListener0-0] WARN  MultiPartRequest               - Item is a
file
upload of 0 size, ignoring
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,821
[SocketListener0-0] ERROR DispatcherUtils                - Error setting
character encoding to 'UTF-8' - ignoring.
INFO   | jvm 1    | 2007/10/01 10:21:18 |
java.lang.IllegalStateException:
getReader() or getInputStream() called
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.ServletHttpRequest.setCharacterEncoding(
ServletHttpRequest.java:602)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
javax.servlet.ServletRequestWrapper.setCharacterEncoding(
ServletRequestWrapper.java:112)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
com.opensymphony.webwork.dispatcher.DispatcherUtils.prepare(
DispatcherUtils.java:392)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
FilterDispatcher.java:160)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
PageFilter.java
:118)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(
PageFilter.java
:52)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(
ActionContextCleanUp.java:88)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
WebApplicationHandler.java:471)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.jetty.servlet.WebApplicationContext.handle(
WebApplicationContext.java:633)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpServer.service(HttpServer.java:909)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java
:244)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO   | jvm 1    | 2007/10/01 10:21:18 |     at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,823
[SocketListener0-0] DEBUG MemoryStore                    -
keysCacheCache:
keysCacheMemoryStore miss for fcd7b8abc5014db6b27279795e8a5862
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,823
[SocketListener0-0] DEBUG Cache                          - keysCache
cache -
Miss
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,826
[SocketListener0-0] DEBUG MemoryStore                    -
keysCacheCache:
keysCacheMemoryStore miss for 6565ca2206354041b6ab9963fe682141
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,826
[SocketListener0-0] DEBUG Cache                          - keysCache
cache -
Miss
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,828
[SocketListener0-0] DEBUG MemoryStore                    -
usersCacheCache:
usersCacheMemoryStore hit for myUser
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,828
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,831
[SocketListener0-0] INFO  ContinuumProjectBuilder:maven-two-builder -
Downloading file://localhost/home/tester/development/project/pom.xml
INFO   | jvm 1    | 2007/10/01 10:21:18 | 2007-10-01 10:21:18,922
[SocketListener0-0] DEBUG MavenBuilderHelper:default     -
INFO   | jvm 1    | 2007/10/01 10:21:18 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:18 | Effective Settings
INFO   | jvm 1    | 2007/10/01 10:21:18 |

************************************************************************************
..............
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,018
[SocketListener0-0] DEBUG MavenBuilderHelper:default     -
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:19 | Effective POM for project
'myGroup:myProject:myVersion'
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
...............
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:19 |
INFO   | jvm 1    | 2007/10/01 10:21:19 |
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,018
[SocketListener0-0] DEBUG MavenBuilderHelper:default     -
INFO   | jvm 1    | 2007/10/01 10:21:19 |
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:19 | Active Profiles for Project
'myGroup:myProject:myVersion'
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:19 | The following profiles are
active:
INFO   | jvm 1    | 2007/10/01 10:21:19 |
INFO   | jvm 1    | 2007/10/01 10:21:19 |  - default (source:
settings.xml)
INFO   | jvm 1    | 2007/10/01 10:21:19 |

************************************************************************************
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,723
[SocketListener0-0] INFO  Continuum:default              - Created 4
projects.
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,723
[SocketListener0-0] INFO  Continuum:default              - Created 1
project
groups.
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,723
[SocketListener0-0] INFO  Continuum:default              - 0 errors.
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,922
[Thread-7]
DEBUG TaskQueueExecutor:check-out-project - Waiting indefinitely for
task to
complete
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,924
[SocketListener0-0] DEBUG MemoryStore                    -
rolesCacheCache:
rolesCacheMemoryStore miss for Project Administrator - Aggregators
INFO   | jvm 1    | 2007/10/01 10:21:19 | 2007-10-01 10:21:19,924
[SocketListener0-0] DEBUG Cache                          - rolesCache
cache
- Miss
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,954
[SocketListener0-0] DEBUG MemoryStore                    -
rolesCacheCache:
rolesCacheMemoryStore miss for Project Developer - Aggregators
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,954
[SocketListener0-0] DEBUG Cache                          - rolesCache
cache
- Miss
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,963
[SocketListener0-0] DEBUG MemoryStore                    -
rolesCacheCache:
rolesCacheMemoryStore miss for Project User - Aggregators
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,963
[SocketListener0-0] DEBUG Cache                          - rolesCache
cache
- Miss
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,985
[SocketListener0-0] DEBUG MemoryStore                    -
keysCacheCache:
keysCacheMemoryStore miss for 6565ca2206354041b6ab9963fe682141
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,985
[SocketListener0-0] DEBUG Cache                          - keysCache
cache -
Miss
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,988
[SocketListener0-0] DEBUG MemoryStore                    -
keysCacheCache:
keysCacheMemoryStore miss for 6653f6e22069407d98f7a54bc85bc437
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,988
[SocketListener0-0] DEBUG Cache                          - keysCache
cache -
Miss
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,989
[SocketListener0-0] DEBUG MemoryStore                    -
usersCacheCache:
usersCacheMemoryStore hit for myUser
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,990
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,990
[SocketListener0-0] DEBUG MemoryStore                    -
usersCacheCache:
usersCacheMemoryStore hit for guest
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:19,990
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for guest
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:20,017
[pool-2-thread-1] INFO  ContinuumScm:default           - Checking out
project: 'Simulator: Aggregator', id: '298' to '/usr/local/continuum-
1.1-beta-2/apps/continuum/webapp/WEB-INF/working-directory/298'.
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:20,019
[pool-2-thread-1] INFO  ScmManager:default             - Executing:
/bin/bash -c "cd
/usr/local/continuum-1.1-beta-2
/apps/continuum/webapp/WEB-INF/working-directory
&& cvs -f -d :ext:[EMAIL PROTECTED]:/usr/local/cvsroot -q checkout -d
298
project"
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:20,019
[pool-2-thread-1] INFO  ScmManager:default             - Working
directory:
/usr/local/continuum-1.1-beta-2
/apps/continuum/webapp/WEB-INF/working-directory
INFO   | jvm 1    | 2007/10/01 10:21:20 | 2007-10-01 10:21:20,829
[pool-2-thread-1] DEBUG ScmManager:default             - Executing CVS
command: checkout -d 298 project
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,011
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,117
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,117
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,144
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,170
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,196
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:21 | 2007-10-01 10:21:21,249
[SocketListener0-0] DEBUG MemoryStore                    -
userPermissionsCacheCache: userPermissionsCacheMemoryStore hit for
myUser
INFO   | jvm 1    | 2007/10/01 10:21:22 | 2007-10-01 10:21:22,414
[pool-2-thread-1] DEBUG ScmManager:default             -
INFO   | jvm 1    | 2007/10/01 10:21:22 | 2007-10-01 10:21:22,414
[pool-2-thread-1] DEBUG ScmManager:default             -
INFO   | jvm 1    | 2007/10/01 10:21:22 | 2007-10-01 10:21:22,414
[pool-2-thread-1] DEBUG ScmManager:default             - U 298/pom.xml
...........
INFO   | jvm 1    | 2007/10/01 10:21:22 | 2007-10-01 10:21:22,691
[pool-2-thread-1] INFO  ContinuumScm:default           - Checked out 104
files.
INFO   | jvm 1    | 2007/10/01 10:21:22 | 2007-10-01 10:21:22,843
[Thread-7]
DEBUG TaskQueueExecutor:check-out-project - Waiting indefinitely for
task to
complete


Best regards,
Iker




Reply via email to