talk@lists.collectionspace.org

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

View all threads

Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04

YN
Yousuf Nejati
Mon, Jun 27, 2016 6:44 PM

Okay. So, I'm still having problems.

For all of the default tenants (core, lifesci, and fcart) I'm directed to
the demo page.

However, I'm unable to login (invalid email/password). My postgres database
contains all of the default users.

Thoughts? What am I missing here?

Thanks,

-Yousuf

--
Yousuf Nejati

  • Assistant Developer*
    Granite Horizon
    Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.com greg@granitehorizon.com
granitehorizon.com
(888) 354-6626 x786 <%28888%29%20354-6626%20x730> | (916) 647-6350 x786
<%28916%29%20647-6350%20x730> | (866) 867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

Okay. So, I'm still having problems. For all of the default tenants (core, lifesci, and fcart) I'm directed to the demo page. However, I'm unable to login (invalid email/password). My postgres database contains all of the default users. Thoughts? What am I missing here? Thanks, -Yousuf -- Yousuf Nejati * Assistant Developer* Granite Horizon Web Design and Development | Enterprise Content Management | IT Consulting yousuf.nejati@granitehorizon.com <greg@granitehorizon.com> granitehorizon.com (888) 354-6626 x786 <%28888%29%20354-6626%20x730> | (916) 647-6350 x786 <%28916%29%20647-6350%20x730> | (866) 867-7126 (fax) 8153 Elk Grove Boulevard Suite 20 Elk Grove CA 95758-5965
RM
Richard Millet
Mon, Jun 27, 2016 7:37 PM

Yousuf,

Could you try logging in to the Services layer (using the RESTFul API) for each of the tenants?  Use a URL like this: http://localhost:8180/cspace-services/collectionobjects with the corresponding credentials you've setup for each tenant.

If you're not able to login to a tenant, it could mean one of several likely things:

  1. The Service layer failed to startup correctly -check your the tomcat logs (catalina.out and cspace-services.log) for startup errors
  2. The CollectionSpace AuthN/AuthZ database has not been initialized and is empty
  3. The credentials in the AuthN/AuthZ database are different than the credentials you're trying to use.
  4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service layer configuration.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Yousuf Nejati yousuf.nejati@granitehorizon.com
Sent: Monday, June 27, 2016 11:44 AM
To: talk@lists.collectionspace.org
Subject: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04

Okay. So, I'm still having problems.

For all of the default tenants (core, lifesci, and fcart) I'm directed to the demo page.

However, I'm unable to login (invalid email/password). My postgres database contains all of the default users.

Thoughts? What am I missing here?

Thanks,

-Yousuf

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.commailto:greg@granitehorizon.com
granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x730 | (916) 647-6350 x786tel:%28916%29%20647-6350%20x730 | (866) 867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

Yousuf, Could you try logging in to the Services layer (using the RESTFul API) for each of the tenants? Use a URL like this: http://localhost:8180/cspace-services/collectionobjects with the corresponding credentials you've setup for each tenant. If you're not able to login to a tenant, it could mean one of several likely things: 1. The Service layer failed to startup correctly -check your the tomcat logs (catalina.out and cspace-services.log) for startup errors 2. The CollectionSpace AuthN/AuthZ database has not been initialized and is empty 3. The credentials in the AuthN/AuthZ database are different than the credentials you're trying to use. 4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service layer configuration. -Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Yousuf Nejati <yousuf.nejati@granitehorizon.com> Sent: Monday, June 27, 2016 11:44 AM To: talk@lists.collectionspace.org Subject: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04 Okay. So, I'm still having problems. For all of the default tenants (core, lifesci, and fcart) I'm directed to the demo page. However, I'm unable to login (invalid email/password). My postgres database contains all of the default users. Thoughts? What am I missing here? Thanks, -Yousuf -- Yousuf Nejati Assistant Developer Granite Horizon Web Design and Development | Enterprise Content Management | IT Consulting yousuf.nejati@granitehorizon.com<mailto:greg@granitehorizon.com> granitehorizon.com<http://granitehorizon.com> (888) 354-6626 x786<tel:%28888%29%20354-6626%20x730> | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x730> | (866) 867-7126<tel:%28866%29%20867-7126> (fax) 8153 Elk Grove Boulevard Suite 20 Elk Grove CA 95758-5965
YN
Yousuf Nejati
Mon, Jun 27, 2016 7:55 PM

Hey Richard,

Thanks for getting back to me.

Yes. I am able to login that way via the core admin user, and it provides
me with the proper unpopulated, XML schema.

ns2:abstract-common-list<pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list>

From the cspace-services log:

2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A
new transaction was started on thread '65' : true.
2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241]
Added a new repository instance to our repo list.  Current count is now: 1
2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341]
Removed a repository instance from our repo list.  Current count is now: 0
2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353]
Transaction closed on thread '65'

-Yousuf

On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet <richard.millet@lyrasis.org

wrote:

Yousuf,

Could you try logging in to the Services layer (using the RESTFul API) for
each of the tenants?  Use a URL like this:
http://localhost:8180/cspace-services/collectionobjects with the
corresponding credentials you've setup for each tenant.

If you're not able to login to a tenant, it could mean one of several
likely things:

  1. The Service layer failed to startup correctly -check your the tomcat
    logs (catalina.out and cspace-services.log) for startup errors
  2. The CollectionSpace AuthN/AuthZ database has not been initialized and
    is empty
  3. The credentials in the AuthN/AuthZ database are different than the
    credentials you're trying to use.
  4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service
    layer configuration.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Yousuf
Nejati yousuf.nejati@granitehorizon.com
Sent: Monday, June 27, 2016 11:44 AM
To: talk@lists.collectionspace.org
Subject: [Talk] Authentication errors - Installing and Configuring CSpace
locally for development on Ubuntu 14.04

Okay. So, I'm still having problems.

For all of the default tenants (core, lifesci, and fcart) I'm directed to
the demo page.

However, I'm unable to login (invalid email/password). My postgres
database contains all of the default users.

Thoughts? What am I missing here?

Thanks,

-Yousuf

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.commailto:greg@granitehorizon.com
granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x730 | (916) 647-6350 x786tel:%28916%29%20647-6350%20x730
| (866) 867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

--
Yousuf Nejati

  • Assistant Developer*
    Granite Horizon
    Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.com greg@granitehorizon.com
granitehorizon.com
(888) 354-6626 x786 <%28888%29%20354-6626%20x730> | (916) 647-6350 x786
<%28916%29%20647-6350%20x730> | (866) 867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

Hey Richard, Thanks for getting back to me. Yes. I am able to login that way via the core admin user, and it provides me with the proper unpopulated, XML schema. <ns2:abstract-common-list><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list> >From the cspace-services log: 2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A new transaction was started on thread '65' : true. 2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241] Added a new repository instance to our repo list. Current count is now: 1 2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341] Removed a repository instance from our repo list. Current count is now: 0 2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353] Transaction closed on thread '65' -Yousuf On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet <richard.millet@lyrasis.org > wrote: > Yousuf, > > Could you try logging in to the Services layer (using the RESTFul API) for > each of the tenants? Use a URL like this: > http://localhost:8180/cspace-services/collectionobjects with the > corresponding credentials you've setup for each tenant. > > If you're not able to login to a tenant, it could mean one of several > likely things: > > 1. The Service layer failed to startup correctly -check your the tomcat > logs (catalina.out and cspace-services.log) for startup errors > 2. The CollectionSpace AuthN/AuthZ database has not been initialized and > is empty > 3. The credentials in the AuthN/AuthZ database are different than the > credentials you're trying to use. > 4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service > layer configuration. > > -Richard > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Yousuf > Nejati <yousuf.nejati@granitehorizon.com> > Sent: Monday, June 27, 2016 11:44 AM > To: talk@lists.collectionspace.org > Subject: [Talk] Authentication errors - Installing and Configuring CSpace > locally for development on Ubuntu 14.04 > > Okay. So, I'm still having problems. > > For all of the default tenants (core, lifesci, and fcart) I'm directed to > the demo page. > > However, I'm unable to login (invalid email/password). My postgres > database contains all of the default users. > > Thoughts? What am I missing here? > > Thanks, > > -Yousuf > > -- > Yousuf Nejati > Assistant Developer > Granite Horizon > Web Design and Development | Enterprise Content Management | IT Consulting > > yousuf.nejati@granitehorizon.com<mailto:greg@granitehorizon.com> > granitehorizon.com<http://granitehorizon.com> > (888) 354-6626 x786<tel:%28888%29%20354-6626%20x730> | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x730> > | (866) 867-7126<tel:%28866%29%20867-7126> (fax) > 8153 Elk Grove Boulevard Suite 20 > Elk Grove CA 95758-5965 > -- Yousuf Nejati * Assistant Developer* Granite Horizon Web Design and Development | Enterprise Content Management | IT Consulting yousuf.nejati@granitehorizon.com <greg@granitehorizon.com> granitehorizon.com (888) 354-6626 x786 <%28888%29%20354-6626%20x730> | (916) 647-6350 x786 <%28916%29%20647-6350%20x730> | (866) 867-7126 (fax) 8153 Elk Grove Boulevard Suite 20 Elk Grove CA 95758-5965
RM
Richard Millet
Mon, Jun 27, 2016 8:16 PM

Yousuf,

So you're having trouble logging in to the "core" tenant using this type of URL:

http://localhost:8180/collectionspace/ui/core/html/index.html

Is that correct?  Just trying to make sure I understand the problem you're having.

-Richard


From: Yousuf Nejati yousuf.nejati@granitehorizon.com
Sent: Monday, June 27, 2016 12:55 PM
To: Richard Millet
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04

Hey Richard,

Thanks for getting back to me.

Yes. I am able to login that way via the core admin user, and it provides me with the proper unpopulated, XML schema.

ns2:abstract-common-list<pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list>

From the cspace-services log:

2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A new transaction was started on thread '65' : true.
2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241] Added a new repository instance to our repo list.  Current count is now: 1
2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341] Removed a repository instance from our repo list.  Current count is now: 0
2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353] Transaction closed on thread '65'

-Yousuf

On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet <richard.millet@lyrasis.orgmailto:richard.millet@lyrasis.org> wrote:
Yousuf,

Could you try logging in to the Services layer (using the RESTFul API) for each of the tenants?  Use a URL like this: http://localhost:8180/cspace-services/collectionobjects with the corresponding credentials you've setup for each tenant.

If you're not able to login to a tenant, it could mean one of several likely things:

  1. The Service layer failed to startup correctly -check your the tomcat logs (catalina.out and cspace-services.log) for startup errors
  2. The CollectionSpace AuthN/AuthZ database has not been initialized and is empty
  3. The credentials in the AuthN/AuthZ database are different than the credentials you're trying to use.
  4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service layer configuration.

-Richard


From: Talk <talk-bounces@lists.collectionspace.orgmailto:talk-bounces@lists.collectionspace.org> on behalf of Yousuf Nejati <yousuf.nejati@granitehorizon.commailto:yousuf.nejati@granitehorizon.com>
Sent: Monday, June 27, 2016 11:44 AM
To: talk@lists.collectionspace.orgmailto:talk@lists.collectionspace.org
Subject: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04

Okay. So, I'm still having problems.

For all of the default tenants (core, lifesci, and fcart) I'm directed to the demo page.

However, I'm unable to login (invalid email/password). My postgres database contains all of the default users.

Thoughts? What am I missing here?

Thanks,

-Yousuf

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.commailto:yousuf.nejati@granitehorizon.com<mailto:greg@granitehorizon.commailto:greg@granitehorizon.com>
granitehorizon.comhttp://granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x786tel:%28888%29%20354-6626%20x730 | (916) 647-6350 x786tel:%28916%29%20647-6350%20x786tel:%28916%29%20647-6350%20x730 | (866) 867-7126tel:%28866%29%20867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.commailto:greg@granitehorizon.com
granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x730 | (916) 647-6350 x786tel:%28916%29%20647-6350%20x730 | (866) 867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

Yousuf, So you're having trouble logging in to the "core" tenant using this type of URL: http://localhost:8180/collectionspace/ui/core/html/index.html Is that correct? Just trying to make sure I understand the problem you're having. -Richard ________________________________________ From: Yousuf Nejati <yousuf.nejati@granitehorizon.com> Sent: Monday, June 27, 2016 12:55 PM To: Richard Millet Cc: talk@lists.collectionspace.org Subject: Re: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04 Hey Richard, Thanks for getting back to me. Yes. I am able to login that way via the core admin user, and it provides me with the proper unpopulated, XML schema. <ns2:abstract-common-list><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list> >From the cspace-services log: 2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A new transaction was started on thread '65' : true. 2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241] Added a new repository instance to our repo list. Current count is now: 1 2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341] Removed a repository instance from our repo list. Current count is now: 0 2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3] [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353] Transaction closed on thread '65' -Yousuf On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet <richard.millet@lyrasis.org<mailto:richard.millet@lyrasis.org>> wrote: Yousuf, Could you try logging in to the Services layer (using the RESTFul API) for each of the tenants? Use a URL like this: http://localhost:8180/cspace-services/collectionobjects with the corresponding credentials you've setup for each tenant. If you're not able to login to a tenant, it could mean one of several likely things: 1. The Service layer failed to startup correctly -check your the tomcat logs (catalina.out and cspace-services.log) for startup errors 2. The CollectionSpace AuthN/AuthZ database has not been initialized and is empty 3. The credentials in the AuthN/AuthZ database are different than the credentials you're trying to use. 4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service layer configuration. -Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org<mailto:talk-bounces@lists.collectionspace.org>> on behalf of Yousuf Nejati <yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com>> Sent: Monday, June 27, 2016 11:44 AM To: talk@lists.collectionspace.org<mailto:talk@lists.collectionspace.org> Subject: [Talk] Authentication errors - Installing and Configuring CSpace locally for development on Ubuntu 14.04 Okay. So, I'm still having problems. For all of the default tenants (core, lifesci, and fcart) I'm directed to the demo page. However, I'm unable to login (invalid email/password). My postgres database contains all of the default users. Thoughts? What am I missing here? Thanks, -Yousuf -- Yousuf Nejati Assistant Developer Granite Horizon Web Design and Development | Enterprise Content Management | IT Consulting yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com><mailto:greg@granitehorizon.com<mailto:greg@granitehorizon.com>> granitehorizon.com<http://granitehorizon.com><http://granitehorizon.com> (888) 354-6626 x786<tel:%28888%29%20354-6626%20x786><tel:%28888%29%20354-6626%20x730> | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x786><tel:%28916%29%20647-6350%20x730> | (866) 867-7126<tel:%28866%29%20867-7126><tel:%28866%29%20867-7126> (fax) 8153 Elk Grove Boulevard Suite 20 Elk Grove CA 95758-5965 -- Yousuf Nejati Assistant Developer Granite Horizon Web Design and Development | Enterprise Content Management | IT Consulting yousuf.nejati@granitehorizon.com<mailto:greg@granitehorizon.com> granitehorizon.com<http://granitehorizon.com> (888) 354-6626 x786<tel:%28888%29%20354-6626%20x730> | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x730> | (866) 867-7126<tel:%28866%29%20867-7126> (fax) 8153 Elk Grove Boulevard Suite 20 Elk Grove CA 95758-5965
YN
Yousuf Nejati
Mon, Jun 27, 2016 8:20 PM

Yes, exactly. That URL provides the CSpace "demo" login page.

We can Skype, if you'd like, if that's easier.  I have your handle.
On Jun 27, 2016 1:16 PM, "Richard Millet" richard.millet@lyrasis.org
wrote:

Yousuf,

So you're having trouble logging in to the "core" tenant using this type
of URL:

http://localhost:8180/collectionspace/ui/core/html/index.html

