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

YN
Yousuf Nejati
Tue, Nov 1, 2016 4:35 AM

Well, the database name is created from your cspace_instance_id, in this
case, umag. Is it possible that you're just missing double quotes around
these variables?

On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ darcy@1000camels.com wrote:

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

On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <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?

--
Yousuf Nejati

  • Junior Software 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

Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables? On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.com> wrote: > 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 > > > On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <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? > > > > -- Yousuf Nejati * Junior Software 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
DC
Darcy Christ
Tue, Nov 1, 2016 8:35 AM

I added quotation marks around my cspace_instance_id and it didn’t help.

Darcy W. Christ
Digital Generalist
@1000camels

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

On Nov 1, 2016, at 12:35 PM, Yousuf Nejati yousuf.nejati@granitehorizon.com wrote:

Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables?

On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.com mailto:darcy@1000camels.com> wrote:
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 http://bit.ly/SecureMsg

On Nov 1, 2016, at 11:32 AM, Darcy Christ <darcy@1000camels.com mailto: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?

--
Yousuf Nejati
Junior Software 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

I added quotation marks around my cspace_instance_id and it didn’t help. Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 1, 2016, at 12:35 PM, Yousuf Nejati <yousuf.nejati@granitehorizon.com> wrote: > > Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables? > > On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.com <mailto:darcy@1000camels.com>> wrote: > 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 <http://bit.ly/SecureMsg> > > >> On Nov 1, 2016, at 11:32 AM, Darcy Christ <darcy@1000camels.com <mailto: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? >> > > > > > -- > Yousuf Nejati > Junior Software 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
RM
Richard Millet
Wed, Nov 2, 2016 6:21 PM

Darcy,

I'm sorry you're having trouble setting up CollectionSpace.  I haven't had a chance to completely review this email thread, so forgive me if you've already tried the following:

I see that the Ant version you're using is version 1.7, I think we've been using version 1.8 or later for several years now.  It could be that you'll need to upgrade your Ant version.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Darcy Christ darcy@1000camels.com
Sent: Tuesday, November 1, 2016 1:35 AM
To: Yousuf Nejati
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] ant undeploy deploy create_db -Drecreate_db=true import failing

I added quotation marks around my cspace_instance_id and it didn’t help.

Darcy W. Christ
Digital Generalist
@1000camels

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

On Nov 1, 2016, at 12:35 PM, Yousuf Nejati <yousuf.nejati@granitehorizon.commailto:yousuf.nejati@granitehorizon.com> wrote:

Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables?

On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.commailto:darcy@1000camels.com> wrote:
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.commailto: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

On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <yousuf.nejati@granitehorizon.commailto: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?

--
Yousuf Nejati
Junior Software 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

Darcy, I'm sorry you're having trouble setting up CollectionSpace. I haven't had a chance to completely review this email thread, so forgive me if you've already tried the following: I see that the Ant version you're using is version 1.7, I think we've been using version 1.8 or later for several years now. It could be that you'll need to upgrade your Ant version. -Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Darcy Christ <darcy@1000camels.com> Sent: Tuesday, November 1, 2016 1:35 AM To: Yousuf Nejati Cc: talk@lists.collectionspace.org Subject: Re: [Talk] ant undeploy deploy create_db -Drecreate_db=true import failing I added quotation marks around my cspace_instance_id and it didn’t help. Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg On Nov 1, 2016, at 12:35 PM, Yousuf Nejati <yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com>> wrote: Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables? On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.com<mailto:darcy@1000camels.com>> wrote: 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<mailto: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 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? -- Yousuf Nejati Junior Software 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
DC
Darcy Christ
Thu, Nov 3, 2016 2:07 AM

Hi Richard,

Thank you so much for your response. In fact, upgrading to Ant to 1.8.4 did the trick. I finished my build. Now to actually get Tomcat working. It is running, but not responding. I need to read up on possible issues.

Regards,
Darcy

Darcy W. Christ
Digital Generalist
@1000camels

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

On Nov 3, 2016, at 2:21 AM, Richard Millet richard.millet@lyrasis.org wrote:

Darcy,

I'm sorry you're having trouble setting up CollectionSpace.  I haven't had a chance to completely review this email thread, so forgive me if you've already tried the following:

I see that the Ant version you're using is version 1.7, I think we've been using version 1.8 or later for several years now.  It could be that you'll need to upgrade your Ant version.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of Darcy Christ darcy@1000camels.com
Sent: Tuesday, November 1, 2016 1:35 AM
To: Yousuf Nejati
Cc: talk@lists.collectionspace.org
Subject: Re: [Talk] ant undeploy deploy create_db -Drecreate_db=true import failing

I added quotation marks around my cspace_instance_id and it didn’t help.

Darcy W. Christ
Digital Generalist
@1000camels

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

On Nov 1, 2016, at 12:35 PM, Yousuf Nejati <yousuf.nejati@granitehorizon.commailto:yousuf.nejati@granitehorizon.com> wrote:

Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables?

On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.commailto:darcy@1000camels.com> wrote:
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.commailto: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

On Nov 1, 2016, at 11:31 AM, Yousuf Nejati <yousuf.nejati@granitehorizon.commailto: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?

--
Yousuf Nejati
Junior Software 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

Hi Richard, Thank you so much for your response. In fact, upgrading to Ant to 1.8.4 did the trick. I finished my build. Now to actually get Tomcat working. It is running, but not responding. I need to read up on possible issues. Regards, Darcy Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 3, 2016, at 2:21 AM, Richard Millet <richard.millet@lyrasis.org> wrote: > > Darcy, > > I'm sorry you're having trouble setting up CollectionSpace. I haven't had a chance to completely review this email thread, so forgive me if you've already tried the following: > > I see that the Ant version you're using is version 1.7, I think we've been using version 1.8 or later for several years now. It could be that you'll need to upgrade your Ant version. > > -Richard > > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Darcy Christ <darcy@1000camels.com> > Sent: Tuesday, November 1, 2016 1:35 AM > To: Yousuf Nejati > Cc: talk@lists.collectionspace.org > Subject: Re: [Talk] ant undeploy deploy create_db -Drecreate_db=true import failing > > I added quotation marks around my cspace_instance_id and it didn’t help. > > > > Darcy W. Christ > Digital Generalist > @1000camels > > To send me a secure message: http://bit.ly/SecureMsg > > > On Nov 1, 2016, at 12:35 PM, Yousuf Nejati <yousuf.nejati@granitehorizon.com<mailto:yousuf.nejati@granitehorizon.com>> wrote: > > Well, the database name is created from your cspace_instance_id, in this case, umag. Is it possible that you're just missing double quotes around these variables? > > On Mon, Oct 31, 2016 at 8:39 PM, Darcy Christ <darcy@1000camels.com<mailto:darcy@1000camels.com>> wrote: > 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<mailto: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 > > > 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? > > > > > > -- > Yousuf Nejati > Junior Software 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 >