JBoss Application is not discovered and monitored

Hi

I have configured JEE MPs for JBoss 6 with java 6 (running on Windows server 2008 R2) in SCOM 2012 R2 but none of the application server is being discovered and monitored. I have also configured Agent proxy settings on those servers.

MPs which I have imported are as follows:
-Microsoft.JEE.JBoss.6.mp
-Microsoft.JEE.JBoss.Library.mp
-Microsoft.JEE.Templates.Library.mpb
-Microsoft.JEE.Library.mpb


The customer access their application servers through a load balancer (Radware). To get a direct access  to their application servers, they will need to open ports for them.

Please suggest me what should I do.  I am stuck on this activity from last three days. 

Any help will be really appreciated.

Thanks in advance.

December 22nd, 2013 11:17pm

Thanks Daniele for your reply.

I have followed the procedure to discover Jboss application manually. It has been discovered and it's showing under Universal Application servers.

The problem is "The application team is not able to deploy BeanSpy.ear file into that server". When they deploy it, it gives some error. The method to deploy BeanSpy using web browser is already disabled in their production environment (http://server:port/manage)

Please help if anything can be done to solve this issue.

Thanks in advance.

January 3rd, 2014 8:13pm

The problem is "The application team is not able to deploy BeanSpy.ear file into that server". When they deploy it, it gives some error.

I would start with troubleshooting this, but needs more details: 'some error' is a bit vague to be actionable... you do need to deploy BeanSpy to have meaningful/deeper monitoring.

Free Windows Admin Tool Kit Click here and download it now
January 3rd, 2014 8:20pm

I would take a copy of that screenshot and would provide you soon. It would be helpful to identify the error.

January 5th, 2014 8:55pm

Hi Daniele

I have a query that "the  application team has deployed BeanSpy.war file into their JBoss Application server". But when i went back to the SCOM console to check whether the monitoring has been started or not, it was still displaying the same error that "either BeanSpy is not deployed/not started/firewall is blocking port".

Do you have any idea that how much time it takes to monitor the application after BeanSpy deployment?

or something else is missing out there to be done before monitoring gets started. Please help.

Thanks

Free Windows Admin Tool Kit Click here and download it now
January 8th, 2014 9:06pm

You can first test to see if BeanSpy is actually deployed and responding to queries http://blogs.technet.com/b/random_happy_dev_thoughts/archive/2013/01/07/beanspy-apache-tomcat-jmxquery-to-list-deployed-applications.aspx
January 8th, 2014 9:53pm

Hi Daniele

BeanSpy.war file has been deployed into JBoss Application server but still the monitoring is not started in SCOM. I tried the following steps to verify BeanSpy deployment.

Step-1

i)  I attempted to verify BeanSpy Deployment using http://hostIP:8280/BeanSpy/Stats/Info, I get the following result as mentioned below:

 

 

Step-2

But the problem comes here- when I tried to verify whether BeanSpy is correctly installed or not by submitting the following BeanSpy query in the browser, I get the following result. The complete information is not being displayed in the browser except its version:-

 

Please let me know what is missing out there so that this JEE monitoring part can be completed.

January 9th, 2014 9:58pm

Does THIS specific query work?

http://localhost:8080/BeanSpy/MBeans?JMXQuery=Catalina:j2eeType=WebModule,*

Note: adjust hostname and port respectively

Free Windows Admin Tool Kit Click here and download it now
January 10th, 2014 12:06am

I tried it also but it's generating the same output as mentioned in the second screenshot.

Only MBeans version and nothing else.

Is there any other method to check what is missing out there. Please help.

January 10th, 2014 6:45am

Also, while Daniele's suggestion is correct, that's actually the query for Tomcat, not jboss.

Give this query a shot and let us know the results, though they may be the same as before :)

http://localhost:8080/BeanSpy/MBeans?JMXQuery=JBoss.management.local:j2eeType=J2EEApplication,name=BeanSpy.ear,*


Thanks!

Chris



Free Windows Admin Tool Kit Click here and download it now
January 10th, 2014 6:34pm

Do you know/can you investigate if the Java Security Manager has been enabled?  To extract additional information out of beanspy, we need to be able to connect to the JMX store, and if security has been enabled, there are additional steps required to allow the beanspy application to see things.

Also, please check all of the various logfiles for any other indications of the issue.  Generally there will be a log entry somewhere pointing us toward the direction of the issue.

Thanks!

Chris

January 10th, 2014 9:00pm

Also, while Daniele's suggestion is correct, that's actually the query for Tomcat, not jboss.

Give this query a shot and let us know the results, though they may be the same as before :)

http://localhost:8080/BeanSpy/MBeans?JMXQuery=JBoss.management.local:j2eeType=J2EEApplication,name=BeanSpy.ear,*


Thanks!

Chris



Free Windows Admin Tool Kit Click here and download it now
January 10th, 2014 9:34pm

Also, while Daniele's suggestion is correct, that's actually the query for Tomcat, not jboss.

Give this query a shot and let us know the results, though they may be the same as before :)

http://localhost:8080/BeanSpy/MBeans?JMXQuery=JBoss.management.local:j2eeType=J2EEApplication,name=BeanSpy.ear,*


Thanks!

Chris



January 10th, 2014 9:34pm

Also, while Daniele's suggestion is correct, that's actually the query for Tomcat, not jboss.

Give this query a shot and let us know the results, though they may be the same as before :)

http://localhost:8080/BeanSpy/MBeans?JMXQuery=JBoss.management.local:j2eeType=J2EEApplication,name=BeanSpy.ear,*


Thanks!

Chris



Free Windows Admin Tool Kit Click here and download it now
January 10th, 2014 9:34pm

Hi Chris

I have tried all the steps regarding this monitoring but couldn't solve this issue.

Finally I got some errors which I have attached here which will be helpful for us to find out the exact isssue:

Please help and let me know where the problem is.

Thanks.

January 15th, 2014 1:18am

What result do you get from the query I mention here:

http://localhost:8080/BeanSpy/MBeans?JMXQuery=JBoss.management.local:j2eeType=J2EEApplication,name=BeanSpy.ear,*

Thanks

Chris

Free Windows Admin Tool Kit Click here and download it now
January 16th, 2014 7:16pm

It displayed only the MBeans version. For your reference, I have attached the screenshot below:

I also attached some screenshots in the trail response, Please have a look at those errors also.

Thanks

January 17th, 2014 12:52am

Do you have the runas account setup as described?  It looks to me like you probably have some security configuration around the JMX store and we're unable to query it.  When you execute the Queries from a browser?  does it ask for authentication credentials?

Thanks

Chris

Free Windows Admin Tool Kit Click here and download it now
March 24th, 2014 5:43pm

Hello abhiagg,

From the screen shot below this seems to be JBoss EAP 6, which is based on JBoss 7. JBoss 7 support, including JBoss EAP 6, is scheduled for release alongside OpsMgr Update Rollup 4 in the fall.

August 4th, 2014 7:09pm

Hello abhiagg,

The 2012 R2 Updates for Java EE Management Packs can be found here http://www.microsoft.com/en-us/download/details.aspx?id=44576. These Management Packs include support for JBoss EAP 6, JBoss AS 7, and Wildfly 8.

Free Windows Admin Tool Kit Click here and download it now
November 25th, 2014 6:19pm

Did you manage to resolve your problem with the discovery of JBOSS?

schalk

June 24th, 2015 7:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics