Re: Rc3.d startup scripts

2005-06-18 Thread Andrew Miehs
That really depends on the operating system. You may also want to have a look at google On Jun 17, 2005, at 8:34 PM, [EMAIL PROTECTED] wrote: I am trying to create a startup script for Solaris for both Tomcat 5.5.9 and Apache 2.0.52. Can anyone tell me how to do that, so that when the

Rc3.d startup scripts

2005-06-17 Thread uttam.g.dubal
I am trying to create a startup script for Solaris for both Tomcat 5.5.9 and Apache 2.0.52. Can anyone tell me how to do that, so that when the box is rebooted it automatically starts Tomcat and Apache. Thank you for your help. This message is for the designated recipient only and may contain

Re: Rc3.d startup scripts

2005-06-17 Thread Bill Barker
For Apache 2.0.52, unless you need SSL, you can do worse than: ln -s /usr/local/apache2/bin/apachectl S35apache If you don't mind running as root, you can do the same thing for Tomcat: ln -s /path/to/tomcat/bin/catalina.sh S34tomcat If you are using jsvc, then the Tomcat5.sh script that

Re: Where are the UNIX-type scripts?

2005-06-13 Thread cmllpz
the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 snip So, where are the UNIX-type scripts? I have just downloaded jakarta-tomcat

RE: Where are the UNIX-type scripts?

2005-06-12 Thread Greg Scott
Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours from source. Here are the files I

Re: Where are the UNIX-type scripts?

2005-06-12 Thread Greg Scott
) Tomcat Users List tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an account --- Original message follows. Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz

Re: Where are the UNIX-type scripts?

2005-06-12 Thread kamal r
--- Original message follows. Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours

RE: Where are the UNIX-type scripts?

2005-06-12 Thread cmllpz
FYI. I didn't build mine from source Thanks Quoting Greg Scott [EMAIL PROTECTED]: Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled

RE: Where are the UNIX-type scripts?

2005-06-12 Thread Greg Scott
PM To: Tomcat Users List Subject: RE: Where are the UNIX-type scripts? FYI. I didn't build mine from source Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Where are the UNIX-type scripts?

2005-06-12 Thread Mark Thomas
[EMAIL PROTECTED] wrote: I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 snip So, where are the UNIX-type scripts? I

Where are the UNIX-type scripts?

2005-06-11 Thread cmllpz
-- 1 tcbox00 tcbox00 1280 Jun 11 09:10 version.bat -rwxr-xr-x 1 tcbox00 tcbox00790 Jun 11 09:10 version.sh So, where are the UNIX-type scripts? Thanks Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Where are the UNIX-type scripts?

2005-06-11 Thread cmllpz
Also if I try the only unix-like script, namely, version.sh, it looks for the other ones: [EMAIL PROTECTED] bin]$ ./version.sh Cannot find ./catalina.sh Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Where are the UNIX-type scripts?

2005-06-11 Thread luke
Hi, 11Jun2005 @ 17:22 [EMAIL PROTECTED] thusly spake I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 -rw-r--r-- 1

RE: Tomcat monitoring scripts

