talk@lists.collectionspace.org

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

View all threads

Missing Folder

TH
toni hanna
Wed, Mar 9, 2016 3:31 PM

Hello all.

I downloaded the following from FTP: cspace-server-4.3.tar.gz

It seems to be missing a folder named "cspace".

I found this out because when I do "ant undeploy deploy create_db
-Drecreate_db=true import" for the service layer, I get errors that it
cannot find files in the folder "cspace"... for example cannot find
"init_cspace_db.sql"

How can I get this folder and all its contents?

Thnx
Toni.

Hello all. I downloaded the following from FTP: cspace-server-4.3.tar.gz It seems to be missing a folder named "cspace". I found this out because when I do "ant undeploy deploy create_db -Drecreate_db=true import" for the service layer, I get errors that it cannot find files in the folder "cspace"... for example cannot find "init_cspace_db.sql" How can I get this folder and all its contents? Thnx Toni.
RM
Richard Millet
Wed, Mar 9, 2016 5:08 PM

Toni,

Your problems might be the result of a documentation error.  Please send me a link to the documentation you're using to install CollectionSpace so I can review it.

Thanks,

Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of toni hanna toni@creyasoft.com
Sent: Wednesday, March 09, 2016 7:31 AM
To: talk@lists.collectionspace.org
Subject: [Talk] Missing Folder

Hello all.

I downloaded the following from FTP: cspace-server-4.3.tar.gz

It seems to be missing a folder named "cspace".

I found this out because when I do "ant undeploy deploy create_db
-Drecreate_db=true import" for the service layer, I get errors that it
cannot find files in the folder "cspace"... for example cannot find
"init_cspace_db.sql"

How can I get this folder and all its contents?

Thnx
Toni.


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Toni, Your problems might be the result of a documentation error. Please send me a link to the documentation you're using to install CollectionSpace so I can review it. Thanks, Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of toni hanna <toni@creyasoft.com> Sent: Wednesday, March 09, 2016 7:31 AM To: talk@lists.collectionspace.org Subject: [Talk] Missing Folder Hello all. I downloaded the following from FTP: cspace-server-4.3.tar.gz It seems to be missing a folder named "cspace". I found this out because when I do "ant undeploy deploy create_db -Drecreate_db=true import" for the service layer, I get errors that it cannot find files in the folder "cspace"... for example cannot find "init_cspace_db.sql" How can I get this folder and all its contents? Thnx Toni. _______________________________________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
TH
toni hanna
Wed, Mar 9, 2016 5:41 PM

Richard,

I am using:
https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+Unix-like+or+Windows+Systems

I am at the section: "Initialize the databases and import default users
and permissions" which required that I download the services layer from
"https://github.com/collectionspace/services/archive/v4.3.zip".
I was able to rebuild this service layer with "mvn clean install -DskipTests"

Now, I am trying to do "ant undeploy deploy create_db -Drecreate_db=true
import" but I get an error:

"create_cspace_db:
BUILD FAILED
C:\collectionspace-source\services\build.xml:265: Source file
C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql
is not a file!"

This is where ant is looking for the cspace folder under tomcat, but
there's not such a folder.
I downloaded tomcat earlier from the cspace FTP site i.e.
cspace-server-4.3.tar.gz and this compressed file did not have a cspace
folder in it.

Thanks for your help!

Toni.

On Wed, March 9, 2016 11:08 am, Richard Millet wrote:

Toni,

Your problems might be the result of a documentation error.  Please send
me a link to the documentation you're using to install CollectionSpace so
I can review it.

Thanks,

Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of toni
hanna toni@creyasoft.com Sent: Wednesday, March 09, 2016 7:31 AM
To: talk@lists.collectionspace.org
Subject: [Talk] Missing Folder

Hello all.

I downloaded the following from FTP: cspace-server-4.3.tar.gz

It seems to be missing a folder named "cspace".

I found this out because when I do "ant undeploy deploy create_db
-Drecreate_db=true import" for the service layer, I get errors that it
cannot find files in the folder "cspace"... for example cannot find
"init_cspace_db.sql"

