[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Environment vars and startup scripts



Title: Environment vars and startup scripts

Hi,

I'm playing about with java and tomcat4, on Woody bf2.4.

I grabbed J2SDK1.4.2 and JakataTomcat 1.4.30 and installed them to

/usr/local/bin/2jsdk1.4.2_04
/usr/local/bin/jakata-tomcat-4.1.30

Then I ran…

ln -s /usr/local/bin/j2sdk1.4.1_01/bin* /usr/bin

…and then

export JAVA_HOME="/usr/local/bin/2jsdk1.4.2_04"
export CATALINA_HOME="/usr/local/bin/jakata-tomcat-4.1.30"

I start tomcat $CATALINA_HOME/bin/startup.sh

And I can access http://mydebianbox:8080, I get the Jakata page telling me tomcat is working.
Most satifiying.

My questions are;

Have I installed these technologies in accordance with The Debian Way ?
How do I get the environment vars and the startup script to run automatically on boot ?
How come Tomcat4 is not available in Stable ? (I thought it was dependant on stuff in unstable, but it's working so…?)

Thanks

Matt Joyce
Children's Cancer Institute Australia
http://www.ccia.org.au


Reply to: