Re: Java programm to Shutdwon the tomcat server

2010-03-01 Thread dBenjamin
I using customize icon to launch my application before starting the tomcat my java program will check and then it will allow to start the tomcat otherwise it will change the port and server will get start. I am validating shutdown port using Socket socket = new Socket("127.0.0.1",JVMPort);

Re: Java programm to Shutdwon the tomcat server

2010-02-28 Thread dBenjamin
Thanks for helping... Can you please find my scenario? 1. I am using windows Environment. 2. I am using tomcat 6 binary distribution versions here we cannot get pid from the windows. 3. For my requirement before starting the tomcat server I need to verify the port availability if a

Java programm to Shutdwon the tomcat server

2010-02-25 Thread dBenjamin
Thanks for helping developers… Can you please help me I am facing problem to shutdown the tomcat server in windows platform (xp, vista, windows7). if you click CTRL+ C in the tomcat console window, server getting shutdown. Like that is any specific command to send through java program to shutdown

Re: Tomcat shutdown issue

2010-02-22 Thread dBenjamin
Can you please suggest how to scan the port and check the port is used by other application. I am using socket programming to check the port this is right? awarnier wrote: > > As I believe someone already told you, there is no need to repeat every > message twice. > >

RE: Tomcat 6 shutdown issue

2010-02-19 Thread dBenjamin
Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows WARNING: StandardServer.await: Invalid command '' received can you please help me to solve this issues..

RE: Tomcat shutdown issue

2010-02-19 Thread dBenjamin
Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows WARNING: StandardServer.await: Invalid command '' received can you please help me to solve this issues..

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Can you please let me know is any port range for shutdwon port because I am dynamicaly chaning the port address when the tomcat port used by other server or application ? before launching the application from tomcat I am checking tomcat both port http and shutdown port if any other application usi

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Thanks for your replay can you please find server.xml -- View this message in context: http://old.nabble.c

RE: WARNING: StandardServer.await: Invalid command '' received

2010-02-19 Thread dBenjamin
Dear All, I facing new issues with my tomcat it show invalid command recieved when I hit my web application, Can you please help me to solve this problem some times when I call shutdown bat it is not getting shutdown it shows only invalid command. WARNING: StandardServer.await: Invalid command '

Tomcat console WARNING: StandardServer.await: Invalid command '' received

2010-02-07 Thread dBenjamin
Dear All, Thanks for helping tomcat User . I have problem with my tomcat when I start my tomcat it getting stared properly with out any error. after some time when give request to my web application it was show the following error. Feb 7, 2010 4:16:35 PM org.apache.coyote.http11.Http11Protocol i