How can I get this folder and all its contents?

Thnx
Toni.


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspa
ce.org

Richard, I am using: https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+Unix-like+or+Windows+Systems I am at the section: "Initialize the databases and import default users and permissions" which required that I download the services layer from "https://github.com/collectionspace/services/archive/v4.3.zip". I was able to rebuild this service layer with "mvn clean install -DskipTests" Now, I am trying to do "ant undeploy deploy create_db -Drecreate_db=true import" but I get an error: "create_cspace_db: BUILD FAILED C:\collectionspace-source\services\build.xml:265: Source file C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql is not a file!" This is where ant is looking for the cspace folder under tomcat, but there's not such a folder. I downloaded tomcat earlier from the cspace FTP site i.e. cspace-server-4.3.tar.gz and this compressed file did not have a cspace folder in it. Thanks for your help! Toni. On Wed, March 9, 2016 11:08 am, Richard Millet wrote: > Toni, > > > Your problems might be the result of a documentation error. Please send > me a link to the documentation you're using to install CollectionSpace so > I can review it. > > > Thanks, > > > Richard > ________________________________________ > From: Talk <talk-bounces@lists.collectionspace.org> on behalf of toni > hanna <toni@creyasoft.com> Sent: Wednesday, March 09, 2016 7:31 AM > To: talk@lists.collectionspace.org > Subject: [Talk] Missing Folder > > > Hello all. > > > I downloaded the following from FTP: cspace-server-4.3.tar.gz > > > It seems to be missing a folder named "cspace". > > > I found this out because when I do "ant undeploy deploy create_db > -Drecreate_db=true import" for the service layer, I get errors that it > cannot find files in the folder "cspace"... for example cannot find > "init_cspace_db.sql" > > > How can I get this folder and all its contents? > > > Thnx > Toni. > > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspa > ce.org >
TH
toni hanna
Thu, Mar 10, 2016 1:47 PM

Ok, I am progressing slowly with the installation process. I figured out
the missing cspace folder issue. Since the mvn step was failing, the
cspace folder was not created.

I am working in Windows, and the scripts at the cs site have some issues:
they may work on Linux, but get stuck on Windows. For example, a missing
environment variable in Windows will stop ant. In the documentation for
Windows, the following variable is skipped: CSPACE_INSTANCE_ID

This seems to cause problems too: set CATALINA_OPTS="-Xmx1024m
-XX:MaxPermSize=384m"
Double quotes are being stored along with the string.

Anyway, so far I've been able to do "mvn clean install -DskipTests" for
both the Application and the Services layer.

But when I do "ant undeploy deploy create_db -Drecreate_db=true import" i
get the following error:

deploy_services_artifacts:

BUILD FAILED
C:\collectionspace-source\services\build.xml:283: The following error
occurred while executing this line:
C:\collectionspace-source\services\services\build.xml:194: The following
error occurred while executing this line:
C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml:163:
Execute failed: java.io.IOException: Cannot run program
"${env.JAVA_HOME}\bin\java" (in directory
"C:\collectionspace-source\services\services\JaxRsServiceProvider"):
CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
at
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)

I traced this error to the build.xml at
C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml

which shows:

<target name="deploy_services_artifacts" description="Generates and deploys the CollectionSpace Services' schema bundles, doctype bundles, and tenant bindings.">
<exec executable="${env.JAVA_HOME}/bin/java" failonerror="true">
<arg value="-Done-jar.silent=true" />
<arg value="-Dcatalina.home=${env.CSPACE_JEESERVER_HOME}" />
<arg value="-jar" />
<arg value="${application.trunk}/tomcat-main/target/${cspace.tool.csmake}.jar" />
<arg value="-ac" />
<arg value="${application.trunk}/tomcat-main/src/main/resources" />
<arg value="-sc" />
<arg value="${services.trunk}/services/common/src/main" />
<arg value="-o" />
<arg value="${env.CSPACE_JEESERVER_HOME}" />
</exec>
</target>

