talk@lists.collectionspace.org

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

View all threads

Re: [Talk] Problem configuring collectionspace fcart tenant

YN
Yousuf Nejati
Mon, Feb 6, 2017 3:40 PM

Hi Ming,

Did you use the automated installer? Do you have your Java environmental
variable set?

Check the .bashrc for something like: export
JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64/"

Line 163 in the services/services/JaxRsServiceProvider looks like this:
<exec executable="${env.JAVA_HOME}/bin/java" failonerror="true">

Let me know if this helps.

-Yousuf

On Mon, Feb 6, 2017 at 5:43 AM, talk-request@lists.collectionspace.org
wrote:

Send Talk mailing list submissions to
talk@lists.collectionspace.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org

or, via email, send a message with subject or body 'help' to
talk-request@lists.collectionspace.org

You can reach the person managing the list at
talk-owner@lists.collectionspace.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Talk digest..."

Today's Topics:

1. Re: Problem configuring collectionspace fcart tenant (Ming Tsai)
2. Fwd: Problem configuring collectionspace fcart tenant (Ming Tsai)

Message: 1
Date: Fri, 3 Feb 2017 22:30:16 +0100
From: Ming Tsai mytsai2007@gmail.com
To: talk@lists.collectionspace.org
Subject: Re: [Talk] Problem configuring collectionspace fcart tenant
Message-ID:
<CAOicwYRNxkiXHKdHUodHbrZpxx=WZ3qJwGg_e+bzmzWFOf6GvQ@mail.
gmail.com>
Content-Type: text/plain; charset="utf-8"

??Hello CS community,

I am new to CollectionSpace and have successfully installed v4.4 it on a
Linode ubuntu 14.04.5 LTS instance. Was able to login and create a new
record using the demo user and password.

I am now trying to create/configure our own foundation collectionspace,
but am having difficulty getting past the 'ant undeploy deploy.'

I am following the instructions on 'creaging your new tenant' (
https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant#
Creatingyournewtenant-CreateandmodifytheUIlayerfiles
andfoldersforyournewtenant). I have tried the 'easy way' and the
'less-easy way' but end up with the same problem. I can run all the 'mvn
clean install -DskipTests' on the ui, application, and services layers,

but

when I go to do the 'ant undeploy deploy,' I get the pretty much the same
error each time:

BUILD FAILED
/home/cspace/cspace_source/services/build.xml:283: The following error
occurred while executing this line:
/home/cspace/cspace_source/services/services/build.xml:197: The

following

error occurred while executing this line:
/home/cspace/cspace_source/services/services/JaxRsServiceProvider/build.

xml:163:

exec returned: 255

Attached is the logged output file of the 'ant undeploy deploy' command
before the final 'BUILD FAILED' error.

Would really appreciate if someone can tell me what might be happening. I
am also attaching the tenant.properties file I used. If you need any

other

output/log information, would be happy to send along.

Thanks & best wishes,
Ming Tsai
Tsai Art & Science Foundation

Hi Ming, Did you use the automated installer? Do you have your Java environmental variable set? Check the .bashrc for something like: export JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64/" Line 163 in the services/services/JaxRsServiceProvider looks like this: <exec executable="${env.JAVA_HOME}/bin/java" failonerror="true"> Let me know if this helps. -Yousuf On Mon, Feb 6, 2017 at 5:43 AM, <talk-request@lists.collectionspace.org> wrote: > Send Talk mailing list submissions to > talk@lists.collectionspace.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > > or, via email, send a message with subject or body 'help' to > talk-request@lists.collectionspace.org > > You can reach the person managing the list at > talk-owner@lists.collectionspace.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Talk digest..." > > > Today's Topics: > > 1. Re: Problem configuring collectionspace fcart tenant (Ming Tsai) > 2. Fwd: Problem configuring collectionspace fcart tenant (Ming Tsai) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 3 Feb 2017 22:30:16 +0100 > From: Ming Tsai <mytsai2007@gmail.com> > To: talk@lists.collectionspace.org > Subject: Re: [Talk] Problem configuring collectionspace fcart tenant > Message-ID: > <CAOicwYRNxkiXHKdHUodHbrZpxx=WZ3qJwGg_e+bzmzWFOf6GvQ@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > ??Hello CS community, > > > > > I am new to CollectionSpace and have successfully installed v4.4 it on a > > Linode ubuntu 14.04.5 LTS instance. Was able to login and create a new > > record using the demo user and password. > > > > I am now trying to create/configure our own foundation collectionspace, > > but am having difficulty getting past the 'ant undeploy deploy.' > > > > I am following the instructions on 'creaging your new tenant' ( > > https://wiki.collectionspace.org/display/DOC/Creating+your+new+tenant# > > Creatingyournewtenant-CreateandmodifytheUIlayerfiles > > andfoldersforyournewtenant). I have tried the 'easy way' and the > > 'less-easy way' but end up with the same problem. I can run all the 'mvn > > clean install -DskipTests' on the ui, application, and services layers, > but > > when I go to do the 'ant undeploy deploy,' I get the pretty much the same > > error each time: > > > > BUILD FAILED > > /home/cspace/cspace_source/services/build.xml:283: The following error > > occurred while executing this line: > > /home/cspace/cspace_source/services/services/build.xml:197: The > following > > error occurred while executing this line: > > /home/cspace/cspace_source/services/services/JaxRsServiceProvider/build. > xml:163: > > exec returned: 255 > > > > Attached is the logged output file of the 'ant undeploy deploy' command > > before the final 'BUILD FAILED' error. > > > > Would really appreciate if someone can tell me what might be happening. I > > am also attaching the tenant.properties file I used. If you need any > other > > output/log information, would be happy to send along. > > > > Thanks & best wishes, > > Ming Tsai > > Tsai Art & Science Foundation > > > > > > > > >