Logging WLDF

Hi all,
This had probably been answered so apologies. Can't seem to find out
how I can grab a simple log of JDBC Connection Pool info, Session info,
and THread Usage while we are stressing our system our system, without having
to look at the admin console.
I know I can appopint Diagnostic Modules and collect Metric Info through the different MBeans,
but I can only seem to view them through the console and this makes it very difficult to make
a document later of the metrics gathered. I'm surprised I can't get a clean log of the specific different
metrics I'm collecting in this advanced stage of the product. Unless I'm missing something, which is probably the
case.
I'd appeciate any information or clues..
Thanks
Vishal

Hi Vishal,
Have you tried taking a WLDF image at the time when you want the information and then open them using WLDFBrowser?. It has to give you the required information.
If you require WLDF Browser, please follow the below link.
http://weblogicserver.blogspot.com/2010/02/wldf-browser.html
Thanks,
Sreedevi

Similar Messages

  • WLDF logs for a weblogic cluster

    I have a requirement wherein I need to extract useful data from the wldf logs(e.g EventDataArchive).
    This has been successful when I have a single wl server running, using jmx call. But when it is a clustered wl environment, I am not getting a single point from where I can get wldf data . In other words , is there a single place in a clustered wl environment which archives data together for each of the managed servers, so that I can fetch the required data from it irrespective of from which managed server it came from .
    Thanks,
    Naba
    Edited by: user515166 on Dec 15, 2008 10:50 PM

    A solution to this could be to use JDBC Datastore for all the servers in the clusters; which becomes a single point of storage for all requests irrespective of the server used.

  • Is it possible to monitor server standard out logs with WLDF

    Does anyone know if there is a way to configuring a monitor to watch a managed server standard out log instead of the managed server's server log? I know you can redirect the standard out log to the server log, but it looks like you can't redirect debug or info level messages. Every once in a while the JVM crashes because of an app deployed to one of my servers. I want to alert someone to check on the server to see if its restarted by nodemanager, but the message appears as a [DEBUG] message in my standard out log which it doesn't look like can be redirected to the server log.

    Hi 
    Yes, you can generate list of server with registry key.you need to create a custom class bases of local application and create a registry filtered discovery to check reg key is present.
    helpful links :
    http://social.technet.microsoft.com/wiki/contents/articles/14450.management-pack-service-model-exercise-4-creating-a-registry-discovery.aspx
    Note : scom is monitoring tool but not an assert inventory tool, i do not recommend any mp configurations for reporting. 
    Regards
    sridhar v

  • Configuration of logging severity

    Hello everyone,
    I am trying to use the weblogic Admin console to modify the logging severity at runtime. I have an application deployed on the AdminServer.
    In the web console, I go to the AdminServer Settings page and navigate to the Logging tab. I click the "Advanced" link to show the "Logger severity properties". In this box I have tried entering many different values. I save. There is no change to the logs. I restart the server, there is still no change to the logs.
    Some values I've attempted to use:
    com.mycompany.level=Trace
    com.mycompany.level=Debug
    com.mycompany=Trace
    com.mycompany=Debug
    .level=Trace
    .level=Debug
    I am using weblogic 10.3.2.0 with jdk logging.
    Does anyone know if these configuration changes are supposed to affect the log files? Am I using this configuration parameter incorrectly?
    Note that I have found a way to configure the logging severity using a logging.properties file, by calling:
    LogManager.getLogManager().readConfiguration(EventDAOEJBImpl.class.getResourceAsStream("/logging.properties"));
    However, this does not allow me to configure the application from the weblogic console. Is there a way to configure the logging severity using the weblogic console?

    You may want to ask in the WebLogic Server - Diagnostics / WLDF / SNMP forum. They own logging.
    I asked them to reply to this message.

  • Configuring WLDF to recieve email Alerts in Case of Out of Memory Errors

    Hi All,
    I need help regarding configuring WLDF to receive email notifications in case there us an outofmemory or any other critical failure in the logs. I followed the documentation but i am not able to get it right. Do i need to write a seperate mailing program or just need to provide the email address in the console.
    Any suggestion will be helpful,
    Thanks,
    Mukul

    Jay SenSharma wrote:
    Hi Mukul,
    Complete Steps can be Devided into 3-parts
    A). Configuring a Mail-Session
    B). Configuring WLDF Module
    C). Configuring Watch And Notification
    For detailed <A class=bodylinkwhite href="http://www.software-to-convert.com/divx-avi-conversion-software/divx-avi-to-h264-software.html"><FONT face=tahoma,verdana,sans-serif color=#000 size=1>steps</FONT></A> please refer to: <B><A class=jive-link-external href="http://jaysensharma.wordpress.com/2010/01/07/e-mail-notification-using-wldf/">http://jaysensharma.wordpress.com/2010/01/07/e-mail-notification-using-wldf/</A></B>
    <P>
    Thanks
    Jay SenSharma
    <B><A class=jive-link-external href="http://jaysensharma.wordpress.com">http://jaysensharma.wordpress.com</A> (WebLogic Wonders Are here)</B></P>
    It is just the solution for my problem, It's very useful.

  • WLDF in weblogic 10,3,5

    Hi ,
    Please some one help how to configure wldf 10.3.5 . is there is any sample script?
    Thanks,

    Hi,
    For Email notification for stuck threads on your Server, you need to first create a Diagnostic
    Module. Within this you have to configure the Watches and Notifications.
    In this example, we are setting up a watch on the server log to look for the MaxStuckThread warning being reported. We do this be setting the Rule Expression to be equal to the message ID for this warning, when examining the output of the server log.
    Within the notification, we can set up any type of notification, but in this example we are setting up an SMTP (mail notification), so that when the rule expression matches the mail notification is sent.
    Below is the content of the Diagnostic_module.xml file created after completing the above tasks:
    <?xml version='1.0' encoding='UTF-8'?>
    <wldf-resource xmlns="http://www.bea.com/ns/weblogic/weblogic-diagnostics"
    xmlns:sec="http://www.bea.com/ns/weblogic/90/security"
    xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-diagnostics
    http://www.bea.com/ns/weblogic/weblogic-diagnostics/1.1/weblogic-diagnostics.xsd">
    <name>Module-0</name>
    <watch-notification>
    <watch>
    <name>Serverlog</name>
    <enabled>true</enabled>
    <rule-type>Log</rule-type>
    <rule-expression>(SERVER = 'AdminServer') AND (MSGID =
    'BEA-000337')</rule-expression>
    <alarm-type>None</alarm-type>
    <notification>mailNotification</notification>
    </watch>
    <smtp-notification>
    <name>mailNotification</name>
    <enabled>true</enabled>
    <mail-session-jndi-name>myMailSession</mail-session-jndi-name>
    <subject>stuck thread problem</subject>
    <body>testing</body>
    <recipient>[email protected]</recipient>
    </smtp-notification>
    </watch-notification>
    </wldf-resource>
    Further details on creating a diagnostic module can be found here -
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/ConsoleHelp/taskhelp/diagnostics/UseDiagnosticModulesToMonitorServers.html
    and further details on how to create watches and notifications can be found here
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/ConsoleHelp/taskhelp/diagnostics/ConfigureWatchesAndNotifications.html
    Regards,
    Kal

  • Issue with WLDF Console extension  displaying  Instrumentation details

    Hi,
    I have enabled WLSDF Console extension on WLS9.1.
    I am able to monitor weblogic metric data but when I enable instrumentation in my diagnostic module WLDF console displays server state as Unknown.
    I am not able to monitor any metric data or request details after enabling instrumentation.
    I have enabled DEBUG for diagnostic package and I can see diagnostic data getting collected in a server file store.But I am not able to see any details on WLDF dash board.
    Has anyone experienced similar issue ?
    Thanks & Regards,
    Bhushan

    Hi Bhushan,
    Can you post your WLDF descriptor, and your config.xml? I'm not sure I can decipher what's going on based on the problem description.
    Modifying or deploying a WLDF descriptor to a server should not affect the console extension behavior. Are there any error messages in the server log?
    Are you actively graphing metrics in a DB configuration that are not displaying after this change?
    Thanks,
    Mike

  • [logging] Problems to configure logging rotation.

    Hi,
    I have an application .ear deployed in weblogic v10.3.1.0
    This application use java.util.logging to write a log file.
          fh = new FileHandler(logFileName,0,1,true);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
    FileHandler(String pattern, int limit, int count, boolean append)
    pattern - the pattern for naming the output file
    limit - the maximum number of bytes to write to any one file. If this is zero, then there is no limit. (Defaults to no limit).
    count - the number of files to use
    append - specifies append mode
    http://www.javadocexamples.com/java/util/logging/java.util.logging.FileHandler.html
    logFileName is dynamic with date formated like this yyyMMdd + ApplicationName + ".log"
    This file is created but I have also yyyyMMddSEC.log.1, yyyyMMddSEC.log.2, yyyyMMddSEC.log.3,...
    I DON'T WANT THESE FILES_, that's why I put limit to 0, count to 1 and append to true.
    This code works without jdev/weblogic but has not effect in weblogic.
    Q1. Why?
    So I go to Weblogic console: Domain Structure-> DefaultDomain->Logging
    Log file name: logs/DefaultDomain.log
    Rotation type: None
    NONE
    Messages accumulate in a single file.
    You must erase the contents of the file when the size is too large.
    Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.
    But it doesn't work, Weblogic continue to create log files like this *<filename>.log.<n>*
    Q2. Why?
    I have also created weblogic.xml in ViewControler/WEB-INF
    thanks to this documentation:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1063199
    but it doesn't work...again.
    Q3. Why?
    Q4. If I want applications manage themselves their log, how to deactivate the logging handler in weblogic (LogFileMBean?)
    Thanks for your help.

    You may want to ask in the WebLogic Server - Diagnostics / WLDF / SNMP forum. They own logging.

  • WebLogic Server 10.0 Logging Configuration

    Does anyone know if there is a way to update / modify / configure the logging for WebLogic Server logs to make the time stamp on log entries go out to milliseconds? Right now log entries only have precision to seconds, but we want and need to see them out to the millisecond.
    We are well aware that log4j is an option, but that seems to require coding and we were hoping to avoid that given our only additional need was precision out to milliseconds.
    Thanks.
    Marc

    You may want to ask in the WebLogic Server - Diagnostics / WLDF / SNMP forum. They own logging.
    I asked them to reply here.

  • WLDF - Instrumentation for EJB call statistics

    Hello,
    I'm new with Weblogic and I'm looking for stats concerning my ejbs. I'm using weblogic 10.3.
    With JMX I have only found data concerning EJB pool size but no statistics (like execution time)
    thus, I'm looking for instrumentation using WLDF to see if it is possible to get the execution time of an EJB method.
    Firstly, I try to instrument a method, i've used the following weblogic-diagnostic.xml file.
    <wldf-resource xmlns="http://www.bea.com/ns/weblogic/90/diagnostics">
         <instrumentation>
         <enabled>true</enabled>
         <include>com.gemalto.*</include>
         <wldf-instrumentation-monitor>
         <name>ConfigurationManagerBean_Monitor</name>
    <enabled>true</enabled>
         <action>DisplayArgumentsAction</action>
    <location-type>before</location-type>
    <pointcut>execution(public * com.xxx.* get*(...))</pointcut>
         </wldf-instrumentation-monitor>
         </instrumentation>
    </wldf-resource>
    When I put this file into my MEAT-INF EAR, the deploying is OK but I'cant see nothing into WLDF console extension ?
    Could you please explain me a little bit how to configure correctly my instrumentation ?
    Thank you a lot.
    C.

    When I put this file into my MEAT-INF EAR, the deploying is OK but I'cant see nothing into WLDF console extension ?Are there events in the WLDF Archive for the deployed monitor? Have you enabled Instrumentation through a WLDF System Resource targeted to the server?
    In order to view instrumentation data through the console extension,
    - the WLDF DyeInjection monitor needs to be deployed through the WLDF SystemResouce at server scope as well.
    - the application monitors must be of the "Around" type with the TraceElapsedTimeAction assigned to them
    Then the console extension can build a call-tree of known requests that have passed through the server, based on each request's Diagnostic Context ID.
    If you truly want to view information from the DisplayArgumentsAction, you will need to view the data stored in the WLDF Archive using the WLS Console, or WLST. In the Console, you can view the data by navigating to Diagnostic Modules -> Logs and selecting the EventsDataArchive "log". On the resulting page you can customize your views (the default view only shows you the last 5 minutes of data in the archive, I believe).
    Using WLST you can use the exportDiagnosticData (offline) or exportDiagnosticDataFromServer (online) functions. See the WLST help on these functions for details on how to use them.
    Mike

  • Web logic 10.3  - WLDF Console Extension java applet is not loading

    Weblogic running in Solaris
    Navigating to the weblogic console using – HTTP like , http://host:port/console
    I was trying to enable WDLF console extension , as mentioned in documentation copied diagnostics-console-extension.jar to <domain>/console-ext folder. After this a I could see the “WLDF Console Extension” tab when I log into the admin console. But the java applet is failing to load - showing Error: Click for details , follwing are the details
    Java Plug-in 10.2.0.13
    Using JRE version 1.7.0_02-b13 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\user
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Appreciate your comments

    Do you see any further nested exceptions OR errors in the log file.
    Considering that the same WLS-JDK combination works on one machine and does not work on another machine, it indicates an environmental issue.
    "However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed....
    Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu."
    I am suspecting if it has to do anything with the native libraries being loaded JAVA_LIB_PATH.
    Please review the server log file again for identifying differences in LIB_PATH or PATH or any messages saying "Unable to load native.. performance pack.."
    Arun

  • Weblogic 9.0  WLDF Instrumentation

    I am tryin to understand WLDF Instrumentation capabilities by looking at MedRecServer --> MedRecWLDF--> Instrumentation --> DyeInjection configuration.
    It loooks like that DyeInjection monitor sets DiagnosticContext when request enters into the weblogic server with following properties.
    ADDR1=127.0.0.1
    USER1=[email protected]
    I have executed request with above properties in medrec application.
    What I am trying to find is How to access diagnostic context/data/information as result of the execution of DyeInjection monitor ?
    Thank you,
    -Jayesh

    Hi Jayesh,
    Instrumentation ("event") data is stored in the WLDF archive, in a binary store. This data can be accessed viewed via the WLS Console, via the WLST "exportDiagnosticData" command, and programmatically via the WLDF Accessor APIs.
    To view data via the console, log into the console and choose
    Diagnostics -> Log Files
    select the "EventsDataArchive" radio button, and click the "View" button. You can also specify custom query parameters via the "Customize this table" link.
    See
    http://e-docs.bea.com/wls/docs90/wldf_configuring/access_diag_data.html#1099608
    for info on accessing WLDF data,
    http://e-docs.bea.com/wls/docs90/wldf_configuring/config_prog_intro.html#1043185
    for an introduction on programming using the WLDF APIs, and
    http://e-docs.bea.com/wls/docs90/wldf_configuring/appendix_query.html#1043050
    for information on the WLDF query language.
    Regards,
    Mike Cico

  • Error when lanuching WLDF

    HI,encountered the below message when launching WLDF,anyone can assist asap. thks
    WLDF Cosole Extension error
    Problem Description
    Encountered error when i click the WLDF Console Extension, the error message is below:
    java.lang.illegalArgumentException
    at com.bea.diagnostic.util.DataUtil.toIntNumber(DataUtil.java:97)
    at com.bea.diagnostic.util.DataUtil.toINteger(DataUtil.java:114)
    at com.bea.diagnostic.dashboard.ViewBrowser.initViewNameCounter(ViewBrowser.java:446)
    at com.bea.diagnostic.dashboard.ViewBrowser.<init>(ViewBrowser.java:196)
    at com.bea.diagnostic.dashboard.ChartPanel.addBrowsers(ChartPanel.java:704)
    at com.bea.diagnostic.dashboard.ChartPanel.execute(ChartPanel.java:564)
    at com.bea.diagnostic.dashboard.ChartPanel.<init>(ChartPanel.java:190)
    at com.bea.diagnostic.dashboard.ChartPanelApplet.init(ChartPanelApplet.java:25)
    at sun.applet.APpletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.bea.diagnostic.dashboard.ChartPanelApplet.start(ChartPanelApplet.java:40)
    at sun.applet.APpletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Hi,
    I need more information before I can proceed further from here :
    1) Can you provide you WebLogic Server exact version.
         $JAVA_HOME/bin/java -cp $WL_HOME/server/lib/weblogic.jar weblogic.version
    2) Where did you get the java stack trace provided in the problem description?  Displayed on the browser?  What browser were you using?
          - Can you provide the screen shot or full log please?
    3) What is the Java version you are using?
         - Java at the browser.
    Regards,
    Prakash.

  • WLDF Extension in 10.3 Applet Failing

    Tab comes up in AdminServer screen after adding diagnostics-console-extension.jar file to $DOMAIN_DIR/console-ext
    Adminserver service restarted...
    Yet when I click on tab i get the following in Java Console.
    Java Plug-in 1.6.0_13
    Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\dj
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    Additional downloads deleted for brevity.
    Downloaded
    console/wldf/lib/wldfclient.jar
    network: Downloading resource: https://ipaddress:17001/console/wldf/lib/wldfclient-L10N.jar
         Content-Length: 3,534
         Content-Encoding: null
    network: Cache entry not found [url: https://ipaddress:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class, version: null]
    network: Connecting https://1paddress6:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class with proxy=DIRECT
    network: Server https://ipaddress:17001/console/com/bea/diagnostics/dashboard/ChartPanelApplet.class requesting to set-cookie with "ADMINCONSOLESESSION=somestring; path=/"
    network: Cache entry not found [url: https://ipaddress6:17001/console/login/LoginForm.jsp, version: null]
    network: Connecting https:/ipaddress:17001/console/login/LoginForm.jsp with proxy=DIRECT
    network: Connecting http://ipaddress:17001/ with proxy=DIRECT
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: Checking if SSL certificate is in Deployment permanent certificate store
    network: Server https://ipaddress:17001/console/login/LoginForm.jsp requesting to set-cookie with "ADMINCONSOLESESSION=somestring; path=/"
    basic: error: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet.
    java.lang.ClassFormatError: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Incompatible magic value 218762506 in class file com/bea/diagnostics/dashboard/ChartPanelApplet
    I find this class in the wldfclient.jar @
    $DOMAIN_DIR//servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/diagnostics-console-extension/wldf/lib
    Does that jar file need to be placed somewhere else????
    TIA

    A very nice way to accomplish this: From within the extension project (in JDev), set the project properties for remote debugging (Run/Debug panel of the project settings dialog, Edit the Default configuration). From a command line execute jdev.exe -ojvm -debug. The dialog that comes up inside of JDev will let you choose localhost. The first instance of JDev will be debugging the one that's about to open.

  • SAP message Log

    Does SAP maintain log of all the messages displayed on screen using MESSAGE statement?
    We are investigating a problem and want to see the messages displayed by SAP during the time when problem occured.

    We have custom development for picking and confirmation. Last week we found that in some deliveries there is difference in delivered quantity and packed quantity.
    Custom development is calling sap-standard FMs. Problem occurs randomly, roughly 10 deliveries in a week has this problem.
    We are still trying to investigate the reason that is causing the problem.
    Custom program does display the message to user if FM raise any message. We asked user of they are getting any message while picking, and if they are ignoring it.
    They just confirmed that they are getting message 'Packing Not Possible Since there is no Quantity to be Packed' and they did ignored this.

Maybe you are looking for

  • Infopath form won't open from a URL, opens fine from form library.

    I have built a request process using SharePoint 2007 and InfoPath 2010 and a custom workflow designed in SPD. Everything works perfectly fine within the form library. However, I would prefer not to have my requestors go to the form library so I creat

  • Cannot received TV signal from my numerci decoder to my Qosmio F20

    Hello all, i've just bought a new notebook Qosmio F20, everything works fine except the tv tuner. I've tried to plugged a scart cable, a yellow-red-white cable and one antenna cable in my notebook and in my numeric decoder (Atlanta 5400) but i cannot

  • Strange problem with Superdrive in 1.8 GHz iMac G5 (rev. A)

    The superdrive in my 1.8 GHz iMac G5 (rev. A) has recently developed a strange problem but only when dealing with CDs. If the computer has been on for a short time the drive won't accept any CDs be they audio, data or blank. It never has problems wit

  • When is the iPod Touch 5's pre-order shipping date?

    I pre-orded the new iPod Touch, and I got an email saying that it will ship in October. But that's not too specific... It could ship in two weeks, or on Halloween! Does anyone know the exact date on when the iPods will ship or will be officially rele

  • Playbook won't connect with blackberry desktop.

    since last week I have been having problem with connecting my playbook with my pc. I have google regarding this problem but it all seem that non of my search had same problem as mine. so here the problem i'm getting. when i connect to my pc i get pop