I've checked all args and variables, and nothing seems to be wrong. All
files do exist. Help anyone?

Thanks.
Toni.

On Wed, March 9, 2016 11:41 am, toni hanna wrote:

Richard,

I am using:
https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+Uni
x-like+or+Windows+Systems

I am at the section: "Initialize the databases and import default users
and permissions" which required that I download the services layer from
"https://github.com/collectionspace/services/archive/v4.3.zip".
I was able to rebuild this service layer with "mvn clean install
-DskipTests"

Now, I am trying to do "ant undeploy deploy create_db -Drecreate_db=true
import" but I get an error:

"create_cspace_db:
BUILD FAILED
C:\collectionspace-source\services\build.xml:265: Source file
C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql
is not a file!"

This is where ant is looking for the cspace folder under tomcat, but
there's not such a folder. I downloaded tomcat earlier from the cspace FTP
site i.e. cspace-server-4.3.tar.gz and this compressed file did not have a
cspace folder in it.

Thanks for your help!

Toni.

On Wed, March 9, 2016 11:08 am, Richard Millet wrote:

Toni,

Your problems might be the result of a documentation error.  Please
send me a link to the documentation you're using to install
CollectionSpace so
I can review it.

Thanks,

Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of toni
hanna toni@creyasoft.com Sent: Wednesday, March 09, 2016 7:31 AM To:
talk@lists.collectionspace.org Subject: [Talk] Missing Folder

Hello all.

I downloaded the following from FTP: cspace-server-4.3.tar.gz

It seems to be missing a folder named "cspace".

I found this out because when I do "ant undeploy deploy create_db
-Drecreate_db=true import" for the service layer, I get errors that it
cannot find files in the folder "cspace"... for example cannot find
"init_cspace_db.sql"

How can I get this folder and all its contents?

Thnx
Toni.


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collections
pa ce.org

