talk@lists.collectionspace.org

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

View all threads

error running mvn clean install -DskipTests

AB
Al Bersch
Thu, Aug 1, 2013 4:06 PM

Hi Aron,

Thanks again for all your help.

Here are the results of the commands for java and jar, and the ant command (below).

root@li551-203:~# java -version

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

root@li551-203:~# jar -version

Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
Options:
-c create new archive
-t list table of contents for archive
-x extract named (or all) files from archive
-u update existing archive
-v generate verbose output on standard output
-f specify archive file name
-m include manifest information from specified manifest file
-e specify application entry point for stand-alone application
bundled into an executable jar file
-0 store only; use no ZIP compression
-M do not create a manifest file for the entries
-i generate index information for the specified jar files
-C change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
files in the foo/ directory into 'classes.jar':
jar cvfm classes.jar mymanifest -C foo/ .

root@li551-203:~# ls -al which jar
lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar

And then here's the results of running the ant command:

root@li551-203:/application-source/application/war-entry# ant -v -Dconfig_destination=$CATALINA_HOME
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /application-source/application/war-entry/build.xml
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre
Detected OS: Linux
parsing buildfile /application-source/application/war-entry/build.xml with URI = file:/application-source/application/war-entry/build.xml
Project base dir set to: /application-source/application/war-entry
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[property] Loading Environment env.
Override ignored for property "config_destination"
Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config, localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks]
Complete build sequence is [deploy_cspace_config, localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks, ]

