<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>I am new to the
world of linux, for my sins I have been entirely a Microsoft person; untill now,
and I need some advice on how to do something. </FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>I have a server
running Fedora Core 3, with Resin. </FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>I want to be able to
create a startup script that will set some environment variables for Java, start
up Resin and the call two custom scripts I have been given. I have been
playing around with a file called resin-a.sh which a web site suggested
creating to run the commands I want.</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>From a promt, if I
type the following the variables are set OK, but if I include them in the
resin-a.sh file and type sh resin-a.sh they are not
set.</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>export set
JAVA_HOME=/usr/java/j2sdk1.4.2_06</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>export set
RESIN_HOME=/usr/local/resin</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>export set
PATH=$PATH:/usr/java/j2sdk1.4.2_06/bin</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>I also want to
somehow include in this script a startup command for httpd.sh to start the resin
web server and also to call to other scripts.</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial size=2>Any help would be
much appreciated, as I said I am completely new to this and its a little
confusing.</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=015361217-31012005><FONT face=Arial
size=2>Paul</FONT></SPAN></DIV></BODY></HTML>