BeanSpy: WebSphere Application Server JMXQuery to list deployed applications

BeanSpy: WebSphere Application Server JMXQuery to list deployed applications

  • Comments 4
  • Likes

If you are running WebSphere, here are a few quick steps to validating the BeanSpy installation.

Once you have deployed BeanSpy to a web application server, the next step is to see that it works.  While look at the /Stats or /Stats/Info is a nice cross-platform solution, sometimes you want to know what is running on your specific application server.

As of this writing, the supported versions of WebSphere 6.1 or 7.0. 

Note: adjust hostname and port respectively

Finally, another quick test is to hit the previously mentioned Stats or Stats/Info pages for JVM information.

Comments
  • Please help me.

    I installed BeanSpy follow your steps.

    Anything is ok but when i run .\NewAPPServer.ps1.Then console tell me

    "Unable to determine the Application server type and version:http://192.168.1.78:9080"

    Anything i did wrong?

  • Hi Nick,

    Couple of things:

    1) Please don't double post.

    2) It would probably be better to post this over in the TechNet forums like social.technet.microsoft.com/.../systemcenteroperationsmanager

    3) When you post on the forums, please include some more information such as attachments with the output of the Stats or Stats/Info.

    4) What is the version of WebSphere you are trying to discover?

  • Hi,

    i can't see test page, only this error:

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet execution threw an exception

    root cause

    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.xsltc.trax.TransformerFactoryImpl not found

    javax.xml.transform.TransformerFactory.newInstance(Unknown Source)

    com.interopbridges.scx.xml.StatisticXMLTransformer.createXmlDocument(Unknown Source)

    com.interopbridges.scx.xml.StatisticXMLTransformer.transformAllStatistics(Unknown Source)

    com.interopbridges.scx.mxbeanextender.MXBeanExtender.doGet(Unknown Source)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.

    helpme please.

  • My guess is that there is probably some non-standard XML libraries being loaded.  By chance in the endorsed directory do you have a different XML encoder?

    tomcat.apache.org/.../class-loader-howto.html

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment