talk@lists.collectionspace.org

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

View all threads

Re: [Talk] Error in installation of CollectionSpace 4.0

AR
Aron Roberts
Mon, Jan 27, 2014 5:21 AM

Forwarding David Whelchel's response regarding his CollectionSpace
installation issues, and his background and interest in
CollectionSpace, to the Talk list, with his permission ...

On Sun, Jan 26, 2014 at 7:37 PM, Aron Roberts aronroberts@gmail.com wrote:

Hi David,

Many thanks!  Your suggestion is a good one: the current installation
documentation only lightly touches on ownership/file permissions.

I'm hoping we have the automated installation available for testing as
early as this week.  We'll announce it on the project Talk list when
it's available.

Appreciate your summary of your investigational interests in
CollectionSpace!  Please feel free to pepper us with questions and/or
suggestions.

Aron
...

On Sun, Jan 26, 2014 at 4:25 PM, David Whelchel whelchel@pullman.com wrote:

Hi Aron and Rick,

Your suggestions were very helpful and I now have a working instance up and going. I would suggest that the following be added to the Apt-Get directions at

http://wiki.collectionspace.org/display/DOC/Installing+4.0+on+Aptitude+Compatible+Linux+Distributions

Between "Unpack tarball:" and "Make necessary files executable:" the instruction

          chown -R cspace:cspace /usr/local/share/apache-tomcat-6.0.33
                 where cspace is your administrative account.

As far as the P.S. I have a small private library (using Koha) and a good number of ethnographic and paleontological items.  I currently work at Washington State University in the enterprise systems group. As I also help with the local historical society and was the registrar of the WSU Art Museum many years in the past I am always looking for good accessioning and cataloging systems (preferably Open Source). The best way for me to learn is to actually use the product, beak it and fix it. I am anxiously looking forward to using CollectionSpace. I will be in touch with feedback and any help I can provide. I would be willing to try your automated installation routine if you could use the help.

Thanks Again.

--Dave

David L. Whelchel
725 SE Derby Street
Pullman, WA 99163
whelchel@pullman.com

http://www.dlwa.com

-----Original Message-----
From: Aron Roberts [mailto:aronroberts@gmail.com]
Sent: Friday, January 24, 2014 2:40 PM
To: Rick Jaffe
Cc: David Whelchel
Subject: Re: [Talk] Error in installation of CollectionSpace 4.0

Dave, you might also check:

  1. The value reported by either:

env | grep CATALINA_HOME
or
echo $CATALINA_HOME

to verify that a) this environment variable exists, b) that its value points to /usr/local/share/apache-tomcat-6.0.33, and c) that a directory with that name exists at that path.

  1. Whether this environment variable is present for the user account from which your 'mvn clean install –DskipTests' command is being run.
    E.g. if you're running that command via 'sudo', whether you still have a value for that command in the environment (you can check this via 'sudo env').  If not, you might be able to carry over your current values into that environment in some way; it's worth trying 'sudo su', for instance.

A practice we've oftentimes followed:

a) The entire /usr/local/share/apache-tomcat-6.0.33 directory is owned by a new, dedicated user account (perhaps named 'cspace', although that name is arbitrary) for administering your CollectionSpace system.
(e.g. create your new user, then chown -R cspace:cspace
/usr/local/share/apache-tomcat-6.0.33 to allow that user to own your CollectionSpace server folder).

b) We then download and work with the CollectionSpace source code and run builds from a container directory somewhere within that user's home directory (e.g. from a 'cspace_source' directory, containing 'application', 'services', and 'ui' subdirectories).

On Fri, Jan 24, 2014 at 2:06 PM, Rick Jaffe rjaffe@berkeley.edu wrote:

Dave,

This looks fine to me. Could the issue be the permissions settings on
that folder, i.e., whatever user is running the install doesn't have
write permission on CATALINA_HOME? Someone else will need to chime in.

Rick

On Fri, Jan 24, 2014 at 12:53 PM, David Whelchel whelchel@dlwa.com wrote:

Rick and Aron,

Thanks to both of you!  Very nice response time.

I had set the environment variable as follows from the instructions.

export CSPACE_JEESERVER_HOME="/usr/local/share/apache-tomcat-6.0.33"

export CATALINA_HOME=$CSPACE_JEESERVER_HOME

is there another location for the CATALINA_HOME?

I am not very familiar with tomcat  but learning rapidly.

--Dave



David L. Whelchel

725 SE Derby Street

Pullman, WA 99163

whelchel@pullman.com

http://www.dlwa.com

From: Rick Jaffe [mailto:rjaffe@berkeley.edu]
Sent: Friday, January 24, 2014 11:27 AM
To: David Whelchel
Cc: CollectionSpace Talk List
Subject: Re: [Talk] Error in installation of CollectionSpace 4.0

Hi David,

A quick response, in the middle of other things. It seems that your
$CATALINA_HOME environmental variable has not been set, or that the
folder at which the variable points doesn't exist. Instructions for
setting the environmental variables can be found on the CSpace wiki:

