tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess <i...@webjam.com>
Subject TID 170878 Re: How to get java process id of a user running tomcat
Date Thu, 03 Dec 2009 12:11:25 GMT
You have emailed Webjam Customer Support.

To send a message to the intended recipient, please use their email
address (if known)
OR
Go to their network, click on their network name (top left-hand side
of the top bar) and click on the 'Contact the editor' link to send a
message.

Alternatively find their username within the network you both use,
click on this to view their Mini-profile to 'Send message'.

===


> i agree with Chuck
> and would add these commands for consideration on a windows box
>
> netstat -ano will show the pid of any java job which is tied to a
tcp port
>
> likewise (on windows only):
>
> wmic process get /all /value
>
> is another win vista/win7/xp pro+ command
> which will show all the output from all pid's
> including the command line options
>
> or more specifically something like this:
>
> wmic process where "commandline like '%java%'" get commandline,
processid
>
> hope this helps someone out there
>
>
>
> ________________________________
> From: "Caldarale, Charles R" <Chuck.Caldarale@unisys.com>
> To: Tomcat Users List <users@tomcat.apache.org>
> Sent: Wed, December 2, 2009 9:32:18 AM
> Subject: RE: How to get java process id of a user running tomcat
>
> > From: Pierre Goupil [mailto:goupilpierre@gmail.com]
> > Subject: Re: How to get java process id of a user running tomcat
> >
> > " jps -mlv " will give you the PIDs of all running Java processes.
Plus
> > it's a part of the standard SUN JVM.
>
> But not for the OP, who is running an unsupported version of Tomcat
on an unsupported JVM that predates the jps tool. As Pid suggested,
the correct thing to do is to fix the webapp so it properly manages
the threads it has started. Attack the problem, not the symptom.
>
> - 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.
>
>
>

-- 
Kind regards
* * *
Webjam Customer Services

Webjam - your social networks made easy
www.webjam.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message