Re: RE: Why cannot I put JSVC into a shell script to run

2006-09-05 Thread Warren Pace
t; > Pat > > -----Original Message- > From: Warren Pace [mailto:[EMAIL PROTECTED] > Sent: Friday, September 01, 2006 4:10 AM > To: Tomcat Users List > Subject: Re: Why cannot I put JSVC into a shell script to run > > Pat, > Send us your entire script. Also

RE: Why cannot I put JSVC into a shell script to run

2006-09-05 Thread Patrick Wang
e ./logs/catalina.out -errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap Thanks Pat -Original Message- From: Warren Pace [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 4:10 AM To: Tomcat Users List Subject: Re: Why cannot I put JSVC into a shell script to run Pat, Send us y

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
7; Subject: RE: Why cannot I put JSVC into a shell script to run Pascal: Thanks for the detailed explanation, The procedure I used to launch jsvc Login in SERVER using root account through SSH. Go to TOMCAT directory, Run startTomcat.sh, nothing happened. Then run command cat startTomcat.s

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
otstrap " What is going on here? Thanks Pat -Original Message- From: Pascal Bleser [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 9:09 AM To: Tomcat Users List Subject: Re: Why cannot I put JSVC into a shell script to run Patrick Wang wrote: > Thanks for the reply, you are cor

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Pascal Bleser
Patrick Wang wrote: > Thanks for the reply, you are correct. The same command line doesnot work > when I > put into a shell command. I used the command netstat to see if Tomcat has > started since it listen to the port. Rather use lsof -i instead of netstat + having to grep the output: if lsof -

RE: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Patrick Wang
Message- From: Sameer Acharya [mailto:[EMAIL PROTECTED] Sent: Friday, September 01, 2006 12:48 AM To: Tomcat Users List Subject: Re: Why cannot I put JSVC into a shell script to run Are you saying that when you run a command from console it works but when you put it into a shell script and try

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Warren Pace
Pat, Send us your entire script. Also, which Linux, Tomcat, and Java are you using? That'll help us, too. warren > > From: "Patrick Wang" <[EMAIL PROTECTED]> > Date: 2006/08/31 Thu PM 05:41:32 EDT > To: > Subject: Why cannot I put JSVC into a shell sc

Re: Why cannot I put JSVC into a shell script to run

2006-09-01 Thread Sameer Acharya
Are you saying that when you run a command from console it works but when you put it into a shell script and try and run the script it doesnt work ? Are you using the same command from console , did you try and do a ps to see if tomcat has started/not started ? Putting the entire command on one

Why cannot I put JSVC into a shell script to run

2006-08-31 Thread Patrick Wang
Hi, I can only copy/paste the contents from startTomcat.sh to the console, everything works fine. But when I run the command from the console startTomcat.sh, it gave me no error, however the to