2005-01-13 Thread Rajaneesh
to restart it and monitoring of tomcat is not attached here. Regards Rajaneesh -Original Message- From: Faisal Abdullah [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 9:29 AM To: Tomcat Users List Subject: Re: Tomcat monitoring scripts On demand restarts with: http

Re: Tomcat monitoring scripts

2005-01-13 Thread Didier McGillis
I have this running on my dev, and so far i have not had any issues with it. From: Faisal Abdullah [EMAIL PROTECTED] Reply-To: Faisal Abdullah [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat monitoring scripts Date: Thu, 13 Jan 2005 11:59:03 +0800

Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
Hi Does anyone know of the location of any scripts (for Linux) that will monitor tomcat every x minutes and if it finds it not running will restart it automatically? Any suggestions would be appreciated. thanks Edd

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
: Hi Does anyone know of the location of any scripts (for Linux) that will monitor tomcat every x minutes and if it finds it not running will restart it automatically? Any suggestions would be appreciated. thanks Edd

Re: Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
or older. in terms of restarting, you're probably going to have to write a shell script to do that. Typically, on unix a cron job is used. peter On Wed, 12 Jan 2005 15:12:15 +, Edd Dawson [EMAIL PROTECTED] wrote: Hi Does anyone know of the location of any scripts (for Linux

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
most people use Perl or shell scripts to do that. There's plenty of scripts on the net for doing that by the process id. sorry, I don't have any links handy. google is your friend. peter On Wed, 12 Jan 2005 15:20:53 +, Edd Dawson [EMAIL PROTECTED] wrote: I'm looking more for something

RE: Tomcat monitoring scripts

2005-01-12 Thread Peter Crowther
From: Edd Dawson [mailto:[EMAIL PROTECTED] I'm looking more for something that sits on the actual servers and probes at set intervals and takes remedial action if necessary. One trick that might work and takes almost no effort is to start Tomcat from [x]inetd - if it stops, the next

Re: Tomcat monitoring scripts

2005-01-12 Thread Edd Dawson
My googling skills are letting me down today.. i haven't managed to find any examples online (and i've been trying most of the day!) Peter Lin wrote: most people use Perl or shell scripts to do that. There's plenty of scripts on the net for doing that by the process id. sorry, I don't have any

Re: Tomcat monitoring scripts

2005-01-12 Thread Peter Lin
any examples online (and i've been trying most of the day!) Peter Lin wrote: most people use Perl or shell scripts to do that. There's plenty of scripts on the net for doing that by the process id. sorry, I don't have any links handy. google is your friend. peter

Re: Tomcat monitoring scripts

2005-01-12 Thread Didier McGillis
Ch-Check this out. Shell script http://www.wespoke.com/archives/000728.php From: Edd Dawson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat monitoring scripts Date: Wed, 12 Jan 2005 15:20:53 + I'm looking more for something

Re: Tomcat monitoring scripts

2005-01-12 Thread Didier McGillis
: Tomcat monitoring scripts Date: Wed, 12 Jan 2005 16:22:52 + Ch-Check this out. Shell script http://www.wespoke.com/archives/000728.php From: Edd Dawson [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: Tomcat monitoring scripts Date

Re: Tomcat monitoring scripts

2005-01-12 Thread Faisal Abdullah
[EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: [EMAIL PROTECTED], tomcat-user@jakarta.apache.org Subject: Re: Tomcat monitoring scripts Date: Wed, 12 Jan 2005 16:22:52 + Ch-Check this out. Shell script http://www.wespoke.com/archives/000728.php From

Scripts

2004-12-22 Thread Charles P. Killmer
I am trying to write a function in a script file and having a lot of trouble. % function String test() { return test; } out.print(test()); % Is there a way to do this without using a class? Also along these lines would something like this be possible. % function void test() { %

Re: Scripts

2004-12-22 Thread Ben Souther
try: %! public String test(){ return test; } % Note the exclamation point in the tag.. On Wed, 2004-12-22 at 14:05, Charles P. Killmer wrote: I am trying to write a function in a script file and having a lot of trouble. % function String test() { return test; }

Re: Scripts

2004-12-22 Thread Wade Chandler
Charles P. Killmer wrote: I am trying to write a function in a script file and having a lot of trouble. % function String test() { return test; } out.print(test()); % Is there a way to do this without using a class? Also along these lines would something like this be possible. % function

RE: Scripts

2004-12-22 Thread Charles P. Killmer
this test function? Thank you Charles Killmer -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 22, 2004 1:10 PM To: Tomcat Users List Subject: Re: Scripts try: %! public String test(){ return test; } % Note the exclamation point

RE: Scripts

2004-12-22 Thread Ben Souther
Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 22, 2004 1:10 PM To: Tomcat Users List Subject: Re: Scripts try: %! public String test(){ return test; } % Note the exclamation point in the tag.. On Wed, 2004-12-22 at 14:05, Charles P

Re: Suggestion - upgrade scripts.

2004-11-18 Thread Andoni
] Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, November 18, 2004 12:07 AM Subject: Re: Suggestion - upgrade scripts. On Wed, Nov 17, 2004 at 03:15:46PM +, Andoni wrote: : Ever since a recent conversation about the status of the 4.1.xx branch of the Tomcat tree I have been wondering

Re: Suggestion - upgrade scripts.

2004-11-18 Thread QM
On Thu, Nov 18, 2004 at 10:32:33AM +, Andoni wrote: : Ok, I have been playing around with this idea. What I would use most would : not so much be an upgrade script between versions but an upgrade script : between sub-version. Or maybe even just a list of the files that have : changed in a

Re: Suggestion - upgrade scripts.

2004-11-18 Thread Didier McGillis
I would agree with this from most applications both open source and commercial license software they will provide infromation on how to upgrade and new features, and of course the software, but its still up to those maintaining their sites that are using the software to do the upgrading and

Suggestion - upgrade scripts.

2004-11-17 Thread Andoni
missing. I think there should be some development effort put into scripts for upgrading from the previous version of Tomcat. If these scripts could also download from the website then the simplest answer to I'm running 4.1.27 and it crashes when I ... would be Then run the upgrade script

Re: Suggestion - upgrade scripts.

2004-11-17 Thread QM
between the different versions I have noticed what's missing. I have a link on my site for upgrading from 4.1.x - 5.0.x. http://www.brandxdev.net/misc/tomcat_upgrade.site The 5.0.x - 5.5.x guide is on the way. : I think there should be some development effort put into scripts for upgrading

Configuring Tomcat 5.0.27 to run PHP 5.0.1 scripts

2004-09-15 Thread d~l
I may be in a minority here .. very sparse information found so far on this .. I would like to configure Tomcat 5.0.27 to run PHP 5.0.1 scripts on Tomcat server (in addition to PHP running on Apache server). I do understand that PHP usually runs on Apache server (I have that combination

scripts for Workers

2004-07-06 Thread Boulay Arnaud
Hi ! I'm looking for scripts that work like startup.sh and shutdown.sh but with multi tomcat targets (workers). those scripts are for linux. Thanks, Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: scripts for Workers

2004-07-06 Thread Pete Stokes
). The workers must have the ssh key of the central PC in each known_hosts file. Simply iterate round your workers array (for each IP) and use ssh to execure a remote command, $IP $TOMCAT_HOME/bin/startup.sh Pete. Boulay Arnaud wrote: Hi ! I'm looking for scripts that work like startup.sh

Startup scripts not executable?

2004-02-18 Thread Roy Smith
I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do chmod +x *.sh to get things to work. Is this a bug

Re: Startup scripts not executable?

2004-02-18 Thread Giuseppe Briotti
scripts not executable? == I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do chmod +x *.sh to get things to work. Is this a bug

Re: Startup scripts not executable?

2004-02-18 Thread Antonio Fiol BonnĂ­n
Roy Smith wrote: I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do chmod +x *.sh to get things to work. Is this a bug? You probably downloaded the zipped

Tomcat 5.0.16 executes binary CGI scripts as Perl scripts

2003-12-18 Thread Patrick Burma
: perl C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\cgi\cgi.exe error=2 I am not sure how to resolve this issue, it looks like from the error Tomcat thinks me exe is a perl script. I didn't know there was a specific configuration for how scripts are handled, it appears

Auto start scripts

2003-12-03 Thread Robin Rigby
practiced with regard to permissions? Tomcat documentation seems to stop firmly at startup.sh and shutdown.sh (unless I simply have not found the right page). I have found FAQs and tutorials that give sample scripts for various Linux distributions (none so far for Fedora) but none of them work

Re: Auto start scripts

2003-12-03 Thread Nikola Milutinovic
Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run a Tomcat4 script from /etc/rc.d/init.d so that Tomcat starts automatically? Tomcat works fine when I run startup.sh as root. However,

RE: Auto start scripts

2003-12-03 Thread Robin Rigby
Milutinovic [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 13:01 To: Tomcat Users List Subject: Re: Auto start scripts Robin Rigby wrote: Have very limited experience of Linux or Tomcat. Not even really sure if this is a Tomcat issue or a Linux issue. Main question: How do I run

RE: Auto start scripts

2003-12-03 Thread Shapira, Yoav
List Subject: RE: Auto start scripts Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin

Re: Auto start scripts

2003-12-03 Thread Tomas Wredendal
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin Try this...

RE: Auto start scripts

2003-12-03 Thread Robin Rigby
Got it. Thank you. :-) -Original Message- From: Tomas Wredendal [mailto:[EMAIL PROTECTED] Sent: 03 December 2003 14:40 To: Tomcat Users List Subject: Re: Auto start scripts Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta

Re: Auto start scripts

2003-12-03 Thread Adam Hardy
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin, I don't think you

RE: Can Tomcat really run cgi scripts?

2003-12-03 Thread Januski, Ken
. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 3:21 PM To: Tomcat Users List Subject: RE: Can Tomcat really run cgi scripts? Beat my head against wall for another couple hours and still end up with this error. Anyone have any other ideas

Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
scripts from cgi directory without using Apache? And also does anyone know how to get around the above error? Thanks, Ken P.S. The only reason I'm having to run perl is that I need to add iptc info to jpeg files and I've only found perl methods for doing so. If anyone can point me to a Java method

Re: Can Tomcat really run cgi scripts?

2003-12-02 Thread Christopher Schultz
Ken, But now I'm stuck with this error: java.io.IOException: CreateProcess: perl C:\Tomcat4112\webapps\examples\WEB-INF\cgi\exp.cgi This is likely to be due to the lack of PATH information available to the script itself. Try using #!/usr/bin/perl in your script instead of #!perl I've heard

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
what additional paths to try. Ken -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 12:53 PM To: Tomcat Users List Subject: Re: Can Tomcat really run cgi scripts? Ken, But now I'm stuck with this error: java.io.IOException

RE: Can Tomcat really run cgi scripts?

2003-12-02 Thread Januski, Ken
: Tuesday, December 02, 2003 1:01 PM To: Tomcat Users List Subject: RE: Can Tomcat really run cgi scripts? Thanks Chris, I've tried !#c:\perl\bin\perl.exe, #!c:\perl\bin, #!perl, and #!/usr/bin/perl and get same error on each. I've also added perl to the path environmental PATH variable. I do

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
I have the j2ee.jar file in the classpath...should that not provide the current jdk. Allen -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 6:12 PM To: 'Tomcat Users List' Subject: RE: Configuring and using cgi scripts in Tomcat

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Shapira, Yoav
- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:54 AM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat I have the j2ee.jar file in the classpath...should that not provide the current jdk. Allen -Original Message- From

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Mike Curwen
-Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:54 AM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat I have the j2ee.jar file in the classpath...should that not provide the current jdk

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:26 AM To: 'Tomcat Users List' Subject: RE: Configuring and using cgi scripts in Tomcat -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:54 AM To: Tomcat

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Mike Curwen
- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 10:49 AM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat JAVA_HOME points to /usr/java1.2. In that directory I have the j2ee and it information. I am currently

RE: Configuring and using cgi scripts in Tomcat

2003-09-24 Thread Wilson, Allen
and using cgi scripts in Tomcat It's probably called /usr/java1.2. because it : a) had j2ee1.2 in it? b) it had jdk 1.2 in it? If it's a), you don't even have a JDK. If it's b), then then JDK is too old. Either way, you don't have what you need. putting it in the classpath. That really

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Shapira, Yoav
scripts in Tomcat Hello... I am trying to configure Tomcat to run a perl script that is part of an application I am moving over from another server. Since this is one script I do not want to rewrite it so I thought that I could set the server to run CGI scripts. I have put the entries in the web.xml

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
: Configuring and using cgi scripts in Tomcat Howdy, Read the comments for the CGI servlet in $CATALINA_HOME/conf/web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 5:06 PM To: Tomcat Users List

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Shapira, Yoav
Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 12:45 PM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat I've read those comments and uncommented the lines specified but when I try to run the script it gives me

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
cgi scripts in Tomcat Howdy, There's more than uncommenting involved. You have to follow all the instructions in those comments, including the jar file rename and tomcat restart. Then you have to give us much more information about what errors you're seeing. Yoav Shapira Millennium

Re: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Jon Wingfield
. Apache Tomcat/4.1.18 -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 11:47 AM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat Howdy, There's more than

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
Subject: Re: Configuring and using cgi scripts in Tomcat /resporta/cgi-bin/animal.cgi does not map to /cgi-bin/* I'm guessing resporta is the name of your webapp? Where did you place the script? As I read it, you need to put it in /ROOT/WEB-INF/cgi (I could be wrong). HTH, Jon Wilson, Allen

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
/extension mime-typeapplication/x-httpd-cgi/mime-type /mime-mapping But it stills tries to download the file. Does anyone know of another mime list for CGI Scripts Allen -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 12:47 PM

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Wilson, Allen
, 2003 3:35 PM To: Tomcat Users List Subject: RE: Configuring and using cgi scripts in Tomcat Okay... I think I have the mapping correct because it now finds the file but tries to download it. I am trying to add a listing to the mime type so that it will process the file as a script. I added

RE: Configuring and using cgi scripts in Tomcat

2003-09-23 Thread Mike Curwen
Subject: RE: Configuring and using cgi scripts in Tomcat Okay... Found out that I did not have the mapping correct but when I changed it to go the ROOT/WEB-INF/cgi-bin. I have now getting the following error. Any help would be highly appreciate (even to the point of naming my

Configuring and using cgi scripts in Tomcat

2003-09-22 Thread Wilson, Allen
Hello... I am trying to configure Tomcat to run a perl script that is part of an application I am moving over from another server. Since this is one script I do not want to rewrite it so I thought that I could set the server to run CGI scripts. I have put the entries in the web.xml file

Re: Starting tomcat from init scripts (HP/UX)

2003-08-21 Thread John Turner
Message- From: Lott, Carey Sent: Friday, August 15, 2003 11:18 AM To: 'Tomcat Users List' Subject: RE: Starting tomcat from init scripts (HP/UX) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Starting tomcat from init scripts (HP/UX)

2003-08-21 Thread Ralph Einfeldt
I have the following recommendations: - put a 'set -xv' in all batch scripts that are part of the startup procedure. - I'm not familiar with HP/UX. Under linux I would try to strace the startscript. (Under solaris it's truss) -Original Message- From: Lott, Carey [mailto

RE: Starting tomcat from init scripts (HP/UX)

2003-08-20 Thread Lott, Carey
' Subject: RE: Starting tomcat from init scripts (HP/UX) Ok, I finally got the script to execute correctly and I got the familiar output: Using CATALINA_BASE: /bto/appl/apache/jakarta-tomcat-4.0.4 Using CATALINA_HOME: /bto/appl/apache/jakarta-tomcat-4.0.4 Using CATALINA_TMPDIR: /bto/appl/apache

Re: Starting tomcat from init scripts (HP/UX)

2003-08-20 Thread Tim Funk
1 - You classpath is probably wrong - it should be tiny to allow dynamic classloading so classes may be reloaded 2 - Try using startup.sh, here is an easy way: cd /bto/appl/apache/jakarta-tomcat-4.0.4 bin/startup.sh instead of catalina.sh. 3 - Temporarily - hack the startup scripts to print crap

Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Roy Smith
I'm running RedHat 8.0. Following the instructions in Tomcat: The Definitive Guide, I downloaded and installed tomcat4-4.1.24-full.2jpp.noarch.rpm. Under Starting Up and Shutting Down (page 13), the book says I should be able to find startup scripts in the bin subdirectory, by which I assume

Re: Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Richard Dunn
scripts in the bin subdirectory, by which I assume they mean /var/tomcat4/bin/. However, in that directory, all I see are: bootstrap.jar commons-daemon.jar tomcat-jni.jar In fact, I don't see the catalina.sh startup script anywhere: [EMAIL PROTECTED] tomcat4]# find / -name '*catalina

Re: Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Roy Smith
On Sunday, August 17, 2003, at 12:50 PM, Richard Dunn wrote: What am I doing wrong? Using an RPM. I should have learned by now that RPM's are evil. I'm not sure what made me pick that option this time. Anyway, I grabbed the tar file, installed it that way, and all is well. Thanks!

RE: Starting tomcat from init scripts (HP/UX)

2003-08-15 Thread Lott, Carey
- From: Morgan Pyne [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:54 AM To: Tomcat Users List Subject: RE: Starting tomcat from init scripts (HP/UX) Have a look at /usr/share/doc/start_up.txt or /usr/share/doc/start_up.ps on a HP-UX 11.00 machine for details of how to write a startup

Re: Starting tomcat from init scripts (HP/UX)

2003-08-14 Thread Tim Funk
Put your startup wrapper in inittab. (Our wrapper was a copy and tweak of some other script also called from initab ) -Tim Lott, Carey wrote: Hi, The above subject is based on the exact same topic I found in the archives from back in January, but no solution was ever posted. We are having the

RE: Starting tomcat from init scripts (HP/UX)

2003-08-14 Thread Morgan Pyne
in /etc/rc.config.d etc...). You can use any of the scripts in /sbin/init.d as a basis - modify one as appropriate and get it to simply call catalina.sh. We also modified our catalina.sh to check which userid was calling the script. If it was root it would sudo to the non-privileged user

Re: Where to put js scripts on tomcat server...

2003-08-14 Thread Jacob Kjome
It will be relative to the directory you see in your browser. For instance, if you have this... http://localhost:8080/mycontext/mypage.jsp The .jsp file below would be loaded from the root of /mycontext just like mypage.jsp is. The URL to it would be...

Where to put js scripts on tomcat server...

2003-08-14 Thread Don Reese
Greetings, I assume this has been asked before, but I can't seem to track it down in the archives or any other document I have found. I am having trouble inserting a script type=text/javascript language=javascript src=filename.js/script into my HTML output and the browser being able to find

Re: Where to put js scripts on tomcat server...

2003-08-14 Thread Don Reese
PROTECTED] Sent: Monday, August 11, 2003 9:35 PM Subject: Re: Where to put js scripts on tomcat server... It will be relative to the directory you see in your browser. For instance, if you have this... http://localhost:8080/mycontext/mypage.jsp The .jsp file below would be loaded from

Re: Starting tomcat from init scripts (HP/UX)

2003-08-12 Thread Eric J. Pinnell
Hi, It's been a while since I tinkered with HP/UX but it seems to me that you can set all your varibles in the default tomcat start scripts and then call the default startup.sh and shutdown.sh. -e On Thu, 7 Aug 2003, Lott, Carey wrote: Hi, The above subject is based on the exact same topic I

Starting tomcat from init scripts (HP/UX)

2003-08-09 Thread Lott, Carey
Hi, The above subject is based on the exact same topic I found in the archives from back in January, but no solution was ever posted. We are having the exact same problem that Pascal was having. We are trying to start tomcat from an init script at boot time. I have the needed variables in the

RE: Starting tomcat from init scripts (HP/UX)

2003-08-07 Thread Lott, Carey
- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:11 PM To: Tomcat Users List Subject: Re: Starting tomcat from init scripts (HP/UX) Hi, It's been a while since I tinkered with HP/UX but it seems to me that you can set all your varibles in the default tomcat

RE: Starting tomcat from init scripts (HP/UX)

2003-08-07 Thread Eric J. Pinnell
the sender and delete the material from all computers. /disclaimer -Original Message- From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:11 PM To: Tomcat Users List Subject: Re: Starting tomcat from init scripts (HP/UX) Hi, It's been a while since I

CGI scripts

2003-07-07 Thread harsh
Hi can i run cgi scripts too through apache if yes then how and where to place them ? -- harsh http://www.cse.iitb.ac.in/~harsh

Re: CGI scripts

2003-07-07 Thread Susan Hoddinott
- From: harsh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 07, 2003 4:02 PM Subject: CGI scripts Hi can i run cgi scripts too through apache if yes then how and where to place them ? -- harsh http

Re: new instalation missing startup scripts

2003-02-24 Thread Jon Roberts
Zachary Kuhn wrote: I just installed the 4.1.8 release of Tomcat via the linux binary RPM. However, when I go to /var/tomcat4/bin i have no startup scripts, only a couple jar files. The docs say the startup files should be there. Is there something I am missing? The bin/ scripts are only found

new instalation missing startup scripts

2003-02-23 Thread Zachary Kuhn
Hi everyone. I just installed the 4.1.8 release of Tomcat via the linux binary RPM. However, when I go to /var/tomcat4/bin i have no startup scripts, only a couple jar files. The docs say the startup files should be there. Is there something I am missing? Zak

Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Hi All, Tomcat starts fine if I call startup.sh manually, but not if it is called from the init scripts when the HP/UX box starts. When trying to start tomcat from the init scripts when the HP/UX box is booting, tomcat seems to start up fine but then on the last line in catalina.out it just says

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Your init scripts do not have the same environment as your login environment. That is, whe you login, things like JAVA_HOME and CATALINA_HOME are set. When you run a script through init, they aren't. Change your init script to set the values of JAVA_HOME and CATALINA_HOME, or source the login

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Thanks for the tip, John. I already set CATALINA_HOME and JAVA_HOME near the top of catalina.sh for that very reason, so maybe it's something else in the environment. Anyway your email provided us with a good hint on what we should look for. Thanks! Pascal -- To unsubscribe, e-mail:

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Tim Funk
them twice. (And that was because the box needed moved across the country) -Tim Pascal Forget wrote: Hi All, Tomcat starts fine if I call startup.sh manually, but not if it is called from the init scripts when the HP/UX box starts. When trying to start tomcat from the init scripts when the HP/UX

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Does your init script call catalina.sh directly? John -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:17 AM To: Tomcat Users List Subject: Re: Starting tomcat from init scripts (HP/UX) Thanks for the tip, John. I already

Running standard CGI perl scripts under Apache

2003-01-18 Thread Red Hat
Is it possible to run standard cgi perl scripts under tomcat 4.x? Thx, CC Chuck Carson Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work: 858.731.3540 Cell: 858.442.1791 -- This message contains confidential information and is intended only

Re: Running standard CGI perl scripts under Apache

2003-01-18 Thread Jeanfrancois Arcand
Yes, you can. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html -- Jeanfrancois Red Hat wrote: Is it possible to run standard cgi perl scripts under tomcat 4.x? Thx, CC Chuck Carson Sr. Systems Engineer Syrrx, Inc. 10410 Science Center Drive San Diego, CA 92121 Work

RE: Running standard CGI perl scripts under Apache

2003-01-18 Thread Red Hat
Thanks, CC -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 18, 2003 11:55 AM To: Tomcat Users List Subject: Re: Running standard CGI perl scripts under Apache Yes, you can. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi

Tomcat 4.1.12 without the scripts

2002-11-10 Thread Adrian Threlfall
Can some one tell me how to start Tomcat 4.1.12 without the startup.bat script. I would like to the start it from the command line eg. java options classname -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

  1   2   >