RE: Why and How Tomcat before Apache?

2001-08-18 Thread Martin van den Bemt
-Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 18, 2001 3:41 AM To: [EMAIL PROTECTED] Subject: Re: Why and How Tomcat before Apache? Martin van den Bemt at [EMAIL PROTECTED] wrote: down your server or delete your webapp or other

RE: Why and How Tomcat before Apache?

2001-08-18 Thread Boris Niyazov
Hi, All: Your help is highly appreciated for the following questions. 1. Does Tomcat have web-based administration functionality? We want to let the Tomcat administrator start/stop Tomcat through a Web-based interface. I have searched the mail archives, and found somebody starting working

Re: Why and How Tomcat before Apache?

2001-08-18 Thread Pier P. Fumagalli
Martin van den Bemt at [EMAIL PROTECTED] wrote: It takes 5 minutes to write an AJP client that hacks into Tomcat. I guess that only works when the ports are bot blocked by a firewall and eg the address=127.0.0.1 is not added to the server.xml ? No, it won't. Anyway as many are using the

Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. Is it true that it is necessary to make start Tomcat before Apache? Why?.. and if it is true.. how?? Thanks! Roberto.

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
On 17 Aug 2001 11:50:22 +0200, Roberto B. wrote: I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. Is it true that it is necessary to make start Tomcat before Apache? Why?.. and if it is true.. how?? If you include the automatically generated

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Nikola Milutinovic
I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. You can use it for servlets, too. :-) Is it true that it is necessary to make start Tomcat before Apache? Why?.. 1. Tomcat usually builds automatic configuration for including in Apache's

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
PROTECTED] Sent: Friday, August 17, 2001 12:28 PM Subject: Re: Why and How Tomcat before Apache? I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. You can use it for servlets, too. :-) Is it true that it is necessary to make start Tomcat before

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Barnabas Yohannes
/apache/bin/apachectl restart exit * Another way of stopping and starting apache: bin/apachectl stop bin/apachectl start - Original Message - From: Roberto B. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:50 AM Subject: Why and How Tomcat before Apache? I have

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
.. This is the way it works for me ... Mvgr, Martin -Original Message- From: Roberto B. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 11:50 AM To: [EMAIL PROTECTED] Subject: Why and How Tomcat before Apache? I have a Linux/Debian system. I want to use Apache as web-server

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Ok ! but.. do you know the way to make this in automatic ( with scripts at system start ) ?? - Original Message - From: Barnabas Yohannes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rob S.
to make this in automatic ( with scripts at system start ) ?? - Original Message - From: Barnabas Yohannes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your why question, because, I am

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
Yohannes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your why question, because, I am not one of the developers of apache or tomcat. But here is the answer to your how question: *To stop

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
or something? Mvgr, Martin -Original Message- From: Rob S. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 4:48 PM To: [EMAIL PROTECTED] Subject: Re: Why and How Tomcat before Apache? How do i make something automatically startup in *nix? This is more of a *nix question than

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
PROTECTED] Sent: Friday, August 17, 2001 4:50 AM Subject: Why and How Tomcat before Apache? I have a Linux/Debian system. I want to use Apache as web-server and Tomcat only for JSP file. Is it true that it is necessary to make start Tomcat before Apache? Why

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
: Why and How Tomcat before Apache? unless you want to run your tomcat as root ( Very unwise ) makesure that you use a 'su' command in your call to tomcat's start script... David Rui Miguel Seabra wrote: Just hack apachectl script to launch tomcat just before apache, and to shut it down

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your why question, because, I am not one of the developers of apache or tomcat. But here is the answer to your how question: *To stop and start your tomcat

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
a problem. Looks pretty solid to me though.. Mvgr, martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Cassidy Sent: Friday, August 17, 2001 4:54 PM To: [EMAIL PROTECTED] Subject: Re: Why and How Tomcat before Apache? unless

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Perfect!! R. - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Rob S. [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:54 PM Subject: RE: Why and How Tomcat before Apache? I will see if I can find time this weekend to throw together a simple

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Yes.. as root! R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:08 PM Subject: Re: Why and How Tomcat before Apache? check out if you can do a rm -rf * from within java... Don't know if you can, don't know how well

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Rui Miguel Seabra
On 17 Aug 2001 17:18:15 +0200, Roberto B. wrote: Perfect!! - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Rob S. [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:54 PM Subject: RE: Why and How Tomcat before Apache? I will see if I can find

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
Do I have to insert this script in my rc2.d dir. and link it in init.d ? R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:06 PM Subject: Re: Why and How Tomcat before Apache? Ah what the hell try this ... ( works

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Jan Labanowski
Before you dwelve into connecting Tomcat and Apache, you need to know what is the TCP socket, and what is TCP server and TCP client. In the case of connection mod_jk connector between Apache and Tomcat, Tomcat is the TCP server and Apache is the TCP client. And for this to work nicely, you need

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your why question, because, I am not one of the developers of apache or tomcat. But here is the answer to your how question

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
PM Subject: Re: Why and How Tomcat before Apache? check out if you can do a rm -rf * from within java... Don't know if you can, don't know how well the JVM will protect you but I run mine as a different user. Do you run your apache as root ? David Martin van den Bemt

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
yep ;-)) -Original Message- From: Roberto B. [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: Why and How Tomcat before Apache? Do I have to insert this script in my rc2.d dir. and link it in init.d ? R. - Original

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
! but.. do you know the way to make this in automatic ( with scripts at system start ) ?? - Original Message - From: Barnabas Yohannes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Roberto B.
I use the webapp connector between Apache and Tomcat 4. Where are the config file that generate Tomcat? - Original Message - From: Jan Labanowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:40 PM Subject: Re: Why and How Tomcat before Apache? Before you

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Cassidy
PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 3:39 PM Subject: Re: Why and How Tomcat before Apache? I cannot answer your why question, because, I am not one of the developers of apache or tomcat. But here is the answer to your how

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Pier P. Fumagalli
Roberto B. at [EMAIL PROTECTED] wrote: Is it true that it is necessary to make start Tomcat before Apache? Why?.. To appropriately set up connections and configurations... and if it is true.. how?? $CATALINA_HOME/bin/catalina start $APACHE_HOME/bin/apachectl start Easy... Pier

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Craig R. McClanahan
On Fri, 17 Aug 2001, Roberto B. wrote: I use the webapp connector between Apache and Tomcat 4. Where are the config file that generate Tomcat? You don't need any generated config files for mod_webapp -- that's part of the real beauty of it :-). When you declare a particular web

Re: Why and How Tomcat before Apache?

2001-08-17 Thread David Smith
internet. My two cents on the subject. --David On Friday 17 August 2001 11:38 am, you wrote: Yes.. as root! R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:08 PM Subject: Re: Why and How Tomcat before Apache

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Craig R. McClanahan
! R. - Original Message - From: David Cassidy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 5:08 PM Subject: Re: Why and How Tomcat before Apache? check out if you can do a rm -rf * from within java... Don't know if you can, don't know how

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Doug Sparling
--- David Smith [EMAIL PROTECTED] wrote: That's an unsettling feeling. Never trust incoming form data, but if Tomcat is running as a less priveledged user, the potential damage from malformed form data is reduced. I personally would never run a web app as root just for the black

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
down your server or delete your webapp or other data. You don't solve that problem with running as a seperate user.. Tomcats ports are not visible from the outside. Only access is through apache - ie mod_jk ... do a telnet to your port 8007 or 8009 and you'll see what I mean.. Mvgr,

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Martin van den Bemt
and How Tomcat before Apache? down your server or delete your webapp or other data. You don't solve that problem with running as a seperate user.. Tomcats ports are not visible from the outside. Only access is through apache - ie mod_jk ... do a telnet to your port 8007 or 8009

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Li, Jerry
Hi, All: Your help is highly appreciated for the following questions. 1. Does Tomcat have web-based administration functionality? We want to let the Tomcat administrator start/stop Tomcat through a Web-based interface. I have searched the mail archives, and found somebody starting working on

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Pier P. Fumagalli
Martin van den Bemt at [EMAIL PROTECTED] wrote: down your server or delete your webapp or other data. You don't solve that problem with running as a seperate user.. Tomcats ports are not visible from the outside. Only access is through apache - ie mod_jk ... do a telnet to your port

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Pier P. Fumagalli
Li, Jerry at [EMAIL PROTECTED] wrote: Hi, All: Your help is highly appreciated for the following questions. 1. Does Tomcat have web-based administration functionality? We want to let the Tomcat administrator start/stop Tomcat through a Web-based interface. I have searched the mail

RE: Why and How Tomcat before Apache?

2001-08-17 Thread Jan Labanowski
On Fri, 17 Aug 2001, Li, Jerry wrote: Hi, All: Your help is highly appreciated for the following questions. 1. Does Tomcat have web-based administration functionality? We want to let the Tomcat administrator start/stop Tomcat through a Web-based interface. I have searched the mail

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
: RE: Why and How Tomcat before Apache? On Fri, 17 Aug 2001, Li, Jerry wrote: Hi, All: Your help is highly appreciated for the following questions. 1. Does Tomcat have web-based administration functionality? We want to let the Tomcat administrator start/stop Tomcat through a Web-based

Re: Why and How Tomcat before Apache?

2001-08-17 Thread Micael Padraig Og mac Grene
Sorry, I did not mean file but, rather, class. -Original Message- From: Jan Labanowski [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: Jan Labanowski [EMAIL PROTECTED] Date: Friday, August 17, 2001 7:16 PM Subject: RE: Why and How Tomcat before Apache? On Fri, 17 Aug