Activate flight recorder

Hello,
I'm configuring solution manager (SOLMAN_SETUP) and in the step activate flight recorder, the customizong documentation says:
Use
On the managed system the flight recorder needs to be enabled by adding a parameter to the J2EE instance profile.
Requirements
The managed system is a J2EE based system or a dual stack with ABAB and Java. Skip this check in all other cases.
Default Settings
Activities
Set the following profile parameter:
jstartup/recorder = java -classpath ../j2ee/cluster/bootstrap/launcher.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node %nodeID% %startTime% -bz $(DIR_GLOBAL) u2013exitcode %exitcode%
On a dual stack system you can use transaction RZ10 to maintain the profile parameter, on a J2EE only system you need to enter the parameter manually to the J2EE instance profile in the file system.
Attention: As this parameter exceeds one line in transaction RZ10, please ensure the line breaks and that no additional characters (like a space) are added to the parameter when you insert the string.
The problem is that the system is not a dual stack, it is only ABAP, and I have installed the Diagnostic agent DAA. So, how can I add the profile parameter? How do I add the parameter in the J2EE instance profile if there isn't a Java instance?

Hi,
You can get an overview about flight recorder from the below link:
http://help.sap.com/saphelp_sm32/helpdata/de/56/a945412c98f323e10000000a155106/content.htm
For more details, you might be intersted  in reading about E2E Exception Analysis documents or SAP Course E2E100.
Rajeev