Is that correct?  Just trying to make sure I understand the problem you're
having.

-Richard


From: Yousuf Nejati yousuf.nejati@granitehorizon.com
Sent: Monday, June 27, 2016 12:55 PM
To: Richard Millet
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] Authentication errors - Installing and Configuring
CSpace locally for development on Ubuntu 14.04

Hey Richard,

Thanks for getting back to me.

Yes. I am able to login that way via the core admin user, and it provides
me with the proper unpopulated, XML schema.

ns2:abstract-common-list<pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list>

From the cspace-services log:

2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A
new transaction was started on thread '65' : true.
2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241]
Added a new repository instance to our repo list.  Current count is now: 1
2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341]
Removed a repository instance from our repo list.  Current count is now: 0
2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3]
[org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353]
Transaction closed on thread '65'

-Yousuf

On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet <
richard.millet@lyrasis.orgmailto:richard.millet@lyrasis.org> wrote:
Yousuf,

Could you try logging in to the Services layer (using the RESTFul API) for
each of the tenants?  Use a URL like this:
http://localhost:8180/cspace-services/collectionobjects with the
corresponding credentials you've setup for each tenant.

If you're not able to login to a tenant, it could mean one of several
likely things:

  1. The Service layer failed to startup correctly -check your the tomcat
    logs (catalina.out and cspace-services.log) for startup errors
  2. The CollectionSpace AuthN/AuthZ database has not been initialized and
    is empty
  3. The credentials in the AuthN/AuthZ database are different than the
    credentials you're trying to use.
  4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service
    layer configuration.

-Richard


From: Talk <talk-bounces@lists.collectionspace.org<mailto:
talk-bounces@lists.collectionspace.org>> on behalf of Yousuf Nejati <
yousuf.nejati@granitehorizon.commailto:yousuf.nejati@granitehorizon.com>
Sent: Monday, June 27, 2016 11:44 AM
To: talk@lists.collectionspace.orgmailto:talk@lists.collectionspace.org
Subject: [Talk] Authentication errors - Installing and Configuring CSpace
locally for development on Ubuntu 14.04

Okay. So, I'm still having problems.

For all of the default tenants (core, lifesci, and fcart) I'm directed to
the demo page.

However, I'm unable to login (invalid email/password). My postgres
database contains all of the default users.

Thoughts? What am I missing here?

Thanks,

-Yousuf

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com

granitehorizon.comhttp://granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x786tel:%28888%29%20354-6626%20x730
| (916) 647-6350 x786tel:%28916%29%20647-6350%20x786tel:%28916%29%20647-6350%20x730
| (866) 867-7126tel:%28866%29%20867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

--
Yousuf Nejati
Assistant Developer
Granite Horizon
Web Design and Development | Enterprise Content Management | IT Consulting

yousuf.nejati@granitehorizon.commailto:greg@granitehorizon.com
granitehorizon.comhttp://granitehorizon.com
(888) 354-6626 x786tel:%28888%29%20354-6626%20x730 | (916) 647-6350 x786tel:%28916%29%20647-6350%20x730
| (866) 867-7126tel:%28866%29%20867-7126 (fax)
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965

