Hi Joshua,

On 21/07/11 02:36, Joshua Gomez wrote:
> I installed java-6-sun jdk and made it the default, but I am still 
> getting the error with the index, though it now references the
> sunJDK instead of the OpenJDK.  However, when I run a list of open
> files, I see several files opened by jsvc (with dspace as the user)
> that are from the openjdk library. I don't understand why it would
> still be using those .jar and .so files if the sunjdk is the
> default.

Try putting the Sun JDK into /etc/default/tomcat6 and restarting tomcat
-- does that work for you?

JAVA_HOME=/usr/lib/jvm/java-6-sun

The tomcat 6 init script on Ubuntu has some 'clever' logic to determine
which JDK to use. Helpfully, this logic completely ignores what's set as
the system default.

cheers,
Andrea

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to