Kyle, I did "find . -name *.conf" at the root of tomcat and there is nothing 
there. I'm using tomcat 5.5
Mark, I am already running the bootup script from rc.local which is supposed to 
load last :( 

Here's is the syntax I used. I tried to create the JAVA_HOME in the script in 
hope that it will export it in time but the echo statement is still not 
returning it:
#! /bin/sh

/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j REDIRECT --to-p
ort 8080
su postgres -c '/blah/pgsql/bin/postmaster -D /usr/local/pgsql/data' &
JAVA_HOME=/blah/SDK/jdk
export  JAVA HOME
echo javahome is $JAVAHOME
su dspace -c '/blah/tomcat/bin/startup.sh' &



-----Original Message-----
From: Kyle Brentnell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 24, 2007 10:16 AM
To: Weinberg, Ben; [email protected]
Subject: Re: [Dspace-tech] Getting dspace started in at bootup.

Hi Ben,

Not sure which version of tomcat you are using, but in version 5 the JRE_HOME 
can be specified in tomcat5.conf file.  This will take effect when tomcat 
starts on bootup.

Kyle


At / À 12:37 PM 24/05/2007, Weinberg, Ben wrote / a écrit:
>Hi,
>I'm trying to get DSpace started via a startup script, however, the 
>JAVA_HOME/JRE_HOME vars in /etc/profile are not valid in time for the 
>Tomcat startup.
>Anybody out there starting DSpace at boot time? If so, can you please 
>share the how?
>Thanks,
>Ben Weinberg
>HP Research Library
>
>-----------------------------------------------------------------------
>-- This SF.net email is sponsored by DB2 Express Download DB2 Express C 
>- the FREE version of DB2 express and take control of your XML. No 
>limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>DSpace-tech mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to