Re: starting Tomcat service

2005-09-23 Thread Lalit Batra
My two cents: Write a Script in Windows, make it service (Plenty of code on Web), which starts on when Windows start. On 9/23/05, Tuan Quan <[EMAIL PROTECTED]> wrote: > Thanks Kerem, > But I want the script to run at boot time, in Windows. > Rather than having to login and run the script manuall

RE: starting Tomcat service

2005-09-23 Thread Peter Crowther
> From: Tuan Quan [mailto:[EMAIL PROTECTED] > But I want the script to run at boot time, in Windows. You might wish to look at srvany (http://support.microsoft.com/default.aspx/kb/q137890/). This allows you to start any process as a Windows service. - Peter

RE: starting Tomcat service

2005-09-23 Thread Tuan Quan
Thanks Kerem, But I want the script to run at boot time, in Windows. Rather than having to login and run the script manually. KEREM ERKAN <[EMAIL PROTECTED]> wrote: You may write a shell script which includes a java program to test oracle connectivity and if it can connect, it can be used to star

RE: starting Tomcat service

2005-09-22 Thread KEREM ERKAN
You may write a shell script which includes a java program to test oracle connectivity and if it can connect, it can be used to start Tomcat. If it fails, it may say "Oracle down, I am not starting Tomcat". Cheers, Kerem > -Original Message- > From: Tuan Quan [mailto:[EMAIL PROTECTED] >

Re: Starting Tomcat with JVM for SSL

2005-08-22 Thread Wendy Smoak
From: "Mystery" <[EMAIL PROTECTED]> We're using Lawson Software and their web products. They are telling us that we need to add this to our Tomcat 4.1 startup script: -D java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol Any ideas on where this goes in the startup script? I thi

Re: starting tomcat from eclipse

2005-03-14 Thread t.n.a.
I am using sysdeo as well (sorry I didn't point it out more clearly). Something in my deployment descriptor seems to make it break. Amrish Bharatiya wrote: I am using sysdeo tomcat integration plugin for eclipse. it flawlessly integrates into eclipse. you can try this out. it is avaliable at http

Re: starting tomcat from eclipse

2005-03-12 Thread Amrish Bharatiya
I am using sysdeo tomcat integration plugin for eclipse. it flawlessly integrates into eclipse. you can try this out. it is avaliable at http://www.sysdeo.com/eclipse/tomcatPlugin.html Regards, Amrish On Sat, 12 Mar 2005 15:17:59 +0100, "t.n.a." <[EMAIL PROTECTED]> wrote: > I thought I had sol

Re: Starting Tomcat 5.0.25.

2004-08-18 Thread Dennis Dai
iginal Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:41 AM To: Tomcat Users List Subject: Re: Starting Tomcat 5.0.25. On 8/18/2004 11:03 PM, [EMAIL PROTECTED] wrote: Hi, I am trying to start Tomcat 5.0.25 by running startup.bat through the command prompt.

RE: Starting Tomcat 5.0.25.

2004-08-18 Thread anunay.ashish
anks. -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 12:10 PM To: Tomcat Users List Subject: RE: Starting Tomcat 5.0.25. Did u checked Catilina.log if exist or Stderr.log file to get the cause -Original Message- From: [EMAIL PROTE

RE: Starting Tomcat 5.0.25.

2004-08-18 Thread Pradeep Chauhan
Did u checked Catilina.log if exist or Stderr.log file to get the cause -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19.08.2004 11:56 To: [EMAIL PROTECTED] Subject: RE: Starting Tomcat 5.0.25. But I am not using mod_proxy on win2k server to talk to

RE: Starting Tomcat 5.0.25.

2004-08-18 Thread anunay.ashish
But I am not using mod_proxy on win2k server to talk to apache. -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:41 AM To: Tomcat Users List Subject: Re: Starting Tomcat 5.0.25. On 8/18/2004 11:03 PM, [EMAIL PROTECTED] wrote: > Hi, >

Re: Starting Tomcat 5.0.25.

2004-08-18 Thread Dennis Dai
On 8/18/2004 11:03 PM, [EMAIL PROTECTED] wrote: Hi, I am trying to start Tomcat 5.0.25 by running startup.bat through the command prompt. It opens for a flash of a second and then ends. Why is it so? Regards, Ashish A. Oh come on! QM just answered exactly the same question 2 hours ago: On 8/18/2004

Re: Starting Tomcat from Apache...

2004-05-06 Thread Paul Gregoire
ECTED] Sent: 06 May 2004 18:51 To: Tomcat Users List Subject: Re: Starting Tomcat from Apache... Hello, the JNI working very well, but you must use a mod_jk2 2.0.4 and Tomcat Release greater than 5.0.20 Regards Peter JimmiSeven Productions Inc. schrieb: That's what I think as we

RE: Starting Tomcat from Apache...

2004-05-06 Thread Patrick Willart
I am eager to upgrade to the new version as I really like to use it. Is a new release build expected anytime soon? grts, Pat -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 11:31 AM To: Tomcat Users List Subject: Re: Starting Tomcat from

Re: Starting Tomcat from Apache...

2004-05-06 Thread Peter Rossbach
gt; Sent: Thursday, May 06, 2004 11:48 AM Subject: RE: Starting Tomcat from Apache... In theory you should be able to do this with JK2 in inprocess mode. But I'm fairly confident that this doesnt work at all so you'd have to do it with your rc startup scripts. -Original Message-

Re: Starting Tomcat from Apache...

2004-05-06 Thread Daniel Gibby
gt; To: "Tomcat Users List" <[EMAIL PROTECTED]>; "JimmiSeven Productions Inc." <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 11:48 AM Subject: RE: Starting Tomcat from Apache... In theory you should be able to do this with JK2 in inprocess mode. But I'm fair

RE: Starting Tomcat from Apache...

2004-05-06 Thread Dale, Matt
Subject: Re: Starting Tomcat from Apache... Hello, the JNI working very well, but you must use a mod_jk2 2.0.4 and Tomcat Release greater than 5.0.20 Regards Peter JimmiSeven Productions Inc. schrieb: >That's what I think as well... that inProcess option is just >a waste of t

Re: Starting Tomcat from Apache...

2004-05-06 Thread Peter Rossbach
nyone actually gotten that to work? - Original Message - From: "Dale, Matt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "JimmiSeven Productions Inc." <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 11:48 AM Subject: RE: Star

RE: Starting Tomcat from Apache...

2004-05-06 Thread Dale, Matt
Seven Productions Inc. [mailto:[EMAIL PROTECTED] Sent: 06 May 2004 17:02 To: Tomcat Users List Subject: Re: Starting Tomcat from Apache... That's what I think as well... that inProcess option is just a waste of time! I hope someone can prove me wrong though! Has anyone actually gotten th

Re: Starting Tomcat from Apache...

2004-05-06 Thread JimmiSeven Productions Inc.
lt;[EMAIL PROTECTED]>; "JimmiSeven Productions Inc." <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 11:48 AM Subject: RE: Starting Tomcat from Apache... In theory you should be able to do this with JK2 in inprocess mode. But I'm fairly confident that this doesnt work

RE: Starting Tomcat from Apache...

2004-05-06 Thread Dale, Matt
In theory you should be able to do this with JK2 in inprocess mode. But I'm fairly confident that this doesnt work at all so you'd have to do it with your rc startup scripts. -Original Message- From: JimmiSeven Productions Inc. [mailto:[EMAIL PROTECTED] Sent: 06 May 2004 16:33 To: [EMAI

Re: starting tomcat with custom propertys

2004-02-27 Thread Oswald Campesato
Hello, Ukiah: To see what's failing in the script you can try this: set -x catalina.sh You can then type "set +x" to switch off the display of executed commands or just open another command shell Oswald Ukiah Smith <[EMAIL PROTECTED]> wrote: I just used JAVA_OPTS = -Djava.awt.headless

Re: starting tomcat with custom propertys

2004-02-27 Thread Ukiah Smith
I just used JAVA_OPTS = -Djava.awt.headless=true as the first non commented line in catalina.sh. I also tried it in my init.d/tomcat41 directory. When it was in my catalina.sh file I got and error, JAVA_OPTS: command not found. What am I doing wrong? Where do I set JAVA_OPTS or CATALINA_OPTS? //

Re: starting tomcat with custom propertys

2004-02-27 Thread Asim Alp
I think you have to set the JAVA_OPTS environmental variable. Asim On Feb 27, 2004, at 5:48 PM, Ukiah Smith wrote: I am using an application that requires me to run it with a custom property (-Djava.awt.headless=true). I poked around in my tomcat 4.1.29 installation and found that in the catalin

Re: Starting tomcat with a lowlevel user?

2004-02-11 Thread Sunitha Kumar
Looks like a permissions problem. The files should all be owned by user tomcat.. [EMAIL PROTECTED] wrote: I am trying to start tomcat with the "tomcat" user on my debian box. I am using tomcat 5 untarred just now. I can start tomcat with root manually just fine but I would like tomcat to run a

RE: Starting tomcat when the DB is down

2004-02-10 Thread Bill Faulk
av [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 2:19 PM To: Tomcat Users List Subject: RE: Starting tomcat when the DB is down Howdy, I don't think enough of us tested it well enough to vote. I'd be very very surprised if 4.1.30 is not a stable quality build. Yoa

RE: Starting tomcat when the DB is down

2004-02-10 Thread Shapira, Yoav
0, 2004 4:13 PM >To: Tomcat Users List >Subject: Re: Starting tomcat when the DB is down > >4.1.30 went for a stable vote. I guess it didn't get enough +1's for a >stable >vote. I should be stable enough. > >Worst case, just rip out JDBCRealm.class from server/lib/c

Re: Starting tomcat when the DB is down

2004-02-10 Thread Tim Funk
oon so I'm a bit leery of anything with "alpha" in the name. I can try it and put 4.1.29 back if there's a problem. Thanks for the info! --- Bill Faulk -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 1:08 PM To: Tomcat Users Lis

RE: Starting tomcat when the DB is down

2004-02-10 Thread Bill Faulk
x27;m a bit leery of anything with "alpha" in the name. I can try it and put 4.1.29 back if there's a problem. Thanks for the info! --- Bill Faulk -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 1:08 PM To: Tomcat Users List Subje

Re: Starting tomcat when the DB is down

2004-02-10 Thread Tim Funk
Which version? I thought 4.1.30 was patched to allow tomcat to start up even if the database realm connect failed. -Tim Bill Faulk wrote: Hi Folks, I am using SQL Server 2000 via the JDBC realm with forms authentication. If the database is down when tomcat starts there is an unhandled Lifecycle

Re: Starting tomcat using ant

2004-01-28 Thread Keshav Sarin
It works, thanks for your help. >>> [EMAIL PROTECTED] 01/27/04 04:57PM >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keshav Sarin wrote: | Does anyone know how to start tomcat 5 using ant target? I do this: ~ ~ ~ ~ ~ ~ ~

Re: Starting tomcat using ant

2004-01-27 Thread Matt Raible
This works on Tomcat 4.1.x and Tomcat 5: description="starts tomcat in the current console window"> I don't know if the ${

Re: Starting tomcat using ant

2004-01-27 Thread Seth Ladd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keshav Sarin wrote: | Does anyone know how to start tomcat 5 using ant target? I do this: ~ ~ ~ ~ ~ ~ ~ ~ YMMV, but it seems to work really well. Seth -BEGIN PGP SIGN

Re: Starting Tomcat as nobody...

2003-11-24 Thread QM
: % sudo -u nobody /path/to/startup.sh I use a tool called "erni" to kick off daemons and such. Then again, I'm a little biased. ;) In addition to the "change to user X, execute command Y" provided by su and sudo, erni lets you: - chroot the command - assign group memberships on-the-fly - set t

RE: Starting Tomcat as nobody...

2003-11-24 Thread Shapira, Yoav
>Subject: Re: Starting Tomcat as nobody... > >Tim, > >> % sudo -u nobody /path/to/startup.sh >> >> This seems to work. Pros, Cons? > >I don't have a ton of experience with sudo, but it seems like a good >idea -- you can lock down the operations that a user

Re: Starting Tomcat as nobody...

2003-11-23 Thread Christopher Schultz
Tim, % sudo -u nobody /path/to/startup.sh This seems to work. Pros, Cons? I don't have a ton of experience with sudo, but it seems like a good idea -- you can lock down the operations that a user is capable of doing, etc. I have production machines that startup tomcat on boot, and I have some

Re: Starting Tomcat as nobody...

2003-11-22 Thread Bill Barker
That's pretty much what I do. The cons are that you can't run Tomcat Standalone on port 80 (not an issue for me, since I run behind Apache with mod_jk :). If it's working-for-you, I say go for it. "Timothy Stone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Nov 21, 2003, at 9

Re: Starting Tomcat as nobody...

2003-11-22 Thread Timothy Stone
On Nov 21, 2003, at 9:42 PM, Timothy Stone wrote: Now, how do I start Tomcat as said user? It seems defeatist, at best, to have to login as root to start Tomcat. If I set permissions say 750 (rwxr-x---, this permission is shown in the aforemention Mac OS X directory listing) when I login as a ad

RE: starting tomcat as non-root

2003-09-04 Thread Shapira, Yoav
Howdy, You can already start tomcat as any user on ports > 1024. What you probably meant in your question was port 80, and the answer is yes, we're getting close, because tomcat 5 will use commons-daemon for this. (http://jakarta.apache.org/commons/sandbox/daemon/index.html) Yoav Shapira Millenn

Re: starting tomcat as non-root

2003-09-03 Thread achana
> To get such a beast to appear on port 80 I'm using iptables on linux to > forward from port 80 to port 8080 as described at > http://www.klawitter.de/tomcat80.html May the All Blacks thump the Rose ;-) - To unsubscribe, e-mail:

Re: starting tomcat as non-root

2003-09-03 Thread achana
Tom Parker wrote: > > To get such a beast to appear on port 80 I'm using iptables on linux to > forward from port 80 to port 8080 as described at > http://www.klawitter.de/tomcat80.html > Thanks :-) - To unsubscribe, e-mail: [EMAI

Re: starting tomcat as non-root

2003-09-03 Thread Tom Parker
On Thu, 2003-09-04 at 13:48, [EMAIL PROTECTED] wrote: > Hi all. > I'm o TC4.0.4 > I know this subject has been discussed many times before. > Are we getting any close to starting tomcat with user "nobody" or > "tomcat" or anything like that on 8080? > Sorry for the repetitiveness su tomcat -c tom

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

2003-08-21 Thread Ralph Einfeldt
--- > From: Lott, Carey [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 10:47 PM > To: 'Tomcat Users List' > Subject: RE: Starting tomcat from init scripts (HP/UX) > > > I tried calling the startup.sh instead of catalina.sh, but I > had the same outcome. I

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

2003-08-21 Thread John Turner
again for the help. Carey -Original 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 PROTECT

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

2003-08-20 Thread Tim Funk
I was, and if I figure out a solution short of a cron entry I'll post it. Thanks again for the help. Carey -Original 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) O

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

2003-08-20 Thread Lott, Carey
27;Tomcat Users List' 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

Re: Starting Tomcat w/ commons-daemon

2003-08-19 Thread Bill Barker
The Tomcat.sh file is meant to be a template for the file that you install in '/etc/init.d'. In particular, it sets the JAVA_HOME variable to where a 1.3.1 JVM would live on a Solaris box (which is most likely the cause of your errors). Most of the other variable will likely need to be modified a

RE: Starting Tomcat w/ commons-daemon

2003-08-19 Thread David Kramer
Not sure if this will help much, but servlet.jar is included in the jakarta-servletapi-4 bundle. I know the Tomcat source compile will require that .jar package. Hopefully that sheds some light. DK > -Original Message- > From: Richard Park [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Augu

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 s

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

2003-08-14 Thread Morgan Pyne
Morgan > -Original Message- > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 02:11 > To: Tomcat Users List > Subject: RE: Starting tomcat from init scripts (HP/UX) > > > Tim is right. In HP/UX there is a default start script (I

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 e

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

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

2003-08-07 Thread Eric J. Pinnell
; this in error, please contact the sender and delete the material from all > computers." > > > > -Original Message- > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 2:11 PM > To: Tomcat Users List > Subject: Re: Starting tom

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

2003-08-07 Thread Lott, Carey
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 start scripts and then call the default startup.sh and shutdown.sh. -e On Thu, 7 Aug 200

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread John Turner
True, but it doesn't help much if everyone has a Tomcat configured to listen on port 80. If I have 10 students, and they each need their own Tomcat instance, using ports less than 1024 doesn't make much sense, as there are other network services in that port space. So using > 1024 doesn't need

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Mirit Naim
there is a utility called sudo that enables you to give regular users permissions to run commands as privileged users. If you use it, your users will be able to stop/start tomcat, while it is installed in another account (in your case root), without being able to su to root. >>> [EMAIL PROTECTED]

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 19:30, Tim Funk wrote: > If each student runs their own tomcat instance, then just have tomcat > listen on a port above 1024. Plus they would each need an instance of Tomcat in their home directory, I'd say that's where the permission denied is coming from it's probably current

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Tim Funk
If each student runs their own tomcat instance, then just have tomcat listen on a port above 1024. -Tim [EMAIL PROTECTED] wrote: Hello, My students do not login as root, but I want them to be able to start Tomcat. Is this possible? Right now they get "Permission Denied" message. Thanks,

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2003 1:56 p.m. To: Tomcat Users List Subject: RE: Starting Tomcat results in multiple Java processes On Wed, 2003-03-12 at 13:43, Chris Dodunski wrote: > Hi, > > Sorry, only just noticed

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Simon Kitching
On Wed, 2003-03-12 at 13:43, Chris Dodunski wrote: > Hi, > > Sorry, only just noticed that myself. Of the two that aren't, I reduced > minProcessors to 1, and maxProcessors to 2 (server.xml). But alas, upon > restarting Tomcat, I still have 26 Java processes running! Please, what > must I do t

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
Jake Robb [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2003 12:02 p.m. To: Tomcat Users List Subject: Re: Starting Tomcat results in multiple Java processes All but two of those are commented out, you know. -Jake Chris Dodunski wrote: > Thank you very much for the reply! > >

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Jake Robb
seURIValidationHack="false" > > protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> > > > > > > > > > > > > > > > -Original Message- > From: Jens Skripczynski [mailto:

RE: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Chris Dodunski
: Starting Tomcat results in multiple Java processes Chris Dodunski: > Just a brief question, for a Tomcat newbie. I have successfully installed > Tomcat on our companies Linux web server. Problem is the huge number of java > processes running as a consequent (see below). Our network admi

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread p niemandt
Yip: I wouldn't worry about that: It has something to do with how linux maps the Java VM to linux processes. If you have pstree installed on your linux box, run that: You should see one Java VM with (in your case, 15) threads under that. As a side note: I successfully run Tomcat with about 29 pro

Re: Starting Tomcat on Linux as a Service??

2003-03-11 Thread John B. Moore
Jon, Ok, making progress.. here is some info that might help others "at my level"... .. but I still have a loose end... What I did: Tomcat was not starting so I attempted to run the same start command from the commandline.. .. and got a pile of "permission denied" .. I then added

Re: Starting Tomcat results in multiple Java processes

2003-03-11 Thread Jens Skripczynski
Chris Dodunski: > Just a brief question, for a Tomcat newbie. I have successfully installed > Tomcat on our companies Linux web server. Problem is the huge number of java > processes running as a consequent (see below). Our network administrator > doesn't like it. Tomcat won't be doing too much wor

RE: Starting Tomcat on Linux as a Service??

2003-03-11 Thread Jeremy Whitlock
John, Here is a script that will let you use Tomcat as a service. Here it is: #!/bin/bash # # Startup script for Jakarta Tomcat # # chkconfig: 345 84 16 # description: Jakarta Tomcat Java Servlet/JSP Container TOMCAT_HOME=/usr/local/tomcat/tomcat-4.1.18 TOMCAT_START=/usr/local/tomcat/to

Re: Starting Tomcat

2003-03-11 Thread Rob
I haven't used tomcat for a while but if I recall this is due to a bad CLASSPATH wherein (it used to be tomcat.jar) had to be. Also, depending on your ps options and tomcat path grepping for tomcat may not be useful checking for "java" may be more useful. - Original Message - From: "Allan

Re: Starting Tomcat on Linux as a Service??

2003-03-10 Thread John B. Moore
Perfect, Just what I was hoping I would find John... Jon Roberts wrote: John B. Moore wrote: Any one have a suggestion on how to get both tomcat and apache to start (tomcat first) when the server reboots..??? Instead of rc.local, it would be more customary to use an initialization

Re: Starting Tomcat on Linux as a Service??

2003-03-10 Thread Jon Roberts
John B. Moore wrote: Any one have a suggestion on how to get both tomcat and apache to start (tomcat first) when the server reboots..??? Instead of rc.local, it would be more customary to use an initialization script in /etc/init.d. Look in this path to find examples for other services. As fa

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) > > > Than

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

2003-01-27 Thread Tim Funk
Yeah we had wacky issues with that too. We had some incomptentant admins who tried starting up tomcat before the network was brought up. We also ran into wacky shell behavior (can't remember the specifics) that java did not like to start on boot from any run level. I think in the end we added

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 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 f

RE: starting tomcat from java code

2002-12-04 Thread Shapira, Yoav
m: vim m [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 04, 2002 3:19 PM >To: Tomcat Users List >Subject: Re: starting tomcat from java code > > >Hi: >Maybe you could try something like this: >Process proc = Runtime.getRuntime().exec("c:/tomcat-4.1/bin/start

Re: starting tomcat from java code

2002-12-04 Thread vim m
Hi: Maybe you could try something like this: Process proc = Runtime.getRuntime().exec("c:/tomcat-4.1/bin/startup.bat"); Hope this helps Vim Abhijat Thakur <[EMAIL PROTECTED]> wrote:Hi, Is there a way that tomcat can be started up and shutdown from java code rather than running startup.sh an

Re: Starting tomcat as user apache instead of root

2002-11-17 Thread Nikola Milutinovic
Randy Paries wrote: Thanks The problem is that they have to both read and write files The weird thing is if I do a su - apache -c "$TOMCAT_HOME/bin/startup.sh" It does not start But if I do a su - tomcat -c "$TOMCAT_HOME/bin/startup.sh" Is does. The one diff is that in the etc/passwd file a

Re: RE: Starting tomcat as user apache instead of root

2002-11-16 Thread jmong
e when you exit the shell Good luck. - Original Message - From: "Randy Paries" <[EMAIL PROTECTED]> Date: Saturday, November 16, 2002 10:38 am Subject: RE: Starting tomcat as user apache instead of root > Thanks > The problem is that they have to both read and write

RE: Starting tomcat as user apache instead of root

2002-11-16 Thread Randy Paries
IL PROTECTED]] Sent: Saturday, November 16, 2002 10:33 AM To: Tomcat Users List Cc: 'Tomcat Users List' Subject: Re: Starting tomcat as user apache instead of root That's one way and I've used that method successfully. The other is if the tomcat user simply needs read access to t

Re: Starting tomcat as user apache instead of root

2002-11-16 Thread jmong
That's one way and I've used that method successfully. The other is if the tomcat user simply needs read access to the files (not write access) just create a group that has both users and change the group perms on the directory for example (assumes that web user is apache and tomcat user is tom

RE: Starting TOMCAT without opening new DOS promt

2002-09-26 Thread Katz, Adi
try this: In startup.bat replace the last line: call "%EXECUTABLE%" start %CMD_LINE_ARGS% with: call "%EXECUTABLE%" run %CMD_LINE_ARGS% Adi -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:32 To: [EMAIL PROTECTED] Subject: Starting TOMCAT wi

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread BERNARDO ANTONIO BUFFA
It's a very simple task. Install linux. Be happy. Bernardo > Hi all, > > We would like to start the TOMCAT server without opening a new DOS > prompt. How should we do this? > > Thanks in anticipation. > > With Regards > K.RajeshKannan > > > > __

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread John Trollinger
/bin/catalina run > -Original Message- > From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 10:31 AM > To: [EMAIL PROTECTED] > Subject: Starting TOMCAT without opening new DOS promt > > > Hi all, > > We would like to start the TOMCAT server without op

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Mark O'Driscoll
Use Linux! (Sorry, couldn't resist that one) You can run it as a service? (net start ...) - Original Message - From: "RAJESH KANNAN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 3:31 PM Subject: Starting TOMCAT without opening new DOS promt > Hi all,

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Turner, John
Run it as a service. Check the docs and archives, this has been covered many times. John > -Original Message- > From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 10:32 AM > To: [EMAIL PROTECTED] > Subject: Starting TOMCAT without opening new DOS promt

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Jim Urban
Instead of running startup.bat execute: "catalina.bat run" Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 CONFIDENTIALITY NOTICE This message and any i

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Vivek Chopra
I take it you are trying to start it from the command line, and you are on Tomcat 4.x. Try the "/bin/catalina run" command- this will start it in the current DOS command shell. In case you want tomcat server to run everytime you start up your PC, you may want to install it as a (NT) service. In w

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Jacob Kjome
Hello RAJESH, Install Catalina Service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.sta

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Donie Kelly
"Catalina run" You could also run it as a service if running under NT/2000 so that you don't see the dos box at all. See docs. Donie -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:31 To: [EMAIL PROTECTED] Subject: Starting TOMCAT without

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Carlos
Do you mean at boot-up? -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: Starting TOMCAT without opening new DOS promt Hi all, We would like to start the TOMCAT server without opening a new DOS

RE: Starting tomcat in a graphical environment????

2002-07-08 Thread Carlos
PROTECTED]] Sent: Monday, July 08, 2002 3:43 PM To: Tomcat Users List Subject: Re: Starting tomcat in a graphical environment Hi Carlos, this is Steve Burrus, and I would like to ask u the question: What version of RedHat Linux are you using

Re: Starting tomcat in a graphical environment????

2002-07-08 Thread steve Burrus
Hi Carlos, this is Steve Burrus, and I would like to ask u the question: What version of RedHat Linux are you using??! ** Carlos wrote: > Hi Forum, > > Is it possible to start tomcat in a graphic environment in Linux RedHat?

RE: starting tomcat from the service

2002-06-05 Thread Kevin Yank
I'd recommend ditching jk_nt_service. Tomcat can install itself as a service just fine. You'll find the instructions to do so in my article, "JSP Quick-Start Guide for Windows" on www.webmasterbase.com. ___ Kevin Yank Technical Content Director SitePoint.com - M

RE: starting tomcat from the service

2002-06-05 Thread Chris Campbell
Hello Chiharu > I have environmental variables on tomcat_home, > and java_home. Also, I have specified those > in the wrapper.properties. > wrapper.tomcat_home=c:\tomcat If you use additional jar files in WEB-INF\lib, try putting those into wrapper.properties as well (like wrapper.classpath=c:\t

RE: Starting TOmcat at Bootup

2002-05-15 Thread Chris Herrmann
27;Tomcat Users List' |Subject: RE: Starting TOmcat at Bootup | | |Hi Jonny, | |Try adding it via WebAdmin. Go to Bootup and Shutdown --> Create a new |bootup or shutdown action. In the Create Action screen create the |action called tomcat wiith the script that I sent. Webadmin adds it t

RE: Starting TOmcat at Bootup

2002-05-15 Thread Carlos
14, 2002 3:00 AM To: Tomcat Users List Subject: RE: Starting TOmcat at Bootup Hi Carlos, In my Redhat v7.2 machine, I added the "tomcat" bootup file (followed your script) inside "init.d" folder, but it's still not working. Did I miss out something? Johnny. ---

RE: Starting TOmcat at Bootup

2002-05-14 Thread Tomasz . Ciolek
Johnny [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 14 May 2002 17:00 > To: Tomcat Users List > Subject: RE: Starting TOmcat at Bootup > > > > Hi Carlos, > > In my Redhat v7.2 machine, I added the "tomcat" bootup file > (followed your > script) i

RE: Starting TOmcat at Bootup

2002-05-13 Thread Johnny
, May 13, 2002 9:33 PM To: 'Tomcat Users List' Subject: RE: Starting TOmcat at Bootup Hi Abraham, I am using a script that is very similar to one that I found in earlier postings of this forum. I created it with the webadmin, named it tomcat, and it installed n init.d. It seem to start t

RE: Starting TOmcat at Bootup

2002-05-13 Thread Carlos
ssage- From: Abraham Fathman [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 1:02 AM To: 'Tomcat Users List' Subject: RE: Starting TOmcat at Bootup Carlos, http://marc.theaimsgroup.com/?l=tomcat-user&m=102038508912247&w=2 Let me know if that doesn't make sense.

RE: Starting TOmcat at Bootup

2002-05-10 Thread Abraham Fathman
Carlos, http://marc.theaimsgroup.com/?l=tomcat-user&m=102038508912247&w=2 Let me know if that doesn't make sense... Abe -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 6:27 PM To: Tomcat-User (E-mail) Subject: Starting TOmcat at Bootup Hi Forum,

  1   2   >