Similar Messages

  • Flight Recorder does not provide Method Profiling Samples on CentOS 5

    Flight recorder from jdk 1.8.0_05 does not collect information about methods then running under CentOS 5.
    But jdk1.7.0_55 provides "Method Profiling Samples" events on the same machine.
    Steps to reproduce:
    1. Download test class - https://gist.github.com/evsinev/0b136693ef7549ddc9b5
    2. compile it
    3. Run it:
    NOW=$(date +"%H-%M-%S")
    export JAVA_OPTS="$JAVA_OPTS -XX:+UnlockCommercialFeatures -XX:+FlightRecorder"
    export JAVA_OPTS="$JAVA_OPTS -XX:StartFlightRecording=duration=120s,filename=data/profile-startup-${NOW}.jfr,name=Startup,settings=profile"
    export JAVA_OPTS="$JAVA_OPTS -XX:FlightRecorderOptions=samplethreads=true,stackdepth=64"
    /opt/jdk1.8.0_05/bin/java $JAVA_OPTS -cp . Test
    Running with jdk 1.8.0_05 does not provide "Method Profiling Samples"
    Running with jdk 1.7.0_55 provides "Method Profiling Samples"
    Environment:
    CentOS release 5.9 (Final)
    uname:Linux 2.6.18-348.1.1.el5 #1 SMP Tue Jan 22 16:19:19 EST 2013 x86_64
    libc:glibc 2.5 NPTL 2.5

    I've spoken to the developers of the JVM/JDK parts of JFR, and I'm afraid they say this is a known issue
    (https://bugs.openjdk.java.net/browse/JDK-8036090, https://bugs.openjdk.java.net/browse/JDK-8037340)
    that happens on Linux only.
    It will be fixed in 7u60 and 8u20 which will be released later this year.

  • Java Mission Control 5.2  Using Flight Recorder with GlassFish 4

    Hello,
    I followed the steps in the following link to monitor a GlassFish Application with Flight Recorder .
    Enterprise Software Development with Java: Java Mission Control 5.2 is Finally Here! Welcome 7u40!
    But I am getting the following Error when double click the "MBean Server":
    Could not connect to GlassFish (3376) : Unable to resolve connection URL
    Unable to resolve connection URL
    can you help me?
    Thanks in advance,
    Roger Solano.

    I downloaded Glassfish 4.0 to try this, also following the setup instructions for adding the jvm flags.
    I could however connect with the MBean Server.
    Could you send us the full error message, and possible also start JMC with
    jmc -consoleLog
    (add "| more" on Windows)
    Are you running JMC 5.2 or 5.3?

  • Blocked thread with no events does not show up in Flight Recording

    When there is no event in a thread and the thread is blocked during the entire duration of a flight recording, the thread does not show up in the flight recording. How to check the state of such a thread from the flight recording?

    Hi,
    I am not sure I understand the question correctly, but events (like Java Blocked) are only saved to file when the thread is not longer blocked. So if you have an event that goes on during the whole recording it won't show up. It's a known limitation of flight recorder.
    If you are really desperate to find out the state of the thread you could look at the Method Profiling events that samples the thread.
    1) In the Event Types remove all the events that are checked.
    2) Check the Method Profiling Sample.
    3) Go to Events-> Threads. Select the thread you are interested in
    4) Right click and select Operative Set -> Set Selection
    5) Go to Events -> Log and check Show only Operative Set
    6) Click on an event in the log and look at Event Attributes below. There is a field called Thread State which will tell you the state thread.
    That's the best that you could do.
    Erik

  • JMC flight recording code analysis

    Hello,
    I am having trouble understanding my flight recording of an ADF application. I have profiled an ADF app built in 11g R2 running on a stand alone server. The JMC recording returns everything it should.
    I need to know how to analyze my ADF methods to address problem areas to increase performance.  The majority of the code being recorded are java methods and not instances of my ADF app. How can I better understand what's going on so I can tweak the code for better performance results?
    Thank you,

    I'm working on trying to understand the mission control output a bit better with OP up there.  We have watched the youtube series from Oracle called Java Mission Control and Flight Recorder Demo Series, among a couple other videos, blog entries, etc.
    We originally tried to use VisualVM but had difficulty getting it running remotely, so we switched to JMC.  When we ran VisualVM locally though, we were able to add filters to the output to get rid of certain classes, allowing us to concentrate on the packages that were directly related to our application's code.  For example we did not profile these packages:
    java.*, javax.*, sun.*, sunw.*, com.sun.*,org.*,groovy.*,groovyjarjarantlr.*,org.*,ice.*, kodo.*,netscape.*,shemacom_bea_xml.*,weblogic.*,commonj.*,oracle.*
    I see that there is a filter field in some areas of mission control, but if we put in our package prefix and a wildcard we only get like 1 result.
    Is there any output that we could provide that would help illuminate this further?  Thanks!

  • Tracer vs. Sampling in Java Flight Recorder

    From JFR "Start FR wizard -->event options for profiling" and the profiling results,  I can tell that JFR is a sampling based profiler when analyzing methods. What I could not find out for sure is, how about I/O, GC and others? It is hard for me to believe those are sampling based as well. Instead I tend to believe those are actual counts that are being traced and recorded.
    I copied  page #5 on below side. If I understand correctly, it basically says that "GC, I/O and so on" are tracer based, not sampling based actual stats. While when it says "Sampling-based profiler", it only means "methold sampling".  Also page 16 on this slide seems to confirm my understanding, as JFR is built into JVM, and is able to instrument and get status for GC, I/O stuff.
    The reason I am interested is, actual stats for GC & I/O seem to be more valuable than sampled stats. So curious to know about it for sure.
    Java Flight Recorder Behind the Scenes
    Tracer and Profiler
    Captures both JVM and application data
    –  Garbage Collections
    –  Synchronization
    –  Compiler
    –  CPU Usage
    –  Exceptions
    –  I/O
    Sampling-based profiler
    –  Very low overhead
    –  Accurate data

    You are correct. Only the method profiler is sampling based, the other metrics are "real" metrics. The only caveat is that we throw away things that are shorter than a certain threshold. For example, in the default settings all I/O events shorter than 20ms are discarded.
    /Staffan

  • Pre Flight Record Check List  Alesis Firewire, Creative Sound Card, Adobe Audition

    I was having many crashes on my computer, Windows Vista, so I made a check list to put a stop to all the crashes. This is what has worked for me I hope it works to you. Just so you all know since the recording I do is for the church radio shows that we produce. We start and end with a prayer. God Bless
    Pre Flight Record Check List: To RECORD
    Disconnect all Periphials
    Reboot: Computer
    Printer: OFF (not connected to recording copmptuer)
    Speakers: All OFF
    Closet Light: OFF
    Cell Phones: OFF
    Lockdown Internet
    Disable Firewall
    Computer Volume Settings: Alesis Microphone
    2 Ch, 16 Bit, 44,100 Hz Cd Quality
    * Do not allow applications to take control
    Level- 100
    Alesis Control Panel
    Sample Rate: 44.1 Khz
    Buffer 256
    Rate: Any
    System Sound: enable
    System Latency: High
    Open Adobe Software: Multitrack View
    Adobe Audio Hardware Setup
    Edit View: Alesis 44,100 Hz, Buffer Size: 256
    Multimix View: Creative
    Surround Encoder: Creative
    Adobe Multi Track:
    Monitoring: External
    Adobe Edit Mode: Record in this mode
    Click New: for Settings
    Sample Rate:44100
    * Stereo
    * 16 Bit
    Alesis Multimix 12
    Main Mix
    x- Pressed
    x-Not Pressed
    Alt 3/4
    x-Pressed
    x-Not Pressed
    x-Not Pressed
    x-Not Pressed
    Sound Check:
    Level
    Pot: 1
    Pot: 3
    Main Mix:
    ALT: 3/4

    Alesis stuff is generally pretty good and the Alesis is correct in that it is generally accepted that the TI chips are better and it is good advice.
    PCI-e firewire800 card at ARC...
    http://www.arc.com.au/?IOFIREPCIE1394B
    I paid a $104 AUS it is now $77.90 (go figure)
    Unfortunately there is no image on the web site. Without pulling my PC out I'm pretty sure it has 2 outputs and 2 inputs but don't quote me on that.
    You should be able to pick something like this up anywhere in the world pretty cheap.
    If it was me I would say that it would be a small investment and worth it to see if you can get the Alesis stuff stabalised.

  • Enable Flight Recorder

    Hello,
    I am searching for the solution of the below warning where it is not clear to me, where exactly the parameter should be stored.
    in Step 6.3.4 "Enable Flight Recorder" I don't know where the lines should be stored in (path/file)
    jstartup/recorder = java -classpath ../j2ee/cluster/bootstrap/launcher.jar
    com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector
    ../j2ee/cluster/bootstrap -node %nodeID% %startTime% -bz $(DIR_GLOBAL) –exitcode
    %exitcode%
    Error description in setup wizard in SMD:
    The profile parameter jstartup/recorder could not be checked in the Java profile of <host>/<SID>/<abap instance number> [CI] (full host name)
    Any hint will be highly appreciated.
    Thank you in advance,
    Best regards,
    Rastislav

    Thank you for answer,
    Just to be correct, does it has to be visible via RZ10 or only on OS level in file for the J2EE Instance profile, because by the setup wizard in SMD it is looking for the instance profile XX and by the name its looking for the ABAP instance profile, where this parameter is already stored (only on OS level, not visible through SAP).
    Thanks,
    Rastislav

  • 30 mins flight recording shows 1 hour 30 mins  in published dashboard of Java mission control

    Hi,
    We are facing some issue during flight recording using Java Mission Control (version: 5.4.0 (M5.4.0-102, 162463)).We have set flight recording interval for 30 mins in java mission control. But after completion, it showed 1 hour 30 mins in published dashboard. Though the flight recording has been completed within 30 mins. The issue is happened  for 15 mins,20 mins flight recording  also.
    In published dashboard, some extra time has been added before starting of actual test.
    Because of this extra time, we are bemuse to find out the actual result.
    Please help us.
    Thanks
    Debraj

    Hi,
    Sorry for late reply.
    We are doing flight recording for OSB performance testing.
    We have followed below steps during testing
    a. Disabled all the services.
    b. Then we start flight recording.
    c. After 20 seconds gap we are enabling the services to poll data.
    but after completion of flight recording it is showing wrong time interval in dashboard.
    Regards,
    Debraj

  • SolMan Diagnotics - Flight Recorder

    For the setup of the Root Cause Analysis in SolMan Diagnostics, we need to "enable Flight Recorder" by
    adding "jstartup/recorder = ..." to the instance profile of the managed system.
    No issue with doing this BUT does anyone have an insight into what the "Flight Recorder" is?   And where we can see any of its results in the SMD?
    We've searched all over the place and can't find any background info.
    TIA ... Bart

    The Flight Recorder is used in the analysis of system shutdowns.
    It contains all the startup framework log files from the instance's work folder as well as the work folder of the message server and enqueue server. It also collects the default traces from all nodes so can be useful in analysis of issues relating to EP, BI or other J2EE web based apps

  • Enable Flight Recorder During Wily Install&Config

    Dear Experts,
    for the installation of the wily e2e tools we follow the "root cause analysis installation and upgrade guide".
    In Step 6.3.4 "Enable Flight Recorder" we don't know where to put these lines in.
    @ "Config Tool -> Instance -> Parameters" doesn't work...
    Its not clear too, if those 4 lines are 1 parameter or not?!
    Unfortunately it's not described very well. Can anyone help us?
    Thx a lot...
    EDIT Was already standing in the instance.properties file...
    Edited by: Timm Funke on Feb 7, 2008 3:19 PM

    I am facing the exact same issue.  Can anyone tell me where i should set up the jstarup/recorder parameter?
    I will appreciate your help.
    Thank you.

  • Diffrence between JRA recording and Flight recording?

    The latest jrockit has two recording options JRA and Flight recording. What is the difference?
    Thanks
    Manoj

    Hi Manoj,
    In the latest version (R28.x) you can only make flight recordings. JRA was the predecessor to Flight Recorder, used by R27.x and earlier releases.
    The main differences are
    * Flight Recorder can always be turned on (and we recommend you have it on) so you can flush the last x minutes of data to disk when you run into problems.
    * Flight Recorder can record information higher up in the stack, e.g database qúeries, EJB calls, webservices etc
    * Flight Recorder has more information about the JVM, e.g exception profiling and more detailed GC-data.
    * Flight Recorder has less overhead (<1% with the default settings) and there are more ways to configure it so you only record what you need.
    * Flight Recorder has a better GUI for viewing the recorded data, a GUI that is continously improved upon.
    Best regards
    Erik

  • Parsing jrockit flight recorder files programmatically

    Hi all,
    i am trying to develop a small/custom application to process the .jfr files from multiple jrockit JVM (the JRMC is not friendly enough
    when processing multiple files and can't automate some typical issue/problem checking)
    i refer to the API document here: http://docs.oracle.com/cd/E15289_01/apirefs.40/e26998/com/jrockit/mc/flightrecorder/FlightRecording.html
    e.g.
    FlightRecording recording = FlightRecording.createFromFile(new File("path_to_recording.jfr"));
    //more code below
    i add several .jar files in the classpath (jars in folder missioncontrol/plugins) for compilation.
    When i try to run the application, i get the following error.
    can anybody help to show me how to setup the environment/classpath so as to run an application for reading the .jfr file?
    thank you.
    Begin task: Starting reading eventsReading chunk
    Parsing events
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at com.jrockit.mc.flightrecorder.provider.bcel.BCELUtilities.createEventClassLoader(BCELUtilities.java:37)
         at com.jrockit.mc.flightrecorder.provider.EventType.<clinit>(EventType.java:45)
         at com.jrockit.mc.flightrecorder.provider.Producer.createEventType(Producer.java:99)
         at com.jrockit.mc.flightrecorder.internal.parser.synthetic.EventTypeFactory.create(EventTypeFactory.java:29)
         at com.jrockit.mc.flightrecorder.internal.parser.synthetic.ProducerFactory.create(ProducerFactory.java:135)
         at com.jrockit.mc.flightrecorder.internal.parser.synthetic.ProducerFactory.createProducers(ProducerFactory.java:101)
         at com.jrockit.mc.flightrecorder.internal.parser.binary.MetadataParser.read(MetadataParser.java:37)
         at com.jrockit.mc.flightrecorder.internal.parser.binary.MainParser.read(MainParser.java:70)
         at com.jrockit.mc.flightrecorder.internal.parser.binary.MainParser.read(MainParser.java:49)
         at com.jrockit.mc.flightrecorder.provider.RepositoryBuilder.createRepository(RepositoryBuilder.java:63)
         at com.jrockit.mc.flightrecorder.provider.RepositoryBuilder.build(RepositoryBuilder.java:52)
         at com.jrockit.mc.flightrecorder.internal.JRockitFileProvider.createRepositoryFromFile(JRockitFileProvider.java:26)
         at com.jrockit.mc.flightrecorder.spi.FileProvider.createRepository(FileProvider.java:43)
         at com.jrockit.mc.flightrecorder.FlightRecording.<init>(FlightRecording.java:69)
         at com.jrockit.mc.flightrecorder.FlightRecording.createFromFile(FlightRecording.java:108)
         at test.FileParser.main(FileParser.java:18)
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.bcel.internal.classfile.ClassParser.<init>(ClassParser.java:101)
         at com.jrockit.mc.flightrecorder.provider.bcel.Repository.lookupClass(Repository.java:34)
         at com.jrockit.mc.flightrecorder.provider.bcel.EventClassLoader.<clinit>(EventClassLoader.java:52)
         ... 22 more
    Edited by: user12050693 on Nov 15, 2012 1:10 AM

    I had the same problem today, so I went deeper and found out that there's a problem in retrieving the resource stream, it can be overridden by loading your class (and all reflected JRockit classes) with class loader like this:
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLClassLoader;
    public class CorrectedClassLoader extends URLClassLoader {
        public CorrectedClassLoader(URL[] urls, ClassLoader parent) {
            super(urls, parent);
        public CorrectedClassLoader(URL[] urls) {
            super(urls);
        @Override
        public InputStream getResourceAsStream(String name) {
            InputStream is = super.getResourceAsStream(name);
            if (is == null && name.startsWith("/")) {
                name = name.substring(1);
                is = super.getResourceAsStream(name);
            return is;
    I don't know why the system class loader won't find the resources with "/" prefix but this solved my problem.

  • How to do interscope agent installation adn configuration

    Hi
    What are all the JAVA parameters that need to be configured after interscope agent installation
    Rohit

    Have you set the Flight recorder parameter?. - This is for Diagnostics installation.
    Please refer to the IMG Documentation available in the display section Managed sytems setup->Manual Configuration->Activate Flight Recorder.
    If its Regarding the Parameters for Interoscope configurations:
    The JAVA VM parameter will be changed automatically on configuration of Wily Agent-(Automatic Configuration through Diagnostics) or we have to set up manually in case of manual Configuration-> please refer to Installation Guide - Introscope Version 8Installation Guide For SAP - from page 24.
    Thanks,
    Jagan
    Edited by: jagadheeshan govindasamy on Sep 15, 2009 7:49 AM

  • Recording Audio on a 5G iPod

    I'm going to Europe in a week, and I'd like to use my 5G for audio recording but I cannot figure out how to enable the recording settings. I have a dock connector with inputs to the left and right audio recording channels plus audio ground, but connecting this does not activate the recording settings.
    What am I missing? Is documentation on the 5g dock connector available? I'd love to have this working.
    Tim
    iPod 5G 30 gig   Other OS  

    Here's the deal, folks. The iPod recording software is activated by sending a serial communications string. The string is 0xFF 0x55 0x03 0x00 0x01 0x01 0xFB at 19,200 baud, 8N1, according to what I have gleaned from info on the 3G. The string needs to be sent twice. The first one tells the ipod to activate the software, and the second time acknowledges that the ipod understands the instruction.
    The recording software is in there, it just needs to be "turned on" with this string of bits. I haven't built a digital circuit in more years than I care to say, but I think there is probably a chip that can have this string programmed into it, and then dump it at command. My alternative is to use somebody else's circuit that does the same thing.
    From the looks of things, the 2 pins on the 4G were serial data lines, one for transmit, one for receive. These have been moved to pins 12 and 13 on the dock connector, from what I can tell. It also looks like there needs to be a 500kohm resistor tying pin 21 and 30 to activate the serial communications.
    Perhaps this info will help someone else work on the problem while I'm offline. If I had a Belkin Voice Recorder or iTalk, I'd try it right now. As it is, there is too much to do and a flight to catch.
    Tim

Maybe you are looking for

  • GL account blocked error during migo

    when i m doing the migo,during the document posting system showing following error msg. " G/L account 40100211 blocked for posting in company code 1000" when i m doing same bt vendor is diff.. then i not got any error msg... tell me what the solution

  • Delay in the release of connections to pool after closing.

    Hi, I'm using typical jdbc code to close the Connections got through ConnectionPool created on Weblogic 8.1. When the data access / update code is completed execution, I could observe couple of connections still open in the weblogic console connectio

  • Decimals problem in Screen Painter

    Hi Experts, I have a table control which consist material & quantity column, How I can set default decimal places in the screen painter field. As I'm inputting any round value it does'nt show decimals for that. I'm using standard field VBAP-ZMENG for

  • Account Broken - new id spawned

    Hi Admins Tried all the 4 steps of logging out, clearing cookies. The correct id is little*big*man The new incorrect spawn is little*big*man-ESRzuh Thanks! Sean

  • 3GS now a paperweight?

    My stupid macbook pro won't recognize the pictures on my 3GS now that I have my iPhone 4. Do I really have to plug my 3GS into a PC to get the pictures off? I hate being a fanboy that gives Apple a pass on all these irritating little things, but I ju