Hi Nick,

I don't have the time right now to try installing DSpace on Amazon
(though I'd love to try that some time), but at least I'll respond
with some observations, hopefully they'll help you.

On Tue, Oct 30, 2012 at 11:15 PM,  <[email protected]> wrote:
> amzn-ami-pv-2012.09.0.x86_64-ebs

Where can I find details about what kind of system this is?

> What I have downloaded and installed:
> apache-maven-3.0.4
> apache-ant-1.8.4
> apache-tomcat-6.0.36

Although docs for 1.8 say 2.2.x or above is fine, I'd try it with
2.2.1, simply because most people likely used it at that time.

> 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:"

The [dspace-src] and [dspace] directories should be owned and mvn/ant
run as the same user Tomcat runs under. If you were building it as
root, then your local maven cache is in /root/.m2.

Remember that if you want a really clean start, you have to run "mvn
clean" and move away your local maven repository (~/.m2). I'd also
delete the [dspace-src] directory and re-extract it just to make sure
there aren't files owned by any other user.

How did you get the 1.8.2 source? SVN/GIT/tarball? Link?

> (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

Being able to run ant means that very likely you managed to run maven
successfully!

This particular error pertains to OpenJDK, not DSpace. Try installing
again the latest version of OpenJDK 6 and make sure it's not just JRE,
but JDK!

> 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.

I may not have time to get familiar with EC2, prepare the environment
and build DSpace, but if you give me SSH access, I can try doing the
build and fixing your environment.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
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