Hi Nick,

I recently installed Dspace on an Amazon ec2 instance. Have you installed
Oracle Java 6 as suggested? I got a similar error at one of my trials, I
guess it was because I didn't set JAVA_HOME variable correctly. Did you
check that? Also the folder where it tries to find tools.jar?

Yunus

On Wed, Oct 31, 2012 at 12:15 AM, <[email protected]> wrote:

> Comrades:
>
> As unreasonable as it sounds, I have spent more than 80 hours trying to
> get dspace 1.8.2 installed on an Amazon amzn-ami-pv-2012.09.0.x86_64-ebs
> instance.
>
> What I have downloaded and installed:
> apache-maven-3.0.4
> apache-ant-1.8.4
> apache-tomcat-6.0.36
>
> The postgres user inits and starts the database.
>
> The dspace user is created, both as a postgres user and as a (Linux)
> system user.
>
> I unzip dspace-1.8.2 into /var/project.
>
> While in the dspace-1.8.2-release/dspace directory,  I call mvn package,
> but it says that the project does not have a pom.xml file, which of course
> it does, right there in the current directory.  In desperation, I run the
> mvn as root (all of the postings say that it has to be run by the "dspace"
> user), and it proceeds downloading for about four minutes, but I suspect
> problems when the last line of the cascade of message from maven is "Cannot
> include project artifact: org.dspace:dspace:pom:1.8.2; it doesn't have an
> associated file or directory." and "The following patterns were never
> triggered in this artifact exclusion filter: ":war:"
>
> (Keeping in mind that I have taken 20 or 30 or more paths through the
> various combinations of sudo and su and cd and init and createuser and
> adduser, this is just the latest) -- When I now run ant fresh_install, I
> get "Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar.  Buildfile:
> ..dspace-1.8.2-release/dspace/target/dspace-1.8.2-build/build.xml"
> init_installation:  BUILD FAILED
>
> The "process" can't find the pom.xml, it can't find tools.jar, and I'm not
> sure what else is wrong....
>
> I will pay someone who will reveal the secret(s) of getting dspace 1.8.2
> installed on an amazon ec2 instance.  None of the dozen or so "recipes" I
> have found on the Internet work.
>
> Nick
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Dspace-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-general
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to