deploy_cspace_config:
[copy] base-authority-citation-termList.xml added as base-authority-citation-termList.xml doesn't exist.
[copy] base-authority-citation.xml added as base-authority-citation.xml doesn't exist.
[copy] base-authority-concept-termList.xml added as base-authority-concept-termList.xml doesn't exist.
[copy] base-authority-concept.xml added as base-authority-concept.xml doesn't exist.
[copy] base-authority-contact.xml added as base-authority-contact.xml doesn't exist.
[copy] base-authority-location-termList.xml added as base-authority-location-termList.xml doesn't exist.
[copy] base-authority-location.xml added as base-authority-location.xml doesn't exist.
[copy] base-authority-organization-termList.xml added as base-authority-organization-termList.xml doesn't exist.
[copy] base-authority-organization.xml added as base-authority-organization.xml doesn't exist.
[copy] base-authority-person-termList.xml added as base-authority-person-termList.xml doesn't exist.
[copy] base-authority-person.xml added as base-authority-person.xml doesn't exist.
[copy] base-authority-place-termList.xml added as base-authority-place-termList.xml doesn't exist.
[copy] base-authority-place.xml added as base-authority-place.xml doesn't exist.
[copy] base-authority-taxon-termList.xml added as base-authority-taxon-termList.xml doesn't exist.
[copy] base-authority-taxon.xml added as base-authority-taxon.xml doesn't exist.
[copy] base-authz-accountrole.xml added as base-authz-accountrole.xml doesn't exist.
[copy] base-authz-permission.xml added as base-authz-permission.xml doesn't exist.
[copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't exist.
[copy] base-authz-role.xml added as base-authz-role.xml doesn't exist.
[copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't exist.
[copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't exist.
[copy] base-authz-users.xml added as base-authz-users.xml doesn't exist.
[copy] base-collectionobject.xml added as base-collectionobject.xml doesn't exist.
[copy] base-instance-vocabularies.xml added as base-instance-vocabularies.xml doesn't exist.
[copy] base-other-dimension.xml added as base-other-dimension.xml doesn't exist.
[copy] base-other-hierarchy.xml added as base-other-hierarchy.xml doesn't exist.
[copy] base-other-idgenerator.xml added as base-other-idgenerator.xml doesn't exist.
[copy] base-other-reporting.xml added as base-other-reporting.xml doesn't exist.
[copy] base-other-reportingoutput.xml added as base-other-reportingoutput.xml doesn't exist.
[copy] base-other-searchall.xml added as base-other-searchall.xml doesn't exist.
[copy] base-other-structureddate.xml added as base-other-structureddate.xml doesn't exist.
[copy] base-other-termlist.xml added as base-other-termlist.xml doesn't exist.
[copy] base-other-termlistitem.xml added as base-other-termlistitem.xml doesn't exist.
[copy] base-procedure-acquisition.xml added as base-procedure-acquisition.xml doesn't exist.
[copy] base-procedure-blobs.xml added as base-procedure-blobs.xml doesn't exist.
[copy] base-procedure-groups.xml added as base-procedure-groups.xml doesn't exist.
[copy] base-procedure-intake.xml added as base-procedure-intake.xml doesn't exist.
[copy] base-procedure-loanin.xml added as base-procedure-loanin.xml doesn't exist.
[copy] base-procedure-loanout.xml added as base-procedure-loanout.xml doesn't exist.
[copy] base-procedure-media.xml added as base-procedure-media.xml doesn't exist.
[copy] base-procedure-movement.xml added as base-procedure-movement.xml doesn't exist.
[copy] base-procedure-objectexit.xml added as base-procedure-objectexit.xml doesn't exist.
[copy] base-relations.xml added as base-relations.xml doesn't exist.
[copy] base-schemas.xml added as base-schemas.xml doesn't exist.
[copy] base-vocabularies.xml added as base-vocabularies.xml doesn't exist.
[copy] domain-authority-citation.xml added as domain-authority-citation.xml doesn't exist.
[copy] domain-authority-concept.xml added as domain-authority-concept.xml doesn't exist.
[copy] domain-authority-contact.xml added as domain-authority-contact.xml doesn't exist.
[copy] domain-authority-location.xml added as domain-authority-location.xml doesn't exist.
[copy] domain-authority-organization.xml added as domain-authority-organization.xml doesn't exist.
[copy] domain-authority-person.xml added as domain-authority-person.xml doesn't exist.
[copy] domain-authority-place.xml added as domain-authority-place.xml doesn't exist.
[copy] domain-authority-taxon.xml added as domain-authority-taxon.xml doesn't exist.
[copy] domain-authz-accountrole.xml added as domain-authz-accountrole.xml doesn't exist.
[copy] domain-authz-permission.xml added as domain-authz-permission.xml doesn't exist.
[copy] domain-authz-permrole.xml added as domain-authz-permrole.xml doesn't exist.
[copy] domain-authz-role.xml added as domain-authz-role.xml doesn't exist.
[copy] domain-authz-userperm.xml added as domain-authz-userperm.xml doesn't exist.
[copy] domain-authz-userrole.xml added as domain-authz-userrole.xml doesn't exist.
[copy] domain-authz-users.xml added as domain-authz-users.xml doesn't exist.
[copy] domain-collectionobject.xml added as domain-collectionobject.xml doesn't exist.
[copy] domain-instance-vocabularies.xml added as domain-instance-vocabularies.xml doesn't exist.
[copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml doesn't exist.
[copy] domain-other-reporting.xml added as domain-other-reporting.xml doesn't exist.
[copy] domain-other-reportingoutput.xml added as domain-other-reportingoutput.xml doesn't exist.
[copy] domain-other-termlist.xml added as domain-other-termlist.xml doesn't exist.
[copy] domain-other-termlistitem.xml added as domain-other-termlistitem.xml doesn't exist.
[copy] domain-procedure-acquisition.xml added as domain-procedure-acquisition.xml doesn't exist.
[copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml doesn't exist.
[copy] domain-procedure-groups.xml added as domain-procedure-groups.xml doesn't exist.
[copy] domain-procedure-intake.xml added as domain-procedure-intake.xml doesn't exist.
[copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml doesn't exist.
[copy] domain-procedure-loanout.xml added as domain-procedure-loanout.xml doesn't exist.
[copy] domain-procedure-media.xml added as domain-procedure-media.xml doesn't exist.
[copy] domain-procedure-movement.xml added as domain-procedure-movement.xml doesn't exist.
[copy] domain-procedure-objectexit.xml added as domain-procedure-objectexit.xml doesn't exist.
[copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't exist.
[copy] settings.xml added as settings.xml doesn't exist.
[copy] xmlmerge.properties added as xmlmerge.properties doesn't exist.
[copy] No sources found.
[copy] Copying 79 files to /usr/local/share/apache-tomcat-6.0.33/defaults
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/settings.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties
[copy] core/nightly-settings.xml added as core/nightly-settings.xml doesn't exist.
[copy] core/settings.xml added as core/settings.xml doesn't exist.
[copy] lifesci/lifesci-authority-citation.xml added as lifesci/lifesci-authority-citation.xml doesn't exist.
[copy] lifesci/lifesci-authority-concept.xml added as lifesci/lifesci-authority-concept.xml doesn't exist.
[copy] lifesci/lifesci-authority-location.xml added as lifesci/lifesci-authority-location.xml doesn't exist.
[copy] lifesci/lifesci-authority-organization.xml added as lifesci/lifesci-authority-organization.xml doesn't exist.
[copy] lifesci/lifesci-authority-person.xml added as lifesci/lifesci-authority-person.xml doesn't exist.
[copy] lifesci/lifesci-authority-place.xml added as lifesci/lifesci-authority-place.xml doesn't exist.
[copy] lifesci/lifesci-authority-taxon.xml added as lifesci/lifesci-authority-taxon.xml doesn't exist.
[copy] lifesci/naturalhistory-collectionobject.xml added as lifesci/naturalhistory-collectionobject.xml doesn't exist.
[copy] lifesci/nightly-settings.xml added as lifesci/nightly-settings.xml doesn't exist.
[copy] lifesci/settings.xml added as lifesci/settings.xml doesn't exist.
[copy] omca/local-omca-settings.xml added as omca/local-omca-settings.xml doesn't exist.
[copy] omca/nightly-settings.xml added as omca/nightly-settings.xml doesn't exist.
[copy] omca/settings.xml added as omca/settings.xml doesn't exist.
[copy] core added as core doesn't exist.
[copy] lifesci added as lifesci doesn't exist.
[copy] omca added as omca doesn't exist.
[copy] Copying 15 files to /usr/local/share/apache-tomcat-6.0.33/tenants
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml
[copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying /application-source/application/tomcat-main/src/main/resources/core-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml
[copy] Copying /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml
[copy] /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is up to date.
[copy] /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml omitted as /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml is up to date.

localhost_is_nightly:

deploy_nightly_config:
Property "is.nightly" has not been set
Property "is.nightly" has not been set
Skipped because property '${is.nightly}' not set.

retrieve_jar:
[copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying /application-source/application/tomcat-main/target/tomcat-main.one-jar.jar to /usr/local/share/apache-tomcat-6.0.33/cspace.jar

post_build_tasks:

BUILD SUCCESSFUL
Total time: 3 seconds
root@li551-203:/application-source/application/war-entry#

Thanks again!

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----

From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "Jesse Martinez" mjesse@gmail.com, "talk" talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 6:20:40 PM
Subject: Re: [Talk] error running mvn clean install -DskipTests

On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

As well, you might try running this, again inside that war-entry module:

  • mvn clean install -DskipTests -X

Once again, the '-X' will help show whether

I left that thought unfinished. Actually, we likely don't need to do that;
it seems likely at this point that this is a problem where 'Ant' might not
be finding a working 'jar' command. Let's proceed on that assumption
until we find out otherwise. (See the P.S. in my two-emails-ago note.)

Aron

P.S. One more thing I'm noticing in the output from running
that 'Ant' command - which runs successfully on my system -
this appears:

parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with
URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file

While nearly all of what Ant is doing is simple file copying,
this stood out.

Maybe this could be Ant trying to read a JAR file - possibly a file
that contains code for one of its external tasks, 'hostinfo' - and failing,
because its path to the 'jar' command (one of the many command
line utilities included with Java) is incorrect, possibly due to that
JAVA_HOME snafu. That's the best I can come up with so far.

If we can't get this quickly solved any other way, you might try opening
war-entry/build.xml, and in the following block:

<target name="post_build_tasks" description="Various post-build tasks" depends="deploy_cspace_config, deploy_nightly_config, retrieve_jar">
</target>

delete 'deploy_nightly_config,' (including the trailing comma) from the
'depends' line above, and see if the error persists. That should remove
Ant's need for the 'hostinfo' task.

On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron, Jesse,

Thanks so much for your responses.

Aron, in answer to 1b, no, there is no value set for JAVA_HOME in
/etc/profile.d files (the files in there are bash_completion.sh and
Z97-byobu.sh and JAVA_HOME is not mentioned in either one).

Jesse, the JAVA_HOME variable set in ~/.bashrc is: export
JAVA_HOME='/usr/lib/jvm/java-7-oracle'

(I used single quotes because double quotes didn't work in Maven3. Let me
know if I'm out of line here...)

As for the question of running maven and ant commands on the services layer,
yes, I ran both those commands successfully after following the instructions
in the documentation for

Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved on
to "Creating Your Tenant," which brings me to another question - does it
matter where I put the source code for the Application and UI layers? And do
I need to check out the services layer source code, even though I already
installed it during the Installation phase (right?)?

And just in case it matters:
in answer to 1a, Tomcat is running under the user root, which I was using
to check out the layers, and perform the installation steps. Should I have
done that differently?
and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but no
other variable is set there.
Thanks again!
Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 2:31:48 PM
Subject: Re: [Talk] error running mvn clean install -DskipTests

Having said this about 1.c, below, it's likely that 1.a. is also
irrelevant to your issue ... 1.b. might be worth looking into,
however.

From the error message, it looks like Maven might be using have a
different value for JAVA_HOME ... so check 1.b (whether a value for
JAVA_HOME is set in any files in /etc/profile.d), and then you can
report back, if that doesn't seem to be relevant.

On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

Hi Al,

  1. An off the cuff thought, possibly erroneous, but quick :-): It's
    conceivable that there is a second place from which the value of the
    JAVA_HOME environment variable is being read, other than from your own
    user environment. It could conceivably be getting this value from
    another user's environment, or from some system configuration file.

a. Is Tomcat running under your own user account, or another
account? (Check this via 'ps -ef | grep catalina'; the first item in
the relevant entry will be the username under which Tomcat is running,
while the second item will be its process ID, relevant to response 2,
below.)

If it's running under another user account, you can log into that
user's account (or 'sudo su actual_username_here' to it) and check the
value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in
your account).

b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d?

c. (You can skip this third point, as this is NOT relevant to the
issue you reported, which involved building CollectionSpace's
Application layer, but is mentioned here for completeness ... as a
different set of problems could result from it: Is a value explicitly
set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as
setenv.sh or nuxeo.conf? First, look in those two files; then 'grep
JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of
$JAVA_HOME as a variable name, etc.)

  1. I've encountered this (a missing tomcat.pid file) on occasion,
    without having investigated its cause.

When that happens, as a fix, I've just killed the Tomcat process
('sudo kill actual_pid_here', where 'actual_pid_here' is the process
ID of that process, then restarted Tomcat, which re-creates that file.
(The tomcat.pid file itself is just a text file containing a process
ID.)

Aron

On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch abersch@museumca.org wrote:

Hello all,

I am creating new tenant in CollectionSpace 3.3, and am at the stage of
pushing the Applications layer to the CollectionSpace server. I have two
issues that might be related. I'm running into an error when I run mvn
clean
install -DskipTests:

[INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry ---
[INFO] Error: JAVA_HOME is not defined correctly.
[INFO] We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Root .............................................. SUCCESS
[0.890s]
[INFO] CSP: General Utils ................................ SUCCESS
[3.037s]
[INFO] Collection-Space CSP API .......................... SUCCESS
[1.154s]
[INFO] CSP: Impl ......................................... SUCCESS
[2.650s]
[INFO] Collection-Space CSP Helper ....................... SUCCESS
[1.098s]
[INFO] CSP: Schema ....................................... SUCCESS
[3.249s]
[INFO] JXUtils ........................................... SUCCESS
[1.311s]
[INFO] CSP: Web UI ....................................... SUCCESS
[5.630s]
[INFO] CSP: File ......................................... SUCCESS
[0.946s]
[INFO] CSP: Services ..................................... SUCCESS
[4.590s]
[INFO] JXUtils ........................................... SUCCESS
[1.831s]
[INFO] Core .............................................. SUCCESS
[9.068s]
[INFO] Core .............................................. FAILURE
[8.250s]
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 44.183s
[INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013
[INFO] Final Memory: 102M/339M

It appears that I have the environment variable set up correctly:

root@li551-203:~# echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle

I thought I'd double check that I shut down the servers correctly. when I
ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message :

"$CATALINA_PID was set but the specified file does not exist. Is Tomcat
running? Stop aborted."

So I looked for the tomcat.pid in
/usr/local/share/apache-tomcat-6.0.33/bin
and didn't find it there. Any ideas what's going on? I know it was there
before, because I successfully started up the server.

Many thanks!

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

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

Hi Aron, Thanks again for all your help. Here are the results of the commands for java and jar, and the ant command (below). root@li551-203:~# java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) root@li551-203:~# jar -version Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ... Options: -c create new archive -t list table of contents for archive -x extract named (or all) files from archive -u update existing archive -v generate verbose output on standard output -f specify archive file name -m include manifest information from specified manifest file -e specify application entry point for stand-alone application bundled into an executable jar file -0 store only; use no ZIP compression -M do not create a manifest file for the entries -i generate index information for the specified jar files -C change to the specified directory and include the following file If any file is a directory then it is processed recursively. The manifest file name, the archive file name and the entry point name are specified in the same order as the 'm', 'f' and 'e' flags. Example 1: to archive two class files into an archive called classes.jar: jar cvf classes.jar Foo.class Bar.class Example 2: use an existing manifest file 'mymanifest' and archive all the files in the foo/ directory into 'classes.jar': jar cvfm classes.jar mymanifest -C foo/ . root@li551-203:~# ls -al `which jar` lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar And then here's the results of running the ant command: root@li551-203:/application-source/application/war-entry# ant -v -Dconfig_destination=$CATALINA_HOME Apache Ant(TM) version 1.8.2 compiled on December 3 2011 Trying the default build file: build.xml Buildfile: /application-source/application/war-entry/build.xml Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre Detected OS: Linux parsing buildfile /application-source/application/war-entry/build.xml with URI = file:/application-source/application/war-entry/build.xml Project base dir set to: /application-source/application/war-entry parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [property] Loading Environment env. Override ignored for property "config_destination" Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config, localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks] Complete build sequence is [deploy_cspace_config, localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks, ] deploy_cspace_config: [copy] base-authority-citation-termList.xml added as base-authority-citation-termList.xml doesn't exist. [copy] base-authority-citation.xml added as base-authority-citation.xml doesn't exist. [copy] base-authority-concept-termList.xml added as base-authority-concept-termList.xml doesn't exist. [copy] base-authority-concept.xml added as base-authority-concept.xml doesn't exist. [copy] base-authority-contact.xml added as base-authority-contact.xml doesn't exist. [copy] base-authority-location-termList.xml added as base-authority-location-termList.xml doesn't exist. [copy] base-authority-location.xml added as base-authority-location.xml doesn't exist. [copy] base-authority-organization-termList.xml added as base-authority-organization-termList.xml doesn't exist. [copy] base-authority-organization.xml added as base-authority-organization.xml doesn't exist. [copy] base-authority-person-termList.xml added as base-authority-person-termList.xml doesn't exist. [copy] base-authority-person.xml added as base-authority-person.xml doesn't exist. [copy] base-authority-place-termList.xml added as base-authority-place-termList.xml doesn't exist. [copy] base-authority-place.xml added as base-authority-place.xml doesn't exist. [copy] base-authority-taxon-termList.xml added as base-authority-taxon-termList.xml doesn't exist. [copy] base-authority-taxon.xml added as base-authority-taxon.xml doesn't exist. [copy] base-authz-accountrole.xml added as base-authz-accountrole.xml doesn't exist. [copy] base-authz-permission.xml added as base-authz-permission.xml doesn't exist. [copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't exist. [copy] base-authz-role.xml added as base-authz-role.xml doesn't exist. [copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't exist. [copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't exist. [copy] base-authz-users.xml added as base-authz-users.xml doesn't exist. [copy] base-collectionobject.xml added as base-collectionobject.xml doesn't exist. [copy] base-instance-vocabularies.xml added as base-instance-vocabularies.xml doesn't exist. [copy] base-other-dimension.xml added as base-other-dimension.xml doesn't exist. [copy] base-other-hierarchy.xml added as base-other-hierarchy.xml doesn't exist. [copy] base-other-idgenerator.xml added as base-other-idgenerator.xml doesn't exist. [copy] base-other-reporting.xml added as base-other-reporting.xml doesn't exist. [copy] base-other-reportingoutput.xml added as base-other-reportingoutput.xml doesn't exist. [copy] base-other-searchall.xml added as base-other-searchall.xml doesn't exist. [copy] base-other-structureddate.xml added as base-other-structureddate.xml doesn't exist. [copy] base-other-termlist.xml added as base-other-termlist.xml doesn't exist. [copy] base-other-termlistitem.xml added as base-other-termlistitem.xml doesn't exist. [copy] base-procedure-acquisition.xml added as base-procedure-acquisition.xml doesn't exist. [copy] base-procedure-blobs.xml added as base-procedure-blobs.xml doesn't exist. [copy] base-procedure-groups.xml added as base-procedure-groups.xml doesn't exist. [copy] base-procedure-intake.xml added as base-procedure-intake.xml doesn't exist. [copy] base-procedure-loanin.xml added as base-procedure-loanin.xml doesn't exist. [copy] base-procedure-loanout.xml added as base-procedure-loanout.xml doesn't exist. [copy] base-procedure-media.xml added as base-procedure-media.xml doesn't exist. [copy] base-procedure-movement.xml added as base-procedure-movement.xml doesn't exist. [copy] base-procedure-objectexit.xml added as base-procedure-objectexit.xml doesn't exist. [copy] base-relations.xml added as base-relations.xml doesn't exist. [copy] base-schemas.xml added as base-schemas.xml doesn't exist. [copy] base-vocabularies.xml added as base-vocabularies.xml doesn't exist. [copy] domain-authority-citation.xml added as domain-authority-citation.xml doesn't exist. [copy] domain-authority-concept.xml added as domain-authority-concept.xml doesn't exist. [copy] domain-authority-contact.xml added as domain-authority-contact.xml doesn't exist. [copy] domain-authority-location.xml added as domain-authority-location.xml doesn't exist. [copy] domain-authority-organization.xml added as domain-authority-organization.xml doesn't exist. [copy] domain-authority-person.xml added as domain-authority-person.xml doesn't exist. [copy] domain-authority-place.xml added as domain-authority-place.xml doesn't exist. [copy] domain-authority-taxon.xml added as domain-authority-taxon.xml doesn't exist. [copy] domain-authz-accountrole.xml added as domain-authz-accountrole.xml doesn't exist. [copy] domain-authz-permission.xml added as domain-authz-permission.xml doesn't exist. [copy] domain-authz-permrole.xml added as domain-authz-permrole.xml doesn't exist. [copy] domain-authz-role.xml added as domain-authz-role.xml doesn't exist. [copy] domain-authz-userperm.xml added as domain-authz-userperm.xml doesn't exist. [copy] domain-authz-userrole.xml added as domain-authz-userrole.xml doesn't exist. [copy] domain-authz-users.xml added as domain-authz-users.xml doesn't exist. [copy] domain-collectionobject.xml added as domain-collectionobject.xml doesn't exist. [copy] domain-instance-vocabularies.xml added as domain-instance-vocabularies.xml doesn't exist. [copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml doesn't exist. [copy] domain-other-reporting.xml added as domain-other-reporting.xml doesn't exist. [copy] domain-other-reportingoutput.xml added as domain-other-reportingoutput.xml doesn't exist. [copy] domain-other-termlist.xml added as domain-other-termlist.xml doesn't exist. [copy] domain-other-termlistitem.xml added as domain-other-termlistitem.xml doesn't exist. [copy] domain-procedure-acquisition.xml added as domain-procedure-acquisition.xml doesn't exist. [copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml doesn't exist. [copy] domain-procedure-groups.xml added as domain-procedure-groups.xml doesn't exist. [copy] domain-procedure-intake.xml added as domain-procedure-intake.xml doesn't exist. [copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml doesn't exist. [copy] domain-procedure-loanout.xml added as domain-procedure-loanout.xml doesn't exist. [copy] domain-procedure-media.xml added as domain-procedure-media.xml doesn't exist. [copy] domain-procedure-movement.xml added as domain-procedure-movement.xml doesn't exist. [copy] domain-procedure-objectexit.xml added as domain-procedure-objectexit.xml doesn't exist. [copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't exist. [copy] settings.xml added as settings.xml doesn't exist. [copy] xmlmerge.properties added as xmlmerge.properties doesn't exist. [copy] No sources found. [copy] Copying 79 files to /usr/local/share/apache-tomcat-6.0.33/defaults [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/settings.xml to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties [copy] core/nightly-settings.xml added as core/nightly-settings.xml doesn't exist. [copy] core/settings.xml added as core/settings.xml doesn't exist. [copy] lifesci/lifesci-authority-citation.xml added as lifesci/lifesci-authority-citation.xml doesn't exist. [copy] lifesci/lifesci-authority-concept.xml added as lifesci/lifesci-authority-concept.xml doesn't exist. [copy] lifesci/lifesci-authority-location.xml added as lifesci/lifesci-authority-location.xml doesn't exist. [copy] lifesci/lifesci-authority-organization.xml added as lifesci/lifesci-authority-organization.xml doesn't exist. [copy] lifesci/lifesci-authority-person.xml added as lifesci/lifesci-authority-person.xml doesn't exist. [copy] lifesci/lifesci-authority-place.xml added as lifesci/lifesci-authority-place.xml doesn't exist. [copy] lifesci/lifesci-authority-taxon.xml added as lifesci/lifesci-authority-taxon.xml doesn't exist. [copy] lifesci/naturalhistory-collectionobject.xml added as lifesci/naturalhistory-collectionobject.xml doesn't exist. [copy] lifesci/nightly-settings.xml added as lifesci/nightly-settings.xml doesn't exist. [copy] lifesci/settings.xml added as lifesci/settings.xml doesn't exist. [copy] omca/local-omca-settings.xml added as omca/local-omca-settings.xml doesn't exist. [copy] omca/nightly-settings.xml added as omca/nightly-settings.xml doesn't exist. [copy] omca/settings.xml added as omca/settings.xml doesn't exist. [copy] core added as core doesn't exist. [copy] lifesci added as lifesci doesn't exist. [copy] omca added as omca doesn't exist. [copy] Copying 15 files to /usr/local/share/apache-tomcat-6.0.33/tenants [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml [copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33 [copy] Copying /application-source/application/tomcat-main/src/main/resources/core-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml [copy] Copying /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml [copy] /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is up to date. [copy] /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml omitted as /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml is up to date. localhost_is_nightly: deploy_nightly_config: Property "is.nightly" has not been set Property "is.nightly" has not been set Skipped because property '${is.nightly}' not set. retrieve_jar: [copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33 [copy] Copying /application-source/application/tomcat-main/target/tomcat-main.one-jar.jar to /usr/local/share/apache-tomcat-6.0.33/cspace.jar post_build_tasks: BUILD SUCCESSFUL Total time: 3 seconds root@li551-203:/application-source/application/war-entry# Thanks again! Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 ----- Original Message ----- From: "Aron Roberts" <aron@socrates.berkeley.edu> To: "Al Bersch" <abersch@museumca.org> Cc: "Jesse Martinez" <mjesse@gmail.com>, "talk" <talk@lists.collectionspace.org> Sent: Wednesday, July 31, 2013 6:20:40 PM Subject: Re: [Talk] error running mvn clean install -DskipTests On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > As well, you might try running this, again inside that war-entry module: > > * mvn clean install -DskipTests -X > > Once again, the '-X' will help show whether I left that thought unfinished. Actually, we likely don't need to do that; it seems likely at this point that this is a problem where 'Ant' might not be finding a working 'jar' command. Let's proceed on that assumption until we find out otherwise. (See the P.S. in my two-emails-ago note.) > > Aron > > P.S. One more thing I'm noticing in the output from running > that 'Ant' command - which runs successfully on my system - > this appears: > > parsing buildfile > jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml > with > URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml > from a zip file > > While nearly all of what Ant is doing is simple file copying, > this stood out. > > Maybe this could be Ant trying to read a JAR file - possibly a file > that contains code for one of its external tasks, 'hostinfo' - and failing, > because its path to the 'jar' command (one of the many command > line utilities included with Java) is incorrect, possibly due to that > JAVA_HOME snafu. That's the best I can come up with so far. > > If we can't get this quickly solved any other way, you might try opening > war-entry/build.xml, and in the following block: > > <target name="post_build_tasks" > description="Various post-build tasks" > depends="deploy_cspace_config, deploy_nightly_config, retrieve_jar"> > </target> > > delete 'deploy_nightly_config,' (including the trailing comma) from the > 'depends' line above, and see if the error persists. That should remove > Ant's need for the 'hostinfo' task. > > On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch <abersch@museumca.org> wrote: >> Hi Aron, Jesse, >> >> Thanks so much for your responses. >> >> Aron, in answer to 1b, no, there is no value set for JAVA_HOME in >> /etc/profile.d files (the files in there are bash_completion.sh and >> Z97-byobu.sh and JAVA_HOME is not mentioned in either one). >> >> >> Jesse, the JAVA_HOME variable set in ~/.bashrc is: export >> JAVA_HOME='/usr/lib/jvm/java-7-oracle' >> >> (I used single quotes because double quotes didn't work in Maven3. Let me >> know if I'm out of line here...) >> >> >> As for the question of running maven and ant commands on the services layer, >> yes, I ran both those commands successfully after following the instructions >> in the documentation for >> >> Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved on >> to "Creating Your Tenant," which brings me to another question - does it >> matter where I put the source code for the Application and UI layers? And do >> I need to check out the services layer source code, even though I already >> installed it during the Installation phase (right?)? >> >> And just in case it matters: >> in answer to 1a, Tomcat is running under the user root, which I was using >> to check out the layers, and perform the installation steps. Should I have >> done that differently? >> and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but no >> other variable is set there. >> Thanks again! >> Al >> >> >> Al Bersch >> Digital Project Coordinator >> Oakland Museum of California >> 1000 Oak Street, Oakland, CA 94607 >> abersch@museumca.org >> 510-318-8468 >> ________________________________ >> From: "Aron Roberts" <aron@socrates.berkeley.edu> >> To: "Al Bersch" <abersch@museumca.org> >> Cc: "talk" <talk@lists.collectionspace.org> >> Sent: Wednesday, July 31, 2013 2:31:48 PM >> Subject: Re: [Talk] error running mvn clean install -DskipTests >> >> >> Having said this about 1.c, below, it's likely that 1.a. is also >> irrelevant to your issue ... 1.b. might be worth looking into, >> however. >> >> From the error message, it looks like Maven might be using have a >> different value for JAVA_HOME ... so check 1.b (whether a value for >> JAVA_HOME is set in any files in /etc/profile.d), and then you can >> report back, if that doesn't seem to be relevant. >> >> On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts >> <aron@socrates.berkeley.edu> wrote: >>> Hi Al, >>> >>> 1. An off the cuff thought, possibly erroneous, but quick :-): It's >>> conceivable that there is a second place from which the value of the >>> JAVA_HOME environment variable is being read, other than from your own >>> user environment. It could conceivably be getting this value from >>> another user's environment, or from some system configuration file. >>> >>> a. Is Tomcat running under your own user account, or another >>> account? (Check this via 'ps -ef | grep catalina'; the first item in >>> the relevant entry will be the username under which Tomcat is running, >>> while the second item will be its process ID, relevant to response 2, >>> below.) >>> >>> If it's running under another user account, you can log into that >>> user's account (or 'sudo su actual_username_here' to it) and check the >>> value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in >>> your account). >>> >>> b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d? >>> >>> c. (You can skip this third point, as this is NOT relevant to the >>> issue you reported, which involved building CollectionSpace's >>> Application layer, but is mentioned here for completeness ... as a >>> different set of problems could result from it: Is a value explicitly >>> set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as >>> setenv.sh or nuxeo.conf? First, look in those two files; then 'grep >>> JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of >>> $JAVA_HOME as a variable name, etc.) >>> >>> 2. I've encountered this (a missing tomcat.pid file) on occasion, >>> without having investigated its cause. >>> >>> When that happens, as a fix, I've just killed the Tomcat process >>> ('sudo kill actual_pid_here', where 'actual_pid_here' is the process >>> ID of that process, then restarted Tomcat, which re-creates that file. >>> (The tomcat.pid file itself is just a text file containing a process >>> ID.) >>> >>> Aron >>> >>> On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch <abersch@museumca.org> wrote: >>>> Hello all, >>>> >>>> I am creating new tenant in CollectionSpace 3.3, and am at the stage of >>>> pushing the Applications layer to the CollectionSpace server. I have two >>>> issues that might be related. I'm running into an error when I run mvn >>>> clean >>>> install -DskipTests: >>>> >>>> [INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry --- >>>> [INFO] Error: JAVA_HOME is not defined correctly. >>>> [INFO] We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Reactor Summary: >>>> [INFO] >>>> [INFO] Root .............................................. SUCCESS >>>> [0.890s] >>>> [INFO] CSP: General Utils ................................ SUCCESS >>>> [3.037s] >>>> [INFO] Collection-Space CSP API .......................... SUCCESS >>>> [1.154s] >>>> [INFO] CSP: Impl ......................................... SUCCESS >>>> [2.650s] >>>> [INFO] Collection-Space CSP Helper ....................... SUCCESS >>>> [1.098s] >>>> [INFO] CSP: Schema ....................................... SUCCESS >>>> [3.249s] >>>> [INFO] JXUtils ........................................... SUCCESS >>>> [1.311s] >>>> [INFO] CSP: Web UI ....................................... SUCCESS >>>> [5.630s] >>>> [INFO] CSP: File ......................................... SUCCESS >>>> [0.946s] >>>> [INFO] CSP: Services ..................................... SUCCESS >>>> [4.590s] >>>> [INFO] JXUtils ........................................... SUCCESS >>>> [1.831s] >>>> [INFO] Core .............................................. SUCCESS >>>> [9.068s] >>>> [INFO] Core .............................................. FAILURE >>>> [8.250s] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 44.183s >>>> [INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013 >>>> [INFO] Final Memory: 102M/339M >>>> >>>> >>>> It appears that I have the environment variable set up correctly: >>>> >>>> root@li551-203:~# echo $JAVA_HOME >>>> /usr/lib/jvm/java-7-oracle >>>> >>>> I thought I'd double check that I shut down the servers correctly. when I >>>> ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message : >>>> >>>> "$CATALINA_PID was set but the specified file does not exist. Is Tomcat >>>> running? Stop aborted." >>>> >>>> So I looked for the tomcat.pid in >>>> /usr/local/share/apache-tomcat-6.0.33/bin >>>> and didn't find it there. Any ideas what's going on? I know it was there >>>> before, because I successfully started up the server. >>>> >>>> Many thanks! >>>> >>>> Al >>>> >>>> Al Bersch >>>> Digital Project Coordinator >>>> Oakland Museum of California >>>> 1000 Oak Street, Oakland, CA 94607 >>>> abersch@museumca.org >>>> 510-318-8468 >>>> >>>> _______________________________________________ >>>> Talk mailing list >>>> Talk@lists.collectionspace.org >>>> >>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>>> >>
AR
Aron Roberts
Thu, Aug 1, 2013 7:17 PM

The running of the 'ant' command worked, and the 'jar' command
appeared to work as well.  Hmm...

Next step, then, might be to run the Maven command with -X (for verbose); e.g.

cd war-entry
mvn clean install -DskipTests -X

On Thu, Aug 1, 2013 at 9:06 AM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks again for all your help.

Here are the results of the commands for java and jar, and the ant command
(below).

root@li551-203:~# java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

root@li551-203:~# jar -version
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir]
files ...
Options:
-c  create new archive
-t  list table of contents for archive
-x  extract named (or all) files from archive
-u  update existing archive
-v  generate verbose output on standard output
-f  specify archive file name
-m  include manifest information from specified manifest file
-e  specify application entry point for stand-alone application
bundled into an executable jar file
-0  store only; use no ZIP compression
-M  do not create a manifest file for the entries
-i  generate index information for the specified jar files
-C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
files in the foo/ directory into 'classes.jar':
jar cvfm classes.jar mymanifest -C foo/ .

root@li551-203:~# ls -al which jar
lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar

And then here's the results of running the ant command:

root@li551-203:/application-source/application/war-entry# ant -v
-Dconfig_destination=$CATALINA_HOME
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /application-source/application/war-entry/build.xml
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre
Detected OS: Linux
parsing buildfile /application-source/application/war-entry/build.xml with
URI = file:/application-source/application/war-entry/build.xml
Project base dir set to: /application-source/application/war-entry
parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with
URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file
[property] Loading Environment env.
Override ignored for property "config_destination"
Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config,
localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks]
Complete build sequence is [deploy_cspace_config, localhost_is_nightly,
deploy_nightly_config, retrieve_jar, post_build_tasks, ]

deploy_cspace_config:
[copy] base-authority-citation-termList.xml added as
base-authority-citation-termList.xml doesn't exist.
[copy] base-authority-citation.xml added as base-authority-citation.xml
doesn't exist.
[copy] base-authority-concept-termList.xml added as
base-authority-concept-termList.xml doesn't exist.
[copy] base-authority-concept.xml added as base-authority-concept.xml
doesn't exist.
[copy] base-authority-contact.xml added as base-authority-contact.xml
doesn't exist.
[copy] base-authority-location-termList.xml added as
base-authority-location-termList.xml doesn't exist.
[copy] base-authority-location.xml added as base-authority-location.xml
doesn't exist.
[copy] base-authority-organization-termList.xml added as
base-authority-organization-termList.xml doesn't exist.
[copy] base-authority-organization.xml added as
base-authority-organization.xml doesn't exist.
[copy] base-authority-person-termList.xml added as
base-authority-person-termList.xml doesn't exist.
[copy] base-authority-person.xml added as base-authority-person.xml
doesn't exist.
[copy] base-authority-place-termList.xml added as
base-authority-place-termList.xml doesn't exist.
[copy] base-authority-place.xml added as base-authority-place.xml
doesn't exist.
[copy] base-authority-taxon-termList.xml added as
base-authority-taxon-termList.xml doesn't exist.
[copy] base-authority-taxon.xml added as base-authority-taxon.xml
doesn't exist.
[copy] base-authz-accountrole.xml added as base-authz-accountrole.xml
doesn't exist.
[copy] base-authz-permission.xml added as base-authz-permission.xml
doesn't exist.
[copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't
exist.
[copy] base-authz-role.xml added as base-authz-role.xml doesn't exist.
[copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't
exist.
[copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't
exist.
[copy] base-authz-users.xml added as base-authz-users.xml doesn't
exist.
[copy] base-collectionobject.xml added as base-collectionobject.xml
doesn't exist.
[copy] base-instance-vocabularies.xml added as
base-instance-vocabularies.xml doesn't exist.
[copy] base-other-dimension.xml added as base-other-dimension.xml
doesn't exist.
[copy] base-other-hierarchy.xml added as base-other-hierarchy.xml
doesn't exist.
[copy] base-other-idgenerator.xml added as base-other-idgenerator.xml
doesn't exist.
[copy] base-other-reporting.xml added as base-other-reporting.xml
doesn't exist.
[copy] base-other-reportingoutput.xml added as
base-other-reportingoutput.xml doesn't exist.
[copy] base-other-searchall.xml added as base-other-searchall.xml
doesn't exist.
[copy] base-other-structureddate.xml added as
base-other-structureddate.xml doesn't exist.
[copy] base-other-termlist.xml added as base-other-termlist.xml doesn't
exist.
[copy] base-other-termlistitem.xml added as base-other-termlistitem.xml
doesn't exist.
[copy] base-procedure-acquisition.xml added as
base-procedure-acquisition.xml doesn't exist.
[copy] base-procedure-blobs.xml added as base-procedure-blobs.xml
doesn't exist.
[copy] base-procedure-groups.xml added as base-procedure-groups.xml
doesn't exist.
[copy] base-procedure-intake.xml added as base-procedure-intake.xml
doesn't exist.
[copy] base-procedure-loanin.xml added as base-procedure-loanin.xml
doesn't exist.
[copy] base-procedure-loanout.xml added as base-procedure-loanout.xml
doesn't exist.
[copy] base-procedure-media.xml added as base-procedure-media.xml
doesn't exist.
[copy] base-procedure-movement.xml added as base-procedure-movement.xml
doesn't exist.
[copy] base-procedure-objectexit.xml added as
base-procedure-objectexit.xml doesn't exist.
[copy] base-relations.xml added as base-relations.xml doesn't exist.
[copy] base-schemas.xml added as base-schemas.xml doesn't exist.
[copy] base-vocabularies.xml added as base-vocabularies.xml doesn't
exist.
[copy] domain-authority-citation.xml added as
domain-authority-citation.xml doesn't exist.
[copy] domain-authority-concept.xml added as
domain-authority-concept.xml doesn't exist.
[copy] domain-authority-contact.xml added as
domain-authority-contact.xml doesn't exist.
[copy] domain-authority-location.xml added as
domain-authority-location.xml doesn't exist.
[copy] domain-authority-organization.xml added as
domain-authority-organization.xml doesn't exist.
[copy] domain-authority-person.xml added as domain-authority-person.xml
doesn't exist.
[copy] domain-authority-place.xml added as domain-authority-place.xml
doesn't exist.
[copy] domain-authority-taxon.xml added as domain-authority-taxon.xml
doesn't exist.
[copy] domain-authz-accountrole.xml added as
domain-authz-accountrole.xml doesn't exist.
[copy] domain-authz-permission.xml added as domain-authz-permission.xml
doesn't exist.
[copy] domain-authz-permrole.xml added as domain-authz-permrole.xml
doesn't exist.
[copy] domain-authz-role.xml added as domain-authz-role.xml doesn't
exist.
[copy] domain-authz-userperm.xml added as domain-authz-userperm.xml
doesn't exist.
[copy] domain-authz-userrole.xml added as domain-authz-userrole.xml
doesn't exist.
[copy] domain-authz-users.xml added as domain-authz-users.xml doesn't
exist.
[copy] domain-collectionobject.xml added as domain-collectionobject.xml
doesn't exist.
[copy] domain-instance-vocabularies.xml added as
domain-instance-vocabularies.xml doesn't exist.
[copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml
doesn't exist.
[copy] domain-other-reporting.xml added as domain-other-reporting.xml
doesn't exist.
[copy] domain-other-reportingoutput.xml added as
domain-other-reportingoutput.xml doesn't exist.
[copy] domain-other-termlist.xml added as domain-other-termlist.xml
doesn't exist.
[copy] domain-other-termlistitem.xml added as
domain-other-termlistitem.xml doesn't exist.
[copy] domain-procedure-acquisition.xml added as
domain-procedure-acquisition.xml doesn't exist.
[copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml
doesn't exist.
[copy] domain-procedure-groups.xml added as domain-procedure-groups.xml
doesn't exist.
[copy] domain-procedure-intake.xml added as domain-procedure-intake.xml
doesn't exist.
[copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml
doesn't exist.
[copy] domain-procedure-loanout.xml added as
domain-procedure-loanout.xml doesn't exist.
[copy] domain-procedure-media.xml added as domain-procedure-media.xml
doesn't exist.
[copy] domain-procedure-movement.xml added as
domain-procedure-movement.xml doesn't exist.
[copy] domain-procedure-objectexit.xml added as
domain-procedure-objectexit.xml doesn't exist.
[copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't
exist.
[copy] settings.xml added as settings.xml doesn't exist.
[copy] xmlmerge.properties added as xmlmerge.properties doesn't exist.
[copy] No sources found.
[copy] Copying 79 files to
/usr/local/share/apache-tomcat-6.0.33/defaults
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties
to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties
[copy] core/nightly-settings.xml added as core/nightly-settings.xml
doesn't exist.
[copy] core/settings.xml added as core/settings.xml doesn't exist.
[copy] lifesci/lifesci-authority-citation.xml added as
lifesci/lifesci-authority-citation.xml doesn't exist.
[copy] lifesci/lifesci-authority-concept.xml added as
lifesci/lifesci-authority-concept.xml doesn't exist.
[copy] lifesci/lifesci-authority-location.xml added as
lifesci/lifesci-authority-location.xml doesn't exist.
[copy] lifesci/lifesci-authority-organization.xml added as
lifesci/lifesci-authority-organization.xml doesn't exist.
[copy] lifesci/lifesci-authority-person.xml added as
lifesci/lifesci-authority-person.xml doesn't exist.
[copy] lifesci/lifesci-authority-place.xml added as
lifesci/lifesci-authority-place.xml doesn't exist.
[copy] lifesci/lifesci-authority-taxon.xml added as
lifesci/lifesci-authority-taxon.xml doesn't exist.
[copy] lifesci/naturalhistory-collectionobject.xml added as
lifesci/naturalhistory-collectionobject.xml doesn't exist.
[copy] lifesci/nightly-settings.xml added as
lifesci/nightly-settings.xml doesn't exist.
[copy] lifesci/settings.xml added as lifesci/settings.xml doesn't
exist.
[copy] omca/local-omca-settings.xml added as
omca/local-omca-settings.xml doesn't exist.
[copy] omca/nightly-settings.xml added as omca/nightly-settings.xml
doesn't exist.
[copy] omca/settings.xml added as omca/settings.xml doesn't exist.
[copy] core added as core doesn't exist.
[copy] lifesci added as lifesci doesn't exist.
[copy] omca added as omca doesn't exist.
[copy] Copying 15 files to
/usr/local/share/apache-tomcat-6.0.33/tenants
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml
[copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/core-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/omca-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml
[copy]
/application-source/application/tomcat-main/src/main/resources/omca-tenant.xml
omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is
up to date.
[copy]
/application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml
omitted as
/usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml
is up to date.

localhost_is_nightly:

deploy_nightly_config:
Property "is.nightly" has not been set
Property "is.nightly" has not been set
Skipped because property '${is.nightly}' not set.

retrieve_jar:
[copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying
/application-source/application/tomcat-main/target/tomcat-main.one-jar.jar
to /usr/local/share/apache-tomcat-6.0.33/cspace.jar

post_build_tasks:

BUILD SUCCESSFUL
Total time: 3 seconds
root@li551-203:/application-source/application/war-entry#

Thanks again!

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "Jesse Martinez" mjesse@gmail.com, "talk"
talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 6:20:40 PM

Subject: Re: [Talk] error running mvn clean install -DskipTests

On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

As well, you might try running this, again inside that war-entry module:

  • mvn clean install -DskipTests -X

Once again, the '-X' will help show whether

I left that thought unfinished.  Actually, we likely don't need to do that;
it seems likely at this point that this is a problem where 'Ant' might not
be finding a working 'jar' command.  Let's proceed on that assumption
until we find out otherwise.  (See the P.S. in my two-emails-ago note.)

Aron

P.S. One more thing I'm noticing in the output from running
that 'Ant' command - which runs successfully on my system -
this appears:

parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with
URI =
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file

While nearly all of what Ant is doing is simple file copying,
this stood out.

Maybe this could be Ant trying to read a JAR file - possibly a file
that contains code for one of its external tasks, 'hostinfo' - and
failing,
because its path to the 'jar' command (one of the many command
line utilities included with Java) is incorrect, possibly due to that
JAVA_HOME snafu.  That's the best I can come up with so far.

If we can't get this quickly solved any other way, you might try opening
war-entry/build.xml, and in the following block:

 <target name="post_build_tasks"
     description="Various post-build tasks"
     depends="deploy_cspace_config, deploy_nightly_config,

retrieve_jar">
</target>

delete 'deploy_nightly_config,' (including the trailing comma) from the
'depends' line above, and see if the error persists.  That should remove
Ant's need for the 'hostinfo' task.

On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron, Jesse,

Thanks so much for your responses.

Aron, in answer to 1b, no, there is no value set for JAVA_HOME in
/etc/profile.d files (the files in there are bash_completion.sh and
Z97-byobu.sh and JAVA_HOME is not mentioned in either one).

Jesse, the JAVA_HOME variable set in ~/.bashrc is:    export
JAVA_HOME='/usr/lib/jvm/java-7-oracle'

(I used single quotes because double quotes didn't work in Maven3. Let me
know if I'm out of line here...)

As for the question of running maven and ant commands on the services
layer,
yes, I ran both those commands successfully after following the
instructions
in the documentation for

Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved
on
to "Creating Your Tenant," which brings me to another question - does it
matter where I put the source code for the Application and UI layers? And
do
I need to check out the services layer source code, even though I already
installed it during the Installation phase (right?)?

And just in case it matters:
in answer to 1a, Tomcat is running under the user root, which I was
using
to check out the layers, and perform the installation steps. Should I
have
done that differently?
and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but
no
other variable is set there.
Thanks again!
Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 2:31:48 PM
Subject: Re: [Talk] error running mvn clean install -DskipTests

Having said this about 1.c, below, it's likely that 1.a. is also
irrelevant to your issue ... 1.b. might be worth looking into,
however.

From the error message, it looks like Maven might be using have a
different value for JAVA_HOME ... so check 1.b (whether a value for
JAVA_HOME is set in any files in /etc/profile.d), and then you can
report back, if that doesn't seem to be relevant.

On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

Hi Al,

  1. An off the cuff thought, possibly erroneous, but quick :-): It's
    conceivable that there is a second place from which the value of the
    JAVA_HOME environment variable is being read, other than from your own
    user environment.  It could conceivably be getting this value from
    another user's environment, or from some system configuration file.

a. Is Tomcat running under your own user account, or another
account? (Check this via 'ps -ef | grep catalina'; the first item in
the relevant entry will be the username under which Tomcat is running,
while the second item will be its process ID, relevant to response 2,
below.)

If it's running under another user account, you can log into that
user's account (or 'sudo su actual_username_here' to it) and check the
value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in
your account).

b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d?

c. (You can skip this third point, as this is NOT relevant to the
issue you reported, which involved building CollectionSpace's
Application layer, but is mentioned here for completeness ... as a
different set of problems could result from it: Is a value explicitly
set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as
setenv.sh or nuxeo.conf?  First, look in those two files; then 'grep
JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of
$JAVA_HOME as a variable name, etc.)

  1. I've encountered this (a missing tomcat.pid file) on occasion,
    without having investigated its cause.

When that happens, as a fix, I've just killed the Tomcat process
('sudo kill actual_pid_here', where 'actual_pid_here' is the process
ID of that process, then restarted Tomcat, which re-creates that file.
(The tomcat.pid file itself is just a text file containing a process
ID.)

Aron

On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch abersch@museumca.org wrote:

Hello all,

I am creating new tenant in CollectionSpace 3.3, and am at the stage of
pushing the Applications layer to the CollectionSpace server. I have
two
issues that might be related. I'm running into an error when I run mvn
clean
install -DskipTests:

[INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry ---
[INFO] Error: JAVA_HOME is not defined correctly.
[INFO]  We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java
[INFO]


[INFO] Reactor Summary:
[INFO]
[INFO] Root .............................................. SUCCESS
[0.890s]
[INFO] CSP: General Utils ................................ SUCCESS
[3.037s]
[INFO] Collection-Space CSP API .......................... SUCCESS
[1.154s]
[INFO] CSP: Impl ......................................... SUCCESS
[2.650s]
[INFO] Collection-Space CSP Helper ....................... SUCCESS
[1.098s]
[INFO] CSP: Schema ....................................... SUCCESS
[3.249s]
[INFO] JXUtils ........................................... SUCCESS
[1.311s]
[INFO] CSP: Web UI ....................................... SUCCESS
[5.630s]
[INFO] CSP: File ......................................... SUCCESS
[0.946s]
[INFO] CSP: Services ..................................... SUCCESS
[4.590s]
[INFO] JXUtils ........................................... SUCCESS
[1.831s]
[INFO] Core .............................................. SUCCESS
[9.068s]
[INFO] Core .............................................. FAILURE
[8.250s]
[INFO]


[INFO] BUILD FAILURE
[INFO]


[INFO] Total time: 44.183s
[INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013
[INFO] Final Memory: 102M/339M

It appears that I have the environment variable set up correctly:

root@li551-203:~# echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle

I thought I'd double check that I shut down the servers correctly. when
I
ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message :

"$CATALINA_PID was set but the specified file does not exist. Is Tomcat
running? Stop aborted."

So I looked for the tomcat.pid in
/usr/local/share/apache-tomcat-6.0.33/bin
and didn't find it there. Any ideas what's going on? I know it was
there
before, because I successfully started up the server.

Many thanks!

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

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

The running of the 'ant' command worked, and the 'jar' command appeared to work as well. Hmm... Next step, then, might be to run the Maven command with -X (for verbose); e.g. cd war-entry mvn clean install -DskipTests -X On Thu, Aug 1, 2013 at 9:06 AM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks again for all your help. > > Here are the results of the commands for java and jar, and the ant command > (below). > > root@li551-203:~# java -version > java version "1.7.0_25" > Java(TM) SE Runtime Environment (build 1.7.0_25-b15) > Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) > > root@li551-203:~# jar -version > Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] > files ... > Options: > -c create new archive > -t list table of contents for archive > -x extract named (or all) files from archive > -u update existing archive > -v generate verbose output on standard output > -f specify archive file name > -m include manifest information from specified manifest file > -e specify application entry point for stand-alone application > bundled into an executable jar file > -0 store only; use no ZIP compression > -M do not create a manifest file for the entries > -i generate index information for the specified jar files > -C change to the specified directory and include the following file > If any file is a directory then it is processed recursively. > The manifest file name, the archive file name and the entry point name are > specified in the same order as the 'm', 'f' and 'e' flags. > > Example 1: to archive two class files into an archive called classes.jar: > jar cvf classes.jar Foo.class Bar.class > Example 2: use an existing manifest file 'mymanifest' and archive all the > files in the foo/ directory into 'classes.jar': > jar cvfm classes.jar mymanifest -C foo/ . > > root@li551-203:~# ls -al `which jar` > lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar > > And then here's the results of running the ant command: > > root@li551-203:/application-source/application/war-entry# ant -v > -Dconfig_destination=$CATALINA_HOME > Apache Ant(TM) version 1.8.2 compiled on December 3 2011 > Trying the default build file: build.xml > Buildfile: /application-source/application/war-entry/build.xml > Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre > Detected OS: Linux > parsing buildfile /application-source/application/war-entry/build.xml with > URI = file:/application-source/application/war-entry/build.xml > Project base dir set to: /application-source/application/war-entry > parsing buildfile > jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with > URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml > from a zip file > [property] Loading Environment env. > Override ignored for property "config_destination" > Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config, > localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks] > Complete build sequence is [deploy_cspace_config, localhost_is_nightly, > deploy_nightly_config, retrieve_jar, post_build_tasks, ] > > deploy_cspace_config: > [copy] base-authority-citation-termList.xml added as > base-authority-citation-termList.xml doesn't exist. > [copy] base-authority-citation.xml added as base-authority-citation.xml > doesn't exist. > [copy] base-authority-concept-termList.xml added as > base-authority-concept-termList.xml doesn't exist. > [copy] base-authority-concept.xml added as base-authority-concept.xml > doesn't exist. > [copy] base-authority-contact.xml added as base-authority-contact.xml > doesn't exist. > [copy] base-authority-location-termList.xml added as > base-authority-location-termList.xml doesn't exist. > [copy] base-authority-location.xml added as base-authority-location.xml > doesn't exist. > [copy] base-authority-organization-termList.xml added as > base-authority-organization-termList.xml doesn't exist. > [copy] base-authority-organization.xml added as > base-authority-organization.xml doesn't exist. > [copy] base-authority-person-termList.xml added as > base-authority-person-termList.xml doesn't exist. > [copy] base-authority-person.xml added as base-authority-person.xml > doesn't exist. > [copy] base-authority-place-termList.xml added as > base-authority-place-termList.xml doesn't exist. > [copy] base-authority-place.xml added as base-authority-place.xml > doesn't exist. > [copy] base-authority-taxon-termList.xml added as > base-authority-taxon-termList.xml doesn't exist. > [copy] base-authority-taxon.xml added as base-authority-taxon.xml > doesn't exist. > [copy] base-authz-accountrole.xml added as base-authz-accountrole.xml > doesn't exist. > [copy] base-authz-permission.xml added as base-authz-permission.xml > doesn't exist. > [copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't > exist. > [copy] base-authz-role.xml added as base-authz-role.xml doesn't exist. > [copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't > exist. > [copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't > exist. > [copy] base-authz-users.xml added as base-authz-users.xml doesn't > exist. > [copy] base-collectionobject.xml added as base-collectionobject.xml > doesn't exist. > [copy] base-instance-vocabularies.xml added as > base-instance-vocabularies.xml doesn't exist. > [copy] base-other-dimension.xml added as base-other-dimension.xml > doesn't exist. > [copy] base-other-hierarchy.xml added as base-other-hierarchy.xml > doesn't exist. > [copy] base-other-idgenerator.xml added as base-other-idgenerator.xml > doesn't exist. > [copy] base-other-reporting.xml added as base-other-reporting.xml > doesn't exist. > [copy] base-other-reportingoutput.xml added as > base-other-reportingoutput.xml doesn't exist. > [copy] base-other-searchall.xml added as base-other-searchall.xml > doesn't exist. > [copy] base-other-structureddate.xml added as > base-other-structureddate.xml doesn't exist. > [copy] base-other-termlist.xml added as base-other-termlist.xml doesn't > exist. > [copy] base-other-termlistitem.xml added as base-other-termlistitem.xml > doesn't exist. > [copy] base-procedure-acquisition.xml added as > base-procedure-acquisition.xml doesn't exist. > [copy] base-procedure-blobs.xml added as base-procedure-blobs.xml > doesn't exist. > [copy] base-procedure-groups.xml added as base-procedure-groups.xml > doesn't exist. > [copy] base-procedure-intake.xml added as base-procedure-intake.xml > doesn't exist. > [copy] base-procedure-loanin.xml added as base-procedure-loanin.xml > doesn't exist. > [copy] base-procedure-loanout.xml added as base-procedure-loanout.xml > doesn't exist. > [copy] base-procedure-media.xml added as base-procedure-media.xml > doesn't exist. > [copy] base-procedure-movement.xml added as base-procedure-movement.xml > doesn't exist. > [copy] base-procedure-objectexit.xml added as > base-procedure-objectexit.xml doesn't exist. > [copy] base-relations.xml added as base-relations.xml doesn't exist. > [copy] base-schemas.xml added as base-schemas.xml doesn't exist. > [copy] base-vocabularies.xml added as base-vocabularies.xml doesn't > exist. > [copy] domain-authority-citation.xml added as > domain-authority-citation.xml doesn't exist. > [copy] domain-authority-concept.xml added as > domain-authority-concept.xml doesn't exist. > [copy] domain-authority-contact.xml added as > domain-authority-contact.xml doesn't exist. > [copy] domain-authority-location.xml added as > domain-authority-location.xml doesn't exist. > [copy] domain-authority-organization.xml added as > domain-authority-organization.xml doesn't exist. > [copy] domain-authority-person.xml added as domain-authority-person.xml > doesn't exist. > [copy] domain-authority-place.xml added as domain-authority-place.xml > doesn't exist. > [copy] domain-authority-taxon.xml added as domain-authority-taxon.xml > doesn't exist. > [copy] domain-authz-accountrole.xml added as > domain-authz-accountrole.xml doesn't exist. > [copy] domain-authz-permission.xml added as domain-authz-permission.xml > doesn't exist. > [copy] domain-authz-permrole.xml added as domain-authz-permrole.xml > doesn't exist. > [copy] domain-authz-role.xml added as domain-authz-role.xml doesn't > exist. > [copy] domain-authz-userperm.xml added as domain-authz-userperm.xml > doesn't exist. > [copy] domain-authz-userrole.xml added as domain-authz-userrole.xml > doesn't exist. > [copy] domain-authz-users.xml added as domain-authz-users.xml doesn't > exist. > [copy] domain-collectionobject.xml added as domain-collectionobject.xml > doesn't exist. > [copy] domain-instance-vocabularies.xml added as > domain-instance-vocabularies.xml doesn't exist. > [copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml > doesn't exist. > [copy] domain-other-reporting.xml added as domain-other-reporting.xml > doesn't exist. > [copy] domain-other-reportingoutput.xml added as > domain-other-reportingoutput.xml doesn't exist. > [copy] domain-other-termlist.xml added as domain-other-termlist.xml > doesn't exist. > [copy] domain-other-termlistitem.xml added as > domain-other-termlistitem.xml doesn't exist. > [copy] domain-procedure-acquisition.xml added as > domain-procedure-acquisition.xml doesn't exist. > [copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml > doesn't exist. > [copy] domain-procedure-groups.xml added as domain-procedure-groups.xml > doesn't exist. > [copy] domain-procedure-intake.xml added as domain-procedure-intake.xml > doesn't exist. > [copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml > doesn't exist. > [copy] domain-procedure-loanout.xml added as > domain-procedure-loanout.xml doesn't exist. > [copy] domain-procedure-media.xml added as domain-procedure-media.xml > doesn't exist. > [copy] domain-procedure-movement.xml added as > domain-procedure-movement.xml doesn't exist. > [copy] domain-procedure-objectexit.xml added as > domain-procedure-objectexit.xml doesn't exist. > [copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't > exist. > [copy] settings.xml added as settings.xml doesn't exist. > [copy] xmlmerge.properties added as xmlmerge.properties doesn't exist. > [copy] No sources found. > [copy] Copying 79 files to > /usr/local/share/apache-tomcat-6.0.33/defaults > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties > to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties > [copy] core/nightly-settings.xml added as core/nightly-settings.xml > doesn't exist. > [copy] core/settings.xml added as core/settings.xml doesn't exist. > [copy] lifesci/lifesci-authority-citation.xml added as > lifesci/lifesci-authority-citation.xml doesn't exist. > [copy] lifesci/lifesci-authority-concept.xml added as > lifesci/lifesci-authority-concept.xml doesn't exist. > [copy] lifesci/lifesci-authority-location.xml added as > lifesci/lifesci-authority-location.xml doesn't exist. > [copy] lifesci/lifesci-authority-organization.xml added as > lifesci/lifesci-authority-organization.xml doesn't exist. > [copy] lifesci/lifesci-authority-person.xml added as > lifesci/lifesci-authority-person.xml doesn't exist. > [copy] lifesci/lifesci-authority-place.xml added as > lifesci/lifesci-authority-place.xml doesn't exist. > [copy] lifesci/lifesci-authority-taxon.xml added as > lifesci/lifesci-authority-taxon.xml doesn't exist. > [copy] lifesci/naturalhistory-collectionobject.xml added as > lifesci/naturalhistory-collectionobject.xml doesn't exist. > [copy] lifesci/nightly-settings.xml added as > lifesci/nightly-settings.xml doesn't exist. > [copy] lifesci/settings.xml added as lifesci/settings.xml doesn't > exist. > [copy] omca/local-omca-settings.xml added as > omca/local-omca-settings.xml doesn't exist. > [copy] omca/nightly-settings.xml added as omca/nightly-settings.xml > doesn't exist. > [copy] omca/settings.xml added as omca/settings.xml doesn't exist. > [copy] core added as core doesn't exist. > [copy] lifesci added as lifesci doesn't exist. > [copy] omca added as omca doesn't exist. > [copy] Copying 15 files to > /usr/local/share/apache-tomcat-6.0.33/tenants > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml > [copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33 > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/core-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml > [copy] > /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml > omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is > up to date. > [copy] > /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml > omitted as > /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml > is up to date. > > localhost_is_nightly: > > deploy_nightly_config: > Property "is.nightly" has not been set > Property "is.nightly" has not been set > Skipped because property '${is.nightly}' not set. > > retrieve_jar: > [copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33 > [copy] Copying > /application-source/application/tomcat-main/target/tomcat-main.one-jar.jar > to /usr/local/share/apache-tomcat-6.0.33/cspace.jar > > post_build_tasks: > > BUILD SUCCESSFUL > Total time: 3 seconds > root@li551-203:/application-source/application/war-entry# > > > Thanks again! > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > ________________________________ > From: "Aron Roberts" <aron@socrates.berkeley.edu> > To: "Al Bersch" <abersch@museumca.org> > Cc: "Jesse Martinez" <mjesse@gmail.com>, "talk" > <talk@lists.collectionspace.org> > Sent: Wednesday, July 31, 2013 6:20:40 PM > > Subject: Re: [Talk] error running mvn clean install -DskipTests > > On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts > <aron@socrates.berkeley.edu> wrote: >> As well, you might try running this, again inside that war-entry module: >> >> * mvn clean install -DskipTests -X >> >> Once again, the '-X' will help show whether > > I left that thought unfinished. Actually, we likely don't need to do that; > it seems likely at this point that this is a problem where 'Ant' might not > be finding a working 'jar' command. Let's proceed on that assumption > until we find out otherwise. (See the P.S. in my two-emails-ago note.) > >> >> Aron >> >> P.S. One more thing I'm noticing in the output from running >> that 'Ant' command - which runs successfully on my system - >> this appears: >> >> parsing buildfile >> jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml >> with >> URI = >> jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml >> from a zip file >> >> While nearly all of what Ant is doing is simple file copying, >> this stood out. >> >> Maybe this could be Ant trying to read a JAR file - possibly a file >> that contains code for one of its external tasks, 'hostinfo' - and >> failing, >> because its path to the 'jar' command (one of the many command >> line utilities included with Java) is incorrect, possibly due to that >> JAVA_HOME snafu. That's the best I can come up with so far. >> >> If we can't get this quickly solved any other way, you might try opening >> war-entry/build.xml, and in the following block: >> >> <target name="post_build_tasks" >> description="Various post-build tasks" >> depends="deploy_cspace_config, deploy_nightly_config, >> retrieve_jar"> >> </target> >> >> delete 'deploy_nightly_config,' (including the trailing comma) from the >> 'depends' line above, and see if the error persists. That should remove >> Ant's need for the 'hostinfo' task. >> >> On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch <abersch@museumca.org> wrote: >>> Hi Aron, Jesse, >>> >>> Thanks so much for your responses. >>> >>> Aron, in answer to 1b, no, there is no value set for JAVA_HOME in >>> /etc/profile.d files (the files in there are bash_completion.sh and >>> Z97-byobu.sh and JAVA_HOME is not mentioned in either one). >>> >>> >>> Jesse, the JAVA_HOME variable set in ~/.bashrc is: export >>> JAVA_HOME='/usr/lib/jvm/java-7-oracle' >>> >>> (I used single quotes because double quotes didn't work in Maven3. Let me >>> know if I'm out of line here...) >>> >>> >>> As for the question of running maven and ant commands on the services >>> layer, >>> yes, I ran both those commands successfully after following the >>> instructions >>> in the documentation for >>> >>> Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved >>> on >>> to "Creating Your Tenant," which brings me to another question - does it >>> matter where I put the source code for the Application and UI layers? And >>> do >>> I need to check out the services layer source code, even though I already >>> installed it during the Installation phase (right?)? >>> >>> And just in case it matters: >>> in answer to 1a, Tomcat is running under the user root, which I was >>> using >>> to check out the layers, and perform the installation steps. Should I >>> have >>> done that differently? >>> and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but >>> no >>> other variable is set there. >>> Thanks again! >>> Al >>> >>> >>> Al Bersch >>> Digital Project Coordinator >>> Oakland Museum of California >>> 1000 Oak Street, Oakland, CA 94607 >>> abersch@museumca.org >>> 510-318-8468 >>> ________________________________ >>> From: "Aron Roberts" <aron@socrates.berkeley.edu> >>> To: "Al Bersch" <abersch@museumca.org> >>> Cc: "talk" <talk@lists.collectionspace.org> >>> Sent: Wednesday, July 31, 2013 2:31:48 PM >>> Subject: Re: [Talk] error running mvn clean install -DskipTests >>> >>> >>> Having said this about 1.c, below, it's likely that 1.a. is also >>> irrelevant to your issue ... 1.b. might be worth looking into, >>> however. >>> >>> From the error message, it looks like Maven might be using have a >>> different value for JAVA_HOME ... so check 1.b (whether a value for >>> JAVA_HOME is set in any files in /etc/profile.d), and then you can >>> report back, if that doesn't seem to be relevant. >>> >>> On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts >>> <aron@socrates.berkeley.edu> wrote: >>>> Hi Al, >>>> >>>> 1. An off the cuff thought, possibly erroneous, but quick :-): It's >>>> conceivable that there is a second place from which the value of the >>>> JAVA_HOME environment variable is being read, other than from your own >>>> user environment. It could conceivably be getting this value from >>>> another user's environment, or from some system configuration file. >>>> >>>> a. Is Tomcat running under your own user account, or another >>>> account? (Check this via 'ps -ef | grep catalina'; the first item in >>>> the relevant entry will be the username under which Tomcat is running, >>>> while the second item will be its process ID, relevant to response 2, >>>> below.) >>>> >>>> If it's running under another user account, you can log into that >>>> user's account (or 'sudo su actual_username_here' to it) and check the >>>> value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in >>>> your account). >>>> >>>> b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d? >>>> >>>> c. (You can skip this third point, as this is NOT relevant to the >>>> issue you reported, which involved building CollectionSpace's >>>> Application layer, but is mentioned here for completeness ... as a >>>> different set of problems could result from it: Is a value explicitly >>>> set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as >>>> setenv.sh or nuxeo.conf? First, look in those two files; then 'grep >>>> JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of >>>> $JAVA_HOME as a variable name, etc.) >>>> >>>> 2. I've encountered this (a missing tomcat.pid file) on occasion, >>>> without having investigated its cause. >>>> >>>> When that happens, as a fix, I've just killed the Tomcat process >>>> ('sudo kill actual_pid_here', where 'actual_pid_here' is the process >>>> ID of that process, then restarted Tomcat, which re-creates that file. >>>> (The tomcat.pid file itself is just a text file containing a process >>>> ID.) >>>> >>>> Aron >>>> >>>> On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch <abersch@museumca.org> wrote: >>>>> Hello all, >>>>> >>>>> I am creating new tenant in CollectionSpace 3.3, and am at the stage of >>>>> pushing the Applications layer to the CollectionSpace server. I have >>>>> two >>>>> issues that might be related. I'm running into an error when I run mvn >>>>> clean >>>>> install -DskipTests: >>>>> >>>>> [INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry --- >>>>> [INFO] Error: JAVA_HOME is not defined correctly. >>>>> [INFO] We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Reactor Summary: >>>>> [INFO] >>>>> [INFO] Root .............................................. SUCCESS >>>>> [0.890s] >>>>> [INFO] CSP: General Utils ................................ SUCCESS >>>>> [3.037s] >>>>> [INFO] Collection-Space CSP API .......................... SUCCESS >>>>> [1.154s] >>>>> [INFO] CSP: Impl ......................................... SUCCESS >>>>> [2.650s] >>>>> [INFO] Collection-Space CSP Helper ....................... SUCCESS >>>>> [1.098s] >>>>> [INFO] CSP: Schema ....................................... SUCCESS >>>>> [3.249s] >>>>> [INFO] JXUtils ........................................... SUCCESS >>>>> [1.311s] >>>>> [INFO] CSP: Web UI ....................................... SUCCESS >>>>> [5.630s] >>>>> [INFO] CSP: File ......................................... SUCCESS >>>>> [0.946s] >>>>> [INFO] CSP: Services ..................................... SUCCESS >>>>> [4.590s] >>>>> [INFO] JXUtils ........................................... SUCCESS >>>>> [1.831s] >>>>> [INFO] Core .............................................. SUCCESS >>>>> [9.068s] >>>>> [INFO] Core .............................................. FAILURE >>>>> [8.250s] >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 44.183s >>>>> [INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013 >>>>> [INFO] Final Memory: 102M/339M >>>>> >>>>> >>>>> It appears that I have the environment variable set up correctly: >>>>> >>>>> root@li551-203:~# echo $JAVA_HOME >>>>> /usr/lib/jvm/java-7-oracle >>>>> >>>>> I thought I'd double check that I shut down the servers correctly. when >>>>> I >>>>> ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message : >>>>> >>>>> "$CATALINA_PID was set but the specified file does not exist. Is Tomcat >>>>> running? Stop aborted." >>>>> >>>>> So I looked for the tomcat.pid in >>>>> /usr/local/share/apache-tomcat-6.0.33/bin >>>>> and didn't find it there. Any ideas what's going on? I know it was >>>>> there >>>>> before, because I successfully started up the server. >>>>> >>>>> Many thanks! >>>>> >>>>> Al >>>>> >>>>> Al Bersch >>>>> Digital Project Coordinator >>>>> Oakland Museum of California >>>>> 1000 Oak Street, Oakland, CA 94607 >>>>> abersch@museumca.org >>>>> 510-318-8468 >>>>> >>>>> _______________________________________________ >>>>> Talk mailing list >>>>> Talk@lists.collectionspace.org >>>>> >>>>> >>>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>>>> >>> >
AB
Al Bersch
Thu, Aug 1, 2013 11:35 PM

Hi Aron,

Thanks again. I ran the command, and will send it to you in a text file separately. Still getting errors.

In the meantime, I installed another instance of Collectionspace 3.3, but this time using Maven2. Everything went smoothly, and I was able to create the tenant and successfully ran mvn clean install -DskipTests on the Application layer. I thought of this because (although I didn't mention this before) I ran into an issue with Maven3 where it wasn't readily available through apt-get. I had to first use nate carlson's ppa which I got off instructions on askubuntu.com. then later, I ran ln-s /usr/bin/mvn3 /usr/bin/mvn, before I could run mvn clean install -DskipTests (the first time, for the installation of CollectionSpace prior to creating my tenant. Before changing mvn3 to mvn, the system seemed confused as to which maven to use). So I figured I'd try to build everything from scratch with Maven2, and it seems to have worked.

If you have any insights after looking at the results of
cd war-entry
mvn clean install -DskipTests -X

though, I'd still love to learn what happened.

Thanks again - I so appreciate your help!

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----

From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "Jesse Martinez" mjesse@gmail.com, "talk" talk@lists.collectionspace.org
Sent: Thursday, August 1, 2013 12:17:50 PM
Subject: Re: [Talk] error running mvn clean install -DskipTests

The running of the 'ant' command worked, and the 'jar' command
appeared to work as well. Hmm...

Next step, then, might be to run the Maven command with -X (for verbose); e.g.

cd war-entry
mvn clean install -DskipTests -X

On Thu, Aug 1, 2013 at 9:06 AM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks again for all your help.

Here are the results of the commands for java and jar, and the ant command
(below).

root@li551-203:~# java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

root@li551-203:~# jar -version
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir]
files ...
Options:
-c create new archive
-t list table of contents for archive
-x extract named (or all) files from archive
-u update existing archive
-v generate verbose output on standard output
-f specify archive file name
-m include manifest information from specified manifest file
-e specify application entry point for stand-alone application
bundled into an executable jar file
-0 store only; use no ZIP compression
-M do not create a manifest file for the entries
-i generate index information for the specified jar files
-C change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
files in the foo/ directory into 'classes.jar':
jar cvfm classes.jar mymanifest -C foo/ .

root@li551-203:~# ls -al which jar
lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar

And then here's the results of running the ant command:

root@li551-203:/application-source/application/war-entry# ant -v
-Dconfig_destination=$CATALINA_HOME
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /application-source/application/war-entry/build.xml
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre
Detected OS: Linux
parsing buildfile /application-source/application/war-entry/build.xml with
URI = file:/application-source/application/war-entry/build.xml
Project base dir set to: /application-source/application/war-entry
parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with
URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file
[property] Loading Environment env.
Override ignored for property "config_destination"
Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config,
localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks]
Complete build sequence is [deploy_cspace_config, localhost_is_nightly,
deploy_nightly_config, retrieve_jar, post_build_tasks, ]

deploy_cspace_config:
[copy] base-authority-citation-termList.xml added as
base-authority-citation-termList.xml doesn't exist.
[copy] base-authority-citation.xml added as base-authority-citation.xml
doesn't exist.
[copy] base-authority-concept-termList.xml added as
base-authority-concept-termList.xml doesn't exist.
[copy] base-authority-concept.xml added as base-authority-concept.xml
doesn't exist.
[copy] base-authority-contact.xml added as base-authority-contact.xml
doesn't exist.
[copy] base-authority-location-termList.xml added as
base-authority-location-termList.xml doesn't exist.
[copy] base-authority-location.xml added as base-authority-location.xml
doesn't exist.
[copy] base-authority-organization-termList.xml added as
base-authority-organization-termList.xml doesn't exist.
[copy] base-authority-organization.xml added as
base-authority-organization.xml doesn't exist.
[copy] base-authority-person-termList.xml added as
base-authority-person-termList.xml doesn't exist.
[copy] base-authority-person.xml added as base-authority-person.xml
doesn't exist.
[copy] base-authority-place-termList.xml added as
base-authority-place-termList.xml doesn't exist.
[copy] base-authority-place.xml added as base-authority-place.xml
doesn't exist.
[copy] base-authority-taxon-termList.xml added as
base-authority-taxon-termList.xml doesn't exist.
[copy] base-authority-taxon.xml added as base-authority-taxon.xml
doesn't exist.
[copy] base-authz-accountrole.xml added as base-authz-accountrole.xml
doesn't exist.
[copy] base-authz-permission.xml added as base-authz-permission.xml
doesn't exist.
[copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't
exist.
[copy] base-authz-role.xml added as base-authz-role.xml doesn't exist.
[copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't
exist.
[copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't
exist.
[copy] base-authz-users.xml added as base-authz-users.xml doesn't
exist.
[copy] base-collectionobject.xml added as base-collectionobject.xml
doesn't exist.
[copy] base-instance-vocabularies.xml added as
base-instance-vocabularies.xml doesn't exist.
[copy] base-other-dimension.xml added as base-other-dimension.xml
doesn't exist.
[copy] base-other-hierarchy.xml added as base-other-hierarchy.xml
doesn't exist.
[copy] base-other-idgenerator.xml added as base-other-idgenerator.xml
doesn't exist.
[copy] base-other-reporting.xml added as base-other-reporting.xml
doesn't exist.
[copy] base-other-reportingoutput.xml added as
base-other-reportingoutput.xml doesn't exist.
[copy] base-other-searchall.xml added as base-other-searchall.xml
doesn't exist.
[copy] base-other-structureddate.xml added as
base-other-structureddate.xml doesn't exist.
[copy] base-other-termlist.xml added as base-other-termlist.xml doesn't
exist.
[copy] base-other-termlistitem.xml added as base-other-termlistitem.xml
doesn't exist.
[copy] base-procedure-acquisition.xml added as
base-procedure-acquisition.xml doesn't exist.
[copy] base-procedure-blobs.xml added as base-procedure-blobs.xml
doesn't exist.
[copy] base-procedure-groups.xml added as base-procedure-groups.xml
doesn't exist.
[copy] base-procedure-intake.xml added as base-procedure-intake.xml
doesn't exist.
[copy] base-procedure-loanin.xml added as base-procedure-loanin.xml
doesn't exist.
[copy] base-procedure-loanout.xml added as base-procedure-loanout.xml
doesn't exist.
[copy] base-procedure-media.xml added as base-procedure-media.xml
doesn't exist.
[copy] base-procedure-movement.xml added as base-procedure-movement.xml
doesn't exist.
[copy] base-procedure-objectexit.xml added as
base-procedure-objectexit.xml doesn't exist.
[copy] base-relations.xml added as base-relations.xml doesn't exist.
[copy] base-schemas.xml added as base-schemas.xml doesn't exist.
[copy] base-vocabularies.xml added as base-vocabularies.xml doesn't
exist.
[copy] domain-authority-citation.xml added as
domain-authority-citation.xml doesn't exist.
[copy] domain-authority-concept.xml added as
domain-authority-concept.xml doesn't exist.
[copy] domain-authority-contact.xml added as
domain-authority-contact.xml doesn't exist.
[copy] domain-authority-location.xml added as
domain-authority-location.xml doesn't exist.
[copy] domain-authority-organization.xml added as
domain-authority-organization.xml doesn't exist.
[copy] domain-authority-person.xml added as domain-authority-person.xml
doesn't exist.
[copy] domain-authority-place.xml added as domain-authority-place.xml
doesn't exist.
[copy] domain-authority-taxon.xml added as domain-authority-taxon.xml
doesn't exist.
[copy] domain-authz-accountrole.xml added as
domain-authz-accountrole.xml doesn't exist.
[copy] domain-authz-permission.xml added as domain-authz-permission.xml
doesn't exist.
[copy] domain-authz-permrole.xml added as domain-authz-permrole.xml
doesn't exist.
[copy] domain-authz-role.xml added as domain-authz-role.xml doesn't
exist.
[copy] domain-authz-userperm.xml added as domain-authz-userperm.xml
doesn't exist.
[copy] domain-authz-userrole.xml added as domain-authz-userrole.xml
doesn't exist.
[copy] domain-authz-users.xml added as domain-authz-users.xml doesn't
exist.
[copy] domain-collectionobject.xml added as domain-collectionobject.xml
doesn't exist.
[copy] domain-instance-vocabularies.xml added as
domain-instance-vocabularies.xml doesn't exist.
[copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml
doesn't exist.
[copy] domain-other-reporting.xml added as domain-other-reporting.xml
doesn't exist.
[copy] domain-other-reportingoutput.xml added as
domain-other-reportingoutput.xml doesn't exist.
[copy] domain-other-termlist.xml added as domain-other-termlist.xml
doesn't exist.
[copy] domain-other-termlistitem.xml added as
domain-other-termlistitem.xml doesn't exist.
[copy] domain-procedure-acquisition.xml added as
domain-procedure-acquisition.xml doesn't exist.
[copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml
doesn't exist.
[copy] domain-procedure-groups.xml added as domain-procedure-groups.xml
doesn't exist.
[copy] domain-procedure-intake.xml added as domain-procedure-intake.xml
doesn't exist.
[copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml
doesn't exist.
[copy] domain-procedure-loanout.xml added as
domain-procedure-loanout.xml doesn't exist.
[copy] domain-procedure-media.xml added as domain-procedure-media.xml
doesn't exist.
[copy] domain-procedure-movement.xml added as
domain-procedure-movement.xml doesn't exist.
[copy] domain-procedure-objectexit.xml added as
domain-procedure-objectexit.xml doesn't exist.
[copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't
exist.
[copy] settings.xml added as settings.xml doesn't exist.
[copy] xmlmerge.properties added as xmlmerge.properties doesn't exist.
[copy] No sources found.
[copy] Copying 79 files to
/usr/local/share/apache-tomcat-6.0.33/defaults
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml
to
/usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties
to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties
[copy] core/nightly-settings.xml added as core/nightly-settings.xml
doesn't exist.
[copy] core/settings.xml added as core/settings.xml doesn't exist.
[copy] lifesci/lifesci-authority-citation.xml added as
lifesci/lifesci-authority-citation.xml doesn't exist.
[copy] lifesci/lifesci-authority-concept.xml added as
lifesci/lifesci-authority-concept.xml doesn't exist.
[copy] lifesci/lifesci-authority-location.xml added as
lifesci/lifesci-authority-location.xml doesn't exist.
[copy] lifesci/lifesci-authority-organization.xml added as
lifesci/lifesci-authority-organization.xml doesn't exist.
[copy] lifesci/lifesci-authority-person.xml added as
lifesci/lifesci-authority-person.xml doesn't exist.
[copy] lifesci/lifesci-authority-place.xml added as
lifesci/lifesci-authority-place.xml doesn't exist.
[copy] lifesci/lifesci-authority-taxon.xml added as
lifesci/lifesci-authority-taxon.xml doesn't exist.
[copy] lifesci/naturalhistory-collectionobject.xml added as
lifesci/naturalhistory-collectionobject.xml doesn't exist.
[copy] lifesci/nightly-settings.xml added as
lifesci/nightly-settings.xml doesn't exist.
[copy] lifesci/settings.xml added as lifesci/settings.xml doesn't
exist.
[copy] omca/local-omca-settings.xml added as
omca/local-omca-settings.xml doesn't exist.
[copy] omca/nightly-settings.xml added as omca/nightly-settings.xml
doesn't exist.
[copy] omca/settings.xml added as omca/settings.xml doesn't exist.
[copy] core added as core doesn't exist.
[copy] lifesci added as lifesci doesn't exist.
[copy] omca added as omca doesn't exist.
[copy] Copying 15 files to
/usr/local/share/apache-tomcat-6.0.33/tenants
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml
to
/usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml
to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml
[copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/core-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml
[copy] Copying
/application-source/application/tomcat-main/src/main/resources/omca-tenant.xml
to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml
[copy]
/application-source/application/tomcat-main/src/main/resources/omca-tenant.xml
omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is
up to date.
[copy]
/application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml
omitted as
/usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml
is up to date.

localhost_is_nightly:

deploy_nightly_config:
Property "is.nightly" has not been set
Property "is.nightly" has not been set
Skipped because property '${is.nightly}' not set.

retrieve_jar:
[copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33
[copy] Copying
/application-source/application/tomcat-main/target/tomcat-main.one-jar.jar
to /usr/local/share/apache-tomcat-6.0.33/cspace.jar

post_build_tasks:

BUILD SUCCESSFUL
Total time: 3 seconds
root@li551-203:/application-source/application/war-entry#

Thanks again!

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "Jesse Martinez" mjesse@gmail.com, "talk"
talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 6:20:40 PM

Subject: Re: [Talk] error running mvn clean install -DskipTests

On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

As well, you might try running this, again inside that war-entry module:

  • mvn clean install -DskipTests -X

Once again, the '-X' will help show whether

I left that thought unfinished. Actually, we likely don't need to do that;
it seems likely at this point that this is a problem where 'Ant' might not
be finding a working 'jar' command. Let's proceed on that assumption
until we find out otherwise. (See the P.S. in my two-emails-ago note.)

Aron

P.S. One more thing I'm noticing in the output from running
that 'Ant' command - which runs successfully on my system -
this appears:

parsing buildfile
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with
URI =
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file

While nearly all of what Ant is doing is simple file copying,
this stood out.

Maybe this could be Ant trying to read a JAR file - possibly a file
that contains code for one of its external tasks, 'hostinfo' - and
failing,
because its path to the 'jar' command (one of the many command
line utilities included with Java) is incorrect, possibly due to that
JAVA_HOME snafu. That's the best I can come up with so far.

If we can't get this quickly solved any other way, you might try opening
war-entry/build.xml, and in the following block:

<target name="post_build_tasks" description="Various post-build tasks" depends="deploy_cspace_config, deploy_nightly_config, retrieve_jar">
</target>

delete 'deploy_nightly_config,' (including the trailing comma) from the
'depends' line above, and see if the error persists. That should remove
Ant's need for the 'hostinfo' task.

On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron, Jesse,

Thanks so much for your responses.

Aron, in answer to 1b, no, there is no value set for JAVA_HOME in
/etc/profile.d files (the files in there are bash_completion.sh and
Z97-byobu.sh and JAVA_HOME is not mentioned in either one).

Jesse, the JAVA_HOME variable set in ~/.bashrc is: export
JAVA_HOME='/usr/lib/jvm/java-7-oracle'

(I used single quotes because double quotes didn't work in Maven3. Let me
know if I'm out of line here...)

As for the question of running maven and ant commands on the services
layer,
yes, I ran both those commands successfully after following the
instructions
in the documentation for

Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved
on
to "Creating Your Tenant," which brings me to another question - does it
matter where I put the source code for the Application and UI layers? And
do
I need to check out the services layer source code, even though I already
installed it during the Installation phase (right?)?

And just in case it matters:
in answer to 1a, Tomcat is running under the user root, which I was
using
to check out the layers, and perform the installation steps. Should I
have
done that differently?
and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but
no
other variable is set there.
Thanks again!
Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aron@socrates.berkeley.edu
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Wednesday, July 31, 2013 2:31:48 PM
Subject: Re: [Talk] error running mvn clean install -DskipTests

Having said this about 1.c, below, it's likely that 1.a. is also
irrelevant to your issue ... 1.b. might be worth looking into,
however.

From the error message, it looks like Maven might be using have a
different value for JAVA_HOME ... so check 1.b (whether a value for
JAVA_HOME is set in any files in /etc/profile.d), and then you can
report back, if that doesn't seem to be relevant.

On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:

Hi Al,

  1. An off the cuff thought, possibly erroneous, but quick :-): It's
    conceivable that there is a second place from which the value of the
    JAVA_HOME environment variable is being read, other than from your own
    user environment. It could conceivably be getting this value from
    another user's environment, or from some system configuration file.

a. Is Tomcat running under your own user account, or another
account? (Check this via 'ps -ef | grep catalina'; the first item in
the relevant entry will be the username under which Tomcat is running,
while the second item will be its process ID, relevant to response 2,
below.)

If it's running under another user account, you can log into that
user's account (or 'sudo su actual_username_here' to it) and check the
value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in
your account).

b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d?

c. (You can skip this third point, as this is NOT relevant to the
issue you reported, which involved building CollectionSpace's
Application layer, but is mentioned here for completeness ... as a
different set of problems could result from it: Is a value explicitly
set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as
setenv.sh or nuxeo.conf? First, look in those two files; then 'grep
JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of
$JAVA_HOME as a variable name, etc.)

  1. I've encountered this (a missing tomcat.pid file) on occasion,
    without having investigated its cause.

When that happens, as a fix, I've just killed the Tomcat process
('sudo kill actual_pid_here', where 'actual_pid_here' is the process
ID of that process, then restarted Tomcat, which re-creates that file.
(The tomcat.pid file itself is just a text file containing a process
ID.)

Aron

On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch abersch@museumca.org wrote:

Hello all,

I am creating new tenant in CollectionSpace 3.3, and am at the stage of
pushing the Applications layer to the CollectionSpace server. I have
two
issues that might be related. I'm running into an error when I run mvn
clean
install -DskipTests:

[INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry ---
[INFO] Error: JAVA_HOME is not defined correctly.
[INFO] We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java
[INFO]


[INFO] Reactor Summary:
[INFO]
[INFO] Root .............................................. SUCCESS
[0.890s]
[INFO] CSP: General Utils ................................ SUCCESS
[3.037s]
[INFO] Collection-Space CSP API .......................... SUCCESS
[1.154s]
[INFO] CSP: Impl ......................................... SUCCESS
[2.650s]
[INFO] Collection-Space CSP Helper ....................... SUCCESS
[1.098s]
[INFO] CSP: Schema ....................................... SUCCESS
[3.249s]
[INFO] JXUtils ........................................... SUCCESS
[1.311s]
[INFO] CSP: Web UI ....................................... SUCCESS
[5.630s]
[INFO] CSP: File ......................................... SUCCESS
[0.946s]
[INFO] CSP: Services ..................................... SUCCESS
[4.590s]
[INFO] JXUtils ........................................... SUCCESS
[1.831s]
[INFO] Core .............................................. SUCCESS
[9.068s]
[INFO] Core .............................................. FAILURE
[8.250s]
[INFO]


[INFO] BUILD FAILURE
[INFO]


[INFO] Total time: 44.183s
[INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013
[INFO] Final Memory: 102M/339M

It appears that I have the environment variable set up correctly:

root@li551-203:~# echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle

I thought I'd double check that I shut down the servers correctly. when
I
ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message :

"$CATALINA_PID was set but the specified file does not exist. Is Tomcat
running? Stop aborted."

So I looked for the tomcat.pid in
/usr/local/share/apache-tomcat-6.0.33/bin
and didn't find it there. Any ideas what's going on? I know it was
there
before, because I successfully started up the server.

Many thanks!

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

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

Hi Aron, Thanks again. I ran the command, and will send it to you in a text file separately. Still getting errors. In the meantime, I installed another instance of Collectionspace 3.3, but this time using Maven2. Everything went smoothly, and I was able to create the tenant and successfully ran mvn clean install -DskipTests on the Application layer. I thought of this because (although I didn't mention this before) I ran into an issue with Maven3 where it wasn't readily available through apt-get. I had to first use nate carlson's ppa which I got off instructions on askubuntu.com. then later, I ran ln-s /usr/bin/mvn3 /usr/bin/mvn, before I could run mvn clean install -DskipTests (the first time, for the installation of CollectionSpace prior to creating my tenant. Before changing mvn3 to mvn, the system seemed confused as to which maven to use). So I figured I'd try to build everything from scratch with Maven2, and it seems to have worked. If you have any insights after looking at the results of cd war-entry mvn clean install -DskipTests -X though, I'd still love to learn what happened. Thanks again - I so appreciate your help! Al Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 ----- Original Message ----- From: "Aron Roberts" <aron@socrates.berkeley.edu> To: "Al Bersch" <abersch@museumca.org> Cc: "Jesse Martinez" <mjesse@gmail.com>, "talk" <talk@lists.collectionspace.org> Sent: Thursday, August 1, 2013 12:17:50 PM Subject: Re: [Talk] error running mvn clean install -DskipTests The running of the 'ant' command worked, and the 'jar' command appeared to work as well. Hmm... Next step, then, might be to run the Maven command with -X (for verbose); e.g. cd war-entry mvn clean install -DskipTests -X On Thu, Aug 1, 2013 at 9:06 AM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks again for all your help. > > Here are the results of the commands for java and jar, and the ant command > (below). > > root@li551-203:~# java -version > java version "1.7.0_25" > Java(TM) SE Runtime Environment (build 1.7.0_25-b15) > Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) > > root@li551-203:~# jar -version > Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] > files ... > Options: > -c create new archive > -t list table of contents for archive > -x extract named (or all) files from archive > -u update existing archive > -v generate verbose output on standard output > -f specify archive file name > -m include manifest information from specified manifest file > -e specify application entry point for stand-alone application > bundled into an executable jar file > -0 store only; use no ZIP compression > -M do not create a manifest file for the entries > -i generate index information for the specified jar files > -C change to the specified directory and include the following file > If any file is a directory then it is processed recursively. > The manifest file name, the archive file name and the entry point name are > specified in the same order as the 'm', 'f' and 'e' flags. > > Example 1: to archive two class files into an archive called classes.jar: > jar cvf classes.jar Foo.class Bar.class > Example 2: use an existing manifest file 'mymanifest' and archive all the > files in the foo/ directory into 'classes.jar': > jar cvfm classes.jar mymanifest -C foo/ . > > root@li551-203:~# ls -al `which jar` > lrwxrwxrwx 1 root root 21 Jul 26 00:01 /usr/bin/jar -> /etc/alternatives/jar > > And then here's the results of running the ant command: > > root@li551-203:/application-source/application/war-entry# ant -v > -Dconfig_destination=$CATALINA_HOME > Apache Ant(TM) version 1.8.2 compiled on December 3 2011 > Trying the default build file: build.xml > Buildfile: /application-source/application/war-entry/build.xml > Detected Java version: 1.7 in: /usr/lib/jvm/java-7-oracle/jre > Detected OS: Linux > parsing buildfile /application-source/application/war-entry/build.xml with > URI = file:/application-source/application/war-entry/build.xml > Project base dir set to: /application-source/application/war-entry > parsing buildfile > jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with > URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml > from a zip file > [property] Loading Environment env. > Override ignored for property "config_destination" > Build sequence for target(s) `post_build_tasks' is [deploy_cspace_config, > localhost_is_nightly, deploy_nightly_config, retrieve_jar, post_build_tasks] > Complete build sequence is [deploy_cspace_config, localhost_is_nightly, > deploy_nightly_config, retrieve_jar, post_build_tasks, ] > > deploy_cspace_config: > [copy] base-authority-citation-termList.xml added as > base-authority-citation-termList.xml doesn't exist. > [copy] base-authority-citation.xml added as base-authority-citation.xml > doesn't exist. > [copy] base-authority-concept-termList.xml added as > base-authority-concept-termList.xml doesn't exist. > [copy] base-authority-concept.xml added as base-authority-concept.xml > doesn't exist. > [copy] base-authority-contact.xml added as base-authority-contact.xml > doesn't exist. > [copy] base-authority-location-termList.xml added as > base-authority-location-termList.xml doesn't exist. > [copy] base-authority-location.xml added as base-authority-location.xml > doesn't exist. > [copy] base-authority-organization-termList.xml added as > base-authority-organization-termList.xml doesn't exist. > [copy] base-authority-organization.xml added as > base-authority-organization.xml doesn't exist. > [copy] base-authority-person-termList.xml added as > base-authority-person-termList.xml doesn't exist. > [copy] base-authority-person.xml added as base-authority-person.xml > doesn't exist. > [copy] base-authority-place-termList.xml added as > base-authority-place-termList.xml doesn't exist. > [copy] base-authority-place.xml added as base-authority-place.xml > doesn't exist. > [copy] base-authority-taxon-termList.xml added as > base-authority-taxon-termList.xml doesn't exist. > [copy] base-authority-taxon.xml added as base-authority-taxon.xml > doesn't exist. > [copy] base-authz-accountrole.xml added as base-authz-accountrole.xml > doesn't exist. > [copy] base-authz-permission.xml added as base-authz-permission.xml > doesn't exist. > [copy] base-authz-permrole.xml added as base-authz-permrole.xml doesn't > exist. > [copy] base-authz-role.xml added as base-authz-role.xml doesn't exist. > [copy] base-authz-userperm.xml added as base-authz-userperm.xml doesn't > exist. > [copy] base-authz-userrole.xml added as base-authz-userrole.xml doesn't > exist. > [copy] base-authz-users.xml added as base-authz-users.xml doesn't > exist. > [copy] base-collectionobject.xml added as base-collectionobject.xml > doesn't exist. > [copy] base-instance-vocabularies.xml added as > base-instance-vocabularies.xml doesn't exist. > [copy] base-other-dimension.xml added as base-other-dimension.xml > doesn't exist. > [copy] base-other-hierarchy.xml added as base-other-hierarchy.xml > doesn't exist. > [copy] base-other-idgenerator.xml added as base-other-idgenerator.xml > doesn't exist. > [copy] base-other-reporting.xml added as base-other-reporting.xml > doesn't exist. > [copy] base-other-reportingoutput.xml added as > base-other-reportingoutput.xml doesn't exist. > [copy] base-other-searchall.xml added as base-other-searchall.xml > doesn't exist. > [copy] base-other-structureddate.xml added as > base-other-structureddate.xml doesn't exist. > [copy] base-other-termlist.xml added as base-other-termlist.xml doesn't > exist. > [copy] base-other-termlistitem.xml added as base-other-termlistitem.xml > doesn't exist. > [copy] base-procedure-acquisition.xml added as > base-procedure-acquisition.xml doesn't exist. > [copy] base-procedure-blobs.xml added as base-procedure-blobs.xml > doesn't exist. > [copy] base-procedure-groups.xml added as base-procedure-groups.xml > doesn't exist. > [copy] base-procedure-intake.xml added as base-procedure-intake.xml > doesn't exist. > [copy] base-procedure-loanin.xml added as base-procedure-loanin.xml > doesn't exist. > [copy] base-procedure-loanout.xml added as base-procedure-loanout.xml > doesn't exist. > [copy] base-procedure-media.xml added as base-procedure-media.xml > doesn't exist. > [copy] base-procedure-movement.xml added as base-procedure-movement.xml > doesn't exist. > [copy] base-procedure-objectexit.xml added as > base-procedure-objectexit.xml doesn't exist. > [copy] base-relations.xml added as base-relations.xml doesn't exist. > [copy] base-schemas.xml added as base-schemas.xml doesn't exist. > [copy] base-vocabularies.xml added as base-vocabularies.xml doesn't > exist. > [copy] domain-authority-citation.xml added as > domain-authority-citation.xml doesn't exist. > [copy] domain-authority-concept.xml added as > domain-authority-concept.xml doesn't exist. > [copy] domain-authority-contact.xml added as > domain-authority-contact.xml doesn't exist. > [copy] domain-authority-location.xml added as > domain-authority-location.xml doesn't exist. > [copy] domain-authority-organization.xml added as > domain-authority-organization.xml doesn't exist. > [copy] domain-authority-person.xml added as domain-authority-person.xml > doesn't exist. > [copy] domain-authority-place.xml added as domain-authority-place.xml > doesn't exist. > [copy] domain-authority-taxon.xml added as domain-authority-taxon.xml > doesn't exist. > [copy] domain-authz-accountrole.xml added as > domain-authz-accountrole.xml doesn't exist. > [copy] domain-authz-permission.xml added as domain-authz-permission.xml > doesn't exist. > [copy] domain-authz-permrole.xml added as domain-authz-permrole.xml > doesn't exist. > [copy] domain-authz-role.xml added as domain-authz-role.xml doesn't > exist. > [copy] domain-authz-userperm.xml added as domain-authz-userperm.xml > doesn't exist. > [copy] domain-authz-userrole.xml added as domain-authz-userrole.xml > doesn't exist. > [copy] domain-authz-users.xml added as domain-authz-users.xml doesn't > exist. > [copy] domain-collectionobject.xml added as domain-collectionobject.xml > doesn't exist. > [copy] domain-instance-vocabularies.xml added as > domain-instance-vocabularies.xml doesn't exist. > [copy] domain-other-hierarchy.xml added as domain-other-hierarchy.xml > doesn't exist. > [copy] domain-other-reporting.xml added as domain-other-reporting.xml > doesn't exist. > [copy] domain-other-reportingoutput.xml added as > domain-other-reportingoutput.xml doesn't exist. > [copy] domain-other-termlist.xml added as domain-other-termlist.xml > doesn't exist. > [copy] domain-other-termlistitem.xml added as > domain-other-termlistitem.xml doesn't exist. > [copy] domain-procedure-acquisition.xml added as > domain-procedure-acquisition.xml doesn't exist. > [copy] domain-procedure-blobs.xml added as domain-procedure-blobs.xml > doesn't exist. > [copy] domain-procedure-groups.xml added as domain-procedure-groups.xml > doesn't exist. > [copy] domain-procedure-intake.xml added as domain-procedure-intake.xml > doesn't exist. > [copy] domain-procedure-loanin.xml added as domain-procedure-loanin.xml > doesn't exist. > [copy] domain-procedure-loanout.xml added as > domain-procedure-loanout.xml doesn't exist. > [copy] domain-procedure-media.xml added as domain-procedure-media.xml > doesn't exist. > [copy] domain-procedure-movement.xml added as > domain-procedure-movement.xml doesn't exist. > [copy] domain-procedure-objectexit.xml added as > domain-procedure-objectexit.xml doesn't exist. > [copy] domain-vocabularies.xml added as domain-vocabularies.xml doesn't > exist. > [copy] settings.xml added as settings.xml doesn't exist. > [copy] xmlmerge.properties added as xmlmerge.properties doesn't exist. > [copy] No sources found. > [copy] Copying 79 files to > /usr/local/share/apache-tomcat-6.0.33/defaults > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-concept.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-contact.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-contact.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-person.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-place.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon-termList.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon-termList.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authority-taxon.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-accountrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-accountrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permission.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permission.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-permrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-permrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-role.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-role.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userperm.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userperm.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-userrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-userrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-authz-users.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-authz-users.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-collectionobject.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-instance-vocabularies.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-instance-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-dimension.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-dimension.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-hierarchy.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-hierarchy.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-idgenerator.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-idgenerator.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reporting.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reporting.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-reportingoutput.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-reportingoutput.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-searchall.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-searchall.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-structureddate.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-structureddate.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlist.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlist.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-other-termlistitem.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-other-termlistitem.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-acquisition.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-acquisition.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-blobs.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-blobs.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-groups.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-groups.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-intake.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-intake.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanin.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanin.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-loanout.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-loanout.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-media.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-media.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-movement.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-movement.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-procedure-objectexit.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/base-procedure-objectexit.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-relations.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-relations.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-schemas.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-schemas.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/base-vocabularies.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/base-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-concept.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-contact.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-contact.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-person.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-place.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authority-taxon.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-accountrole.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-accountrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permission.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permission.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-permrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-permrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-role.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-role.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userperm.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userperm.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-userrole.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-userrole.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-authz-users.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-authz-users.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-collectionobject.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-instance-vocabularies.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-instance-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-hierarchy.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-hierarchy.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reporting.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reporting.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-reportingoutput.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-reportingoutput.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlist.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlist.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-other-termlistitem.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-other-termlistitem.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-acquisition.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-acquisition.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-blobs.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-blobs.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-groups.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-groups.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-intake.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-intake.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanin.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanin.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-loanout.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-loanout.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-media.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-media.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-movement.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-movement.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-procedure-objectexit.xml > to > /usr/local/share/apache-tomcat-6.0.33/defaults/domain-procedure-objectexit.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/domain-vocabularies.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/domain-vocabularies.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/defaults/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/defaults/xmlmerge.properties > to /usr/local/share/apache-tomcat-6.0.33/defaults/xmlmerge.properties > [copy] core/nightly-settings.xml added as core/nightly-settings.xml > doesn't exist. > [copy] core/settings.xml added as core/settings.xml doesn't exist. > [copy] lifesci/lifesci-authority-citation.xml added as > lifesci/lifesci-authority-citation.xml doesn't exist. > [copy] lifesci/lifesci-authority-concept.xml added as > lifesci/lifesci-authority-concept.xml doesn't exist. > [copy] lifesci/lifesci-authority-location.xml added as > lifesci/lifesci-authority-location.xml doesn't exist. > [copy] lifesci/lifesci-authority-organization.xml added as > lifesci/lifesci-authority-organization.xml doesn't exist. > [copy] lifesci/lifesci-authority-person.xml added as > lifesci/lifesci-authority-person.xml doesn't exist. > [copy] lifesci/lifesci-authority-place.xml added as > lifesci/lifesci-authority-place.xml doesn't exist. > [copy] lifesci/lifesci-authority-taxon.xml added as > lifesci/lifesci-authority-taxon.xml doesn't exist. > [copy] lifesci/naturalhistory-collectionobject.xml added as > lifesci/naturalhistory-collectionobject.xml doesn't exist. > [copy] lifesci/nightly-settings.xml added as > lifesci/nightly-settings.xml doesn't exist. > [copy] lifesci/settings.xml added as lifesci/settings.xml doesn't > exist. > [copy] omca/local-omca-settings.xml added as > omca/local-omca-settings.xml doesn't exist. > [copy] omca/nightly-settings.xml added as omca/nightly-settings.xml > doesn't exist. > [copy] omca/settings.xml added as omca/settings.xml doesn't exist. > [copy] core added as core doesn't exist. > [copy] lifesci added as lifesci doesn't exist. > [copy] omca added as omca doesn't exist. > [copy] Copying 15 files to > /usr/local/share/apache-tomcat-6.0.33/tenants > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/core/nightly-settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/core/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/core/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/core/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-citation.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-citation.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-concept.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-concept.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-location.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-location.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-organization.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-organization.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-person.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-person.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-place.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-place.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/lifesci-authority-taxon.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/lifesci-authority-taxon.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/naturalhistory-collectionobject.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/naturalhistory-collectionobject.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/nightly-settings.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/lifesci/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/lifesci/settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml > to > /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/nightly-settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/nightly-settings.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/tenants/omca/settings.xml > to /usr/local/share/apache-tomcat-6.0.33/tenants/omca/settings.xml > [copy] Copying 3 files to /usr/local/share/apache-tomcat-6.0.33 > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/core-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-core.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/lifesci-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-lifesci.xml > [copy] Copying > /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml > to /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml > [copy] > /application-source/application/tomcat-main/src/main/resources/omca-tenant.xml > omitted as /usr/local/share/apache-tomcat-6.0.33/cspace-config-omca.xml is > up to date. > [copy] > /application-source/application/tomcat-main/src/main/resources/tenants/omca/local-omca-settings.xml > omitted as > /usr/local/share/apache-tomcat-6.0.33/tenants/omca/local-omca-settings.xml > is up to date. > > localhost_is_nightly: > > deploy_nightly_config: > Property "is.nightly" has not been set > Property "is.nightly" has not been set > Skipped because property '${is.nightly}' not set. > > retrieve_jar: > [copy] Copying 1 file to /usr/local/share/apache-tomcat-6.0.33 > [copy] Copying > /application-source/application/tomcat-main/target/tomcat-main.one-jar.jar > to /usr/local/share/apache-tomcat-6.0.33/cspace.jar > > post_build_tasks: > > BUILD SUCCESSFUL > Total time: 3 seconds > root@li551-203:/application-source/application/war-entry# > > > Thanks again! > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > ________________________________ > From: "Aron Roberts" <aron@socrates.berkeley.edu> > To: "Al Bersch" <abersch@museumca.org> > Cc: "Jesse Martinez" <mjesse@gmail.com>, "talk" > <talk@lists.collectionspace.org> > Sent: Wednesday, July 31, 2013 6:20:40 PM > > Subject: Re: [Talk] error running mvn clean install -DskipTests > > On Wed, Jul 31, 2013 at 6:15 PM, Aron Roberts > <aron@socrates.berkeley.edu> wrote: >> As well, you might try running this, again inside that war-entry module: >> >> * mvn clean install -DskipTests -X >> >> Once again, the '-X' will help show whether > > I left that thought unfinished. Actually, we likely don't need to do that; > it seems likely at this point that this is a problem where 'Ant' might not > be finding a working 'jar' command. Let's proceed on that assumption > until we find out otherwise. (See the P.S. in my two-emails-ago note.) > >> >> Aron >> >> P.S. One more thing I'm noticing in the output from running >> that 'Ant' command - which runs successfully on my system - >> this appears: >> >> parsing buildfile >> jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml >> with >> URI = >> jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml >> from a zip file >> >> While nearly all of what Ant is doing is simple file copying, >> this stood out. >> >> Maybe this could be Ant trying to read a JAR file - possibly a file >> that contains code for one of its external tasks, 'hostinfo' - and >> failing, >> because its path to the 'jar' command (one of the many command >> line utilities included with Java) is incorrect, possibly due to that >> JAVA_HOME snafu. That's the best I can come up with so far. >> >> If we can't get this quickly solved any other way, you might try opening >> war-entry/build.xml, and in the following block: >> >> <target name="post_build_tasks" >> description="Various post-build tasks" >> depends="deploy_cspace_config, deploy_nightly_config, >> retrieve_jar"> >> </target> >> >> delete 'deploy_nightly_config,' (including the trailing comma) from the >> 'depends' line above, and see if the error persists. That should remove >> Ant's need for the 'hostinfo' task. >> >> On Wed, Jul 31, 2013 at 3:00 PM, Al Bersch <abersch@museumca.org> wrote: >>> Hi Aron, Jesse, >>> >>> Thanks so much for your responses. >>> >>> Aron, in answer to 1b, no, there is no value set for JAVA_HOME in >>> /etc/profile.d files (the files in there are bash_completion.sh and >>> Z97-byobu.sh and JAVA_HOME is not mentioned in either one). >>> >>> >>> Jesse, the JAVA_HOME variable set in ~/.bashrc is: export >>> JAVA_HOME='/usr/lib/jvm/java-7-oracle' >>> >>> (I used single quotes because double quotes didn't work in Maven3. Let me >>> know if I'm out of line here...) >>> >>> >>> As for the question of running maven and ant commands on the services >>> layer, >>> yes, I ran both those commands successfully after following the >>> instructions >>> in the documentation for >>> >>> Installing 3.3 on Aptitude Compatible Linux Distributions. I then moved >>> on >>> to "Creating Your Tenant," which brings me to another question - does it >>> matter where I put the source code for the Application and UI layers? And >>> do >>> I need to check out the services layer source code, even though I already >>> installed it during the Installation phase (right?)? >>> >>> And just in case it matters: >>> in answer to 1a, Tomcat is running under the user root, which I was >>> using >>> to check out the layers, and perform the installation steps. Should I >>> have >>> done that differently? >>> and as for 1c, JAVA_HOME is commented out for java 6 in nuxeo.conf, but >>> no >>> other variable is set there. >>> Thanks again! >>> Al >>> >>> >>> Al Bersch >>> Digital Project Coordinator >>> Oakland Museum of California >>> 1000 Oak Street, Oakland, CA 94607 >>> abersch@museumca.org >>> 510-318-8468 >>> ________________________________ >>> From: "Aron Roberts" <aron@socrates.berkeley.edu> >>> To: "Al Bersch" <abersch@museumca.org> >>> Cc: "talk" <talk@lists.collectionspace.org> >>> Sent: Wednesday, July 31, 2013 2:31:48 PM >>> Subject: Re: [Talk] error running mvn clean install -DskipTests >>> >>> >>> Having said this about 1.c, below, it's likely that 1.a. is also >>> irrelevant to your issue ... 1.b. might be worth looking into, >>> however. >>> >>> From the error message, it looks like Maven might be using have a >>> different value for JAVA_HOME ... so check 1.b (whether a value for >>> JAVA_HOME is set in any files in /etc/profile.d), and then you can >>> report back, if that doesn't seem to be relevant. >>> >>> On Wed, Jul 31, 2013 at 2:28 PM, Aron Roberts >>> <aron@socrates.berkeley.edu> wrote: >>>> Hi Al, >>>> >>>> 1. An off the cuff thought, possibly erroneous, but quick :-): It's >>>> conceivable that there is a second place from which the value of the >>>> JAVA_HOME environment variable is being read, other than from your own >>>> user environment. It could conceivably be getting this value from >>>> another user's environment, or from some system configuration file. >>>> >>>> a. Is Tomcat running under your own user account, or another >>>> account? (Check this via 'ps -ef | grep catalina'; the first item in >>>> the relevant entry will be the username under which Tomcat is running, >>>> while the second item will be its process ID, relevant to response 2, >>>> below.) >>>> >>>> If it's running under another user account, you can log into that >>>> user's account (or 'sudo su actual_username_here' to it) and check the >>>> value of JAVA_HOME there ('echo $JAVA_HOME', much as you've done in >>>> your account). >>>> >>>> b. Is a value set for JAVA_HOME in any of the files in /etc/profile.d? >>>> >>>> c. (You can skip this third point, as this is NOT relevant to the >>>> issue you reported, which involved building CollectionSpace's >>>> Application layer, but is mentioned here for completeness ... as a >>>> different set of problems could result from it: Is a value explicitly >>>> set for JAVA_HOME in any of the files in $CATALINA_HOME/bin, such as >>>> setenv.sh or nuxeo.conf? First, look in those two files; then 'grep >>>> JAVA_HOME $CATALINA_HOME/bin', and ignore any comments or uses of >>>> $JAVA_HOME as a variable name, etc.) >>>> >>>> 2. I've encountered this (a missing tomcat.pid file) on occasion, >>>> without having investigated its cause. >>>> >>>> When that happens, as a fix, I've just killed the Tomcat process >>>> ('sudo kill actual_pid_here', where 'actual_pid_here' is the process >>>> ID of that process, then restarted Tomcat, which re-creates that file. >>>> (The tomcat.pid file itself is just a text file containing a process >>>> ID.) >>>> >>>> Aron >>>> >>>> On Wed, Jul 31, 2013 at 2:04 PM, Al Bersch <abersch@museumca.org> wrote: >>>>> Hello all, >>>>> >>>>> I am creating new tenant in CollectionSpace 3.3, and am at the stage of >>>>> pushing the Applications layer to the CollectionSpace server. I have >>>>> two >>>>> issues that might be related. I'm running into an error when I run mvn >>>>> clean >>>>> install -DskipTests: >>>>> >>>>> [INFO] --- exec-maven-plugin:1.1:exec (default) @ war-entry --- >>>>> [INFO] Error: JAVA_HOME is not defined correctly. >>>>> [INFO] We cannot execute /usr/lib/jvm/java-7-oracle/bin/java/bin/java >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Reactor Summary: >>>>> [INFO] >>>>> [INFO] Root .............................................. SUCCESS >>>>> [0.890s] >>>>> [INFO] CSP: General Utils ................................ SUCCESS >>>>> [3.037s] >>>>> [INFO] Collection-Space CSP API .......................... SUCCESS >>>>> [1.154s] >>>>> [INFO] CSP: Impl ......................................... SUCCESS >>>>> [2.650s] >>>>> [INFO] Collection-Space CSP Helper ....................... SUCCESS >>>>> [1.098s] >>>>> [INFO] CSP: Schema ....................................... SUCCESS >>>>> [3.249s] >>>>> [INFO] JXUtils ........................................... SUCCESS >>>>> [1.311s] >>>>> [INFO] CSP: Web UI ....................................... SUCCESS >>>>> [5.630s] >>>>> [INFO] CSP: File ......................................... SUCCESS >>>>> [0.946s] >>>>> [INFO] CSP: Services ..................................... SUCCESS >>>>> [4.590s] >>>>> [INFO] JXUtils ........................................... SUCCESS >>>>> [1.831s] >>>>> [INFO] Core .............................................. SUCCESS >>>>> [9.068s] >>>>> [INFO] Core .............................................. FAILURE >>>>> [8.250s] >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 44.183s >>>>> [INFO] Finished at: Wed Jul 31 20:58:10 UTC 2013 >>>>> [INFO] Final Memory: 102M/339M >>>>> >>>>> >>>>> It appears that I have the environment variable set up correctly: >>>>> >>>>> root@li551-203:~# echo $JAVA_HOME >>>>> /usr/lib/jvm/java-7-oracle >>>>> >>>>> I thought I'd double check that I shut down the servers correctly. when >>>>> I >>>>> ran $CSPACE_JEESERVER_HOME/bin/shutdown.sh -force, I got the message : >>>>> >>>>> "$CATALINA_PID was set but the specified file does not exist. Is Tomcat >>>>> running? Stop aborted." >>>>> >>>>> So I looked for the tomcat.pid in >>>>> /usr/local/share/apache-tomcat-6.0.33/bin >>>>> and didn't find it there. Any ideas what's going on? I know it was >>>>> there >>>>> before, because I successfully started up the server. >>>>> >>>>> Many thanks! >>>>> >>>>> Al >>>>> >>>>> Al Bersch >>>>> Digital Project Coordinator >>>>> Oakland Museum of California >>>>> 1000 Oak Street, Oakland, CA 94607 >>>>> abersch@museumca.org >>>>> 510-318-8468 >>>>> >>>>> _______________________________________________ >>>>> Talk mailing list >>>>> Talk@lists.collectionspace.org >>>>> >>>>> >>>>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>>>> >>> >
AR
Aron Roberts
Fri, Aug 2, 2013 12:45 AM

Thanks, Al.  Very glad the Maven2-based build worked for you.

In the text file you sent privately with the results of having run
'mvn clean install -DskipTests' with a '-X' (verbose) flag, Maven is
reporting an incorrect value for value of JAVA_HOME that it has picked
up from the environment.  (As Jesse inferred, this should have been
just /usr/lib/jvm/java-7-oracle and not
/usr/lib/jvm/java-7-oracle/bin/java, because an extra '/bin/java'
later got appended to this path.)

[DEBUG] properties used {java.vendor=Oracle Corporation ...
env.JAVA_HOME=/usr/lib/jvm/java-7-oracle/bin/java

We still don't know, however, where that erroneous value came from ...
perhaps an artifact of the method you described for installing Maven3,
or?

Aron

On Thu, Aug 1, 2013 at 4:35 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks again. I ran the command, and will send it to you in a text file
separately. Still getting errors.

In the meantime, I installed another instance of Collectionspace 3.3, but
this time using Maven2. Everything went smoothly, and I was able to create
the tenant and successfully ran mvn clean install -DskipTests on the
Application layer. I thought of this because (although I didn't mention this
before) I ran into an issue with Maven3 where it wasn't readily available
through apt-get. I had to first use nate carlson's ppa which I got off
instructions on askubuntu.com. then later, I ran ln-s /usr/bin/mvn3
/usr/bin/mvn, before I could run mvn clean install -DskipTests (the first
time, for the installation of CollectionSpace prior to creating my tenant.
Before changing mvn3 to mvn, the system seemed confused as to which maven to
use). So I figured I'd try to build everything from scratch with Maven2, and
it seems to have worked.

If you have any insights after looking at the results of
cd war-entry
mvn clean install -DskipTests -X

though, I'd still love to learn what happened.

Thanks again - I so appreciate your help!

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468

Thanks, Al. Very glad the Maven2-based build worked for you. In the text file you sent privately with the results of having run 'mvn clean install -DskipTests' with a '-X' (verbose) flag, Maven is reporting an incorrect value for value of JAVA_HOME that it has picked up from the environment. (As Jesse inferred, this should have been just /usr/lib/jvm/java-7-oracle and not /usr/lib/jvm/java-7-oracle/bin/java, because an extra '/bin/java' later got appended to this path.) [DEBUG] properties used {java.vendor=Oracle Corporation ... env.JAVA_HOME=/usr/lib/jvm/java-7-oracle/bin/java We still don't know, however, where that erroneous value came from ... perhaps an artifact of the method you described for installing Maven3, or? Aron On Thu, Aug 1, 2013 at 4:35 PM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks again. I ran the command, and will send it to you in a text file > separately. Still getting errors. > > In the meantime, I installed another instance of Collectionspace 3.3, but > this time using Maven2. Everything went smoothly, and I was able to create > the tenant and successfully ran mvn clean install -DskipTests on the > Application layer. I thought of this because (although I didn't mention this > before) I ran into an issue with Maven3 where it wasn't readily available > through apt-get. I had to first use nate carlson's ppa which I got off > instructions on askubuntu.com. then later, I ran ln-s /usr/bin/mvn3 > /usr/bin/mvn, before I could run mvn clean install -DskipTests (the first > time, for the installation of CollectionSpace prior to creating my tenant. > Before changing mvn3 to mvn, the system seemed confused as to which maven to > use). So I figured I'd try to build everything from scratch with Maven2, and > it seems to have worked. > > If you have any insights after looking at the results of > cd war-entry > mvn clean install -DskipTests -X > > though, I'd still love to learn what happened. > > Thanks again - I so appreciate your help! > > Al > > > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468