Forum LAMS for Tech-Heads - General Forum: JMX Console and Web Console


 
You may request notification for JMX Console and Web Console.
Search: 

1: JMX Console and Web Console
03/10/08 05:58 AM
[ Reply | Forward ]
Hi,

After looking through the LAMS documentation and forums for a while, I didn't find any information about this, so here I post :

After successfully having installed LAMS on a test servers of ours, I decided to run a security check using Nessus ; this software just scans any open port of a distant machine and tries to find vulnerabilities.

It turned out that by default the JMX Console and Web Console were accessible on my server ... No idea what is was at start, but it turned out that any one could at least see (maybe also set ?) server parameters without having to authentify first, simply by visiting http://myservername:8080/jmx-console/ or http://myservername:8080/jmx-console/web-console/

I went through tech docs at jboss.com to try and fix this, but this is more than 10 files to edit ...

Is the JBoss server in LAMS supposed to act so, or is this some mistake in my initial LAMS configuration ?

Posted by Nicolas Dunand

2: Re: JMX Console and Web Console
In response to 1 03/10/08 09:59 PM
[ Reply | Forward ]
It's the default behaviour in jboss... here's the jboss wiki document for this:

http://www.jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole

Similar document, but also includes web-console:

http://www.techienuggets.com/Detail?tx=9

Follow the steps in there to protect your /jmx-console and /web-console URLs. Alternatively, remove these two directories from your jboss folder, and the webapps won't be available at all:

/path/to/jboss/server/default/deploy/management
/path/to/jboss/server/default/deploy/jmx-console.war

Posted by Jun-Dir Liew

3: Re: Re: JMX Console and Web Console
In response to 2 03/11/08 02:40 AM
[ Reply | Forward ]
Hi Jun-Dir,

Thanks for your reply.

Allright, so this is normal then. As I guess I don't need this to administer LAMS, I simply renamed these two directories.

Posted by Nicolas Dunand

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum