talk@lists.collectionspace.org

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

View all threads

Re: [Talk] ant undeploy deploy create_db -Drecreate_db=true import failing

DC
Darcy Christ
Tue, Nov 1, 2016 3:39 AM

I see "Property "DatabaseName" has not been set"

In /home/cspace/collectionspace-source/services/build.properties, ${DatabaseName}. It is not like the other env which I am setting (i.e. ${env.DB_CSADMIN_PASSWORD} ).

Documentation does not mention /home/cspace/collectionspace-source/services/build.properties at all.

These are the env I am setting:

export CSPACE_JEESERVER_HOME="/home/cspace/apache-tomcat-7.0.57"
export CATALINA_HOME=$CSPACE_JEESERVER_HOME
export CATALINA_PID="$CSPACE_JEESERVER_HOME/bin/tomcat.pid"
export CATALINA_OPTS="-Xmx1024m -XX:MaxPermSize=384m"
export JAVA_HOME="/usr/lib/jvm/jre-1.7.0-openjdk.x86_64"
export DB_CSADMIN_PASSWORD="xxxxx"
export DB_NUXEO_PASSWORD=“xxxxx"
export DB_CSPACE_PASSWORD="xxxxx"
export DB_READER_PASSWORD="xxxxx"
export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m"
export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m"
export CSPACE_INSTANCE_ID=umag
export DB_HOST=localhost
export DB_PORT=5432
export JEE_PORT=8180

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg

On Nov 1, 2016, at 11:32 AM, Darcy Christ darcy@1000camels.com wrote:

I have not figured it out. Which variables?

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg http://bit.ly/SecureMsg

On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <yousuf.nejati@granitehorizon.com mailto:yousuf.nejati@granitehorizon.com> wrote:

Looks like there are some environmental variables that have not been set yet. Specifically, for the database. Unless you've already figured this out?

I see "Property "DatabaseName" has not been set" In /home/cspace/collectionspace-source/services/build.properties, ${DatabaseName}. It is not like the other env which I am setting (i.e. ${env.DB_CSADMIN_PASSWORD} ). Documentation does not mention /home/cspace/collectionspace-source/services/build.properties at all. These are the env I am setting: export CSPACE_JEESERVER_HOME="/home/cspace/apache-tomcat-7.0.57" export CATALINA_HOME=$CSPACE_JEESERVER_HOME export CATALINA_PID="$CSPACE_JEESERVER_HOME/bin/tomcat.pid" export CATALINA_OPTS="-Xmx1024m -XX:MaxPermSize=384m" export JAVA_HOME="/usr/lib/jvm/jre-1.7.0-openjdk.x86_64" export DB_CSADMIN_PASSWORD="xxxxx" export DB_NUXEO_PASSWORD=“xxxxx" export DB_CSPACE_PASSWORD="xxxxx" export DB_READER_PASSWORD="xxxxx" export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m" export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m" export CSPACE_INSTANCE_ID=umag export DB_HOST=localhost export DB_PORT=5432 export JEE_PORT=8180 Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 1, 2016, at 11:32 AM, Darcy Christ <darcy@1000camels.com> wrote: > > I have not figured it out. Which variables? > > > > Darcy W. Christ > Digital Generalist > @1000camels > > To send me a secure message: http://bit.ly/SecureMsg <http://bit.ly/SecureMsg> > > >> On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <yousuf.nejati@granitehorizon.com <mailto:yousuf.nejati@granitehorizon.com>> wrote: >> >> Looks like there are some environmental variables that have not been set yet. Specifically, for the database. Unless you've already figured this out? >