Comrades:
I was able to get dspace installed and running on my Amazon ec2 instance.
The primary obstacles turned out to be these:
1. I had to install Oracle's jdk(1.6.0_37) and then use the "alternatives" apparatus to change the symlinks in /etc/alternatives to point to the Oracle jdk/jre.
2. Besides re-running maven and ant as the "dspace" user (which I had done before, but been crossed by other issues), I had to "chown dspace" several files and directories somewhat randomly distributed throughout the system, before tomcat could run free. One may or may not have been /sbin/runuser. I mention that one only as an example of the non-"dspace"-tree location of some of them. I was rather flailing around then, taking clues from the maven/ant output, so that I don't have a record of what all was chown'ed.
And indeed, export JAVA_HOME was an issue, which I had earlier resolved by a script in /etc/profile.d, although with four different users involved (root, ec2-user (the initial Amazon-created user), postgres, and dspace), that was doomed...
Thank you all for your attention and suggestions.
Nick
-------- Original Message --------
Subject: Re: [Dspace-general] Extreme frustration: installing dspace on
amazon ec2
From: helix84 <[email protected]>
Date: Wed, October 31, 2012 3:19 am
To: [email protected]
Cc: Yunus Acikoz <[email protected]>,
[email protected]
On Wed, Oct 31, 2012 at 11:01 AM, Yunus Acikoz <[email protected]> wrote:
> 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?
Yes, exactly. Either you have JRE installed instead of JDK (which
seemed odd) or, more likely, you have correctly both installed, but
JRE is found, not JDK, so you need to set your JAVA_HOME to point to
JDK.
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
