WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi all,
I'm trying to run through the configuration exercises for CSpace 4.1 and
I'm in the process of creating my own tenant. After following all the steps
for configuring a new tenant for the ui layer, I ran into a problem when
trying to build my ui layer by calling this command:
mvn clean install
I tried giving sudo access and still could not overcome this. Any help on
what the resolution for the error is? I have attached the error message.
Cheers,
RJ
Hi RJ,
I think that error message happens when you don't have all of the environment variables defined, and in the case I think it is specifically the $CSPACE_JEE_SERVER env variable that is missing.
If you you already have CollectionSpace running, then you likely have already been through:
but just make sure that the user you are running this command with still has these env variables set.
Chad
From: Talk talk-bounces@lists.collectionspace.org on behalf of RUIJING LI ruijing.li@berkeley.edu
Sent: Tuesday, July 7, 2015 1:32 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New Tenant UI
Hi all,
I'm trying to run through the configuration exercises for CSpace 4.1 and I'm in the process of creating my own tenant. After following all the steps for configuring a new tenant for the ui layer, I ran into a problem when trying to build my ui layer by calling this command:
mvn clean install
I tried giving sudo access and still could not overcome this. Any help on what the resolution for the error is? I have attached the error message.
Cheers,
RJ
Hi Chad,
I actually used the automated installer for 4.1 so I didn't go through
these pages.
Right now I am my own user checking out the source code on a directory I
made. Am I supposed to be user cspace instead?
Cheers,
RJ
On Tue, Jul 7, 2015 at 11:23 AM, Chad Nelson chad.nelson@lyrasis.org
wrote:
Hi RJ,
I think that error message happens when you don't have all of the
environment variables defined, and in the case I think it is specifically
the $CSPACE_JEE_SERVER env variable that is missing.
If you you already have CollectionSpace running, then you likely have
already been through:
but just make sure that the user you are running this command with still
has these env variables set.
Chad
From: Talk talk-bounces@lists.collectionspace.org on behalf of
RUIJING LI ruijing.li@berkeley.edu
Sent: Tuesday, July 7, 2015 1:32 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New
Tenant UI
Hi all,
I'm trying to run through the configuration exercises for CSpace 4.1 and
I'm in the process of creating my own tenant. After following all the steps
for configuring a new tenant for the ui layer, I ran into a problem when
trying to build my ui layer by calling this command:
mvn clean install
I tried giving sudo access and still could not overcome this. Any help
on what the resolution for the error is? I have attached the error message.
Cheers,
RJ
Yes, try using the 'cspace' user.
From: Talk talk-bounces@lists.collectionspace.org on behalf of RUIJING LI ruijing.li@berkeley.edu
Sent: Tuesday, July 7, 2015 11:32:40 AM
To: Chad Nelson
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New Tenant UI
Hi Chad,
I actually used the automated installer for 4.1 so I didn't go through these pages.
Right now I am my own user checking out the source code on a directory I made. Am I supposed to be user cspace instead?
Cheers,
RJ
On Tue, Jul 7, 2015 at 11:23 AM, Chad Nelson <chad.nelson@lyrasis.orgmailto:chad.nelson@lyrasis.org> wrote:
Hi RJ,
I think that error message happens when you don't have all of the environment variables defined, and in the case I think it is specifically the $CSPACE_JEE_SERVER env variable that is missing.
If you you already have CollectionSpace running, then you likely have already been through:
but just make sure that the user you are running this command with still has these env variables set.
Chad
From: Talk <talk-bounces@lists.collectionspace.orgmailto:talk-bounces@lists.collectionspace.org> on behalf of RUIJING LI <ruijing.li@berkeley.edumailto:ruijing.li@berkeley.edu>
Sent: Tuesday, July 7, 2015 1:32 PM
To: talk@lists.collectionspace.orgmailto:talk@lists.collectionspace.org
Subject: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New Tenant UI
Hi all,
I'm trying to run through the configuration exercises for CSpace 4.1 and I'm in the process of creating my own tenant. After following all the steps for configuring a new tenant for the ui layer, I ran into a problem when trying to build my ui layer by calling this command:
mvn clean install
I tried giving sudo access and still could not overcome this. Any help on what the resolution for the error is? I have attached the error message.
Cheers,
RJ
Concurring with Richard. You'll want to be the 'cspace' user when doing
builds, following a server installation using the automated installer. The
CSpace-required environment variables are set up for that user, and the
Tomcat folder is owned by that user.
On Tue, Jul 7, 2015 at 11:54 AM, Richard Millet richard.millet@lyrasis.org
wrote:
From: Talk talk-bounces@lists.collectionspace.org on behalf of
RUIJING LI ruijing.li@berkeley.edu
Sent: Tuesday, July 7, 2015 11:32:40 AM
To: Chad Nelson
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New
Tenant UI
Hi Chad,
I actually used the automated installer for 4.1 so I didn't go through
these pages.
Right now I am my own user checking out the source code on a directory I
made. Am I supposed to be user cspace instead?
Cheers,
RJ
On Tue, Jul 7, 2015 at 11:23 AM, Chad Nelson chad.nelson@lyrasis.org
wrote:
Hi RJ,
I think that error message happens when you don't have all of the
environment variables defined, and in the case I think it is specifically
the $CSPACE_JEE_SERVER env variable that is missing.
If you you already have CollectionSpace running, then you likely have
already been through:
but just make sure that the user you are running this command with
still has these env variables set.
Chad
From: Talk talk-bounces@lists.collectionspace.org on behalf of
RUIJING LI ruijing.li@berkeley.edu
Sent: Tuesday, July 7, 2015 1:32 PM
To: talk@lists.collectionspace.org
Subject: [Talk] Trouble Configuring CSpace 4.1 Doc - Creating New
Tenant UI
Hi all,
I'm trying to run through the configuration exercises for CSpace 4.1
and I'm in the process of creating my own tenant. After following all the
steps for configuring a new tenant for the ui layer, I ran into a problem
when trying to build my ui layer by calling this command:
mvn clean install
I tried giving sudo access and still could not overcome this. Any help
on what the resolution for the error is? I have attached the error message.
Cheers,
RJ