talk@lists.collectionspace.org

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

View all threads

Could not open a session to the Nuxeo repository='default'

AK
Amandeep Kapila
Thu, Jan 11, 2018 5:07 PM

Hello,

          Managed to install CollectionSpace on my yum box. I can

access the server core tenant, login and access all the pages except My
Collection Space. The pre-processor is perpetually working with no results.

          Checked the Catalina.out logs and its reporting following

error related to Nuxeo,

-- Stack Trace:

org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException:
java.lang.Exception: Could not open a session to the Nuxeo
repository='default'
at
org.collectionspace.services.nuxeo.client.java.RepositoryClientImpl.getFiltered(RepositoryClientImpl.java:1043)
at
org.collectionspace.services.common.NuxeoBasedResource.getCommonList(NuxeoBasedResource.java:416)
...first 4 lines. 59 more.

           Environment is Centos 6.5 i686. Collection Space version 4.4.

           I guess some misconfiguration is causing the issue. But this

is my Ist installation and am not very sure where to look for problem
resolution.

            Kindly help.

Aman

Hello, Managed to install CollectionSpace on my yum box. I can access the server core tenant, login and access all the pages except My Collection Space. The pre-processor is perpetually working with no results. Checked the Catalina.out logs and its reporting following error related to Nuxeo, -- Stack Trace: -- org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: java.lang.Exception: Could not open a session to the Nuxeo repository='default' at org.collectionspace.services.nuxeo.client.java.RepositoryClientImpl.getFiltered(RepositoryClientImpl.java:1043) at org.collectionspace.services.common.NuxeoBasedResource.getCommonList(NuxeoBasedResource.java:416) ...first 4 lines. 59 more. Environment is Centos 6.5 i686. Collection Space version 4.4. I guess some misconfiguration is causing the issue. But this is my Ist installation and am not very sure where to look for problem resolution. Kindly help. Aman
AK
Amandeep Kapila
Thu, Jan 11, 2018 5:11 PM

Hello,

           One more issue to report. Can't initialize database. When

visit the URL it says,

---==============================

Initialise vocab/auth entries

testing authority person

Detailed error code:
400
Request target:
/personauthorities/urn:cspace:name(person)/items?wf_deleted=false
Detailed error message:
Could not retrieve vocabulary items


---========

Kindly help.

Aman

---------- Forwarded message ----------
From: Amandeep Kapila amandeep.kapila@gmail.com
Date: Thu, Jan 11, 2018 at 10:37 PM
Subject: Could not open a session to the Nuxeo repository='default'
To: Talk@lists.collectionspace.org

Hello,

          Managed to install CollectionSpace on my yum box. I can

access the server core tenant, login and access all the pages except My
Collection Space. The pre-processor is perpetually working with no results.

          Checked the Catalina.out logs and its reporting following

error related to Nuxeo,

-- Stack Trace:
--      org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException:
java.lang.Exception: Could not open a session to the Nuxeo
repository='default'
at org.collectionspace.services.nuxeo.client.java.
RepositoryClientImpl.getFiltered(RepositoryClientImpl.java:1043)
at org.collectionspace.services.common.NuxeoBasedResource.
getCommonList(NuxeoBasedResource.java:416)
...first 4 lines. 59 more.

           Environment is Centos 6.5 i686. Collection Space version 4.4.

           I guess some misconfiguration is causing the issue. But this

is my Ist installation and am not very sure where to look for problem
resolution.

            Kindly help.

Aman

Hello, One more issue to report. Can't initialize database. When visit the URL it says, =============================================================== Initialise vocab/auth entries testing authority person Detailed error code: 400 Request target: /personauthorities/urn:cspace:name(person)/items?wf_deleted=false Detailed error message: Could not retrieve vocabulary items ========================================================================== Kindly help. Aman ---------- Forwarded message ---------- From: Amandeep Kapila <amandeep.kapila@gmail.com> Date: Thu, Jan 11, 2018 at 10:37 PM Subject: Could not open a session to the Nuxeo repository='default' To: Talk@lists.collectionspace.org Hello, Managed to install CollectionSpace on my yum box. I can access the server core tenant, login and access all the pages except My Collection Space. The pre-processor is perpetually working with no results. Checked the Catalina.out logs and its reporting following error related to Nuxeo, -- Stack Trace: -- org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: java.lang.Exception: Could not open a session to the Nuxeo repository='default' at org.collectionspace.services.nuxeo.client.java. RepositoryClientImpl.getFiltered(RepositoryClientImpl.java:1043) at org.collectionspace.services.common.NuxeoBasedResource. getCommonList(NuxeoBasedResource.java:416) ...first 4 lines. 59 more. Environment is Centos 6.5 i686. Collection Space version 4.4. I guess some misconfiguration is causing the issue. But this is my Ist installation and am not very sure where to look for problem resolution. Kindly help. Aman
AK
Amandeep Kapila
Mon, Jan 15, 2018 6:03 PM

Hi,

   Managed to resolve the issue by allowing nuxeo user to have access

to db by adding the entry for user in pg_hba.conf. That helped, dbs
initialized.

      Everything works now, just can't access the tenants 'anthro' and

'botanical garden' but I guess I saw some document saying all tenants are
not available in version 4.4. And some issue warnings in logs open office
and apache tomcat APR etc. But it works now.

Cheers,
Aman
New Delhi.

On 11 Jan 2018 10:41 pm, "Amandeep Kapila" amandeep.kapila@gmail.com
wrote:

Hello,

            One more issue to report. Can't initialize database. When

visit the URL it says,

---==============================

Initialise vocab/auth entries

testing authority person

Detailed error code:
400
Request target:
/personauthorities/urn:cspace:name(person)/items?wf_deleted=false
Detailed error message:
Could not retrieve vocabulary items


---========

Kindly help.

Aman

---------- Forwarded message ----------
From: Amandeep Kapila amandeep.kapila@gmail.com
Date: Thu, Jan 11, 2018 at 10:37 PM
Subject: Could not open a session to the Nuxeo repository='default'
To: Talk@lists.collectionspace.org

Hello,

           Managed to install CollectionSpace on my yum box. I can

access the server core tenant, login and access all the pages except My
Collection Space. The pre-processor is perpetually working with no results.

           Checked the Catalina.out logs and its reporting following

error related to Nuxeo,

-- Stack Trace:
--      org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException:
java.lang.Exception: Could not open a session to the Nuxeo
repository='default'
at org.collectionspace.services.nuxeo.client.java.RepositoryCli
entImpl.getFiltered(RepositoryClientImpl.java:1043)
at org.collectionspace.services.common.NuxeoBasedResource.getCo
mmonList(NuxeoBasedResource.java:416)
...first 4 lines. 59 more.

            Environment is Centos 6.5 i686. Collection Space version

4.4.

            I guess some misconfiguration is causing the issue. But

this is my Ist installation and am not very sure where to look for problem
resolution.

             Kindly help.

Aman

Hi, Managed to resolve the issue by allowing nuxeo user to have access to db by adding the entry for user in pg_hba.conf. That helped, dbs initialized. Everything works now, just can't access the tenants 'anthro' and 'botanical garden' but I guess I saw some document saying all tenants are not available in version 4.4. And some issue warnings in logs open office and apache tomcat APR etc. But it works now. Cheers, Aman New Delhi. On 11 Jan 2018 10:41 pm, "Amandeep Kapila" <amandeep.kapila@gmail.com> wrote: > Hello, > > One more issue to report. Can't initialize database. When > visit the URL it says, > > =============================================================== > > Initialise vocab/auth entries > > testing authority person > > Detailed error code: > 400 > Request target: > /personauthorities/urn:cspace:name(person)/items?wf_deleted=false > Detailed error message: > Could not retrieve vocabulary items > > ========================================================================== > > Kindly help. > > > Aman > > ---------- Forwarded message ---------- > From: Amandeep Kapila <amandeep.kapila@gmail.com> > Date: Thu, Jan 11, 2018 at 10:37 PM > Subject: Could not open a session to the Nuxeo repository='default' > To: Talk@lists.collectionspace.org > > > Hello, > > Managed to install CollectionSpace on my yum box. I can > access the server core tenant, login and access all the pages except My > Collection Space. The pre-processor is perpetually working with no results. > > Checked the Catalina.out logs and its reporting following > error related to Nuxeo, > > -- Stack Trace: > -- org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException: > java.lang.Exception: Could not open a session to the Nuxeo > repository='default' > at org.collectionspace.services.nuxeo.client.java.RepositoryCli > entImpl.getFiltered(RepositoryClientImpl.java:1043) > at org.collectionspace.services.common.NuxeoBasedResource.getCo > mmonList(NuxeoBasedResource.java:416) > ...first 4 lines. 59 more. > > Environment is Centos 6.5 i686. Collection Space version > 4.4. > > I guess some misconfiguration is causing the issue. But > this is my Ist installation and am not very sure where to look for problem > resolution. > > Kindly help. > > Aman > >