Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6735817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:03:27+00:00 2026-05-26T11:03:27+00:00

I know we can use MBean to get WebLogic’s status. For example, use JDBCDataSourceRuntimeMBean

  • 0

I know we can use MBean to get WebLogic’s status. For example, use JDBCDataSourceRuntimeMBean (http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e13951/core/index.html) to get the JDBC status. And use other MBeans, we can also get the status of EJB, WebService, …

But this is just the status at that time, if I want to monitor the history, for example, I want to know the detail run time of every EJB transaction, is it possible?

The purpose is we want to monitor our application performance, an obvious solution is add log in our EJB and parse it. But if we can get it from server without write code, it will be better.

Another question is, since JMX is a standard and JBoss supports it. If the solution can support both WebLogic and JBoss will be better.

Update:

I read the WebLogic document and found that WLDF is good.

  • Collected Metrics: This can collect server information. I use it to collect JDBC status into a database.
  • Instrumentation: I use this to record the execute time of a method

The following are the official document and a tutorial.

Collected Metrics

  • Official doc: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/wldf_configuring/config_harvester.html
  • Blog tutorial: http://weblogic-server.blogspot.com/2009/12/configuration-diagnostics-jdbc-store.html

Instrumentation:

  • Official doc: http://download.oracle.com/docs/cd/E11035_01/wls100/wldf_configuring/config_instrumentation.html
  • Blog tutorial: http://m-button.blogspot.com/2008/11/using-wldf-to-trace-time-taken-by-your.html

The only inconvenient is the syntax of pointcut. If I want to monitor several methods in a class, I need to write several wldf-instrumentation-monitor tags. Unless I can find a wild card pattern to describe them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:03:27+00:00Added an answer on May 26, 2026 at 11:03 am

    It’s definitely possible but it might be easier for you to use the existing WLDF framework – You can define which MBeans you want to track, store historical data to a filestore and graph them within the console.

    I don’t recommend the route of logging debug statements, especially in a production environment. Depending on the throughput of your system, the additional I/O from logging can be a significant overhead.

    JMX is the standard way to access your runtime beans but they are going to differ between WebLogic and JBoss. In my personal experience, unless you’re using an enterprise solution such as CA Wily’s Introscope, you’re better off using the individual programs written specifically for the application server as they usually highlight other metrics you may be interested in (If you have the time to traverse all MBeans and determine how useful they are, this may not be of concern).

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know I can use the RODBC library for accessing excel (.xls) docs from
I know that I can use something like string[3:4] to get a substring in
I know I can use the -n flag in git grep to show the
I know you can use -fno-objc-arc flag to disable ARC for files that NOT
I know I can use install-data-hook to do anything I want after my data
I know you can use source control software for source code, but can you
I know I can use the ActionView helper strip_tags method in my views to
I know I can use something like User.sort {|a, b| a.attribute <=> b.attribute} or
I know I can use Request.Browser.IsMobileDevice . But does anyone know how it works,
You know we can use message queues with the function mq_receive(); what is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.