http://wiki.collectionspace.org/display/DOC/Installing+4.0+on+Aptitud
e+Compatible+Linux+Distributions
-- scroll down to the section headed Setting Up CollectionSpace.

Aron Roberts, my CollectionSpace colleague and general go-to person
on installation questions, is out today, expected to return Monday.
He might have keener insights than I.

Kindly,

Rick

On Fri, Jan 24, 2014 at 10:55 AM, David Whelchel
whelchel@pullman.com
wrote:

I am installing CollectionSpace 4.0 on Debian wheezy using the
apt-get instructions. Everything appears to go fine until the last
part of the mvn clean install –DskipTestsmvn script.

[INFO] tomcat-main ....................................... SUCCESS
[16.572s]

[INFO] war-entry ......................................... FAILURE
[59.007s]

[INFO]


[INFO] BUILD FAILURE

[INFO]


[INFO] Total time: 6:26.630s

[INFO] Finished at: Thu Jan 23 16:39:44 PST 2014

[INFO] Final Memory: 20M/67M

[INFO]


[ERROR] Failed to execute goal
org.codehaus.cargo:cargo-maven2-plugin:1.0:deployer-deploy (default)
on project war-entry: Execution default of goal
org.codehaus.cargo:cargo-maven2-plugin:1.0:deployer-deploy failed:
Failed to create configuration for the parameters (container [id =
[tomcat6x], type = [installed]], configuration type [existing]). The
configuration home parameter must be specified for existing
configurations -> [Help 1]

Any help woould be appreciated.

--Dave



David L. Whelchel

725 SE Derby Street

Pullman, WA 99163

whelchel@pullman.com

http://www.dlwa.com


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collecti
onspace.org