Yes, exactly. That URL provides the CSpace "demo" login page. We can Skype, if you'd like, if that's easier. I have your handle. On Jun 27, 2016 1:16 PM, "Richard Millet" <richard.millet@lyrasis.org> wrote: > Yousuf, > > So you're having trouble logging in to the "core" tenant using this type > of URL: > > http://localhost:8180/collectionspace/ui/core/html/index.html > > Is that correct? Just trying to make sure I understand the problem you're > having. > > -Richard > ________________________________________ > From: Yousuf Nejati <yousuf.nejati@granitehorizon.com> > Sent: Monday, June 27, 2016 12:55 PM > To: Richard Millet > Cc: talk@lists.collectionspace.org > Subject: Re: [Talk] Authentication errors - Installing and Configuring > CSpace locally for development on Ubuntu 14.04 > > Hey Richard, > > Thanks for getting back to me. > > Yes. I am able to login that way via the core admin user, and it provides > me with the proper unpopulated, XML schema. > > > <ns2:abstract-common-list><pageNum>0</pageNum><pageSize>40</pageSize><itemsInPage>0</itemsInPage><totalItems>0</totalItems><fieldsReturned>csid|uri|refName|updatedAt|workflowState|title|objectNumber|objectName|responsibleDepartment</fieldsReturned></ns2:abstract-common-list> > > From the cspace-services log: > > 2016-06-27 12:38:54,874 TRACE [http-bio-8180-exec-3] > [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:239] A > new transaction was started on thread '65' : true. > 2016-06-27 12:38:54,901 TRACE [http-bio-8180-exec-3] > [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:241] > Added a new repository instance to our repo list. Current count is now: 1 > 2016-06-27 12:38:55,155 TRACE [http-bio-8180-exec-3] > [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:341] > Removed a repository instance from our repo list. Current count is now: 0 > 2016-06-27 12:38:55,156 TRACE [http-bio-8180-exec-3] > [org.collectionspace.services.nuxeo.client.java.NuxeoClientEmbedded:353] > Transaction closed on thread '65' > > -Yousuf > > On Mon, Jun 27, 2016 at 12:37 PM, Richard Millet < > richard.millet@lyrasis.org<mailto:richard.millet@lyrasis.org>> wrote: > Yousuf, > > Could you try logging in to the Services layer (using the RESTFul API) for > each of the tenants? Use a URL like this: > http://localhost:8180/cspace-services/collectionobjects with the > corresponding credentials you've setup for each tenant. > > If you're not able to login to a tenant, it could mean one of several > likely things: > > 1. The Service layer failed to startup correctly -check your the tomcat > logs (catalina.out and cspace-services.log) for startup errors > 2. The CollectionSpace AuthN/AuthZ database has not been initialized and > is empty > 3. The credentials in the AuthN/AuthZ database are different than the > credentials you're trying to use. > 4. The tenant IDs in the AuthN/AuthZ database don't match your App/Service > layer configuration. > > -Richard > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org<mailto: > talk-bounces@lists.collectionspace.org>> on behalf of Yousuf Nejati < > yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com>> > Sent: Monday, June 27, 2016 11:44 AM > To: talk@lists.collectionspace.org<mailto:talk@lists.collectionspace.org> > Subject: [Talk] Authentication errors - Installing and Configuring CSpace > locally for development on Ubuntu 14.04 > > Okay. So, I'm still having problems. > > For all of the default tenants (core, lifesci, and fcart) I'm directed to > the demo page. > > However, I'm unable to login (invalid email/password). My postgres > database contains all of the default users. > > Thoughts? What am I missing here? > > Thanks, > > -Yousuf > > -- > Yousuf Nejati > Assistant Developer > Granite Horizon > Web Design and Development | Enterprise Content Management | IT Consulting > > yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com > ><mailto:greg@granitehorizon.com<mailto:greg@granitehorizon.com>> > granitehorizon.com<http://granitehorizon.com><http://granitehorizon.com> > (888) 354-6626 x786<tel:%28888%29%20354-6626%20x786><tel:%28888%29%20354-6626%20x730> > | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x786><tel:%28916%29%20647-6350%20x730> > | (866) 867-7126<tel:%28866%29%20867-7126><tel:%28866%29%20867-7126> (fax) > 8153 Elk Grove Boulevard Suite 20 > Elk Grove CA 95758-5965 > > > > -- > Yousuf Nejati > Assistant Developer > Granite Horizon > Web Design and Development | Enterprise Content Management | IT Consulting > > yousuf.nejati@granitehorizon.com<mailto:greg@granitehorizon.com> > granitehorizon.com<http://granitehorizon.com> > (888) 354-6626 x786<tel:%28888%29%20354-6626%20x730> | (916) 647-6350 x786<tel:%28916%29%20647-6350%20x730> > | (866) 867-7126<tel:%28866%29%20867-7126> (fax) > 8153 Elk Grove Boulevard Suite 20 > Elk Grove CA 95758-5965 >