directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleksandr Bodriagov (Polystar)" <oleksandr.bodria...@polystar.com>
Subject error when building Apache Fortress Rest 1.0-RC40-SNAPSHOT
Date Thu, 16 Apr 2015 10:18:47 GMT
Hi, 

I got the following problem when I tried to build Fortress Rest:

mycmptr:directory-fortress-enmasse myusername$ mvn install
-Dload.file=./src/main/resources/FortressRestServerPolicy.xml
[INFO] Scanning for projects...
[INFO]             
    
[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache Fortress Rest 1.0-RC40-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @
fortress-rest ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
fortress-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
fortress-rest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to
/Users/myusername/git/directory-fortress-enmasse/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources
(default-testResources) @ fortress-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
fortress-rest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to
/Users/myusername/git/directory-fortress-enmasse/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ fortress-rest
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (default) @ fortress-rest ---
[INFO] Executing tasks

fortress-load:
     [echo] ###############  Run Fortress Policy Load  ###############
 [startAnt] Buildfile:
/Users/myusername/git/directory-fortress-enmasse/src/main/resources/Fortres
sRestServerPolicy.xml
 [startAnt] 
 [startAnt] all:
 [startAnt] [FortressAdmin] 2015-04-16 12:15:12,992 (INFO ) static init:
found from: fortress.properties path:
/Users/myusername/git/directory-fortress-enmasse/src/main/resources/fortres
s.properties
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,054 (INFO ) static init:
loading from: fortress.properties
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,062 (INFO ) static init:
load config realm [DEFAULT]
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,086 (INFO ) LDAP POOL:
host=[localhost], port=[10389], min=[1], max=[10]
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,204 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,205 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.7
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,205 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.2
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,206 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.18
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,207 (INFO ) Registered
pre-bundled control factory: 1.2.840.113556.1.4.319
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,208 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,209 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.18060.0.0.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.7
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.2
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.18
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 1.2.840.113556.1.4.319
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,210 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.10.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,211 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.42.2.27.8.5.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,212 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.9
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,213 (INFO ) Registered
pre-bundled control factory: 2.16.840.1.113730.3.4.10
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,214 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,214 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.4
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,215 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,215 (INFO ) Registered
pre-bundled control factory: 1.3.6.1.4.1.4203.1.9.1.2
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,216 (INFO ) Registered
pre-bundled control factory: 1.2.840.113556.1.4.473
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,217 (INFO ) Registered
pre-bundled control factory: 1.2.840.113556.1.4.474
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,218 (INFO ) Registered
pre-bundled control factory: 1.2.840.113556.1.4.841
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,220 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.1.8
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,221 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.8
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,223 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,225 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.6
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,226 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.18060.0.1.5
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,228 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,229 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.1.11.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,230 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.1466.20037
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,233 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.1
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,235 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.2
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,236 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.3
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,238 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.4
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,239 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.5
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,240 (INFO ) Registered
pre-bundled extended operation factory: 1.3.6.1.4.1.4203.555.6
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,270 (INFO ) getConfig dn
[cn=DEFAULT,ou=Config,dc=example,dc=com]
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,803 (INFO ) FORTRESS ANT
TASK NAME : FortressAdmin
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,804 (INFO ) addOrgunits
name=demousrs1 typeName=USER description=Test User Org 1 for User on
Tomcat Calendar App
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,809 (WARN ) addOrgunits
name [demousrs1] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create orgUnit name [demousrs1] type [USER] root
[ou=demousrs1,ou=OS-U,ou=ARBAC,dc=example,dc=com] caught
LdapException=org.apache.directory.api.ldap.model.exception.LdapEntryAlread
yExistsException: ENTRY_ALREADY_EXISTS: failed for MessageType :
ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 5
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
ou=demousrs1,ou=OS-U,ou=ARBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftOrgUnit
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ou: demousrs1
 [startAnt] [FortressAdmin]     ftId: c31c40de-d52d-4762-9338-cd98e071ac54
 [startAnt] [FortressAdmin]     description: Test User Org 1 for User on
Tomcat Calendar App
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
ou=demousrs1,ou=OS-U,ou=ARBAC,dc=example,dc=com already exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,810 (INFO ) addRoles
name=fortress-rest-user description=This is JavaEE role required to call
Fortress Rest server
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,816 (WARN ) addRoles name
[fortress-rest-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 7
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: bc3863b6-5904-4080-b565-a9512ae0d755
 [startAnt] [FortressAdmin]     description: This is JavaEE role required
to call Fortress Rest server
 [startAnt] [FortressAdmin]     cn: fortress-rest-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-user,ou=Roles,ou=RBAC,dc=example,dc=com already exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,817 (INFO ) addRoles
name=fortress-rest-super-user description=This role is accepted by all of
the Fortress Rest services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,819 (WARN ) addRoles name
[fortress-rest-super-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-super-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 9
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-super-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-super-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-super-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 33313800-c249-4e31-aad0-e8245566513c
 [startAnt] [FortressAdmin]     description: This role is accepted by all
of the Fortress Rest services
 [startAnt] [FortressAdmin]     cn: fortress-rest-super-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-super-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,819 (INFO ) addRoles
name=fortress-rest-power-user description=This role inherits all of the
other Fortress Rest services roles
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,821 (WARN ) addRoles name
[fortress-rest-power-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-power-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 11
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-power-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-power-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-power-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 8b120e03-9ca9-4949-aa5c-d607d163312f
 [startAnt] [FortressAdmin]     description: This role inherits all of the
other Fortress Rest services roles
 [startAnt] [FortressAdmin]     cn: fortress-rest-power-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-power-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,822 (INFO ) addRoles
name=fortress-rest-access-user description=This role gains access to the
Fortress Rest Access Mgr services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,824 (WARN ) addRoles name
[fortress-rest-access-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-access-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 13
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-access-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-access-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-access-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 851a31f3-290b-4500-99aa-eb48ecf23897
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Access Mgr services
 [startAnt] [FortressAdmin]     cn: fortress-rest-access-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-access-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,824 (INFO ) addRoles
name=fortress-rest-admin-user description=This role gains access to the
Fortress Rest Admin Mgr services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,826 (WARN ) addRoles name
[fortress-rest-admin-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-admin-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 15
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-admin-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-admin-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-admin-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 0f7a23a5-edad-4d09-9a4e-4e31991eb004
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Admin Mgr services
 [startAnt] [FortressAdmin]     cn: fortress-rest-admin-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-admin-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,827 (INFO ) addRoles
name=fortress-rest-review-user description=This role gains access to the
Fortress Rest Delegated Access services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,829 (WARN ) addRoles name
[fortress-rest-review-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-review-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 17
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-review-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-review-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-review-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 98435dcd-adbd-48de-93aa-7aba797de437
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Delegated Access services
 [startAnt] [FortressAdmin]     cn: fortress-rest-review-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-review-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,829 (INFO ) addRoles
name=fortress-rest-delaccess-user description=This role gains access to
the Fortress Rest Delegatged Admin services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,831 (WARN ) addRoles name
[fortress-rest-delaccess-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-delaccess-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 19
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-delaccess-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-delaccess-user
 [startAnt] [FortressAdmin]     ftCstr:
fortress-rest-delaccess-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 2e50be9e-ebc6-4217-87a0-26d2a408ebbf
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Delegatged Admin services
 [startAnt] [FortressAdmin]     cn: fortress-rest-delaccess-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-delaccess-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,832 (INFO ) addRoles
name=fortress-rest-deladmin-user description=This role gains access to the
Fortress Rest Delegated Admin services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,834 (WARN ) addRoles name
[fortress-rest-deladmin-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-deladmin-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 21
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-deladmin-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-deladmin-user
 [startAnt] [FortressAdmin]     ftCstr:
fortress-rest-deladmin-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 78f83910-f471-41a8-8bcb-b814333840e1
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Delegated Admin services
 [startAnt] [FortressAdmin]     cn: fortress-rest-deladmin-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-deladmin-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,834 (INFO ) addRoles
name=fortress-rest-delreview-user description=This role gains access to
the Fortress Rest Delegated Review services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,836 (WARN ) addRoles name
[fortress-rest-delreview-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-delreview-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 23
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-delreview-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-delreview-user
 [startAnt] [FortressAdmin]     ftCstr:
fortress-rest-delreview-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: ef5b95e5-7db7-4adb-825d-e31e36efabeb
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Delegated Review services
 [startAnt] [FortressAdmin]     cn: fortress-rest-delreview-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-delreview-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,836 (INFO ) addRoles
name=fortress-rest-pwmgr-user description=This role gains access to the
Fortress Rest Password Policy Mgr services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,838 (WARN ) addRoles name
[fortress-rest-pwmgr-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-pwmgr-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 25
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-pwmgr-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-pwmgr-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-pwmgr-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: 3517e630-bfb8-4ee2-82e4-a39dbefe3087
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Password Policy Mgr services
 [startAnt] [FortressAdmin]     cn: fortress-rest-pwmgr-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-pwmgr-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,839 (INFO ) addRoles
name=fortress-rest-audit-user description=This role gains access to the
Fortress Rest Audit Mgr services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,841 (WARN ) addRoles name
[fortress-rest-audit-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-audit-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 27
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-audit-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-audit-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-audit-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: c23aa886-2e04-4ebd-9074-f8aa68781930
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Audit Mgr services
 [startAnt] [FortressAdmin]     cn: fortress-rest-audit-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-audit-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,841 (INFO ) addRoles
name=fortress-rest-config-user description=This role gains access to the
Fortress Rest Config Mgr services
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,843 (WARN ) addRoles name
[fortress-rest-config-user] caught
SecurityException=org.apache.directory.fortress.core.CreateException:
create role [fortress-rest-config-user] caught
LdapException=ENTRY_ALREADY_EXISTS: failed for MessageType : ADD_REQUEST
 [startAnt] [FortressAdmin] Message ID : 29
 [startAnt] [FortressAdmin]     Add Request :
 [startAnt] [FortressAdmin] Entry
 [startAnt] [FortressAdmin]     dn[n]:
cn=fortress-rest-config-user,ou=Roles,ou=RBAC,dc=example,dc=com
 [startAnt] [FortressAdmin]     objectClass: top
 [startAnt] [FortressAdmin]     objectClass: ftRls
 [startAnt] [FortressAdmin]     objectClass: ftProperties
 [startAnt] [FortressAdmin]     objectClass: ftMods
 [startAnt] [FortressAdmin]     ftRoleName: fortress-rest-config-user
 [startAnt] [FortressAdmin]     ftCstr: fortress-rest-config-user$0$$$$$$$
 [startAnt] [FortressAdmin]     ftId: f08fa2b2-8d21-476e-b064-8992854e60a5
 [startAnt] [FortressAdmin]     description: This role gains access to the
Fortress Rest Config Mgr services
 [startAnt] [FortressAdmin]     cn: fortress-rest-config-user
 [startAnt] [FortressAdmin] : ERR_250_ENTRY_ALREADY_EXISTS
cn=fortress-rest-config-user,ou=Roles,ou=RBAC,dc=example,dc=com already
exists!
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,843 (INFO )
addRoleInheritances parent=fortress-rest-access-user
child=fortress-web-power-user
 [startAnt] [FortressAdmin] 2015-04-16 12:15:13,852 (INFO ) loadGraph
initializing ROLE context [HOME]
 [startAnt] 
 [startAnt] BUILD FAILED
 [startAnt] 
/Users/myusername/git/directory-fortress-enmasse/src/main/resources/Fortres
sRestServerPolicy.xml:26: java.lang.IllegalMonitorStateException: attempt
to unlock read lock, not locked by current thread
 [startAnt] 	at 
java.util.concurrent.locks.ReentrantReadWriteLock$Sync.unmatchedUnlockExcep
tion(ReentrantReadWriteLock.java:444)
 [startAnt] 	at 
java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(Ree
ntrantReadWriteLock.java:428)
 [startAnt] 	at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(Abstrac
tQueuedSynchronizer.java:1341)
 [startAnt] 	at 
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(Reentrant
ReadWriteLock.java:881)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.RoleUtil.getGraph(RoleUtil.java:389
)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.RoleUtil.getChildren(RoleUtil.java:
122)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.RoleDAO.unloadLdapEntry(RoleDAO.jav
a:644)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.RoleDAO.getRole(RoleDAO.java:387)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.RoleP.read(RoleP.java:73)
 [startAnt] 	at 
org.apache.directory.fortress.core.rbac.AdminMgrImpl.addInheritance(AdminMg
rImpl.java:1090)
 [startAnt] 	at 
org.apache.directory.fortress.core.ant.FortressAntTask.addRoleInheritances(
FortressAntTask.java:1463)
 [startAnt] 	at 
org.apache.directory.fortress.core.ant.FortressAntTask.execute(FortressAntT
ask.java:947)
 [startAnt] 	at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
 [startAnt] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [startAnt] 	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6
2)
 [startAnt] 	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43)
 [startAnt] 	at java.lang.reflect.Method.invoke(Method.java:483)
 [startAnt] 	at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [startAnt] 	at org.apache.tools.ant.Task.perform(Task.java:348)
 [startAnt] 	at org.apache.tools.ant.Target.execute(Target.java:435)
 [startAnt] 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [startAnt] 	at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
 [startAnt] 	at 
org.apache.tools.ant.Project.executeTarget(Project.java:1364)
 [startAnt] 	at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.
java:41)
 [startAnt] 	at 
org.apache.tools.ant.Project.executeTargets(Project.java:1248)
 [startAnt] 	at org.apache.tools.ant.Main.runBuild(Main.java:851)
 [startAnt] 	at org.apache.tools.ant.Main.startAnt(Main.java:235)
 [startAnt] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
 [startAnt] 	at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
 [startAnt] 
 [startAnt] Total time: 1 second
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 6.624s
[INFO] Finished at: Thu Apr 16 12:15:14 CEST 2015
[INFO] Final Memory: 39M/343M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project
fortress-rest: An Ant BuildException has occured: Java returned: 1
[ERROR] around Ant part ...<java fork="true"
classname="org.apache.tools.ant.launch.Launcher" taskname="startAnt"
failonerror="true" dir="/Users/myusername/git/directory-fortress-enmasse"
timeout="4000000">... @ 5:180 in
/Users/myusername/git/directory-fortress-enmasse/target/antrun/build-fortre
ss-load.xml
[ERROR] -> [Help 1]


I would be very grateful for any help!

Best regards,
Oleksandr


Mime
View raw message