WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threads---------- Forwarded message ----------
From: www.collectionspace.org collectionspace@movingimage.us
Date: Sun, Sep 2, 2012 at 11:56 PM
Subject: Form submission from: Contact Us
To: collectionspace@movingimage.us
Name: Stephanie Zeliadt
E-mail: stephanie@gaiaresources.com.au
Subject: Error creating authorities
Hi, I've signed up for the forums and talk but have not received my
accounts yet so I am sending my bug report here. I've just installed
collectionspace v2.5 and am receiving an error when trying to create an
organization:
Connection exceptionCreate request failed: on org.collectionspace.services.*
*organization.**OrgAuthorityResource csid=
The cspace-services.log is:
2012-09-03 11:55:25,578 DEBUG [http-8180-2] [org.collectionspace.**
authentication.realm.db.CSpaceDbRealm:139] Executing query: select passwd
from users where username=?, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,580 DEBUG [http-8180-2] [org.collectionspace.
authentication.jaas.CSpaceJBossDBLoginModule:79] Obtained user password
for: admin@core.collectionspace.org
2012-09-03 11:55:25,581 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:195] getRoleSets using rolesQuery:
select r.rolename, 'Role' from roles as r, accounts_roles as ar where
ar.user_id=? and ar.role_id=r.csid, username: admin@core.collectionspace.org
2012-09-03 11:55:25,583 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:207] Executing query: select
r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=?
and ar.role_id=r.csid, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,586 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:249] Assign user to role
ROLE_SPRING_ADMIN
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:249] Assign user to role
ROLE_1_TENANT_ADMINISTRATOR
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:301] getTenants using tenantsQuery:
select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants
as at, tenants as t where a.userid=? and a.csid =
at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id, username:
admin@core.collectionspace.org
2012-09-03 11:55:25,589 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:313] Executing query: select t.id,
t.name, 'Tenants' from accounts_common as a, accounts_tenants as at,
tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID
and at.tenant_id = t.id, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,592 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:352] Assign user to tenant
core.collectionspace.org
2012-09-03 11:55:25,594 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.**SecurityInterceptor:104] received POST on
orgauthorities/urn:cspace:name(organization)/items
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.SecurityInterceptor:256] Nuxeo login performed with
principals:
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.SecurityInterceptor:258] [system]
2012-09-03 11:55:25,886 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:147] tenantId=1 service
binding=Organizations
2012-09-03 11:55:25,887 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:153] tenantId=1 repository
doamin=default-domain
2012-09-03 11:55:25,888 DEBUG [http-8180-2] [org.collectionspace.services.
common.vocabulary.AuthorityResource:142] getSpecifier called by:
createAuthorityItem with specifier: urn:cspace:name(organization)
2012-09-03 11:55:25,889 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:147] tenantId=1 service
binding=Orgauthorities
2012-09-03 11:55:25,890 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:153] tenantId=1 repository
doamin=default-domain
2012-09-03 11:55:25,897 DEBUG [http-8180-2] [org.collectionspace.services.
nuxeo.client.java.RepositoryJavaClientImpl:381] findDoc: Query found: 0
items.
2012-09-03 11:55:25,898 DEBUG [http-8180-2] [org.collectionspace.services.
nuxeo.client.java.**RepositoryJavaClientImpl:382] Query: SELECT * FROM
Orgauthority WHERE collectionspace_core:tenantId = 1 AND
(orgauthorities_common:shortIdentifier='organization') AND ecm:isProxy
= 0
I'm hoping you can tell me what is going wrong here as I won't be able to
properly evaluate the system without creating organizations (or people as a
similar error occurs when I try to create a person).
Thanks!
The results of this submission may be viewed at:
http://collectionspace.org/**node/117/submission/41http://collectionspace.org/node/117/submission/41
It appears that you are trying to create entries in the default Organization authority ("organization"), before you have created the authority itself. One easy way to do that is to login to your installation, and then from another window fetch the application layer URLs to initialize the default authorities. See: http://wiki.collectionspace.org/display/DOC/Initializing+data for details about this.
HTH - Patrick
On Sep 4, 2012, at 5:36 PM, Megan Forbes wrote:
---------- Forwarded message ----------
From: www.collectionspace.org collectionspace@movingimage.us
Date: Sun, Sep 2, 2012 at 11:56 PM
Subject: Form submission from: Contact Us
To: collectionspace@movingimage.us
Name: Stephanie Zeliadt
E-mail: stephanie@gaiaresources.com.au
Subject: Error creating authorities
Hi, I've signed up for the forums and talk but have not received my accounts yet so I am sending my bug report here. I've just installed collectionspace v2.5 and am receiving an error when trying to create an organization:
Connection exceptionCreate request failed: on org.collectionspace.services.organization.OrgAuthorityResource csid=
The cspace-services.log is:
2012-09-03 11:55:25,578 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:139] Executing query: select passwd from users where username=?, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,580 DEBUG [http-8180-2] [org.collectionspace.authentication.jaas.CSpaceJBossDBLoginModule:79] Obtained user password for: admin@core.collectionspace.org
2012-09-03 11:55:25,581 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:195] getRoleSets using rolesQuery: select r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=? and ar.role_id=r.csid, username: admin@core.collectionspace.org
2012-09-03 11:55:25,583 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:207] Executing query: select r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=? and ar.role_id=r.csid, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,586 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:249] Assign user to role ROLE_SPRING_ADMIN
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:249] Assign user to role ROLE_1_TENANT_ADMINISTRATOR
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:301] getTenants using tenantsQuery: select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants as at, tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id, username: admin@core.collectionspace.org
2012-09-03 11:55:25,589 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:313] Executing query: select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants as at, tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,592 DEBUG [http-8180-2] [org.collectionspace.authentication.realm.db.CSpaceDbRealm:352] Assign user to tenant core.collectionspace.org
2012-09-03 11:55:25,594 DEBUG [http-8180-2] [org.collectionspace.services.common.security.SecurityInterceptor:104] received POST on orgauthorities/urn:cspace:name(organization)/items
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.common.security.SecurityInterceptor:256] Nuxeo login performed with principals:
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.common.security.SecurityInterceptor:258] [system]
2012-09-03 11:55:25,886 DEBUG [http-8180-2] [org.collectionspace.services.common.context.AbstractServiceContextImpl:147] tenantId=1 service binding=Organizations
2012-09-03 11:55:25,887 DEBUG [http-8180-2] [org.collectionspace.services.common.context.AbstractServiceContextImpl:153] tenantId=1 repository doamin=default-domain
2012-09-03 11:55:25,888 DEBUG [http-8180-2] [org.collectionspace.services.common.vocabulary.AuthorityResource:142] getSpecifier called by: createAuthorityItem with specifier: urn:cspace:name(organization)
2012-09-03 11:55:25,889 DEBUG [http-8180-2] [org.collectionspace.services.common.context.AbstractServiceContextImpl:147] tenantId=1 service binding=Orgauthorities
2012-09-03 11:55:25,890 DEBUG [http-8180-2] [org.collectionspace.services.common.context.AbstractServiceContextImpl:153] tenantId=1 repository doamin=default-domain
2012-09-03 11:55:25,897 DEBUG [http-8180-2] [org.collectionspace.services.nuxeo.client.java.RepositoryJavaClientImpl:381] findDoc: Query found: 0 items.
2012-09-03 11:55:25,898 DEBUG [http-8180-2] [org.collectionspace.services.nuxeo.client.java.RepositoryJavaClientImpl:382] Query: SELECT * FROM Orgauthority WHERE collectionspace_core:tenantId = 1 AND (orgauthorities_common:shortIdentifier='organization') AND ecm:isProxy = 0
I'm hoping you can tell me what is going wrong here as I won't be able to properly evaluate the system without creating organizations (or people as a similar error occurs when I try to create a person).
Thanks!
The results of this submission may be viewed at:
http://collectionspace.org/node/117/submission/41
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
---------- Forwarded message ----------
From: Patrick Schmitz pschmitz@berkeley.edu
Date: Tue, Sep 4, 2012 at 12:14 PM
Subject: Re: [Talk] Fwd: Form submission from: Contact Us
To: Megan Forbes mforbes@movingimage.us
Cc: CollectionSpace Talk List talk@lists.collectionspace.org
It appears that you are trying to create entries in the default
Organization authority ("organization"), before you have created the
authority itself. One easy way to do that is to login to your installation,
and then from another window fetch the application layer URLs to initialize
the default authorities. See:
http://wiki.collectionspace.org/display/DOC/Initializing+data for details
about this.
HTH - Patrick
On Sep 4, 2012, at 5:36 PM, Megan Forbes wrote:
---------- Forwarded message ----------
From: www.collectionspace.org collectionspace@movingimage.us
Date: Sun, Sep 2, 2012 at 11:56 PM
Subject: Form submission from: Contact Us
To: collectionspace@movingimage.us
Name: Stephanie Zeliadt
E-mail: stephanie@gaiaresources.com.au
Subject: Error creating authorities
Hi, I've signed up for the forums and talk but have not received my
accounts yet so I am sending my bug report here. I've just installed
collectionspace v2.5 and am receiving an error when trying to create an
organization:
Connection exceptionCreate request failed: on org.collectionspace.services.*
*organization.**OrgAuthorityResource csid=
The cspace-services.log is:
2012-09-03 11:55:25,578 DEBUG [http-8180-2] [org.collectionspace.**
authentication.realm.db.CSpaceDbRealm:139] Executing query: select passwd
from users where username=?, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,580 DEBUG [http-8180-2] [org.collectionspace.
authentication.jaas.CSpaceJBossDBLoginModule:79] Obtained user password
for: admin@core.collectionspace.org
2012-09-03 11:55:25,581 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:195] getRoleSets using rolesQuery:
select r.rolename, 'Role' from roles as r, accounts_roles as ar where
ar.user_id=? and ar.role_id=r.csid, username: admin@core.collectionspace.org
2012-09-03 11:55:25,583 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:207] Executing query: select
r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=?
and ar.role_id=r.csid, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,586 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:249] Assign user to role
ROLE_SPRING_ADMIN
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:249] Assign user to role
ROLE_1_TENANT_ADMINISTRATOR
2012-09-03 11:55:25,587 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:301] getTenants using tenantsQuery:
select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants
as at, tenants as t where a.userid=? and a.csid =
at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id, username:
admin@core.collectionspace.org
2012-09-03 11:55:25,589 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:313] Executing query: select t.id,
t.name, 'Tenants' from accounts_common as a, accounts_tenants as at,
tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID
and at.tenant_id = t.id, with username: admin@core.collectionspace.org
2012-09-03 11:55:25,592 DEBUG [http-8180-2] [org.collectionspace.
authentication.realm.db.CSpaceDbRealm:352] Assign user to tenant
core.collectionspace.org
2012-09-03 11:55:25,594 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.**SecurityInterceptor:104] received POST on
orgauthorities/urn:cspace:name(organization)/items
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.SecurityInterceptor:256] Nuxeo login performed with
principals:
2012-09-03 11:55:25,812 DEBUG [http-8180-2] [org.collectionspace.services.
common.security.SecurityInterceptor:258] [system]
2012-09-03 11:55:25,886 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:147] tenantId=1 service
binding=Organizations
2012-09-03 11:55:25,887 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:153] tenantId=1 repository
doamin=default-domain
2012-09-03 11:55:25,888 DEBUG [http-8180-2] [org.collectionspace.services.
common.vocabulary.AuthorityResource:142] getSpecifier called by:
createAuthorityItem with specifier: urn:cspace:name(organization)
2012-09-03 11:55:25,889 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:147] tenantId=1 service
binding=Orgauthorities
2012-09-03 11:55:25,890 DEBUG [http-8180-2] [org.collectionspace.services.
common.context.**AbstractServiceContextImpl:153] tenantId=1 repository
doamin=default-domain
2012-09-03 11:55:25,897 DEBUG [http-8180-2] [org.collectionspace.services.
nuxeo.client.java.RepositoryJavaClientImpl:381] findDoc: Query found: 0
items.
2012-09-03 11:55:25,898 DEBUG [http-8180-2] [org.collectionspace.services.
nuxeo.client.java.**RepositoryJavaClientImpl:382] Query: SELECT * FROM
Orgauthority WHERE collectionspace_core:tenantId = 1 AND
(orgauthorities_common:shortIdentifier='organization') AND ecm:isProxy
= 0
I'm hoping you can tell me what is going wrong here as I won't be able to
properly evaluate the system without creating organizations (or people as a
similar error occurs when I try to create a person).
Thanks!
The results of this submission may be viewed at:
http://collectionspace.org/**node/117/submission/41http://collectionspace.org/node/117/submission/41
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
--
Megan Forbes
Collection Manager
Museum of the Moving Image
36-01 35 Avenue Astoria, NY 11106
movingimage.us 718 777 6800
Direct 718 777 6834