Ok, I am progressing slowly with the installation process. I figured out the missing cspace folder issue. Since the mvn step was failing, the cspace folder was not created. I am working in Windows, and the scripts at the cs site have some issues: they may work on Linux, but get stuck on Windows. For example, a missing environment variable in Windows will stop ant. In the documentation for Windows, the following variable is skipped: CSPACE_INSTANCE_ID This seems to cause problems too: set CATALINA_OPTS="-Xmx1024m -XX:MaxPermSize=384m" Double quotes are being stored along with the string. Anyway, so far I've been able to do "mvn clean install -DskipTests" for both the Application and the Services layer. But when I do "ant undeploy deploy create_db -Drecreate_db=true import" i get the following error: deploy_services_artifacts: BUILD FAILED C:\collectionspace-source\services\build.xml:283: The following error occurred while executing this line: C:\collectionspace-source\services\services\build.xml:194: The following error occurred while executing this line: C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml:163: Execute failed: java.io.IOException: Cannot run program "${env.JAVA_HOME}\bin\java" (in directory "C:\collectionspace-source\services\services\JaxRsServiceProvider"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at java.lang.Runtime.exec(Runtime.java:617) at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) I traced this error to the build.xml at C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml which shows: <target name="deploy_services_artifacts" description="Generates and deploys the CollectionSpace Services' schema bundles, doctype bundles, and tenant bindings."> <exec executable="${env.JAVA_HOME}/bin/java" failonerror="true"> <arg value="-Done-jar.silent=true" /> <arg value="-Dcatalina.home=${env.CSPACE_JEESERVER_HOME}" /> <arg value="-jar" /> <arg value="${application.trunk}/tomcat-main/target/${cspace.tool.csmake}.jar" /> <arg value="-ac" /> <arg value="${application.trunk}/tomcat-main/src/main/resources" /> <arg value="-sc" /> <arg value="${services.trunk}/services/common/src/main" /> <arg value="-o" /> <arg value="${env.CSPACE_JEESERVER_HOME}" /> </exec> </target> I've checked all args and variables, and nothing seems to be wrong. All files do exist. Help anyone? Thanks. Toni. On Wed, March 9, 2016 11:41 am, toni hanna wrote: > Richard, > > > I am using: > https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+Uni > x-like+or+Windows+Systems > > I am at the section: "Initialize the databases and import default users > and permissions" which required that I download the services layer from > "https://github.com/collectionspace/services/archive/v4.3.zip". > I was able to rebuild this service layer with "mvn clean install > -DskipTests" > > > Now, I am trying to do "ant undeploy deploy create_db -Drecreate_db=true > import" but I get an error: > > "create_cspace_db: > BUILD FAILED > C:\collectionspace-source\services\build.xml:265: Source file > C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql > is not a file!" > > This is where ant is looking for the cspace folder under tomcat, but > there's not such a folder. I downloaded tomcat earlier from the cspace FTP > site i.e. cspace-server-4.3.tar.gz and this compressed file did not have a > cspace folder in it. > > Thanks for your help! > > > Toni. > > > On Wed, March 9, 2016 11:08 am, Richard Millet wrote: > >> Toni, >> >> >> >> Your problems might be the result of a documentation error. Please >> send me a link to the documentation you're using to install >> CollectionSpace so >> I can review it. >> >> >> >> Thanks, >> >> >> >> Richard >> ________________________________________ >> From: Talk <talk-bounces@lists.collectionspace.org> on behalf of toni >> hanna <toni@creyasoft.com> Sent: Wednesday, March 09, 2016 7:31 AM To: >> talk@lists.collectionspace.org Subject: [Talk] Missing Folder >> >> >> >> Hello all. >> >> >> >> I downloaded the following from FTP: cspace-server-4.3.tar.gz >> >> >> >> It seems to be missing a folder named "cspace". >> >> >> >> I found this out because when I do "ant undeploy deploy create_db >> -Drecreate_db=true import" for the service layer, I get errors that it >> cannot find files in the folder "cspace"... for example cannot find >> "init_cspace_db.sql" >> >> >> >> How can I get this folder and all its contents? >> >> >> >> Thnx >> Toni. >> >> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collections >> pa ce.org >> > > >
TH
toni hanna
Thu, Mar 10, 2016 2:28 PM

Finally Relief!

It turns out Ant is case sensitive with Windows environment names.

This was failing: Execute failed: java.io.IOException: Cannot run program
"${env.JAVA_HOME}\bin\java"
Because JAVA_HOME was defined lower case in my environment.

Toni.

On Thu, March 10, 2016 7:47 am, toni hanna wrote:

Ok, I am progressing slowly with the installation process. I figured out
the missing cspace folder issue. Since the mvn step was failing, the cspace
folder was not created.

I am working in Windows, and the scripts at the cs site have some issues:
they may work on Linux, but get stuck on Windows. For example, a missing
environment variable in Windows will stop ant. In the documentation for
Windows, the following variable is skipped: CSPACE_INSTANCE_ID

This seems to cause problems too: set CATALINA_OPTS="-Xmx1024m
-XX:MaxPermSize=384m"
Double quotes are being stored along with the string.

Anyway, so far I've been able to do "mvn clean install -DskipTests" for
both the Application and the Services layer.

But when I do "ant undeploy deploy create_db -Drecreate_db=true import" i
get the following error:

deploy_services_artifacts:

BUILD FAILED
C:\collectionspace-source\services\build.xml:283: The following error
occurred while executing this line:
C:\collectionspace-source\services\services\build.xml:194: The following
error occurred while executing this line:
C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xm
l:163:
Execute failed: java.io.IOException: Cannot run program
"${env.JAVA_HOME}\bin\java" (in directory
"C:\collectionspace-source\services\services\JaxRsServiceProvider"):
CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at
java.lang.Runtime.exec(Runtime.java:617)
at
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13C
ommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428) at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629) at
org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)

I traced this error to the build.xml at
C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml

which shows:

<target name="deploy_services_artifacts" description="Generates and deploys the CollectionSpace Services' schema bundles, doctype bundles, and tenant bindings."> <exec executable="${env.JAVA_HOME}/bin/java" failonerror="true"> <arg value="-Done-jar.silent=true" /> <arg value="-Dcatalina.home=${env.CSPACE_JEESERVER_HOME}" /> <arg value="-jar" />
<arg value="${application.trunk}/tomcat-main/target/${cspace.tool.csmake}.jar" />
<arg value="-ac" />
<arg value="${application.trunk}/tomcat-main/src/main/resources" />
<arg value="-sc" />
<arg value="${services.trunk}/services/common/src/main" />
<arg value="-o" />
<arg value="${env.CSPACE_JEESERVER_HOME}" />
</exec>
</target>

I've checked all args and variables, and nothing seems to be wrong. All
files do exist. Help anyone?

Thanks.
Toni.

On Wed, March 9, 2016 11:41 am, toni hanna wrote:

Richard,

I am using:
https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+U
ni x-like+or+Windows+Systems

I am at the section: "Initialize the databases and import default users
and permissions" which required that I download the services layer
from "https://github.com/collectionspace/services/archive/v4.3.zip".
I was able to rebuild this service layer with "mvn clean install
-DskipTests"

Now, I am trying to do "ant undeploy deploy create_db
-Drecreate_db=true
import" but I get an error:

"create_cspace_db:
BUILD FAILED
C:\collectionspace-source\services\build.xml:265: Source file
C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql
is not a file!"

This is where ant is looking for the cspace folder under tomcat, but
there's not such a folder. I downloaded tomcat earlier from the cspace
FTP
site i.e. cspace-server-4.3.tar.gz and this compressed file did not have
a cspace folder in it.

Thanks for your help!

Toni.

On Wed, March 9, 2016 11:08 am, Richard Millet wrote:

Toni,

Your problems might be the result of a documentation error.  Please
send me a link to the documentation you're using to install
CollectionSpace so
I can review it.

Thanks,

Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of toni
hanna toni@creyasoft.com Sent: Wednesday, March 09, 2016 7:31 AM To:
talk@lists.collectionspace.org Subject: [Talk] Missing Folder

Hello all.

I downloaded the following from FTP: cspace-server-4.3.tar.gz

It seems to be missing a folder named "cspace".

I found this out because when I do "ant undeploy deploy create_db
-Drecreate_db=true import" for the service layer, I get errors that it
cannot find files in the folder "cspace"... for example cannot find
"init_cspace_db.sql"

How can I get this folder and all its contents?

Thnx
Toni.


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectio
ns pa ce.org

