How to determine if the server is in debug mode or Running in Java Code

Hi ,
I have a WebDynpro Applcation in which i have to display foll things in Table:
Engine Name; Engine Version: Debug Mode; Reserved by;
Now i could display list of servers but i have hardcoded the Debug Mode as "Disabled"
My Question is:
If i know the Server, can we find if the server is in debugmode in application code???
I have OS access to my Engine. Pls let me in which property file can i find Debug Status??
Also i am not sure if i have posted the Query in RIght Component. DO let e know if this Q is posted in wrong Forum
Kindly help me solve this problem
Thanks n Regards,
Archana

Hi Archana,
If u can't start the server in debugging mode thru NWDS then u can try this
Config Tool:
U can enable the debuggine mode from the Config Tool as well. Just browse to following
C:usrsap<SID>JC<SYS_NO>j2eeconfigtoolconfigtool.bat
Click on the your instance. Then under the tab VM Environment, Set the DebugMode = true.
Restart the engine now. This will open the J2EE server again in the Debug Mode.
Please check the [Debugging Portal Applications or WebDynpro Applciation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4722d?quicklink=index&overridelayout=true] and search for SDN
Just hope this helps you!
Regards
Vijay

Similar Messages

  • How to check whether weblogic server is in DEBUG mode or not

    Hi
    I want to check in my OSB proxy whether weblogic server is in Debug mode or not?
    IF abv thing is not possible ,
    I have check whether server is in development mode or production mode from my OSB proxy service?
    I m not able to find any doc on this??Please let me know how it can be done?
    Thanks

    There isnt any other way except for doing a Java Callout. In the callout method you can access the Domain/Server MBean for the information that you seek. Based on the callout result you can go ahead with the logic in your PS..
    Here is a sample Java Code to get the Server Log Level and ascertain whether the server is in Production Mode or not.
    package com.dell.mbean;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.util.Hashtable;
    import javax.management.MBeanServerConnection;
    import javax.management.MalformedObjectNameException;
    import javax.management.ObjectName;
    import javax.management.remote.JMXConnector;
    import javax.management.remote.JMXConnectorFactory;
    import javax.management.remote.JMXServerErrorException;
    import javax.management.remote.JMXServiceURL;
    import javax.naming.Context;
    public class MyConnection {
         private static MBeanServerConnection connection;
         private static JMXConnector connector;
         private static final ObjectName service;
         static {
              try {
              service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
              catch (MalformedObjectNameException e) {
              throw new AssertionError(e.getMessage());
         * Initialize connection to the Domain Runtime MBean Server.
         @SuppressWarnings("unchecked")
         public static void initConnection(String hostname, String portString,
         String username, String password) throws IOException,
         MalformedURLException {
         String protocol = "t3";
         Integer portInteger = Integer.valueOf(portString);
         int port = portInteger.intValue();
         String jndiroot = "/jndi/";
         String mserver = "weblogic.management.mbeanservers.domainruntime";
         JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port,
         jndiroot + mserver);
         Hashtable h = new Hashtable();
         h.put(Context.SECURITY_PRINCIPAL, username);
         h.put(Context.SECURITY_CREDENTIALS, password);
         h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,"weblogic.management.remote");
         h.put("jmx.remote.x.request.waiting.timeout", new Long(10000));
         try {
         connector = JMXConnectorFactory.connect(serviceURL, h);
         connection = connector.getMBeanServerConnection();
         } catch(JMXServerErrorException jmxSE)
              jmxSE.printStackTrace();
         catch(Exception ex)
              ex.printStackTrace();
         public static String getLogSeverity(String hostName, String portName, String userName, String password) throws Exception {
              initConnection(hostName, portName, userName,password);
              connector.close();
              ObjectName domainConfig = (ObjectName) connection.getAttribute(service,
              "DomainConfiguration");
              ObjectName logMbean =(ObjectName) connection.getAttribute(domainConfig, "Log");
              String logFileFilter = (String) connection.getAttribute(logMbean, "LogFileSeverity");
              System.out.println("Log File Filter= "+ logFileFilter.toString());
              return logFileFilter;
         public static boolean isProductionModeEnabled(String hostName, String portName, String userName, String password) throws Exception {
              initConnection(hostName, portName, userName,password);
              connector.close();
              ObjectName domainConfig = (ObjectName) connection.getAttribute(service,
              "DomainConfiguration");
              boolean prodEnabled= (Boolean) connection.getAttribute(domainConfig, "ProductionModeEnabled");
              System.out.println("Is Production Mode Enabled=" +prodEnabled);
              return prodEnabled;
    Make sure you have wlclient.jar and wljmxclient.jar as your dependent libraries.

  • How do you configure the server in this situation?????????????

    Hi,
    We have Oracle 10.2 and Windows 2003.
    We have Oracle on Cluster (with Windows software).
    When the System are without cluster all it’s OK!!!!!!
    We have 2 Resources Cluster Group: Oracle and Applications.
    We have Oracle in Oracle cluster group.
    We have “W” Drive and a ftp program in Application cluster group.
    We have C drive in both nodes. We have installed Oracle in both nodes but we have “W” drive only associate to the Active Node because is a Cluster resource (Application cluster group).
    All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
    We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
    We think to put UNC pathes instead of “W” but it’s not possible (Metalink: Note:290703.1)
    How do you configure the server in this situation?????????????
    Thanks!

    We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
    If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
    Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches...

  • How can i determine what the most recent os my imac will run?

    How can i determine what the most recent os my iMac will run?
    Serial Number QP6*****VUW
    Processor 2.16 GHz Intel Core 2 Duo
    Currently running Version 10.5.8
    <Edited by Host>

    You CAN run 10.7, but I don't advise it, buy the 10.6.3 upgrade disk from the Apple Store online and then backup files off the machine and upgrade to 10.6.3., then Software Update to 10.6.8 would be the BEST option for your older hardware and it will run most all of your 10.5 software and be faster than 10.5 or 10.7.
    If you go to 10.7 it won't run nearly any of your 10.5 software and you will have to buy all new ones for a machine that's getting a little bit dated, near it's end of life stage. 10.7 will slow your machine down, especially with low RAM.
    http://roaringapps.com/apps:table
    At your machines stage, the hard drive is getting old, the vents are clogged up with dust and it's going to cost a bit to get the drive etc upgraded. You can if you wish, but 10.7 really needs more RAM (4GB) and a faster hard drive.
    But your still subjected to the video card going out etc.
    IMO upgrade to 10.6.8 and stay there until the wheels fall off, then buy a new 10.8 machine being released after this summer or 10.9 machine.
    Harden your Mac against malware attacks

  • How to determine that the user/ pernr is comp cord?

    Hi,
    In tcode pa30 i see there is Comp Cord field. so these are the HR persons right which use the three digits numbers.
    So my question is how to determine that the user/ pernr is comp cord?
    I want to create the fm and pass user id as import and want to find out where this user is belongs to comp coordinator or not.
    i do see some entry in the T526 table but not sure, how it work.
    Regards
    Ali

    hi ali,
    SACHX is the field you are looking for ..
    regards
    Manthan Raja

  • I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    Hi,
    This feature is not available in Adobe Edge animate. You can not export as image from Edge animate.
    Publish options available in edge describe here
    Edge Animate Help | Publish your content
    Regards,
    Devendra

  • I bought a new imac running Loin and Office 2011. The server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software.

    I bought a new imac running Loin with Office 2011. I am the only mac in the office and the Server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software other than webmail access through our website. It looks as though 2011 is not compatible with 2003 per some searches online, but what are some options I have to gain full access again? I purchased parallels in hopes that this my help and I am able to use remote desktop connection to log on to server but can not drag and drop files I need. There is a shared drive on that Server we all use to exchange files.
    The two main issues are gaining access to my email again and ability to drag and drop files from mac to pc. I hope this is enough info to get some solutions.
    PS - IT person says my iMac's IP is what his server does not understand so that is why I can not login.

    Office 2011 is not compatbile with Exchange 2003.
    I suggest you post further Office related questions on Microsoft's own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

  • How can I map the composite_dn name with a composite in run time

    Hi All,
    I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
    select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
    Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
    On executing the above SQL statement its returing an empty table without any data.
    Please guide!!
    Thanks in Advance!!

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • How do I specify the JRE i wish to use to Run an Application.

    Hi Everyone;
    Please bear with me if you read this before.
    I have installed java 1.3.1 and java 1.4.1 in that order.
    The JRE used by default is java 1.4.1
    How do I specify the JRE I wish to use to Run an Application from a command prompt.
    Example:
    Java -something org.jboss.Main
    help ??
    Stephen

    I was a lil embarrassed. I told my supervisor that the installation of java overwrites the JRE and that's that.
    My supervisor took 10 minutes and went through it and found java.exe in the System32 file.
    The java.exe file is found in guess where "C:/WINNT/System32/" folder how nice. C:/WINNT/System32/ is in the path. Not only that it's the first entry in the path. So when I execute java it is not using java.exe any one of the java files that I got from the java website.
    So I don't have any control over the version.
    Oh well;
    That's life. That's 1 for my supervisor.
    Stephen

  • How i can change the arabic date and time mode to english date and time mode

    how i can change the arabic date and time mode to english number mode

    Settings app > General > International > Region format.

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • How can we execute the BDC session in error mode through se38 programme

    Dear Experts,
    How can we execute the BDC session in error mode through se38 programme....
    we can execute the session in the below 2 ways
    1) Through SM35 we can process the session manually in foreground/Error mode or Background also.
    2) through RSBDCSUB (standared Program) we can process the session in back ground.
    But i want to process the session in foreground or Error mode..Do we have any standared program for process the session in foreground or error mode.
    Please suggest.
    Regards,
    Bussa.

    Hi,
    SAP was smart enough to provide this little program: RSBDCCTU
    Sandra
    Edited by: Sandra Rossi, 15 minutes later
    Maybe the answer to your question is just to use CALL TRANSACTION ... USING ... (see the example in RSBDCCTU). You can also generate such a program using transaction SHDB

  • I have a Samsung Intensity.  It is currently set in "Alarm Only" mode.  How do I set the phone back to normal mode so it will ring?

    I have a Samsung Intensity.  It is currently set in "Alarm Only" mode.  How do I set the phone back to normal mode so it will ring?

        Pumpkin-Hill, Let's get your ringtone working properly. Go to settings and tools, press 'ok', select sound settings, press 'ok', choose call sounds. then press 'ok' and select call ringtone and select the desired tone. Let us know if this helps.
    sheritah_vzw
    Follow us on Twitter
    @VZWSupport

  • How do I disable the graphics harware accelerator on Windows 7 running firefox?

    How do I disable the graphics harware accelerator on Windows 7 running firefox? I reinstalled the Adobe Reader and theFlash Player, which persists in crashing. Many thanks.

    Right-click on a Flash Player object and select Settings.  Uncheck hardware acceleration on the Display settings tab.

Maybe you are looking for

  • How do I convert apple works 6 docs to open in 10.7

    I have a MacBook pro running 10.7. I have many docs created in AW 6 that will no longer open. I tried opening the WP with Pages and the spread sheets with Numbers, but I get a message that "This document was created with an unsupported version of App

  • Need Help with Entourage and sbcglobal (att.yahoo)

    Hi, I just got sbcglobal DSL service. I have finally gotten Apple Mail to work, but I cannot get Entourage X to work. For Apple Mail, the settings are: Description: Doug Rice email Address: [email protected] Full Name: Doug Rice Incoming Mail Server:

  • Custom particle problem, transparency not showing in generated particles?

    Using After Effects CS5 and Trapcode Particular: I want to use a custom particle for the generated particles. So I have imported a .gif image of a pollen grain, which have a transparent backround. The transparency does not automagically show after th

  • So, where is the recently released Sopranos collections, The Sopranos Vol. 2: Seasons 4-6?

    Considering both Vol. 1 & 2 just released days ago, I figured that I didnt have to rush out and buy both sets right away.  Makes sense that I had time to watch Vol 1 before laying out another 50 odd bucks for the second half of the set.  Guess I was

  • 10.4.7 update freezes during install

    I'm trying to update a G4 iMac. It had previously crashed hard during the install, so I had to archive and reinstall the OS from the original disks. I ran the disk verify and repair. Now, it downloads the combo update, but it never gets past "Prepari