Re: Tomcat shutdown issue

2010-02-22 Thread André Warnier

dBenjamin wrote:

Can you please suggest how to scan the port and check the port is used by
other application.


On what kind of system are you ?

Anyway, shut down Tomcat, then use the "netstat" command.
Depending on the system on which you are, there are options to this 
command. Choose one that will show you either the process-id, or the 
name of the program which owns the sockets.
Look for ports (on the "local" side) which have "LISTEN" around the end 
of the line.
That should tell you the programs, apart from Tomcat, which are 
listening on various ports.

Then turn on Tomcat, and enter the same command again.
The differences between the first and second result should tell you 
which port Tomcat is listening on.


I am using socket programming to check the port this is right? 


I do not understand this question. Explain what you are trying to do.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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.
> 
> dBenjamin wrote:
>> 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..
>> 
> Also, you were already given the answer before :
> Probably (but we cannot tell that for sure just by your server.xml 
> file), it looks like /something/ is sending a normal HTTP request (*) 
> /to the shutdown port of the server/, instead of the normal HTTP port.
> 
> Find which client is sending a HTTP request to his port :
>   
> 
> instead of this port :
>   redirectPort="8757"/>
> 
> and you will find the reason.
> 
> (*) as a matter of fact, as per the logfile, it looks like this client 
> is making a connection to port 3006 and then just sending an empty
> request.
> If you have software doing some kind of port scanning, that may be the 
> culprit.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/RE%3A-WARNING%3A-StandardServer.await%3A-Invalid-command-%27%27-received-tp27652985p27691253.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat shutdown issue

2010-02-20 Thread André Warnier
As I believe someone already told you, there is no need to repeat every 
message twice.


dBenjamin wrote:

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


Also, you were already given the answer before :
Probably (but we cannot tell that for sure just by your server.xml 
file), it looks like /something/ is sending a normal HTTP request (*) 
/to the shutdown port of the server/, instead of the normal HTTP port.


Find which client is sending a HTTP request to his port :
 

instead of this port :


and you will find the reason.

(*) as a matter of fact, as per the logfile, it looks like this client 
is making a connection to port 3006 and then just sending an empty request.
If you have software doing some kind of port scanning, that may be the 
culprit.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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

 
 
 

   
   
   
   
   
   
   

   
   
 
 
   

   
   
  
  
 





 

 
 

  

   
   

   

   


 

  
 
   
 


-- 
View this message in context: 
http://old.nabble.com/RE%3A-WARNING%3A-StandardServer.await%3A-Invalid-command-%27%27-received-tp27652985p27659380.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org