talk@lists.collectionspace.org

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

View all threads

Trouble Configuring CSpace 4.1 Doc - Creating New Tenant UI

RL
RUIJING LI
Tue, Jul 7, 2015 5:32 PM

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 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
CN
Chad Nelson
Tue, Jul 7, 2015 6:23 PM

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:

https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace

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 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: https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace 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
RL
RUIJING LI
Tue, Jul 7, 2015 6:32 PM

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:

https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace

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: > > > > https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace > > > 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 >
RM
Richard Millet
Tue, Jul 7, 2015 6:54 PM

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:

https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace

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

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.org<mailto: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: https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace 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<mailto:talk-bounces@lists.collectionspace.org>> on behalf of RUIJING LI <ruijing.li@berkeley.edu<mailto:ruijing.li@berkeley.edu>> Sent: Tuesday, July 7, 2015 1:32 PM To: talk@lists.collectionspace.org<mailto: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
AR
Aron Roberts
Tue, Jul 7, 2015 7:07 PM

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:

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.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:

https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace

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

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: > 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.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: >> >> >> >> https://wiki.collectionspace.org/display/CSPACE41/Installing+4.1+on+Aptitude+Compatible+Linux+Distributions#Installing4.1onAptitudeCompatibleLinuxDistributions-SettingupCollectionSpace >> >> >> 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 >> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >