RE: How to kill the port used by tomcat

2009-06-03 Thread Peter Crowther
 From: kalpeer [mailto:inka...@gmail.com]
 How I can free the port without going to the original
 tomcat shutdown.

You have to kill the process that is using the port.

- Peter

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



RE: How to kill the port used by tomcat

2009-06-03 Thread kalpeer

Whats the command used to get the process id of the prot

Peter Crowther wrote:
 
 From: kalpeer [mailto:inka...@gmail.com]
 How I can free the port without going to the original
 tomcat shutdown.
 
 You have to kill the process that is using the port.
 
 - Peter
 
 -
 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://www.nabble.com/How-to-kill-the-port-used-by-tomcat-tp23850842p23851022.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: How to kill the port used by tomcat

2009-06-03 Thread Peter Crowther
 From: kalpeer [mailto:inka...@gmail.com]
 Whats the command used to get the process id of the prot

That depends on your OS - which you haven't told us.  Tomcat should show up as 
a Java process, so if you're running a recent Java (which you also didn't tell 
us) then jps should tell you some possible process IDs.

http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html

- Peter

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



RE: How to kill the port used by tomcat

2009-06-03 Thread kalpeer

The
os:solaris10 and 9
java:1.5.0_17
please let me know the comment for getting the id :(

Peter Crowther wrote:
 
 From: kalpeer [mailto:inka...@gmail.com]
 Whats the command used to get the process id of the prot
 
 That depends on your OS - which you haven't told us.  Tomcat should show
 up as a Java process, so if you're running a recent Java (which you also
 didn't tell us) then jps should tell you some possible process IDs.
 
 http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html
 
 - Peter
 
 -
 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://www.nabble.com/How-to-kill-the-port-used-by-tomcat-tp23850842p23851524.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: How to kill the port used by tomcat

2009-06-03 Thread Caldarale, Charles R
 From: kalpeer [mailto:inka...@gmail.com]
 Subject: RE: How to kill the port used by tomcat
 
 os:solaris10 and 9
 java:1.5.0_17
 please let me know the comment for getting the id :(

This is not a Solaris training list.  Since you're acting as a system 
administrator, you need to have system administrator knowledge.

Try the jps program, as already suggested.  Look at the man pages for netstat 
to see what option to use to display the pid (it's usually -o).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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



Re: How to kill the port used by tomcat

2009-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kalai,

On 6/3/2009 8:52 AM, kalpeer wrote:
   When I do  netstat -an | grep 8443 it says that it was in listen mode.
 *.8443   *.*0  0 49152  0 
 LISTEN
   Now I need to use the same port for the another tomcat.So I need to kill
 this  make the port to non listen mode.
   How I can free the port without going to the original tomcat shutdown.

You may be able to use Sysinternals' tcpview.exe to close those
connections, but it's possible that you'll only be able to close active
connections, and that you can't unbind a bound IP port.

I don't expect this to work, but you can try it.

Why not just change the configuration and bounce Tomcat?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkomhRQACgkQ9CaO5/Lv0PCb8ACdFZmUfIQwmjFJ55hhjTpD/5lH
cUYAn1Pep0M1JD3kxbWRE8Vt3HiaSs72
=wj/k
-END PGP SIGNATURE-

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