Debug Mode for CustomRealm

( maybe see as well entry #27 in this list)
For debugging / logging from my ( now working) CustomRealm implements DebugableRealm, i tried to set DebugSecurityRealm=true. Starting WL Server gives the behaviour, described in thread 27.
As well instanciating a new LogOutoustream results in runtime Stackoverflow.
The same thing works well wit a custom AuditProvider.
Are there sulutions to this problem ?
Thanks,
Paul

Thanks for the comment. i implmented my own debug file, so i can live with it for now.
Paul
"Suresh Vallabhaneni" <[email protected]> wrote:
>
Hi Paul
Sorry for the late reply. First of all, thank you for uncovering an untested part of ServerDebug MBean. The Debug Mode for Security Realms currently works for fileRealm but doesnot work for alternate realms(e.g., LDAP realm). We're in the process of fixing this in the future releases(may not be Beta Refresh but will definitely be fixed in GA). I'm attaching a working config.xml(with fileRealm) and the only change you've to make to your config.xml is
<Server
<ServerDebug
DebugSecurityRealm="true"
Name="myserver"
/>
</Server>
If you're debugging a fileRealm then I belive, this serves your purpose. But if you're debugging a Security Realm other than fileRealm and this is blocking you, plz let us know so that this will be fixed with a higer priority. Thanks again for uncovering this.Will let you know as soon as this is fixed.
regards
"Paul Hettl" <[email protected]> wrote:
( maybe see as well entry #27 in this list)
For debugging / logging from my ( now working) CustomRealm implements DebugableRealm, i tried to set DebugSecurityRealm=true. Starting WL Server gives the behaviour, described in thread 27.
As well instanciating a new LogOutoustream results in runtime Stackoverflow.
The same thing works well wit a custom AuditProvider.
Are there sulutions to this problem ?
Thanks,
Paul

Similar Messages

  • How to turn on debug mode for NW 7.3 trial version?

    Hello SDN!
    I've got a trial version of NW 73 from here: http://scn.sap.com/community/netweaver/blog/2012/07/12/netweaver-compositon-environment-73-trial-version-available-on-scn and installed it from instruction. Installation was OK and Java instance is up and running now. System asked me to change administrator password after I logon to the NWA for the first time. I've changed password and now I'm able to login to the NWA but system doesn't accept neither new administrator password nor OS users (root and cesadm users) passwords when I try to turn on debug mode for Java instance.
    What I did wrong?
    Regards, Lev

    Hi Benny!
    Thanks for answer.
    The installation finished without any errors. Java instance run successfully. After install I opened browser right in VM window with url http://sapnwce73:50000/nwa to switch on debug mode. Since it was my first logon to the system as "Administrator" user the system asked me to change password. I've changed password and logon to NWA successfully as user with login "Administrator" and his new password. After I switched on debug mode the system asked me to login and password as shown on the follow screenshot:
    This screen didn't accept neither Administrator user credentials, nor cesadm user credentials, nor root user credentials.
    Also I've found that I'm not able to restart/stop Java instance because of the same issue - system doesn't accept user credentials.

  • Debug-Mode for Security Realm

    Hi,
    then i try start the server with the debug mode i get the following
    exception:
    Starting WebLogic Server ....
    <Tue Oct 24 17:45:33 GMT+02:00 2000> <Info> <Management> <Loading
    configuration file .\config\virtHoDomain\config.xml...>
    Unable to dump log: Fatal initialization exception
    Throwable: java.lang.StackOverflowError
    java.lang.StackOverflowError
    at java.util.Collections$SynchronizedMap.get(Collections.java:1433)
    at
    weblogic.kernel.ResettableThreadLocal.currentStorage(ResettableThreadLocal.j
    ava:100)
    at
    weblogic.kernel.ResettableThreadLocal.get(ResettableThreadLocal.java:35)
    at
    weblogic.transaction.internal.TransactionManagerImpl.getOrCreateThreadProp(T
    ransactionManagerImpl.java:844)
    at
    weblogic.transaction.internal.TransactionManagerImpl.getTransaction(Transact
    ionManagerImpl.java:359)
    at weblogic.transaction.TxHelper.getTransaction(TxHelper.java:34)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:156)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    at weblogic.logging.LogOutputStream.debug(LogOutputStream.java:80)
    at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:775)
    at weblogic.security.acl.Security.getCurrentUser(Security.java:238)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:161)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    at weblogic.logging.LogOutputStream.debug(LogOutputStream.java:80)
    at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:775)
    at weblogic.security.acl.Security.getCurrentUser(Security.java:238)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:161)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    I even get that exeception if try to initialize the
    weblogic.logging.LogManager in a commun class.
    I think this is a bug.

    Hi Lars Klippert
    Sorry for the late reply. First of all, thank you for uncovering an untested part of ServerDebug MBean. The Debug Mode for Security Realms currently works for fileRealm but doesnot work for alternate realms(e.g., LDAP realm). We're in the process of fixing this in the future releases(may not be Beta Refresh but will definitely be fixed in GA). I'm attaching a working config.xml(with fileRealm) and the only change you've to make to your config.xml is
    <Server
    <ServerDebug
    DebugSecurityRealm="true"
    Name="myserver"
    />
    </Server>
    If you're debugging a fileRealm then I belive, this serves your purpose. But if you're debugging a Security Realm other than fileRealm and this is blocking you, plz let us know so that this will be fixed with a higer priority. Thanks again for uncovering this. We will let you know as soon as this is fixed.
    regards
    "Lars Klippert" <[email protected]> wrote:
    Hi,
    Part from config.xml:
    <Server ...>
    <ServerDebug Name="virtHoServer" DebugSecurityRealm="false"/>
    </Server>
    Part from my start-script:
    %JAVA_HOME%\bin\java.exe -ms16m -mx64m -classpath
    %CLASSPATH% -Dweblogic.Domain=virtHoDomain -Dweblogic.Name=virtHoServer -Dja
    va.security.policy==.\lib\weblogic.policy weblogic.Server
    As you can see i enable the debug-mode in the config.xml.
    I also get the exception then i disable the debug-modus and
    initialize the weblogic.logging.LogOutputStream by hand.
    For our EntityBeans we have developed a custom error logger
    that uses the weblogic.logging.LogOutputStream and it works
    fine. Maybe the error only acccours if two or more
    weblogic.logging.LogOutputStreams are active...
    With the 5.1.0 version of the server everything works fine.
    Thanks
    "Paul Ferwerda" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    How exactly are you starting "the server with debug mode"?
    Thanks,
    Paul
    Lars Klippert wrote:
    Hi,
    then i try start the server with the debug mode i get the following
    exception:
    Starting WebLogic Server ....
    <Tue Oct 24 17:45:33 GMT+02:00 2000> <Info> <Management> <Loading
    configuration file .\config\virtHoDomain\config.xml...>
    Unable to dump log: Fatal initialization exception
    Throwable: java.lang.StackOverflowError
    java.lang.StackOverflowError
    at
    java.util.Collections$SynchronizedMap.get(Collections.java:1433)
    at
    weblogic.kernel.ResettableThreadLocal.currentStorage(ResettableThreadLocal.j
    ava:100)
    at
    weblogic.kernel.ResettableThreadLocal.get(ResettableThreadLocal.java:35)
    at
    weblogic.transaction.internal.TransactionManagerImpl.getOrCreateThreadProp(T
    ransactionManagerImpl.java:844)
    at
    weblogic.transaction.internal.TransactionManagerImpl.getTransaction(Transact
    ionManagerImpl.java:359)
    atweblogic.transaction.TxHelper.getTransaction(TxHelper.java:34)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:156)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    atweblogic.logging.LogOutputStream.debug(LogOutputStream.java:80)
    atweblogic.security.acl.CachingRealm.getUser(CachingRealm.java:775)
    atweblogic.security.acl.Security.getCurrentUser(Security.java:238)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:161)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    atweblogic.logging.LogOutputStream.debug(LogOutputStream.java:80)
    atweblogic.security.acl.CachingRealm.getUser(CachingRealm.java:775)
    atweblogic.security.acl.Security.getCurrentUser(Security.java:238)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:161)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:145)
    at
    weblogic.management.logging.LogBroadcaster.log(LogBroadcaster.java:138)
    at weblogic.logging.LogManager.log(LogManager.java:93)
    I even get that exeception if try to initialize the
    weblogic.logging.LogManager in a commun class.
    I think this is a bug.

  • Enable the Debug mode for Dispatcher and Server0.

    Hello All,
            In our EP server 7.0(stand alone java) apart from SDM we need to enable the Debug mode for Dispatcher and Server0.I tried to do it from mmc but cannot do so.When I try to right click & enable from mmc the "Enable Process" is not highlited,it is disabled.How Can I enable the the Debug mode for Dispatcher and Server0?

    Hi
    Goto Configtool Select Instance_IDxxxxx on the right side you can see "Servers Debug" tab, select that and choose, enable debug and debuggable options.
    Save the settings.
    Then expand the above mentioned node and select Server_IDxxxxxxx , you will see a tab Debug select it and choose, enable debug and debuggable options.
    Save the settings.
    After it is done, take a restart of the instance. This should help you.
    Regards
    Rahul

  • 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.

  • Is there a debug mode for Presenter SWF published to a custom LMS?

    I've implemented a simple LMS interface (API_1484_11) in JavaScript on the page that loads the SWF generated by Presenter. The SWF is playing fine, and it appears to call the API_1484_11.Initialize() method, but then doesn't call any of my Commit(), GetValue(), or SetValue() methods. Weird thing is that is used to work fine, and I can't figure out what I changed that would break it.
    In my Presenter presentation, the Quiz Manager settings have these reporting options:
    - LMS set to SCORM (Manifest set to 2004 type)
    - Report data set to quiz results and slide views
    - Pass or fail set to report complete/incomplete
    - Score set to report as percent
    - Level set to report interactions and the score
    Is there any way to tell the SWF to run in a debug mode so it will provide some sort of information or feedback about what it is doing regarding the LMS interface?

    Ugh. So I quit out of my browser and restarted, and now the Presenter Flash is communicating with my mini-LMS interface properly. After Initialize() it calls getValue() and asks for cmi.location, cmi.score._children, etc. values. I think I've seen this happen before, where if I accidentally have two windows with a Presenter Flash object in them, they both stop working with the LMS API until I quit and restart my browser. (I'm on a Mac with Firefox but have seen this on Windows with IE, too, I think.)
    But still, I'm wondering if there are any debugging tricks with the Presenter Flash object... or any API documentation for it?

  • Debug mode for WD app in CE 7.1 EHP1

    Hi experts,
    I need to debug a WebDynpro application that I have created in my CE7.1 EHP1 environment.
    In the config tool for the Java instance, I have set "Debug Mode" to true and checked the "Enable Debug node" checkbox.
    I restarted the server after this and in SAP MMC Snap In, found that the server0 is running and the Debug column also shows a stauts of Switched on(<<port number>>)
    When I try to create a new Debug Configuration using the Debug Dialog in NWDS, I select SAP Application and attach the appropriate WD app to the configuration.
    At this point, the server instance is automatically selected, but I get the following error message:
    Runtime: No debuggable node available. Open a debug session in SAP Management Console first
    What might I be missing?
    Regards,
    Puja

    Hi guys,
    about one year later I had the same problem as Puja Malhotra.
    Gopala Krishna gave the correct answer but unfortunately he missed to offer the suitable help. So I will catch up
    You have to set the values "debuggable", "debug mode" and "debug port" with the Config Tool to edit the JVM Settings for a Specific Instance.
    Have a look at:
    [http://help.sap.com/saphelp_nwce71/helpdata/en/39/7796e0a7be604ab63c2924045710a8/content.htm]
    After restart it should work!
    Best regards

  • Debug mode for forms 9.0.4.0.19

    Hello there,
    i have been trying to run the form in debug mode.I inserted a break point at "exit_form". how do i run the form and see results. I tried clicking on "debug->debug_windows" and see results but could not find anything.
    Please help me.
    thanks

    Thanks for writing back.
    I started OC4J, set application url and web browser location in "preferences" menu.
    I placed the breakpoint and used "Run From Debug' from toolbar. I get a html page
    <html> <head> ORACLE FORMS.</head>
    <body onload="document.pform.submit();" >
    <form name="pform" action="http://myname:8889/forms90/f90servlet" method="POST">
    <input type="hidden" name="form" value="C:\Documents and Settings\mydesk\Desktop\Documents\LOGON.fmx">
    <input type="hidden" name="userid" value="max/testpass@devdb">
    <input type="hidden" name="obr" value="yes">
    <input type="hidden" name="debug_messages" value="YES">
    <input type="hidden" name="array" value="YES">
    <input type="hidden" name="debug" value="YES">
    <input type="hidden" name="HOST" value="myname">
    <input type="hidden" name="PORT" value="2607">
    </form> </body></html>
    My form doesn't show up. What is going on?
    Thanks

  • Debug mode for Oracle JSP compiler?

    I deploy a web application in an EAR file to Oracle 9iAS 9.0.3 through Oracle Enterprise Manager. Now during the deployment of the EAR file I get an error:
    404 Not Found
    OracleJSP: java.io.FileNotFoundException:
    Set the init-param debug_mode to "true" to see the complete exception message.
    But I already added this parameter manually to the "oracle.jsp.runtimev2.JspServlet" in "global-web-application.xml" (as suggested by http://otn.oracle.com/tech/java/oc4j/doc_library/902/jsp/getstart.htm#1005625). Also, when I check out the "JSP Container Attributes" in the "Administration" settings of my OC4J, "Debug Mode:" is set to "Yes" as well.
    So how do I need to configure my OC4J to print the full JSP compilation error message?

    Please try Oracle9iAS Release 2 Containers for J2EE - Logging and Debugging at http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-logging-debugging-technote.html.
    Hope that helps.

  • Weblogic service pack 4 debug mode, for remote debugging

    Hi there,
    I am using WebLogic Enterprise 5.1 Service Pack 4 on NT. I would
    like to launch it in debug mode, so that I can debug some EJBs
    using JBuilder4. JBuilder supports WL SP 4 only.
    I installed JPDA and it is in path. When I try this command:
    java
    -ms64m
    -mx64m
    -classpath d:\weblogic\lib\weblogic510sp4boot.jar;.\classes\boot;
              .\eval\cloudscape\lib\cloudscape.jar;
    -Dweblogic.class.path=d:\weblogic\lib\weblogic510sp4.jar;.\lib\weblogicaux.jar;
                   .\license;.\classes;.\myserver\serverclasses;d:\weblogic\lib\jConnect.jar
    -Dweblogic.home=.
    -Djava.security.manager
    -Djava.security.policy==.\weblogic.policy
    -Xdebug
    -Xnoagent
    -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,address=7001,suspend=y,server=y
    weblogic.Server
    the process hangs and nothing happens.
    I included other newsgroup postings on the same subject below.
    Thanks,
    Ramesh
    Subject: Re: Remote Debugging with WLE (JPDA)
    Date: Wed, 16 Aug 2000 08:54:36 -0300
    From: Wendell MacKenzie <[email protected]>
    Newsgroups: weblogic.developer.interest.weblogicenterprise
    I made a mistake. BEA's JavaServer DOES NOT today support the
    JPDA debugger platform. Only the "old" Sun one which uses the agent
    password stuff.
    Sorry to have mislead you.
    unless of course a BEA WLE guru in engineering has a trick that
    allows this to work...?
    Wendell MacKenzie wrote:
    This works under Solaris7 using jpda1_0.
    LD_LIBRARY_PATH=/opt/wle/5.1/lib:/usr/Solaris_JDK_1.2.2_05a/jre/lib/sparc:/usr/jpda1_0/lib/sparc>
    export LD_LIBRARY_PATH
    edit according to your host's installation dirs
    get the startup args to your JavaServer's boot requirementsvia:
    >
    tmboot -n -d1 -i <ID> (where ID is the numeric id ofthe Java Server you want
    to debug)
    and then launch the process from the shell as in:
    JavaServer -C dom=<DOMAIN> -i 6 -i 81 -u nodename -U<ULOG_PATH_PREFIX> -m 0
    -A --
    -Xbootclasspath:/usr/Solaris_JDK_1.2.2_05a/lib/tools.jar:/usr/Solaris_JDK_1.2.2_05a/jre/lib/rt.jar
    -Xrunjdwp:transport=dt_socket,address=<PORT>,server=y,suspend=n-Xdebug
    <SERVERIMPL>.jar <SERVER_SPECIFIC_ARGS>
    Change each <XXXXX> as appropriate for your configuration.
    Be sure to check your ULOG for the password generated, you'llneed it when
    you launch your client
    that will connect to the Java server at debug time.
    Hope this helps.
    Wendell
    Scott Jones wrote:
    Help,
    Need to information on connecting TogetherJ or VisualCafe
    to WLE. I have
    been told to install JavaTM Platform Debugger Architecture,version 1.0
    (JPDA 1.0).
    Has anyone done this?
    Any pointers,
    Thanks,
    [email protected]

    WLE does not have service packs, you must be using WLS - you should post this in a WLS newsgroup. WLE
    and WLS are 2 separate products.
    Ramesh Babu wrote:
    Hi there,
    I am using WebLogic Enterprise 5.1 Service Pack 4 on NT. I would
    like to launch it in debug mode, so that I can debug some EJBs
    using JBuilder4. JBuilder supports WL SP 4 only.
    I installed JPDA and it is in path. When I try this command:
    java
    -ms64m
    -mx64m
    -classpath d:\weblogic\lib\weblogic510sp4boot.jar;.\classes\boot;
    .\eval\cloudscape\lib\cloudscape.jar;
    -Dweblogic.class.path=d:\weblogic\lib\weblogic510sp4.jar;.\lib\weblogicaux.jar;
    .\license;.\classes;.\myserver\serverclasses;d:\weblogic\lib\jConnect.jar
    -Dweblogic.home=.
    -Djava.security.manager
    -Djava.security.policy==.\weblogic.policy
    -Xdebug
    -Xnoagent
    -Djava.compiler=NONE
    -Xrunjdwp:transport=dt_socket,address=7001,suspend=y,server=y
    weblogic.Server
    the process hangs and nothing happens.
    I included other newsgroup postings on the same subject below.
    Thanks,
    Ramesh
    Subject: Re: Remote Debugging with WLE (JPDA)
    Date: Wed, 16 Aug 2000 08:54:36 -0300
    From: Wendell MacKenzie <[email protected]>
    Newsgroups: weblogic.developer.interest.weblogicenterprise
    I made a mistake. BEA's JavaServer DOES NOT today support the
    JPDA debugger platform. Only the "old" Sun one which uses the agent
    password stuff.
    Sorry to have mislead you.
    unless of course a BEA WLE guru in engineering has a trick that
    allows this to work...?
    Wendell MacKenzie wrote:
    This works under Solaris7 using jpda1_0.
    LD_LIBRARY_PATH=/opt/wle/5.1/lib:/usr/Solaris_JDK_1.2.2_05a/jre/lib/sparc:/usr/jpda1_0/lib/sparc
    export LD_LIBRARY_PATH
    edit according to your host's installation dirs
    get the startup args to your JavaServer's boot requirementsvia:
    tmboot -n -d1 -i <ID> (where ID is the numeric id ofthe Java Server you want
    to debug)
    and then launch the process from the shell as in:
    JavaServer -C dom=<DOMAIN> -i 6 -i 81 -u nodename -U<ULOG_PATH_PREFIX> -m 0
    -A --
    -Xbootclasspath:/usr/Solaris_JDK_1.2.2_05a/lib/tools.jar:/usr/Solaris_JDK_1.2.2_05a/jre/lib/rt.jar
    -Xrunjdwp:transport=dt_socket,address=<PORT>,server=y,suspend=n-Xdebug
    <SERVERIMPL>.jar <SERVER_SPECIFIC_ARGS>
    Change each <XXXXX> as appropriate for your configuration.
    Be sure to check your ULOG for the password generated, you'llneed it when
    you launch your client
    that will connect to the Java server at debug time.
    Hope this helps.
    Wendell
    Scott Jones wrote:
    Help,
    Need to information on connecting TogetherJ or VisualCafe
    to WLE. I have
    been told to install JavaTM Platform Debugger Architecture,version 1.0
    (JPDA 1.0).
    Has anyone done this?
    Any pointers,
    Thanks,
    [email protected]

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to on Debugging Mode for T-Code F110 from Script in Sub routine Pool Pr

    Hi Every one....
    I have done SAP-Script for Payment Vocher for T-code F110 ..I have a Sub Routine Program where I have few Form statements which is called by SAP - Script using Perform Statements, But my problem is when I set a break point in Sub Routine pool program, the out put is issuing with out Debugger ...
    Could any one plz suggest me wht to do???
    Help ful answers will be rewarded....
    Regards,
    sg

    Hi,
    First see if the 'Perform' statement is getting triggered in Script. To put a breakpoint in any script ( even if you do not know the form name, that is the best part ) is se38---->RSTXDBUG --->F8 & execute your pgm/Transaction. The control will wait in the form-debugger.
    I hope this helps,
    Regards
    Raju Chitale

  • Static variable for debugging mode?

    Hello I want to have a debugging mode for my application...
    Its jsp, servlets..
    If I have one static variable String called debug and set it to true then it should print all System.out. stuff in application... otherwise it shlould not...
    Do I have ot have this static variable defined in every jsp and servlet?

    try something like this
    public Class AppControl{
    public static boolean debugMode;
    public static void setDebugMode(boolean flag){
    this.debugMode = flag;
    public static boolean ifDebug(){
    return this.debugMode;
    In your JSP just do
    if (AppControl.isDebug()) {
    //print debug
    }

  • Debug Mode "OFF" for J2E instance server0  - Caused by "Productive Use"

    Dears,
        As titled, Debug fails for server0.
        I have checked the forum threads, and my problem is:
    <b>Property "Productive Use" of server0 has a value "YES".</b>
        As debugging can only be available on non-productive-use server mode, I couldn't start debugging.
        Any one knows how to change "Productive Use" as "NO"?
        Thanks in advance.
        btw: The "Productive Use" value of 'SDM' is "NO", while for 'dispatcher' it is "YES".

    Hi,
    You can use the config tool to run the server in debug mode (running the server in debug mode will automatically set the "productive use" attribute to "off"!)
    To launch the config tool, run the configtool.bat file located in \usr\sap\<SID>\<INSTANCE>\j2ee\configtool directory. In the lefthand side tree locate your server process and select it. Then on the righthand side go to Debug tab and activate debug mode for this element.
    After you save the changes, you need to restart the cluster.
    http://help.sap.com/saphelp_nw04/helpdata/en/cc/9cb34d9d11f74c98644df2b96b90f1/frameset.htm
    Regards
    Ayyapparaj

  • Downsides to leaving J2EE in Debug Mode?

    Hi All,
    Are there any downsides to leaving j2ee in debug mode? Performance, etc? I'm only talking about Development.
    Thanks,
    Doug

    We have had our dev server in debug mode for several months and have experienced no issues. We do reboot the dev server every weekend, but have been doing this even before the dev server was switched to debug mode.

Maybe you are looking for