talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Database issue after cloning tenant

FG
Francisco G. C. Líbano Monteiro Faure
Mon, Apr 18, 2016 11:30 AM

Hi everyone,

my name is Francisco and this is my first post in this talk list. First of
all congratulations on your extraordinary work.
I am testing Collection Space in order to know if it fits in a project for
a Portuguese museum. I have succesfully installed Collection Space and I am
now trying to clone the core tenant. I followed the steps on
https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway.
However, the database is not populated with the new tenant or users
information.

While running "ant import" everything seems to go well untill the following
message apears:

(...)
import-windows:
[exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T16:41:47+00:00)
[exec] Maven home: C:\Program Files\Apache\Maven
[exec] Java version: 1.8.0_77, vendor: Oracle Corporation
[exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre
[exec] Default locale: pt_PT, platform encoding: Cp1252
[exec] OS name: "windows vista", version: "6.0", arch: "x86", family:
"dos"
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO]

 [exec] [INFO] Building services.authorization-mgt.import 4.3
 [exec] [INFO]

 [exec] [INFO]
 [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate

@ org.collectionspace.services.authorization-m
gt.import >>>
[exec] [INFO]
[exec] [INFO] --- maven-antrun-plugin:1.7:run (check-environment-vars)
@ org.collectionspace.services.authorization-
mgt.import ---
[exec] [WARNING] Parameter tasks is deprecated, use target instead
[exec] [INFO] Executing tasks
[exec]
[exec] main:
[exec] [INFO] Executed tasks
[exec] [INFO]
[exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate
@ org.collectionspace.services.authorization-m
gt.import <<<
[exec] [INFO]
[exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @
org.collectionspace.services.authorization-mgt.import -

 [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace

authorization metadata using the following settings:
[exec] 2016-04-18 12:16:26,099 INFO:      user=SPRING_ADMIN
[exec] 2016-04-18 12:16:26,099 INFO:      password=does_not_matter
[exec] 2016-04-18 12:16:26,099 INFO:
tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57
[exec] 2016-04-18 12:16:26,099 INFO:
exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt
import/target
[exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for:
Collectionspace Core Tenant
[exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for:
Collectionspace Fine & Contemporary Art Tenant

 [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for:

Default tenant Lifesci
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=1 name=core.collectionspace.org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=1000 name=fcart.collectionspace.
org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=2 name=lifesci.collectionspace.o
rg
[exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence unit
for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant
bindings files and generating all AuthN/AuthZ me
tadata.
[exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to
database.
[exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to
database.
[exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles
relationships metadata to database.
[exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata
persisted.
[exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security
Tables...
[exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of 85849...
[exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of
85849...
[exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of
85849...
[exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of
85849...
[exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of
85849...
[exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of
85849...
[exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of
85849...
[exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of
85849...
[exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of
85849...
[exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of
85849...
[exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of
85849...
[exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of
85849...
[exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of
85849...
[exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of
85849...
[exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of
85849...
[exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of
85849...
[exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of
85849...
[exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of
85849...
[exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of
85849...
[exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of
85849...
[exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of
85849...
[exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of
85849...
[exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of
85849...
[exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of
85849...
[exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of
85849...
[exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of
85849...
[exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of
85849...
[exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of
85849...
[exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of
85849...
[exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of
85849...
[exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security
Tables.
[exec] [INFO]

 [exec] [INFO] BUILD SUCCESS
 [exec] [INFO]

 [exec] [INFO] Total time: 03:02 min
 [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00
 [exec] [INFO] Final Memory: 13M/42M
 [exec] [INFO]

 [exec] Java HotSpot(TM) Client VM warning: ignoring option

MaxPermSize=512m; support was removed in 8.0

import:

BUILD SUCCESSFUL
Total time: 3 minutes 25 seconds

Can anyone tell me if I am missing any step or the reason for such error?

Thank your very much,

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

Hi everyone, my name is Francisco and this is my first post in this talk list. First of all congratulations on your extraordinary work. I am testing Collection Space in order to know if it fits in a project for a Portuguese museum. I have succesfully installed Collection Space and I am now trying to clone the core tenant. I followed the steps on https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. However, the database is not populated with the new tenant or users information. While running "ant import" everything seems to go well untill the following message apears: (...) import-windows: [exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) [exec] Maven home: C:\Program Files\Apache\Maven [exec] Java version: 1.8.0_77, vendor: Oracle Corporation [exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre [exec] Default locale: pt_PT, platform encoding: Cp1252 [exec] OS name: "windows vista", version: "6.0", arch: "x86", family: "dos" [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Building services.authorization-mgt.import 4.3 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate @ org.collectionspace.services.authorization-m gt.import >>> [exec] [INFO] [exec] [INFO] --- maven-antrun-plugin:1.7:run (check-environment-vars) @ org.collectionspace.services.authorization- mgt.import --- [exec] [WARNING] Parameter tasks is deprecated, use target instead [exec] [INFO] Executing tasks [exec] [exec] main: [exec] [INFO] Executed tasks [exec] [INFO] [exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate @ org.collectionspace.services.authorization-m gt.import <<< [exec] [INFO] [exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ org.collectionspace.services.authorization-mgt.import - -- [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace authorization metadata using the following settings: [exec] 2016-04-18 12:16:26,099 INFO: user=SPRING_ADMIN [exec] 2016-04-18 12:16:26,099 INFO: password=does_not_matter [exec] 2016-04-18 12:16:26,099 INFO: tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57 [exec] 2016-04-18 12:16:26,099 INFO: exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\ import/target [exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for: Collectionspace Core Tenant [exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for: Collectionspace Fine & Contemporary Art Tenant [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for: Default tenant Lifesci [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1 name=core.collectionspace.org [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1000 name=fcart.collectionspace. org [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=2 name=lifesci.collectionspace.o rg [exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant bindings files and generating all AuthN/AuthZ me tadata. [exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to database. [exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to database. [exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles relationships metadata to database. [exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata persisted. [exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security Tables... [exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of 85849... [exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of 85849... [exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of 85849... [exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of 85849... [exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of 85849... [exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of 85849... [exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of 85849... [exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of 85849... [exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of 85849... [exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of 85849... [exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of 85849... [exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of 85849... [exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of 85849... [exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of 85849... [exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of 85849... [exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of 85849... [exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of 85849... [exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of 85849... [exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of 85849... [exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of 85849... [exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of 85849... [exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of 85849... [exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of 85849... [exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of 85849... [exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of 85849... [exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of 85849... [exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of 85849... [exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of 85849... [exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of 85849... [exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of 85849... [exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security Tables. [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 03:02 min [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00 [exec] [INFO] Final Memory: 13M/42M [exec] [INFO] ------------------------------------------------------------------------ [exec] Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 import: BUILD SUCCESSFUL Total time: 3 minutes 25 seconds Can anyone tell me if I am missing any step or the reason for such error? Thank your very much, Francisco Francisco G. C. Líbano Monteiro Faure *Arqueólogo* Av. D. João IV, 1317 - 2º Dtº 4810 - 532 GUIMARÃES PORTUGAL Telef: 919008504
FG
Francisco G. C. Líbano Monteiro Faure
Mon, Apr 18, 2016 3:22 PM

Hello, again.

Just to say that was my mistake... I had to work around and do it the
less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't
automatically created by the easy way.

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure <
francisco.faure@gmail.com> wrote:

Hi everyone,

my name is Francisco and this is my first post in this talk list. First of
all congratulations on your extraordinary work.
I am testing Collection Space in order to know if it fits in a project for
a Portuguese museum. I have succesfully installed Collection Space and I am
now trying to clone the core tenant. I followed the steps on
https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway.
However, the database is not populated with the new tenant or users
information.

While running "ant import" everything seems to go well untill the
following message apears:

(...)
import-windows:
[exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T16:41:47+00:00)
[exec] Maven home: C:\Program Files\Apache\Maven
[exec] Java version: 1.8.0_77, vendor: Oracle Corporation
[exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre
[exec] Default locale: pt_PT, platform encoding: Cp1252
[exec] OS name: "windows vista", version: "6.0", arch: "x86", family:
"dos"
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO]

  [exec] [INFO] Building services.authorization-mgt.import 4.3
  [exec] [INFO]

  [exec] [INFO]
  [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate

@ org.collectionspace.services.authorization-m
gt.import >>>
[exec] [INFO]
[exec] [INFO] --- maven-antrun-plugin:1.7:run
(check-environment-vars) @ org.collectionspace.services.authorization-
mgt.import ---
[exec] [WARNING] Parameter tasks is deprecated, use target instead
[exec] [INFO] Executing tasks
[exec]
[exec] main:
[exec] [INFO] Executed tasks
[exec] [INFO]
[exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate
@ org.collectionspace.services.authorization-m
gt.import <<<
[exec] [INFO]
[exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @
org.collectionspace.services.authorization-mgt.import -

  [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace

authorization metadata using the following settings:
[exec] 2016-04-18 12:16:26,099 INFO:      user=SPRING_ADMIN
[exec] 2016-04-18 12:16:26,099 INFO:      password=does_not_matter
[exec] 2016-04-18 12:16:26,099 INFO:
tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57
[exec] 2016-04-18 12:16:26,099 INFO:
exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt
import/target
[exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for:
Collectionspace Core Tenant
[exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for:
Collectionspace Fine & Contemporary Art Tenant

  [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for:

Default tenant Lifesci
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=1 name=core.collectionspace.org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=1000 name=fcart.collectionspace.
org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings
for tenant id=2 name=lifesci.collectionspace.o
rg
[exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant
bindings files and generating all AuthN/AuthZ me
tadata.
[exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to
database.
[exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to
database.
[exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles
relationships metadata to database.
[exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata
persisted.
[exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security
Tables...
[exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of
85849...
[exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of
85849...
[exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of
85849...
[exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of
85849...
[exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of
85849...
[exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of
85849...
[exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of
85849...
[exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of
85849...
[exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of
85849...
[exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of
85849...
[exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of
85849...
[exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of
85849...
[exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of
85849...
[exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of
85849...
[exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of
85849...
[exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of
85849...
[exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of
85849...
[exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of
85849...
[exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of
85849...
[exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of
85849...
[exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of
85849...
[exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of
85849...
[exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of
85849...
[exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of
85849...
[exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of
85849...
[exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of
85849...
[exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of
85849...
[exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of
85849...
[exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of
85849...
[exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of
85849...
[exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security
Tables.
[exec] [INFO]

  [exec] [INFO] BUILD SUCCESS
  [exec] [INFO]

  [exec] [INFO] Total time: 03:02 min
  [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00
  [exec] [INFO] Final Memory: 13M/42M
  [exec] [INFO]

  [exec] Java HotSpot(TM) Client VM warning: ignoring option

MaxPermSize=512m; support was removed in 8.0

import:

BUILD SUCCESSFUL
Total time: 3 minutes 25 seconds

Can anyone tell me if I am missing any step or the reason for such error?

Thank your very much,

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

Hello, again. Just to say that was my mistake... I had to work around and do it the less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't automatically created by the easy way. Francisco Francisco G. C. Líbano Monteiro Faure *Arqueólogo* Av. D. João IV, 1317 - 2º Dtº 4810 - 532 GUIMARÃES PORTUGAL Telef: 919008504 On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure < francisco.faure@gmail.com> wrote: > Hi everyone, > > my name is Francisco and this is my first post in this talk list. First of > all congratulations on your extraordinary work. > I am testing Collection Space in order to know if it fits in a project for > a Portuguese museum. I have succesfully installed Collection Space and I am > now trying to clone the core tenant. I followed the steps on > https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. > However, the database is not populated with the new tenant or users > information. > > While running "ant import" everything seems to go well untill the > following message apears: > > (...) > import-windows: > [exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > 2015-11-10T16:41:47+00:00) > [exec] Maven home: C:\Program Files\Apache\Maven > [exec] Java version: 1.8.0_77, vendor: Oracle Corporation > [exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre > [exec] Default locale: pt_PT, platform encoding: Cp1252 > [exec] OS name: "windows vista", version: "6.0", arch: "x86", family: > "dos" > [exec] [INFO] Scanning for projects... > [exec] [INFO] > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] [INFO] Building services.authorization-mgt.import 4.3 > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] [INFO] > [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate > @ org.collectionspace.services.authorization-m > gt.import >>> > [exec] [INFO] > [exec] [INFO] --- maven-antrun-plugin:1.7:run > (check-environment-vars) @ org.collectionspace.services.authorization- > mgt.import --- > [exec] [WARNING] Parameter tasks is deprecated, use target instead > [exec] [INFO] Executing tasks > [exec] > [exec] main: > [exec] [INFO] Executed tasks > [exec] [INFO] > [exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate > @ org.collectionspace.services.authorization-m > gt.import <<< > [exec] [INFO] > [exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ > org.collectionspace.services.authorization-mgt.import - > -- > [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace > authorization metadata using the following settings: > [exec] 2016-04-18 12:16:26,099 INFO: user=SPRING_ADMIN > [exec] 2016-04-18 12:16:26,099 INFO: password=does_not_matter > [exec] 2016-04-18 12:16:26,099 INFO: > tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57 > [exec] 2016-04-18 12:16:26,099 INFO: > exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\ > import/target > [exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for: > Collectionspace Core Tenant > [exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for: > Collectionspace Fine & Contemporary Art Tenant > > [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for: > Default tenant Lifesci > [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings > for tenant id=1 name=core.collectionspace.org > [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings > for tenant id=1000 name=fcart.collectionspace. > org > [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings > for tenant id=2 name=lifesci.collectionspace.o > rg > [exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence > unit for: org.collectionspace.services > [exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant > bindings files and generating all AuthN/AuthZ me > tadata. > [exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to > database. > [exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to > database. > [exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles > relationships metadata to database. > [exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata > persisted. > [exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security > Tables... > [exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of > 85849... > [exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of > 85849... > [exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of > 85849... > [exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of > 85849... > [exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of > 85849... > [exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of > 85849... > [exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of > 85849... > [exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of > 85849... > [exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of > 85849... > [exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of > 85849... > [exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of > 85849... > [exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of > 85849... > [exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of > 85849... > [exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of > 85849... > [exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of > 85849... > [exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of > 85849... > [exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of > 85849... > [exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of > 85849... > [exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of > 85849... > [exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of > 85849... > [exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of > 85849... > [exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of > 85849... > [exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of > 85849... > [exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of > 85849... > [exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of > 85849... > [exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of > 85849... > [exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of > 85849... > [exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of > 85849... > [exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of > 85849... > [exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of > 85849... > [exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security > Tables. > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] [INFO] BUILD SUCCESS > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] [INFO] Total time: 03:02 min > [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00 > [exec] [INFO] Final Memory: 13M/42M > [exec] [INFO] > ------------------------------------------------------------------------ > [exec] Java HotSpot(TM) Client VM warning: ignoring option > MaxPermSize=512m; support was removed in 8.0 > > import: > > BUILD SUCCESSFUL > Total time: 3 minutes 25 seconds > > Can anyone tell me if I am missing any step or the reason for such error? > > Thank your very much, > > Francisco > > Francisco G. C. Líbano Monteiro Faure > *Arqueólogo* > Av. D. João IV, 1317 - 2º Dtº > 4810 - 532 GUIMARÃES > PORTUGAL > Telef: 919008504 >
RM
Richard Millet
Mon, Apr 18, 2016 3:42 PM

Francisco,

I'm glad to hear you were able to move forward and thanks for posting on the CollectionSpace Talk list.  If you hit any more trouble, posting to this email list is a great way to find help.

-Richard

Richard Millet

CollectionSpace Technical Lead

richard.millet@collectionspace.org

www.lyrasis.org


From: Talk talk-bounces@lists.collectionspace.org on behalf of Francisco G. C. Líbano Monteiro Faure francisco.faure@gmail.com
Sent: Monday, April 18, 2016 8:22 AM
To: talk@lists.collectionspace.org
Subject: Re: [Talk] Database issue after cloning tenant

Hello, again.

Just to say that was my mistake... I had to work around and do it the less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't automatically created by the easy way.

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure <francisco.faure@gmail.commailto:francisco.faure@gmail.com> wrote:
Hi everyone,

my name is Francisco and this is my first post in this talk list. First of all congratulations on your extraordinary work.
I am testing Collection Space in order to know if it fits in a project for a Portuguese museum. I have succesfully installed Collection Space and I am now trying to clone the core tenant. I followed the steps on https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. However, the database is not populated with the new tenant or users information.

While running "ant import" everything seems to go well untill the following message apears:

(...)
import-windows:
[exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
[exec] Maven home: C:\Program Files\Apache\Maven
[exec] Java version: 1.8.0_77, vendor: Oracle Corporation
[exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre
[exec] Default locale: pt_PT, platform encoding: Cp1252
[exec] OS name: "windows vista", version: "6.0", arch: "x86", family: "dos"
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Building services.authorization-mgt.import 4.3
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO]
[exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate @ org.collectionspace.services.authorization-m
gt.import >>>
[exec] [INFO]
[exec] [INFO] --- maven-antrun-plugin:1.7:run (check-environment-vars) @ org.collectionspace.services.authorization-
mgt.import ---
[exec] [WARNING] Parameter tasks is deprecated, use target instead
[exec] [INFO] Executing tasks
[exec]
[exec] main:
[exec] [INFO] Executed tasks
[exec] [INFO]
[exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate @ org.collectionspace.services.authorization-m
gt.import <<<
[exec] [INFO]
[exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ org.collectionspace.services.authorization-mgt.import -

 [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace authorization metadata using the following settings:
 [exec] 2016-04-18 12:16:26,099 INFO:       user=SPRING_ADMIN
 [exec] 2016-04-18 12:16:26,099 INFO:       password=does_not_matter
 [exec] 2016-04-18 12:16:26,099 INFO:       tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57
 [exec] 2016-04-18 12:16:26,099 INFO:       exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\

import/target
[exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for: Collectionspace Core Tenant
[exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for: Collectionspace Fine & Contemporary Art Tenant

 [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for: Default tenant Lifesci
 [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1 name=core.collectionspace.org<http://core.collectionspace.org>
 [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1000 name=fcart.collectionspace.

org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=2 name=lifesci.collectionspace.o
rg
[exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant bindings files and generating all AuthN/AuthZ me
tadata.
[exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to database.
[exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to database.
[exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles relationships metadata to database.
[exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata persisted.
[exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security Tables...
[exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of 85849...
[exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of 85849...
[exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of 85849...
[exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of 85849...
[exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of 85849...
[exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of 85849...
[exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of 85849...
[exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of 85849...
[exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of 85849...
[exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of 85849...
[exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of 85849...
[exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of 85849...
[exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of 85849...
[exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of 85849...
[exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of 85849...
[exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of 85849...
[exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of 85849...
[exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of 85849...
[exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of 85849...
[exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of 85849...
[exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of 85849...
[exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of 85849...
[exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of 85849...
[exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of 85849...
[exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of 85849...
[exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of 85849...
[exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of 85849...
[exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of 85849...
[exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of 85849...
[exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of 85849...
[exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security Tables.
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD SUCCESS
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 03:02 min
[exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00
[exec] [INFO] Final Memory: 13M/42M
[exec] [INFO] ------------------------------------------------------------------------
[exec] Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0

import:

BUILD SUCCESSFUL
Total time: 3 minutes 25 seconds

Can anyone tell me if I am missing any step or the reason for such error?

Thank your very much,

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504tel:919008504

Francisco, I'm glad to hear you were able to move forward and thanks for posting on the CollectionSpace Talk list. If you hit any more trouble, posting to this email list is a great way to find help. -Richard Richard Millet CollectionSpace Technical Lead richard.millet@collectionspace.org www.lyrasis.org ________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Francisco G. C. Líbano Monteiro Faure <francisco.faure@gmail.com> Sent: Monday, April 18, 2016 8:22 AM To: talk@lists.collectionspace.org Subject: Re: [Talk] Database issue after cloning tenant Hello, again. Just to say that was my mistake... I had to work around and do it the less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't automatically created by the easy way. Francisco Francisco G. C. Líbano Monteiro Faure Arqueólogo Av. D. João IV, 1317 - 2º Dtº 4810 - 532 GUIMARÃES PORTUGAL Telef: 919008504 On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure <francisco.faure@gmail.com<mailto:francisco.faure@gmail.com>> wrote: Hi everyone, my name is Francisco and this is my first post in this talk list. First of all congratulations on your extraordinary work. I am testing Collection Space in order to know if it fits in a project for a Portuguese museum. I have succesfully installed Collection Space and I am now trying to clone the core tenant. I followed the steps on https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. However, the database is not populated with the new tenant or users information. While running "ant import" everything seems to go well untill the following message apears: (...) import-windows: [exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) [exec] Maven home: C:\Program Files\Apache\Maven [exec] Java version: 1.8.0_77, vendor: Oracle Corporation [exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre [exec] Default locale: pt_PT, platform encoding: Cp1252 [exec] OS name: "windows vista", version: "6.0", arch: "x86", family: "dos" [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Building services.authorization-mgt.import 4.3 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > validate @ org.collectionspace.services.authorization-m gt.import >>> [exec] [INFO] [exec] [INFO] --- maven-antrun-plugin:1.7:run (check-environment-vars) @ org.collectionspace.services.authorization- mgt.import --- [exec] [WARNING] Parameter tasks is deprecated, use target instead [exec] [INFO] Executing tasks [exec] [exec] main: [exec] [INFO] Executed tasks [exec] [INFO] [exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < validate @ org.collectionspace.services.authorization-m gt.import <<< [exec] [INFO] [exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ org.collectionspace.services.authorization-mgt.import - -- [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace authorization metadata using the following settings: [exec] 2016-04-18 12:16:26,099 INFO: user=SPRING_ADMIN [exec] 2016-04-18 12:16:26,099 INFO: password=does_not_matter [exec] 2016-04-18 12:16:26,099 INFO: tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57 [exec] 2016-04-18 12:16:26,099 INFO: exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\ import/target [exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration for: Collectionspace Core Tenant [exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration for: Collectionspace Fine & Contemporary Art Tenant [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration for: Default tenant Lifesci [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1 name=core.collectionspace.org<http://core.collectionspace.org> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=1000 name=fcart.collectionspace. org [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant bindings for tenant id=2 name=lifesci.collectionspace.o rg [exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence unit for: org.collectionspace.services [exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant bindings files and generating all AuthN/AuthZ me tadata. [exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to database. [exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to database. [exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles relationships metadata to database. [exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata persisted. [exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security Tables... [exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of 85849... [exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of 85849... [exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of 85849... [exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of 85849... [exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of 85849... [exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of 85849... [exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of 85849... [exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of 85849... [exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of 85849... [exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of 85849... [exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of 85849... [exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of 85849... [exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of 85849... [exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of 85849... [exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of 85849... [exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of 85849... [exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of 85849... [exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of 85849... [exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of 85849... [exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of 85849... [exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of 85849... [exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of 85849... [exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of 85849... [exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of 85849... [exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of 85849... [exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of 85849... [exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of 85849... [exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of 85849... [exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of 85849... [exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of 85849... [exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring Security Tables. [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 03:02 min [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00 [exec] [INFO] Final Memory: 13M/42M [exec] [INFO] ------------------------------------------------------------------------ [exec] Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 import: BUILD SUCCESSFUL Total time: 3 minutes 25 seconds Can anyone tell me if I am missing any step or the reason for such error? Thank your very much, Francisco Francisco G. C. Líbano Monteiro Faure Arqueólogo Av. D. João IV, 1317 - 2º Dtº 4810 - 532 GUIMARÃES PORTUGAL Telef: 919008504<tel:919008504>
AR
Aron Roberts
Mon, Apr 18, 2016 3:43 PM

Thanks, Francisco. The fact that the delta tenant bindings file isn't
created by the Ant target that clones a tenant, might well be a bug; we'll
look into it. Thanks!

Aron Roberts
UC Berkeley

On Mon, Apr 18, 2016 at 8:22 AM, Francisco G. C. Líbano Monteiro Faure <
francisco.faure@gmail.com> wrote:

Hello, again.

Just to say that was my mistake... I had to work around and do it the
less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't
automatically created by the easy way.

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure <
francisco.faure@gmail.com> wrote:

Hi everyone,

my name is Francisco and this is my first post in this talk list. First
of all congratulations on your extraordinary work.
I am testing Collection Space in order to know if it fits in a project
for a Portuguese museum. I have succesfully installed Collection Space and
I am now trying to clone the core tenant. I followed the steps on
https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway.
However, the database is not populated with the new tenant or users
information.

While running "ant import" everything seems to go well untill the
following message apears:

(...)
import-windows:
[exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T16:41:47+00:00)
[exec] Maven home: C:\Program Files\Apache\Maven
[exec] Java version: 1.8.0_77, vendor: Oracle Corporation
[exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre
[exec] Default locale: pt_PT, platform encoding: Cp1252
[exec] OS name: "windows vista", version: "6.0", arch: "x86",
family: "dos"
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO]

  [exec] [INFO] Building services.authorization-mgt.import 4.3
  [exec] [INFO]

  [exec] [INFO]
  [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) >

validate @ org.collectionspace.services.authorization-m
gt.import >>>
[exec] [INFO]
[exec] [INFO] --- maven-antrun-plugin:1.7:run
(check-environment-vars) @ org.collectionspace.services.authorization-
mgt.import ---
[exec] [WARNING] Parameter tasks is deprecated, use target instead
[exec] [INFO] Executing tasks
[exec]
[exec] main:
[exec] [INFO] Executed tasks
[exec] [INFO]
[exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) <
validate @ org.collectionspace.services.authorization-m
gt.import <<<
[exec] [INFO]
[exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @
org.collectionspace.services.authorization-mgt.import -

  [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace

authorization metadata using the following settings:
[exec] 2016-04-18 12:16:26,099 INFO:      user=SPRING_ADMIN
[exec] 2016-04-18 12:16:26,099 INFO:      password=does_not_matter
[exec] 2016-04-18 12:16:26,099 INFO:
tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57
[exec] 2016-04-18 12:16:26,099 INFO:
exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt
import/target
[exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration
for: Collectionspace Core Tenant
[exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration
for: Collectionspace Fine & Contemporary Art Tenant

  [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration

for: Default tenant Lifesci
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=1 name=core.collectionspace.org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=1000 name=fcart.collectionspace.
org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=2 name=lifesci.collectionspace.o
rg
[exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant
bindings files and generating all AuthN/AuthZ me
tadata.
[exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to
database.
[exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to
database.
[exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles
relationships metadata to database.
[exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata
persisted.
[exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security
Tables...
[exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of
85849...
[exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of
85849...
[exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of
85849...
[exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of
85849...
[exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of
85849...
[exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of
85849...
[exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of
85849...
[exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of
85849...
[exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of
85849...
[exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of
85849...
[exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of
85849...
[exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of
85849...
[exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of
85849...
[exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of
85849...
[exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of
85849...
[exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of
85849...
[exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of
85849...
[exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of
85849...
[exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of
85849...
[exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of
85849...
[exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of
85849...
[exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of
85849...
[exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of
85849...
[exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of
85849...
[exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of
85849...
[exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of
85849...
[exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of
85849...
[exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of
85849...
[exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of
85849...
[exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of
85849...
[exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring
Security Tables.
[exec] [INFO]

  [exec] [INFO] BUILD SUCCESS
  [exec] [INFO]

  [exec] [INFO] Total time: 03:02 min
  [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00
  [exec] [INFO] Final Memory: 13M/42M
  [exec] [INFO]

  [exec] Java HotSpot(TM) Client VM warning: ignoring option

MaxPermSize=512m; support was removed in 8.0

import:

BUILD SUCCESSFUL
Total time: 3 minutes 25 seconds

Can anyone tell me if I am missing any step or the reason for such error?

Thank your very much,

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

Thanks, Francisco. The fact that the delta tenant bindings file isn't created by the Ant target that clones a tenant, might well be a bug; we'll look into it. Thanks! Aron Roberts UC Berkeley On Mon, Apr 18, 2016 at 8:22 AM, Francisco G. C. Líbano Monteiro Faure < francisco.faure@gmail.com> wrote: > Hello, again. > > Just to say that was my mistake... I had to work around and do it the > less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't > automatically created by the easy way. > > Francisco > > > Francisco G. C. Líbano Monteiro Faure > *Arqueólogo* > Av. D. João IV, 1317 - 2º Dtº > 4810 - 532 GUIMARÃES > PORTUGAL > Telef: 919008504 > > On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure < > francisco.faure@gmail.com> wrote: > >> Hi everyone, >> >> my name is Francisco and this is my first post in this talk list. First >> of all congratulations on your extraordinary work. >> I am testing Collection Space in order to know if it fits in a project >> for a Portuguese museum. I have succesfully installed Collection Space and >> I am now trying to clone the core tenant. I followed the steps on >> https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. >> However, the database is not populated with the new tenant or users >> information. >> >> While running "ant import" everything seems to go well untill the >> following message apears: >> >> (...) >> import-windows: >> [exec] Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; >> 2015-11-10T16:41:47+00:00) >> [exec] Maven home: C:\Program Files\Apache\Maven >> [exec] Java version: 1.8.0_77, vendor: Oracle Corporation >> [exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre >> [exec] Default locale: pt_PT, platform encoding: Cp1252 >> [exec] OS name: "windows vista", version: "6.0", arch: "x86", >> family: "dos" >> [exec] [INFO] Scanning for projects... >> [exec] [INFO] >> [exec] [INFO] >> ------------------------------------------------------------------------ >> [exec] [INFO] Building services.authorization-mgt.import 4.3 >> [exec] [INFO] >> ------------------------------------------------------------------------ >> [exec] [INFO] >> [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > >> validate @ org.collectionspace.services.authorization-m >> gt.import >>> >> [exec] [INFO] >> [exec] [INFO] --- maven-antrun-plugin:1.7:run >> (check-environment-vars) @ org.collectionspace.services.authorization- >> mgt.import --- >> [exec] [WARNING] Parameter tasks is deprecated, use target instead >> [exec] [INFO] Executing tasks >> [exec] >> [exec] main: >> [exec] [INFO] Executed tasks >> [exec] [INFO] >> [exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < >> validate @ org.collectionspace.services.authorization-m >> gt.import <<< >> [exec] [INFO] >> [exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ >> org.collectionspace.services.authorization-mgt.import - >> -- >> [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace >> authorization metadata using the following settings: >> [exec] 2016-04-18 12:16:26,099 INFO: user=SPRING_ADMIN >> [exec] 2016-04-18 12:16:26,099 INFO: password=does_not_matter >> [exec] 2016-04-18 12:16:26,099 INFO: >> tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57 >> [exec] 2016-04-18 12:16:26,099 INFO: >> exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\ >> import/target >> [exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration >> for: Collectionspace Core Tenant >> [exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration >> for: Collectionspace Fine & Contemporary Art Tenant >> >> [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration >> for: Default tenant Lifesci >> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >> bindings for tenant id=1 name=core.collectionspace.org >> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >> bindings for tenant id=1000 name=fcart.collectionspace. >> org >> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >> bindings for tenant id=2 name=lifesci.collectionspace.o >> rg >> [exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence >> unit for: org.collectionspace.services >> [exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant >> bindings files and generating all AuthN/AuthZ me >> tadata. >> [exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to >> database. >> [exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata to >> database. >> [exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles >> relationships metadata to database. >> [exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata >> persisted. >> [exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring Security >> Tables... >> [exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of >> 85849... >> [exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of >> 85849... >> [exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of >> 85849... >> [exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of >> 85849... >> [exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of >> 85849... >> [exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of >> 85849... >> [exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of >> 85849... >> [exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of >> 85849... >> [exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of >> 85849... >> [exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of >> 85849... >> [exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of >> 85849... >> [exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of >> 85849... >> [exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of >> 85849... >> [exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of >> 85849... >> [exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of >> 85849... >> [exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of >> 85849... >> [exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of >> 85849... >> [exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of >> 85849... >> [exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of >> 85849... >> [exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of >> 85849... >> [exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of >> 85849... >> [exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of >> 85849... >> [exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of >> 85849... >> [exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of >> 85849... >> [exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of >> 85849... >> [exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of >> 85849... >> [exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of >> 85849... >> [exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of >> 85849... >> [exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of >> 85849... >> [exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of >> 85849... >> [exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring >> Security Tables. >> [exec] [INFO] >> ------------------------------------------------------------------------ >> [exec] [INFO] BUILD SUCCESS >> [exec] [INFO] >> ------------------------------------------------------------------------ >> [exec] [INFO] Total time: 03:02 min >> [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00 >> [exec] [INFO] Final Memory: 13M/42M >> [exec] [INFO] >> ------------------------------------------------------------------------ >> [exec] Java HotSpot(TM) Client VM warning: ignoring option >> MaxPermSize=512m; support was removed in 8.0 >> >> import: >> >> BUILD SUCCESSFUL >> Total time: 3 minutes 25 seconds >> >> Can anyone tell me if I am missing any step or the reason for such error? >> >> Thank your very much, >> >> Francisco >> >> Francisco G. C. Líbano Monteiro Faure >> *Arqueólogo* >> Av. D. João IV, 1317 - 2º Dtº >> 4810 - 532 GUIMARÃES >> PORTUGAL >> Telef: 919008504 >> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
FG
Francisco G. C. Líbano Monteiro Faure
Mon, Apr 18, 2016 4:27 PM

You are welcome.

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

On Mon, Apr 18, 2016 at 4:43 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Thanks, Francisco. The fact that the delta tenant bindings file isn't
created by the Ant target that clones a tenant, might well be a bug; we'll
look into it. Thanks!

Aron Roberts
UC Berkeley

On Mon, Apr 18, 2016 at 8:22 AM, Francisco G. C. Líbano Monteiro Faure <
francisco.faure@gmail.com> wrote:

Hello, again.

Just to say that was my mistake... I had to work around and do it the
less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't
automatically created by the easy way.

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure <
francisco.faure@gmail.com> wrote:

Hi everyone,

my name is Francisco and this is my first post in this talk list. First
of all congratulations on your extraordinary work.
I am testing Collection Space in order to know if it fits in a project
for a Portuguese museum. I have succesfully installed Collection Space and
I am now trying to clone the core tenant. I followed the steps on
https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway.
However, the database is not populated with the new tenant or users
information.

While running "ant import" everything seems to go well untill the
following message apears:

(...)
import-windows:
[exec] Apache Maven 3.3.9
(bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
[exec] Maven home: C:\Program Files\Apache\Maven
[exec] Java version: 1.8.0_77, vendor: Oracle Corporation
[exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre
[exec] Default locale: pt_PT, platform encoding: Cp1252
[exec] OS name: "windows vista", version: "6.0", arch: "x86",
family: "dos"
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO]

  [exec] [INFO] Building services.authorization-mgt.import 4.3
  [exec] [INFO]

  [exec] [INFO]
  [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) >

validate @ org.collectionspace.services.authorization-m
gt.import >>>
[exec] [INFO]
[exec] [INFO] --- maven-antrun-plugin:1.7:run
(check-environment-vars) @ org.collectionspace.services.authorization-
mgt.import ---
[exec] [WARNING] Parameter tasks is deprecated, use target instead
[exec] [INFO] Executing tasks
[exec]
[exec] main:
[exec] [INFO] Executed tasks
[exec] [INFO]
[exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) <
validate @ org.collectionspace.services.authorization-m
gt.import <<<
[exec] [INFO]
[exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @
org.collectionspace.services.authorization-mgt.import -

  [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace

authorization metadata using the following settings:
[exec] 2016-04-18 12:16:26,099 INFO:      user=SPRING_ADMIN
[exec] 2016-04-18 12:16:26,099 INFO:      password=does_not_matter
[exec] 2016-04-18 12:16:26,099 INFO:
tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57
[exec] 2016-04-18 12:16:26,099 INFO:
exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt
import/target
[exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration
for: Collectionspace Core Tenant
[exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration
for: Collectionspace Fine & Contemporary Art Tenant

  [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration

for: Default tenant Lifesci
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=1 name=core.collectionspace.org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=1000 name=fcart.collectionspace.
org
[exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant
bindings for tenant id=2 name=lifesci.collectionspace.o
rg
[exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence
unit for: org.collectionspace.services
[exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant
bindings files and generating all AuthN/AuthZ me
tadata.
[exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to
database.
[exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata
to database.
[exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles
relationships metadata to database.
[exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata
persisted.
[exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring
Security Tables...
[exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of
85849...
[exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of
85849...
[exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of
85849...
[exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of
85849...
[exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of
85849...
[exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of
85849...
[exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of
85849...
[exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of
85849...
[exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of
85849...
[exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of
85849...
[exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of
85849...
[exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of
85849...
[exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of
85849...
[exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of
85849...
[exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of
85849...
[exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of
85849...
[exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of
85849...
[exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of
85849...
[exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of
85849...
[exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of
85849...
[exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of
85849...
[exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of
85849...
[exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of
85849...
[exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of
85849...
[exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of
85849...
[exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of
85849...
[exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of
85849...
[exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of
85849...
[exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of
85849...
[exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of
85849...
[exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring
Security Tables.
[exec] [INFO]

  [exec] [INFO] BUILD SUCCESS
  [exec] [INFO]

  [exec] [INFO] Total time: 03:02 min
  [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00
  [exec] [INFO] Final Memory: 13M/42M
  [exec] [INFO]

  [exec] Java HotSpot(TM) Client VM warning: ignoring option

MaxPermSize=512m; support was removed in 8.0

import:

BUILD SUCCESSFUL
Total time: 3 minutes 25 seconds

Can anyone tell me if I am missing any step or the reason for such error?

Thank your very much,

Francisco

Francisco G. C. Líbano Monteiro Faure
Arqueólogo
Av. D. João IV, 1317 - 2º Dtº
4810 - 532 GUIMARÃES
PORTUGAL
Telef: 919008504

You are welcome. Francisco G. C. Líbano Monteiro Faure *Arqueólogo* Av. D. João IV, 1317 - 2º Dtº 4810 - 532 GUIMARÃES PORTUGAL Telef: 919008504 On Mon, Apr 18, 2016 at 4:43 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > Thanks, Francisco. The fact that the delta tenant bindings file isn't > created by the Ant target that clones a tenant, might well be a bug; we'll > look into it. Thanks! > > Aron Roberts > UC Berkeley > > On Mon, Apr 18, 2016 at 8:22 AM, Francisco G. C. Líbano Monteiro Faure < > francisco.faure@gmail.com> wrote: > >> Hello, again. >> >> Just to say that was my mistake... I had to work around and do it the >> less-easy way because the file xxxx-tenant-bindings.delta.xml wasn't >> automatically created by the easy way. >> >> Francisco >> >> >> Francisco G. C. Líbano Monteiro Faure >> *Arqueólogo* >> Av. D. João IV, 1317 - 2º Dtº >> 4810 - 532 GUIMARÃES >> PORTUGAL >> Telef: 919008504 >> >> On Mon, Apr 18, 2016 at 12:30 PM, Francisco G. C. Líbano Monteiro Faure < >> francisco.faure@gmail.com> wrote: >> >>> Hi everyone, >>> >>> my name is Francisco and this is my first post in this talk list. First >>> of all congratulations on your extraordinary work. >>> I am testing Collection Space in order to know if it fits in a project >>> for a Portuguese museum. I have succesfully installed Collection Space and >>> I am now trying to clone the core tenant. I followed the steps on >>> https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#Creatingyournewtenant-Theeasyway. >>> However, the database is not populated with the new tenant or users >>> information. >>> >>> While running "ant import" everything seems to go well untill the >>> following message apears: >>> >>> (...) >>> import-windows: >>> [exec] Apache Maven 3.3.9 >>> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00) >>> [exec] Maven home: C:\Program Files\Apache\Maven >>> [exec] Java version: 1.8.0_77, vendor: Oracle Corporation >>> [exec] Java home: C:\Program Files\Java\jdk1.8.0_77\jre >>> [exec] Default locale: pt_PT, platform encoding: Cp1252 >>> [exec] OS name: "windows vista", version: "6.0", arch: "x86", >>> family: "dos" >>> [exec] [INFO] Scanning for projects... >>> [exec] [INFO] >>> [exec] [INFO] >>> ------------------------------------------------------------------------ >>> [exec] [INFO] Building services.authorization-mgt.import 4.3 >>> [exec] [INFO] >>> ------------------------------------------------------------------------ >>> [exec] [INFO] >>> [exec] [INFO] >>> exec-maven-plugin:1.1:java (default-cli) > >>> validate @ org.collectionspace.services.authorization-m >>> gt.import >>> >>> [exec] [INFO] >>> [exec] [INFO] --- maven-antrun-plugin:1.7:run >>> (check-environment-vars) @ org.collectionspace.services.authorization- >>> mgt.import --- >>> [exec] [WARNING] Parameter tasks is deprecated, use target instead >>> [exec] [INFO] Executing tasks >>> [exec] >>> [exec] main: >>> [exec] [INFO] Executed tasks >>> [exec] [INFO] >>> [exec] [INFO] <<< exec-maven-plugin:1.1:java (default-cli) < >>> validate @ org.collectionspace.services.authorization-m >>> gt.import <<< >>> [exec] [INFO] >>> [exec] [INFO] --- exec-maven-plugin:1.1:java (default-cli) @ >>> org.collectionspace.services.authorization-mgt.import - >>> -- >>> [exec] 2016-04-18 12:16:26,099 INFO: Creating CollectionSpace >>> authorization metadata using the following settings: >>> [exec] 2016-04-18 12:16:26,099 INFO: user=SPRING_ADMIN >>> [exec] 2016-04-18 12:16:26,099 INFO: password=does_not_matter >>> [exec] 2016-04-18 12:16:26,099 INFO: >>> tenantBinding=C:\Users\Computador\tomcat\apache-tomcat-7.0.57 >>> [exec] 2016-04-18 12:16:26,099 INFO: >>> exportDir=C:\Users\COMPUT~1\COLLEC~2\SERVICES\services\authorization-mgt\ >>> import/target >>> [exec] 2016-04-18 12:16:28,533 INFO: Parsed tenant configuration >>> for: Collectionspace Core Tenant >>> [exec] 2016-04-18 12:16:28,985 INFO: Parsed tenant configuration >>> for: Collectionspace Fine & Contemporary Art Tenant >>> >>> [exec] 2016-04-18 12:16:29,423 INFO: Parsed tenant configuration >>> for: Default tenant Lifesci >>> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >>> bindings for tenant id=1 name=core.collectionspace.org >>> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >>> bindings for tenant id=1000 name=fcart.collectionspace. >>> org >>> [exec] 2016-04-18 12:16:29,423 INFO: Finished reading tenant >>> bindings for tenant id=2 name=lifesci.collectionspace.o >>> rg >>> [exec] 2016-04-18 12:16:30,663 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,030 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,092 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,154 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,217 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,279 WARN: Could not find a persistence >>> unit for: org.collectionspace.services >>> [exec] 2016-04-18 12:16:34,904 INFO: Finished processing all tenant >>> bindings files and generating all AuthN/AuthZ me >>> tadata. >>> [exec] 2016-04-18 12:16:34,904 INFO: Seeding Roles metadata to >>> database. >>> [exec] 2016-04-18 12:16:35,015 INFO: Seeding Permissions metadata >>> to database. >>> [exec] 2016-04-18 12:16:35,937 INFO: Seeding Permissions/Roles >>> relationships metadata to database. >>> [exec] 2016-04-18 12:16:52,807 INFO: All Authorization metadata >>> persisted. >>> [exec] 2016-04-18 12:16:55,247 INFO: Started seeding Spring >>> Security Tables... >>> [exec] 2016-04-18 12:16:55,247 INFO: Seeded 293 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:02,106 INFO: Seeded 3223 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:08,768 INFO: Seeded 6153 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:15,390 INFO: Seeded 9083 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:22,182 INFO: Seeded 12013 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:29,164 INFO: Seeded 14943 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:36,650 INFO: Seeded 17873 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:45,366 INFO: Seeded 20803 permissions of >>> 85849... >>> [exec] 2016-04-18 12:17:52,982 INFO: Seeded 23733 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:00,680 INFO: Seeded 26663 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:07,709 INFO: Seeded 29593 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:15,458 INFO: Seeded 32523 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:22,837 INFO: Seeded 35453 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:29,646 INFO: Seeded 38383 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:36,476 INFO: Seeded 41313 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:41,618 INFO: Seeded 44243 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:44,244 INFO: Seeded 47173 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:47,311 INFO: Seeded 50103 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:50,034 INFO: Seeded 53033 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:52,790 INFO: Seeded 55963 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:55,491 INFO: Seeded 58893 permissions of >>> 85849... >>> [exec] 2016-04-18 12:18:58,303 INFO: Seeded 61823 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:01,311 INFO: Seeded 64753 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:04,044 INFO: Seeded 67683 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:06,761 INFO: Seeded 70613 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:09,576 INFO: Seeded 73543 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:12,544 INFO: Seeded 76473 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:15,438 INFO: Seeded 79403 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:18,503 INFO: Seeded 82333 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:21,316 INFO: Seeded 85263 permissions of >>> 85849... >>> [exec] 2016-04-18 12:19:22,573 INFO: Finished seeding Spring >>> Security Tables. >>> [exec] [INFO] >>> ------------------------------------------------------------------------ >>> [exec] [INFO] BUILD SUCCESS >>> [exec] [INFO] >>> ------------------------------------------------------------------------ >>> [exec] [INFO] Total time: 03:02 min >>> [exec] [INFO] Finished at: 2016-04-18T12:19:22+01:00 >>> [exec] [INFO] Final Memory: 13M/42M >>> [exec] [INFO] >>> ------------------------------------------------------------------------ >>> [exec] Java HotSpot(TM) Client VM warning: ignoring option >>> MaxPermSize=512m; support was removed in 8.0 >>> >>> import: >>> >>> BUILD SUCCESSFUL >>> Total time: 3 minutes 25 seconds >>> >>> Can anyone tell me if I am missing any step or the reason for such error? >>> >>> Thank your very much, >>> >>> Francisco >>> >>> Francisco G. C. Líbano Monteiro Faure >>> *Arqueólogo* >>> Av. D. João IV, 1317 - 2º Dtº >>> 4810 - 532 GUIMARÃES >>> PORTUGAL >>> Telef: 919008504 >>> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> >