Can jconsole be used with Java EE?

All the examples I see are for Java SE applications by passing your JAR file at the command line. Can JConsole attach to a WAR or EAR and monitor application performance?


JConsole is for monitoring JVMs. I'm assuming that you would like to monitor the performance of your application server. To do so, you'll have to set the property, when initializing your application server.

For example, in Tomcat (I know this is not a complete Java EE container), you would start the container as:


You could then start JConsole as a standalone application


and then attach jconsole to the Java process that is running Tomcat. Similar steps apply to other application servers.

Need Your Help

Which is better apply two conditions in nested If or using single with And?


Nested If or single if with And operator, which is better approach?

Directory structure of Octopress

directory blogs octopress

I want to understand the entire directory structure of Octopress. Each and every folder and how they fit in together. Could not find any docs online.

Can mcrypt perform the same algorithms supported by crypt()?

php hash mcrypt crypt sha512

I have an app that runs on PHP 5.3 which stores passwords hashed using PHP's crypt() function. However the hashing type (SHA 512) used is not available by default on one of the servers I'm now using

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.