Finally Relief! It turns out Ant is case sensitive with Windows environment names. This was failing: Execute failed: java.io.IOException: Cannot run program "${env.JAVA_HOME}\bin\java" Because JAVA_HOME was defined lower case in my environment. Toni. On Thu, March 10, 2016 7:47 am, toni hanna wrote: > Ok, I am progressing slowly with the installation process. I figured out > the missing cspace folder issue. Since the mvn step was failing, the cspace > folder was not created. > > I am working in Windows, and the scripts at the cs site have some issues: > they may work on Linux, but get stuck on Windows. For example, a missing > environment variable in Windows will stop ant. In the documentation for > Windows, the following variable is skipped: CSPACE_INSTANCE_ID > > > This seems to cause problems too: set CATALINA_OPTS="-Xmx1024m > -XX:MaxPermSize=384m" > Double quotes are being stored along with the string. > > > Anyway, so far I've been able to do "mvn clean install -DskipTests" for > both the Application and the Services layer. > > But when I do "ant undeploy deploy create_db -Drecreate_db=true import" i > get the following error: > > deploy_services_artifacts: > > > BUILD FAILED > C:\collectionspace-source\services\build.xml:283: The following error > occurred while executing this line: > C:\collectionspace-source\services\services\build.xml:194: The following > error occurred while executing this line: > C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xm > l:163: > Execute failed: java.io.IOException: Cannot run program > "${env.JAVA_HOME}\bin\java" (in directory > "C:\collectionspace-source\services\services\JaxRsServiceProvider"): > CreateProcess error=2, The system cannot find the file specified > at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047) at > java.lang.Runtime.exec(Runtime.java:617) > at > org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13C > ommandLauncher.java:58) > at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428) at > org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442) > at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629) at > org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670) > at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496) at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) > > > > I traced this error to the build.xml at > C:\collectionspace-source\services\services\JaxRsServiceProvider\build.xml > > > which shows: > > <target name="deploy_services_artifacts" > description="Generates and deploys the CollectionSpace Services' schema > bundles, doctype bundles, and tenant bindings."> <exec > executable="${env.JAVA_HOME}/bin/java" failonerror="true"> <arg > value="-Done-jar.silent=true" /> <arg > value="-Dcatalina.home=${env.CSPACE_JEESERVER_HOME}" /> <arg value="-jar" > /> > <arg > value="${application.trunk}/tomcat-main/target/${cspace.tool.csmake}.jar" > /> > <arg value="-ac" /> > <arg value="${application.trunk}/tomcat-main/src/main/resources" /> > <arg value="-sc" /> > <arg value="${services.trunk}/services/common/src/main" /> > <arg value="-o" /> > <arg value="${env.CSPACE_JEESERVER_HOME}" /> > </exec> > </target> > > > I've checked all args and variables, and nothing seems to be wrong. All > files do exist. Help anyone? > > Thanks. > Toni. > > > > On Wed, March 9, 2016 11:41 am, toni hanna wrote: > >> Richard, >> >> >> >> I am using: >> https://wiki.collectionspace.org/display/DOC/Installing+4.3+on+Generic+U >> ni x-like+or+Windows+Systems >> >> I am at the section: "Initialize the databases and import default users >> and permissions" which required that I download the services layer >> from "https://github.com/collectionspace/services/archive/v4.3.zip". >> I was able to rebuild this service layer with "mvn clean install >> -DskipTests" >> >> >> >> Now, I am trying to do "ant undeploy deploy create_db >> -Drecreate_db=true >> import" but I get an error: >> >> "create_cspace_db: >> BUILD FAILED >> C:\collectionspace-source\services\build.xml:265: Source file >> C:\apache-tomcat-7.0.57\cspace\services\db\postgresql\init_cspace_db.sql >> is not a file!" >> >> This is where ant is looking for the cspace folder under tomcat, but >> there's not such a folder. I downloaded tomcat earlier from the cspace >> FTP >> site i.e. cspace-server-4.3.tar.gz and this compressed file did not have >> a cspace folder in it. >> >> Thanks for your help! >> >> >> >> Toni. >> >> >> >> On Wed, March 9, 2016 11:08 am, Richard Millet wrote: >> >> >>> Toni, >>> >>> >>> >>> >>> Your problems might be the result of a documentation error. Please >>> send me a link to the documentation you're using to install >>> CollectionSpace so >>> I can review it. >>> >>> >>> >>> >>> Thanks, >>> >>> >>> >>> >>> Richard >>> ________________________________________ >>> From: Talk <talk-bounces@lists.collectionspace.org> on behalf of toni >>> hanna <toni@creyasoft.com> Sent: Wednesday, March 09, 2016 7:31 AM To: >>> talk@lists.collectionspace.org Subject: [Talk] Missing Folder >>> >>> >>> >>> Hello all. >>> >>> >>> >>> >>> I downloaded the following from FTP: cspace-server-4.3.tar.gz >>> >>> >>> >>> >>> It seems to be missing a folder named "cspace". >>> >>> >>> >>> >>> I found this out because when I do "ant undeploy deploy create_db >>> -Drecreate_db=true import" for the service layer, I get errors that it >>> cannot find files in the folder "cspace"... for example cannot find >>> "init_cspace_db.sql" >>> >>> >>> >>> >>> How can I get this folder and all its contents? >>> >>> >>> >>> >>> Thnx >>> Toni. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectio >>> ns pa ce.org >>> >> >> >> > > >