On 9 Jul 2008 at 17:03, Suma Rakesh wrote:

> > Hi,
> > 
> > I am starting Tomcat through one of my C++ programs on
> > windows 2003 server. I am using Bootsrap
> > org.apache.catalina.startup.Bootstrap.main() method and
> > pass 'Start' and 'Stop' as arguments. 

Hmm OK, I would have used the startup.bat and shutdown.bat.

> > 
> > The documentation  read mentioned that this will start
> > tomcat in daemon mode. However, tomcat still listens on
> > port 8005 (another document mentioned that if started in
> > deamon mode Tomcat will not listen on port 8005) 

What doc is that?

> and I am
> > able to send SHUTDOWN command on this porton local machine.
> > I am not able to do a telnet on port 8005 and send SHUTDOWN
> > command from remote machine though.
> > 

By default the port is only open on loopback interface.


> > I would like to block accepting commands on 8005 from local
> > machine as well. Has anyone tried this out? Do you have any
> > pointers ?

I've never tried it but I guess a firewall could.

The simple thing you can do is edit conf/server.xml and change the actual 
shutdown 
command.



-Steve O.





> > 
> > Regards,
> > Suma.
> 
> 
>       
> 
> --------------------------------------------------------------------
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to