Forwarding David Whelchel's response regarding his CollectionSpace installation issues, and his background and interest in CollectionSpace, to the Talk list, with his permission ... On Sun, Jan 26, 2014 at 7:37 PM, Aron Roberts <aronroberts@gmail.com> wrote: > Hi David, > > Many thanks! Your suggestion is a good one: the current installation > documentation only lightly touches on ownership/file permissions. > > I'm hoping we have the automated installation available for testing as > early as this week. We'll announce it on the project Talk list when > it's available. > > Appreciate your summary of your investigational interests in > CollectionSpace! Please feel free to pepper us with questions and/or > suggestions. > > Aron > ... > > On Sun, Jan 26, 2014 at 4:25 PM, David Whelchel <whelchel@pullman.com> wrote: >> Hi Aron and Rick, >> >> Your suggestions were very helpful and I now have a working instance up and going. I would suggest that the following be added to the Apt-Get directions at >> >> http://wiki.collectionspace.org/display/DOC/Installing+4.0+on+Aptitude+Compatible+Linux+Distributions >> >> Between "Unpack tarball:" and "Make necessary files executable:" the instruction >> >> chown -R cspace:cspace /usr/local/share/apache-tomcat-6.0.33 >> where cspace is your administrative account. >> >> As far as the P.S. I have a small private library (using Koha) and a good number of ethnographic and paleontological items. I currently work at Washington State University in the enterprise systems group. As I also help with the local historical society and was the registrar of the WSU Art Museum many years in the past I am always looking for good accessioning and cataloging systems (preferably Open Source). The best way for me to learn is to actually use the product, beak it and fix it. I am anxiously looking forward to using CollectionSpace. I will be in touch with feedback and any help I can provide. I would be willing to try your automated installation routine if you could use the help. >> >> Thanks Again. >> >> --Dave >> ------------------------------------------------------------------------------- >> David L. Whelchel >> 725 SE Derby Street >> Pullman, WA 99163 >> whelchel@pullman.com >> >> http://www.dlwa.com >> >> -----Original Message----- >> From: Aron Roberts [mailto:aronroberts@gmail.com] >> Sent: Friday, January 24, 2014 2:40 PM >> To: Rick Jaffe >> Cc: David Whelchel >> Subject: Re: [Talk] Error in installation of CollectionSpace 4.0 >> >> Dave, you might also check: >> >> 1) The value reported by either: >> >> env | grep CATALINA_HOME >> or >> echo $CATALINA_HOME >> >> to verify that a) this environment variable exists, b) that its value points to /usr/local/share/apache-tomcat-6.0.33, and c) that a directory with that name exists at that path. >> >> 2) Whether this environment variable is present for the user account from which your 'mvn clean install –DskipTests' command is being run. >> E.g. if you're running that command via 'sudo', whether you still have a value for that command in the environment (you can check this via 'sudo env'). If not, you might be able to carry over your current values into that environment in some way; it's worth trying 'sudo su', for instance. >> >> A practice we've oftentimes followed: >> >> a) The entire /usr/local/share/apache-tomcat-6.0.33 directory is owned by a new, dedicated user account (perhaps named 'cspace', although that name is arbitrary) for administering your CollectionSpace system. >> (e.g. create your new user, then chown -R cspace:cspace >> /usr/local/share/apache-tomcat-6.0.33 to allow that user to own your CollectionSpace server folder). >> >> b) We then download and work with the CollectionSpace source code and run builds from a container directory somewhere within that user's home directory (e.g. from a 'cspace_source' directory, containing 'application', 'services', and 'ui' subdirectories). >> >> On Fri, Jan 24, 2014 at 2:06 PM, Rick Jaffe <rjaffe@berkeley.edu> wrote: >>> Dave, >>> >>> This looks fine to me. Could the issue be the permissions settings on >>> that folder, i.e., whatever user is running the install doesn't have >>> write permission on CATALINA_HOME? Someone else will need to chime in. >>> >>> Rick >>> >>> >>> >>> On Fri, Jan 24, 2014 at 12:53 PM, David Whelchel <whelchel@dlwa.com> wrote: >>>> >>>> Rick and Aron, >>>> >>>> >>>> >>>> Thanks to both of you! Very nice response time. >>>> >>>> >>>> >>>> I had set the environment variable as follows from the instructions. >>>> >>>> >>>> >>>> export CSPACE_JEESERVER_HOME="/usr/local/share/apache-tomcat-6.0.33" >>>> >>>> export CATALINA_HOME=$CSPACE_JEESERVER_HOME >>>> >>>> >>>> >>>> is there another location for the CATALINA_HOME? >>>> >>>> >>>> >>>> I am not very familiar with tomcat but learning rapidly. >>>> >>>> >>>> >>>> --Dave >>>> >>>> >>>> --------------------------------------------------------------------- >>>> ---------- >>>> >>>> David L. Whelchel >>>> >>>> 725 SE Derby Street >>>> >>>> Pullman, WA 99163 >>>> >>>> whelchel@pullman.com >>>> >>>> >>>> >>>> http://www.dlwa.com >>>> >>>> >>>> >>>> From: Rick Jaffe [mailto:rjaffe@berkeley.edu] >>>> Sent: Friday, January 24, 2014 11:27 AM >>>> To: David Whelchel >>>> Cc: CollectionSpace Talk List >>>> Subject: Re: [Talk] Error in installation of CollectionSpace 4.0 >>>> >>>> >>>> >>>> Hi David, >>>> >>>> A quick response, in the middle of other things. It seems that your >>>> $CATALINA_HOME environmental variable has not been set, or that the >>>> folder at which the variable points doesn't exist. Instructions for >>>> setting the environmental variables can be found on the CSpace wiki: >>>> >>>> http://wiki.collectionspace.org/display/DOC/Installing+4.0+on+Aptitud >>>> e+Compatible+Linux+Distributions >>>> -- scroll down to the section headed Setting Up CollectionSpace. >>>> >>>> Aron Roberts, my CollectionSpace colleague and general go-to person >>>> on installation questions, is out today, expected to return Monday. >>>> He might have keener insights than I. >>>> >>>> >>>> >>>> Kindly, >>>> >>>> Rick >>>> >>>> >>>> >>>> >>>> >>>> On Fri, Jan 24, 2014 at 10:55 AM, David Whelchel >>>> <whelchel@pullman.com> >>>> wrote: >>>> >>>> I am installing CollectionSpace 4.0 on Debian wheezy using the >>>> apt-get instructions. Everything appears to go fine until the last >>>> part of the mvn clean install –DskipTestsmvn script. >>>> >>>> >>>> >>>> [INFO] tomcat-main ....................................... SUCCESS >>>> [16.572s] >>>> >>>> [INFO] war-entry ......................................... FAILURE >>>> [59.007s] >>>> >>>> [INFO] >>>> --------------------------------------------------------------------- >>>> --- >>>> >>>> [INFO] BUILD FAILURE >>>> >>>> [INFO] >>>> --------------------------------------------------------------------- >>>> --- >>>> >>>> [INFO] Total time: 6:26.630s >>>> >>>> [INFO] Finished at: Thu Jan 23 16:39:44 PST 2014 >>>> >>>> [INFO] Final Memory: 20M/67M >>>> >>>> [INFO] >>>> --------------------------------------------------------------------- >>>> --- >>>> >>>> >>>> >>>> [ERROR] Failed to execute goal >>>> org.codehaus.cargo:cargo-maven2-plugin:1.0:deployer-deploy (default) >>>> on project war-entry: Execution default of goal >>>> org.codehaus.cargo:cargo-maven2-plugin:1.0:deployer-deploy failed: >>>> Failed to create configuration for the parameters (container [id = >>>> [tomcat6x], type = [installed]], configuration type [existing]). The >>>> configuration home parameter must be specified for existing >>>> configurations -> [Help 1] >>>> >>>> >>>> >>>> Any help woould be appreciated. >>>> >>>> >>>> >>>> --Dave >>>> >>>> >>>> --------------------------------------------------------------------- >>>> ---------- >>>> >>>> David L. Whelchel >>>> >>>> 725 SE Derby Street >>>> >>>> Pullman, WA 99163 >>>> >>>> whelchel@pullman.com >>>> >>>> >>>> >>>> http://www.dlwa.com >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Talk mailing list >>>> Talk@lists.collectionspace.org >>>> >>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collecti >>>> onspace.org >>>> >>>> >>> >>>