Enable Debug on Startup?

Hi Everyone: is there a way to configure the J2EE engine to enable debugging on startup? Thanks!

Ian,
Use the Config tool and expand cluser-data -> instace_idxxxxx -> server_idxxx and left-click on this node.
In the right had pane you should see a bunch of tabs, the last one being debug. Check the Debugable checkbox and the Enable debug mode one.
Apply the settings from the File menu, then exit and restart the server process.
Cheers,
Steve
PS - Config tool is launched from go.bat in the directory
\usr\sap\J2E\JC00\j2ee\configtool\

Similar Messages

  • [SOLVED] Enabling debug for ath9k in compat-drivers-patched from AUR

    Wireless card: TP-LINK TL-WN951N. lspci says that it is an Atheros AR5416 adapter [AR5008].
    Some background: I'm having the same issues as the OP in this thread, which references this bug report. The problem is that I get a 2000 ms ping every 30 seconds. So 2 seconds of inactivity every 30 seconds. I have the same wireless PCI card, as well. I need to fix this, because it's making online gaming impossible. I should also note that the card is working just fine in Windows 8, however. I am using net-auto-wireless. I have tried using wicd, enabling ath9k's nohwcrypt option, toggling the card's power save, installing the latest compat-drivers-patched from the AUR, toggling different settings in my motherboard's BIOS, and removing the antennae from the card. But nothing has made a significant difference.
    I think I'm really close now. I just have to disable ANI. But in order to do that, it seems that I need to enable debugging for ath9k. But this means that I need to either recompile a custom kernel, or somehow enable debug for ath9k in compat-drivers-patched from the AUR. I'd prefer the latter, as that means that I will have a more bleeding-edge driver. That, and I won't have to touch the kernel as much. What I want is described on this page. But it seems too complicated to me. Please let me explain.
    I've installed things from the AUR before, as mentioned above, and have properly configured my makepkg.conf for my system. So I'd like to use the CFLAGS and such that I've set. I don't understand how everything works in the PKGBUILD; I don't have much experience with sed and awk and regular expressions, and haven't done much shell scripting at all. It seems that at some point in the PKGBUILD, I need to enable debugging for ath9k before it is compiled. Apparently on the last page I linked to, I need to add:
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    to some config.mk file. I can only get access to the config.mk file after I install the package with pacman. I've tried adding those lines to my /etc/profile file, and checked, after a reboot, with "set", that those variables are indeed set. But the thing is, with these variables set in /etc/profile, when I run makepkg, makepkg fails with an error 2. I tried again and got the same error. I removed those lines from my /etc/profile, rebooted, tried makepkg again, and everything worked. So putting those lines in my /etc/profile is not the solution, and I feel like I'm doing something very stupid. What am I doing wrong?
    I should also note that I've tried to read the wiki page on compiling a custom kernel using ABS, but it seems to just say "get your custom configuration files" and then just continue (so it assumes that I should already be familiar with the configuration part). The PKGBUILD and Creating Packages wiki pages also seem to be a little... too advanced for me at this point in time.
    So how do I enable debugging for ath9k in compat-drivers-patched from the AUR? I'd prefer to stick with only editing the PKGBUILD and using makepkg, if possible.
    I've really tried to search the web and the arch forums on how to fix this problem myself, but alas, it seems that I need help this time. I greatly appreciate your time for reading my long post.
    UPDATE:
    I've made a lot of progress. I ended up removing the AUR package with pacman by invoking "pacman -Rsn compat-drivers-patched".
    Instructions for [almost] success: First, download compat-drivers-patched from AUR. Then move it to the "builds" directory (or "local", if using ABS). Extract the tarball. After the new directory is created, cd into it. Now here's the important part: run
    $ makepkg -so
    Then cd into src, cd into the directory inside src, then edit the config.mk file. Make sure these lines are uncommented (or created, if not already there):
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    (source)
    Now run "cd ../.." to go back up two directories. Now run:
    $ makepkg -e
    # pacman -U <file that was produced>
    And I ran "mkinitcpio -p linux" just in case, but I'm not sure if that is necessary at all. I'm... not touching the kernel, right?
    Now I ran:
    echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
    But bash would say that the file or directory doesn't exist. Even if I prepend it with "sudo", I get the same results. I was only able to get the command to work if I logged in as root. I even put the line in my /etc/profile. The 2000 ms ping every 30 seconds is now GONE. HOWEVER! If I reboot and log in as a normal user, the problem is there again. If I reboot and log in as root, the problem is gone. If I then log out and then log back in as a normal user, the problem does not come back.
    So really, I can avoid the problem if I first log in as root, log out, and then log back in as a normal user. But this is a great inconvenience. I would much prefer if I could just log in as a normal user right after boot, and have everything working.
    Now, how do I get the command to automatically run at boot as root (without me having to log in as root), and work?
    UPDATE 2:
    I got it working. Putting the line in /etc/profile is not the solution. I created a custom systemd .service file.
    Put this into /etc/systemd/service (name it "disable_ani.service"):
    EDIT: Wow. I made a glaring typo here. It should be /etc/systemd/system/disable_ani.service
    [Unit]
    Description=disable_ani
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c "echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani"
    [Install]
    WantedBy=multi-user.target
    Then make sure to "sudo chmod 755 /etc/systemd/service/disable_ani.service", since root owns this file.
    Then run "sudo systemctl enable disable_ani.service".
    EDIT: It has been brought to my attention that there is a much simpler way than creating a custom service.
    Using a tmpfile:
    /etc/tmpfiles.d/disable_ani.conf
    w /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani - - - - 1
    Done.
    Now ANI is persistently disabled between boots, even if I log in as a normal user right after boot.
    Thanks for reading.
    Last edited by vyu223 (2013-03-12 10:20:19)

    So zsh is telling you that the command didn't work, since it claims that there is no such file or directory. I had a lot of trouble with getting the echo command to work, as well. I found that if out of these lines:
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    If the first and second line above were not uncommented in the config.mk file, I couldn't leave the last line above uncommented as well, or else makepkg would fail and give me an error. So originally I had only the 3rd and 4th lines above uncommented/inserted in my config.mk. With that configuration, I could not get the echo command to work, no matter what. Have you uncommented or inserted all of the above 5 lines into your config.mk?
    After making sure all of the above 5 lines were in my config.mk, the echo command still didn't work, even if I preceded the command with sudo, or entered a su session. Bash would tell me that there was no such file or directory. I found that if I actually logged out of my normal user, and then logged back into the computer as root, the command would work. If your shell does not give you any feedback (particularly, "no such file or directory"), then the command worked. In order to get the command to run every time the computer boots, I used a systemd service, so that the command is issued as root. For some reason, it doesn't work if you put the command into /etc/profile.
    Oh, and it would probably be helpful to mention that for the compat-drivers-patched package from the AUR, the PKGBUILD checks to see what your _selected_drivers variable is before compilation. If you set _selected_drivers=ath9k, your compile times will be much shorter.

  • It there a way to enable debugging to view SQL details for database adapter

    The adapter guide seems to allude to the possibility with the following statement:
    "To monitor performance, you can enable debug logging and then watch the SQL for various inputs."
    There is no information, however, to indicate how to enable this feature. It would be nice to be able to view details in domain.log.
    Thanks,
    RM

    The switch to tab feature is only available when you are typing in the Location (a.k.a. Awesome) bar. Clicking on a bookmark will always open the bookmarked page in either the current tab or a new tab.

  • How do I enable debugging in beans.ocx

    I am successfully running a Java Web enabled Application in Windows 2000 IIS Server.
    The application is accesses via Active Server Page (ASP) COM object interface enabled by Sun �JavaPlugin-ActiveX Bridge�. The application works great, it is using Java version is 1.3.1.
    I need to enable debug in the �JavaPlugin-ActiveX Bridge� How do I turn �DEBUG ON�
    I want to pass the following parameters to �JavaPlugin-ActiveX Bridge� ;
    -Xnoagent -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n -Djavaplugin.trace=true

    Hi,
    In order to debug, first you need to compile your .java files with -g option in javac.
    1)For debugging, start the Java PLug-in Control Panel.On the Basic tab,specify the following parameters in the Java Runtime Parameters:
    -Djavaplugin.trace=true
    -Xnoagent
    -Xdebug
    -Xrunjdwp:transport=dt_shmem-,address=jdbconn,server=y,suspend=n
    Check the address once again .
    2)On the Advanced tab in the Java Plug-in Control Panel, select "JDK <version> in <jdk-path>" for the Java Runtime, where <version> is the Java Plug-in version and <jdk-path> is the path to the Java 2 SDK installation. For example, "JDK1..3.1 in C:\jdk1.3.1" . Do not select the Debug Options under the Advanced tab.
    3)Start Internet Explorer or Netscape Navigator and load the page which contains the applet to be debugged. Make sure the applet code has been compiled with -g option in javac.
    4)Run the command jdb -attach <connection address> in a DOS command prompt. <connection address> is the name mentioned in the step 1. For example, if <connection address> is 2502, you will run the command as
              jdb -attach 2502
    5)Once the jdb has attached to the VM, you can set up breakpoints in the applet.
    6)When the applet in the browser reaches the breakpoint, it will stop executing, and you will see the debugger waiting for your input to continue debugging.
    Hope this will help you.
    Anil.
    Developer Technical Support
    Sun Microsystems Inc,
    http://www.sun.com/developers/support

  • How to enable "Debug Option" in submit request

    how to enable "Debug Option" in submit request

    Hi,
    Please see these docs.
    (Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Is there any guide lines how you can secure windows 7 gpo enable system services startup security settings?

    Is there any guide lines how you can secure windows 7 gpo enable system services startup security settings?
    For example like many do with Forefront Client Security Anti-Malware service, and there is lots of other service that you would like to have control over to get an secure and stable Windows 7.
    /SaiTech

    Hi, 
    Since there is no response from you, we considered that you have gotten what you want in previous post. 
    For further question, please don't hesitate to come back here and let's discuss again. 
    If you have any feedback on our support, please click here
    Kate Li
    TechNet Community Support

  • Netweaver Administrator - Enable Debugging

    In the Netweaver Administrator web console, we want to enable debugging (System Mgmt > Administration > Systems.  For some reason, the 'Enable Debugging' button is greyed out for the J2EE server process.  Have you seen this before?

    Sorry BOB..I didnt see this message.
    You can enable debugging from visual admin:
    Logon with Visual Administrator ->Server->Services ->u2022     Go to Configuration Adapter:->u2022     On Display Configuration go to: cluster_data -> Propertysheet instance
    ->Switch between Display Mode or change ->->Double-click on u201CProperty sheet instanceu201D opens:
    Make sure the DebugMode is set to u201Cyesu201D to debug the portal.
    You can specify the port here....and siable debugging on some nodes (as per need)
    regards,
    hemanth

  • How to enable debug mode?

    Hi
    We are doing some web dynpro development.
    Can anyone tell me ho to enable debug mode in the server
    Thanks
    Vijay

    Hi,
    Check this blog, for some idea how to use configtool to set debug mode:
    NetWeaver Portal Debugging
    How to enable debug mode?
    I see that you are new to this forum, first of all welcome to SDN.
    I see that you have posted alot of questions today, really appreciate your interest in learning new stuff.
    SDN is a great forum to start with but my suggestion is to first search the forum for answers to your questions before posting them, this way you will help yourself instead of waiting for people to help you out.
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • "Unable to enable debugging" within Workshop 8.1

    I'm testing a portal application with workshop 8.1. When I started the .portal, I got this error "Unable to enable debugging. Verify that you webapp deployed correctly". If I choose to start without debugging it's OK.
    The deployment was successfully done without error. Is there anything else I can check?
    Thanks

    Thanks.
    One of my concerns is that this change will update the .work file with some local values such as host name and port number, etc. For some reason we could not use a generic name such as "localhost" in our development. This causes a little problem since the .work file contains some hard coded parameters can not be shared amoung other developers.
    Hopefully there is another better solution.
    Thanks again for the help!

  • Unable to enable debugging

    Every once in a while I get a message 'Unable to enable debugging. Please verify
    that your webapp is deployed correctly. I can't seem to figure out why?

    Tito,
    If you are working with multiple servers on the same machine, and have not
    shutdown the debugger which was started for a different server, then you
    could end up with this error message.
    Please make sure that you use the stopweblogic script to shut down servers
    in development mode. This script will make sure that both the server and the
    debugger process are shutdown.
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Tito Kumar" <[email protected]> wrote in message
    news:4076dad5$[email protected]..
    >
    Every once in a while I get a message 'Unable to enable debugging. Pleaseverify
    that your webapp is deployed correctly. I can't seem to figure out why?

  • Enabling debugs on CUCC express 5.0

    Hi all,
    I have a:
    Cisco Unified Contact Center Express 5.0
    Version <6.4.2.12> Pri Build <5.0> Special Build
    I'm very new with IPCC. 5 days new!!
    My tenical support is asking me to enable debugs on the agent.
    Can anyone let me know where to I need to enable this debugs?
    He metioned something like enable them on cap.
    The debugs are to identify an issue on which de CUCC stop responding. He told me to enable debugs and wait for the issue too happen again and get the logs.
    Please let me know if anyone can help me on this.
    Have a great weekend!

    Hi,
    Today I finally enabled the debugs. But I have just two doubts:
    First, I didn't find any file named agent.ini under desktop, in fact I didn't found any file named agent.ini. I found a file named admin.ini under Cisco\Desktop\Config, is this right? Do I have to change any other file?
    Also when I opened the file I found that the debug was already enabled, so I changed the Threshold to TRACE. The weird thing is that in this property file it's configured that all the debugs get written on \log\administrator.dbg, but this file haven't changed since July. Do you know if this is normal? I'm guessing that this file is going to get bigger with time, but if this file stays the same why could this be?
    Thanks a lot for all your help!!!!!!

  • Problems trying to enable Debug Mode on WLS 6.1 For WinNT

    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

    - JDK 1.3
    The Java Platform Debugging Architecture software is already included with JDK
    1.3, so similar to JDK 1.2.2 you can use:
    java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    .. weblogic.Server
    and
    jdb -attch debugaddr
    "Teju Ajani" <[email protected]> wrote:
    >
    OOOPS!! I apologize for the misleading information.
    Here are some suggestions for this issue.
    How can WebLogic Server be started to attach with a remote debugger to
    the java
    process?
    - JDK 1.2.2
    To enable remote debugging for JDK 1.2.2 you have to install the Java
    Platform
    Debugging Architecture. You can also use (for NT) jdwp.dll, dt_shmem.dll
    and dt_socket.dll
    from the JDK 1.3.
    Start the java process with the following properties:
    java -Xdebug -Djava.compiler=NONE -Xnoagent -Xrunjdwp:transport=dt_shmem,address=debugaddr,server=y,suspend=n
    ... weblogic.Server
    To attach with jdc to the java process, use:
    jdb -attch debugaddr
    If you need to debug across a network, you may also use transport=dt_socket
    instead
    of dt_shmem.
    "Teju Ajani" wrote:
    Hans,
    did you remember to export the java library path?
    I also noticed the address option was missing from your startup string.
    If using a Solaris platform, change the LD_LIBRARY_PATH environmentvariable
    to
    prepend $JAVA_HOME/lib/sparc:
    export LD_LIBRARY_PATH=$JAVA_HOME/lib/sparc:$LD_LIBRARY_PATH
    See:
    http://e-docs.bea.com/wls/docs61//faq/server.html
    for additional details on starting your server in this mode. note the
    "Address"
    option given.
    "Hans Nemarich" <[email protected]> wrote:
    that`s what i`m getting.
    Someone knows what i`m doing wrong ?
    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -Xdebug -Xnoagent
    -Xrunjdwp:transpo
    rt=dt_socket server=y suspend=n -Djava.compiler=NONE -ms64m -mx64m
    -classpath
    .;.\lib\we
    blogic_sp.jar;.\lib\weblogic.jar;c:\bea -Dweblogic.Domain=SRV_HNemarich
    -Dweblogic.Name=
    AdminServer "-Dbea.home=C:\bea" -Dweblogic.management.password=weblogic
    -Dweblogic.Produ
    ctionModeEnabled=false "-Djava.security.policy==C:\bea\wlserver6.1/lib/weblogic.policy"
    weblogic.Server
    ERROR: Non-server transport dt_socket must have a connection address
    specified
    through t
    hre 'address=' option
    Invalid JDWP options: transport=dt_socket
    Error occurred during initialization of VM
    -Xrun library failed to init: jdwp

  • Enable debug for pl/sql

    i want to enable the debug for pl/sql . and also the debug output stored in "FND_LOG_MESSAGES" table

    i want to enable the debug for pl/sql . Please see these docs.
    Debugging PL/SQL Programs Using DBMS_OUTPUT [ID 1005663.6]
    What Tools can be Used to Debug PL/SQL Program Units on the Database [ID 566668.1]
    How To Debug a PL/SQL Package Using JDeveloper [ID 300252.1]
    How To Obtain PL/SQL Object Information Regarding Debugging and Compilation [ID 793492.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    and also the debug output stored in "FND_LOG_MESSAGES" table11.5.10/12: How To Enable and Retrieve FND Debug Log File Messages for Oracle iStore? [ID 789172.1]
    How to Obtain Debug Log in R12 [ID 787727.1]
    (Pics) How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • Enabling debug mode for j2ee engine

    hi,
    I would like to enable the debug mode for my j2ee engine (installed on a remote host)
    I followed already the below mentioned steps, but I was not successfull
    http://help.sap.com/saphelp_nw04/helpdata/en/ae/40e1407e858031e10000000a1550b0/content.htm
    In the NWDS I see always that the Productive Use is enabled (YES). How can I switch this field to NO?
    kind regards
    Michael

    Here the steps...
    1.     login to config tool
    2.     access serverX node
    3.     select debug manu
    4.     select all 3 option(checkbox)
                      "DebugMode" -> "yes"
                      "DebugPort" -> "50021"
                      "Debuggable" -> "yes"
    5.              restart engine.

  • Enable bluetooth at startup

    For some reason my bluetooth is now always off at startup; How do I re-enable it so that it is always on?

    So after the udev rule my bluetooth device was now started at boot/wakeup, but I still needed to use bluetoothctl to connect to my mouse everytime.
    The key that I was missing there was trust.  namely:
    [bluetooth]# trust 00:07:61:EA:F5:10
    inside of bluetoothctl.
    Now my mouse automatically connects when I turn it on, just like it did in gnome3.
    Thank You!!

Maybe you are looking for

  • Generic InDesign icon instead of thumbnail

    Just upgraded from Panther to Tiger and all went well. But back in Panther, in column view, if I selected a saved InDesign document, a thumbnail of the document would appear in the next column. Since the upgrade, however, all I get is the generic InD

  • Can i open a project created in FCPv4 in FCPv6.0.5 ?

    I need to switch computers while working on the SAME project. will i be able to open my project, which i created in FCP version 4 on the new computer that has FCP version 6.0.5 ? Thanks for your help!

  • What's your review of Ozone 4 Mastering plug-in for GB?

    If anyone uses Ozone 4, especially in GB, please let me know what you think of it. I've heard it mentioned in a few other GB threads and I'm thinking of buying it soon. I've been recording my own music for the past few years. Started with ProTools bu

  • How to right align JTextField content

    Is there a way to right align the content of a JTextField?

  • N95 8GB, knew it was a mistake going back to Nokia

    Hi all, The other night the N-Gage demo app thingy stopped launching. Didn't matter what I did it just wouldn't launch. Tried powering off then back on, no luck. Tried removing battery and powering back on, no luck. In desperation I tried a restore t