Server looses Debug mode after a restart

Hello,
At the NWDS there is an option to enable the Server debug mode. When I do that the server restarts and debug mode is on. The problem is that if I restart the server again it looses the debug mode and than I have to enable it again from the NWDS (Which, again, requires a restart). The same symptom is happen if I do the enable through the Config tool at the Debug tab.
Any idea why this happen?
Roy

Hey Shubhadip,
I think you misunderstood my problem: I did save it, otherwise how the debig mode will be on. The problem is that after ANOTHER restart (after the restart to enable the debug mode) it loses the debug mode again.
Roy

Similar Messages

  • Starting Server in Debug Mode - Need Some Advice Plz.

    Hi Guys,
    I have an EP SP 12 Server Running and I am trying to Start the Server in Debug mode from the Netweaver Developer Studio but when I right click the Server and try to choose Debug, the option is greyed out and even while viewing the Debug option from the SAPMMC I see that under the column Debug, it say 'Disabled' for the Server and Dispatcher.
    Can anyone suggest how this can be done, I would appreciate any help as I have been working on this for some time.
    Best Wishes,
    John.
    Message was edited by: John Bray
    Message was edited by: John Bray

    Hi John,
    If the you cannot start the server in the debugging mode through the NWDS then you can try the other way round.
    <b>Through Config Tool:</b>
    You can enable the debuggine mode from the Config Tool as well. Just visit the following path :
    <b>C:\usr\sap\<SID>\JC<SYS_NO>\j2ee\configtool\configtool.bat</b>
    Click on the your instance. Then under the tab VM Environment, Set the <b>DebugMode = true</b>.
    Restart the engine now. This will open the J2EE server again in the Debug Mode.
    I hope this helps you!!
    Regards
    Pravesh
    PS: Please conside rewarding points if helpful and solved.

  • How to start server in debug mode by default

    Hi,
    Whenever the server starts it does not start in debug mode.
    One has to manually start the "SDM" and "Server0" in the debug mode.
    Is there a way I can make the server start in debug mode for the first time itself.
    regards,
    Saurabh

    Hi Saurabh,
    You can start the server in debug mode using config tool. Just open cofig tool (/usr/sap/<SYS ID>/JC<SYS NR>/j2ee/configtool/configtool.bat).
    Click on the your instance. Then under the tab Servers Debug check Debuggable and also Enable Debug mode.
    Restart the engine now.
    However a word of caution: Starting the server in debug mode decreases the system performance. You should only start the dev server in debug mode.
    Hope this helps.
    Regards
    Sidharth

  • Starting SOA Suite server in debug mode

    Hello,
    anyone knows how to start soa suite server on debug mode?
    it basically oc4j server started from opmn. is there anyway i can pass the "-ojvm -XXdebug,port4000,detached,quiet" to opmn?
    Rudi

    solved..!!!
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/sysprops.htm#CHDCFADJ

  • Start weblogic server in debug mode through command prompt

    Hi,
    Please help me in starting the weblogic server in debug mode through command prompt.I am using weblogic 10.3.6 app server.
    Thanks

    Hi,
    To debug weblogic startup issues you can pass the below jvm arguments:
    -Dweblogic.slc=true
    -Dweblogic.debug.DebugServerLifeCycle=true
    Debug options are available in weblogic based on the subsystem, such as security, jms, jdbc, deployment..etc
    You can refer to :
    https://blogs.oracle.com/vijaya/entry/weblogic_web_service_debug_flags
    Thanks,
    Sharmela

  • SOA Server in Debug mode

    How to start SOA server in Debug mode and what kind of errors or issues going to face.
    What is the use to start SOA server in Debug mode.

    Try this.
    http://docs.oracle.com/cd/B31017_01/web.1013/b28950/sysprops.htm
    Thanks,
    Vijay

  • Restart the server in debug mode: How to drop saved passwords?

    In NWDS server pane, I entered a wrong password when trying to restart my SAP AS Java in debug mode. Now I only get exceptions "com.sap.enginemanagement.UnauthorizedException: Incorrect login information provided" without a chance of changing the entered credentials. Restarting NWDS didn't work.
    Any ideas?
    Thx,
    Christoph

    Hi Christoph,
    are you talking about the "Java EE" perspective and the "Servers" view within it? I tried it out and it does not behave properly.
    Try the "SAP Management" perspective. Within the left hand tree open your system, expand the instance starting with "J..", expand the "AS Java" node and select the "Process Table" node. In the right hand table select the server0 process and chose from the context menu "Start Debug Session".
    The SAP JVM offers some extra debug options. Expand the "Expert Mode" in the modal dialog. If you want to debug web applications select "code isolation" and unselect all other options. A password dialog will appear and you must enter the credentials for the operating system user, not for the AS Java administrator.
    One table column is labeled "Debug", there you can see the currrent debug port.
    Either you start now a "Remote Java Application Debug" debug session or you have a Java EE project and can create a "SAP Application" debug session.
    Anyway to see your application threads in the debugger you have to access your web application with a special debug URL.
    If your URL looks like this: "http://localhost:50000/myapp" you have to insert a debug token beween host part and the path and the URL becomes "http://localhost:50000/@@@DEBUG@@@/myapp". If you miss to modify the URL you will not see any thread.
    If you want to get a "normal" debug behaviour just deselect all options in the debug dialog. You will see all threads, you do not have to modify your URL, but the server will restart after you detached the debugger.
    Hope this helps.
    Best Regards, Stefan
    Edited by: Stefan Bodenstein  on Oct 1, 2008 12:00 PM

  • Portal down after starting Server in debug mode

    I have started my AS Java in Debug Mode. Now, the Portal is down, shing the following error message:
    503 Service not available
    Error:     -6
    Version:     7010
    Component:     ICM Java
    Date/Time:     Mon May 26 11:39:28 2008
    Module:     http_j2ee2.c
    Line:     1136
    Server:     SV-SAP-5_CES_01
    Error Tag:     {00000a45}
    Detail:     ICM running but no server with HTTP connected - Load Balancing failed
    Why is that?
    Thanks, JJJ

    It takes time till the server is running again. Wait a few minutes and try again!

  • Switching server to debug mode - need to do it twice

    We have just completed a switch from BEA Workshop for Weblogic 10.0 to Eclipse 3.3 + Weblogic Server Tools 1.0.1.
    There are couple issues that I'm not sure if they work as intended or they are bugs. This is the first one:
    1. when server is started in a non-debug mode with an application deployed and then it is switched to the debug mode (by right clicking on the server and choosing debug) the debug mode doesnt seem to be properly activated. The application doesnt stop at the breakpoints.
    2. after right clicking and choosing debug again the server gets fully restarted into the debug mode (in step 1 there is no full restart - similarly as it works in the Workshop). Now after the fiull restart the breakpoints work properly.
    Is this by design? Is this 'quick debug mode switch' supposed to be working only in the Workshop? If yes can the first time click on debug actually initiate the whole server restart into the debug mode?
    thank you
    s.

    It sounds like you hit the following bug, which has been fixed in the code line currently under development (v1.1) and which is currently scheduled for release on October 2nd.
    http://bugzilla.bea.com/show_bug.cgi?id=41
    Thanks,
    Konstantin
    WLS Tools Team

  • How to start the server in debug mode

    HI
    Im working on weblogic server 8.1 sp. My requirement is to run the application in hosted on weblogic server with out restaring the server i.e dynamiically turn to debug mode with out stopping. IM using Log4j method for logging. please let me know how to do it... if any one have sample java code
    Thanks & regards
    shiva

    I am not sure, how can you do it on the fly, but if you want to restart the server here are the parameters you need to add to the java arguments
    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$Port
    (where Port will be any port you want to connect to).
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b>
    Edited by: togotutor on Aug 12, 2010 3:44 PM

  • 2008 r2 hyper-v guest with static IP always looses network connectivity after every restart - no problem with DHCP

    Hello,
    We are running 2008 R2 domain with one physical DC and other running in VM on Hyper-V host (2008 R2 Standard). The host has 4 NICs and is configured to use one physical NIC for itself (management) and the hyper-v guest is configured to use another dedicated/physical
    NIC (through microsoft virtual switch) just for itself.
    I noticed that after setting the hyper-v guest with a static IP address all works fine only until guest restart. When the guest boots up the IP address is still configured correctly in IPv4 properties, but there is no network connectivity at all and in fact
    the guest shows running APIPA config in ipconfig /all output. That situation continues until I remove the virtual NIC from hyper-v guest, remove the virtual switch from dedicated NIC on host and then reconfigure it (using same settings as they were). very
    annoying.
    For time being I switched the virtual DC (problematic hyper-v guest) to a DHCP IP and configured DHCP server (running on physical DC machine, not on hyper-v host) to store a reservation for the hyper-v guest so it always gets the same "static"
    IP configuration.
    Is there some kind of a problem/bug with using static IP on (2008 R2) hyper-v guests? is there a hotfix for static IP config in hyper-v guest environment?
    both 2008 R2 OSes (host and guest) are up to date with all updates (synced with Microsoft, not WSUS).

    OK, I'm not at the office now, but took my time to test out the restart scenarios on problematic virtual guest remotely.
    No dice, same as it was, everything works fine after guest has IP configured in DHCP mode (IP reservation of 192.168.1.5 for specific MAC address) and it doesn't work after restart in static IP mode (same address, works before restart of guest).
    I also took "arp -a" outputs at each step from host server and that was always saying there is only a single host (192.168.1.5 = VDC = problematic virtual guest) assigned to that IP address and always with same MAC, so that pretty much rules out
    ARP/MAC troubles and no issues with switches/routers getting spoofed. Problem is most likely with the virtual guest (WS2008R2) or within the host running same OS.
    Here are outputs:
    A) VDC has IP configured in DHCP mode - always same, survives through restart (all works)
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . : CD.lan
    Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter
    Physical Address. . . . . . . . . : 00-15-5D-01-D3-00
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::b9af:6679:3142:8799%13(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Thursday, January 30, 2014 5:34:48 PM
    Lease Expires . . . . . . . . . . : Friday, February 07, 2014 5:35:26 PM
    Default Gateway . . . . . . . . . : 192.168.1.254
    DHCP Server . . . . . . . . . . . : 192.168.4.5
    DHCPv6 IAID . . . . . . . . . . . : 268440925
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-6F-5F-C2-00-15-5D-01-D3-00
    DNS Servers . . . . . . . . . . . : 192.168.1.5
    192.168.4.5
    NetBIOS over Tcpip. . . . . . . . : Enabled
    ARP -a output from host server at that time:
    Interface: 192.168.1.4 --- 0xc
    Internet Address Physical Address Type
    192.168.1.5 00-15-5d-01-d3-00 dynamic
    B) VDC has IP configured in static mode - BEFORE RESTART (all works)
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter
    Physical Address. . . . . . . . . : 00-15-5D-01-D3-00
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::b9af:6679:3142:8799%13(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.5(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.254
    DHCPv6 IAID . . . . . . . . . . . : 268440925
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-6F-5F-C2-00-15-5D-01-D3-00
    DNS Servers . . . . . . . . . . . : 192.168.1.5
    192.168.4.5
    NetBIOS over Tcpip. . . . . . . . : Enabled
    ARP -a output from host server at that time:
    Interface: 192.168.1.4 --- 0xc
    Internet Address Physical Address Type
    192.168.1.5 00-15-5d-01-d3-00 dynamic
    C) VDC has the same IP configured in static mode - AFTER RESTART (no more network connectivity at all, LAN in Public zone)
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : VDC
    Primary Dns Suffix . . . . . . . : CD.lan
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : CD.lan
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Virtual Machine Bus Network Adapter
    Physical Address. . . . . . . . . : 00-15-5D-01-D3-00
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::b9af:6679:3142:8799%13(Preferred)
    Autoconfiguration IPv4 Address. . : 169.254.135.153(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . . : 192.168.1.254
    DHCPv6 IAID . . . . . . . . . . . : 268440925
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-6F-5F-C2-00-15-5D-01-D3-00
    DNS Servers . . . . . . . . . . . : 192.168.1.5
    192.168.4.5
    NetBIOS over Tcpip. . . . . . . . : Enabled
    ARP -a output from host server at that time:
    Interface: 192.168.1.4 --- 0xc
    Internet Address Physical Address Type
    192.168.1.5 00-15-5d-01-d3-00 dynamic
    Throughout the testing, the hyper-v host IP configuration and IPconfig output was always staying same.
    The Network Connection #2 is the only one the host uses (not shared with hyper-v guests).
    The Network Connection #4 is assigned to Microsoft Virtual Switch hence why it doesn't show up in results, like below:
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : HYPER-V
    Primary Dns Suffix . . . . . . . : CD.lan
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : CD.lan
    Ethernet adapter Local Area Connection 3:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : HP Ethernet 1Gb 4-port 331i Adapter #3
    Physical Address. . . . . . . . . : 9C-8E-99-52-15-91
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Ethernet adapter Local Area Connection 2:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : HP Ethernet 1Gb 4-port 331i Adapter #2
    Physical Address. . . . . . . . . : 9C-8E-99-52-15-90
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::dc78:8a3b:38a5:7af3%12(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.1.4(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.254
    DHCPv6 IAID . . . . . . . . . . . : 312250009
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-67-52-8F-9C-8E-99-52-15-93
    DNS Servers . . . . . . . . . . . : 192.168.4.5
    192.168.1.5
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : HP Ethernet 1Gb 4-port 331i Adapter
    Physical Address. . . . . . . . . : 9C-8E-99-52-15-93
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    On Monday I will install more test guests in Hyper-V host (WS2008R2), in variety of flavors like 7x64, 8.1x64, ws2012r2, and see if they show similar problems with static IP configuration when utilizing a dedicated NIC from host server.
    Don't get me wrong, I can live with virtual DC running on DHCP IP reservation (which is based on MAC), because the virtual DC pretty much requires a physical PDC (hosting also DHCP in my network) to be present for safety reasons ... however I prefer a static
    IP configuration on all servers, hence my question and surprise why it doesn't work.

  • Start Oracle Application Server in Debug mode

    We have oracle application server 10g with oc4j. How do we configure App server to start in debug mode so remote debugging from different machine can be done.
    I am new Oracle Application Sever. OC4j is java container and it starts automatical when ORacleAServer starts.
    Thanks,
    MS

    MadanShah, how did you start Oracle Application server? Let us say, you start it with opmnctl. In order to do java remote debugging with the oc4j process inside the OAS, you have to add the java remote debugging option to the "java-options" in the $ORACLE_HOME/opmn/config/opmn.xml.
    <ias-component id="OC4J">
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5050 -Xrs -server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true"/>
    </category>
    The "-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5050" is what I added. After starting OAS, you can connect to the oc4j process by selecting port 5050 using a java remote debugger that is included in any major IDE, like Jdeveloper. For more information, search for "remote debug" in the online help of Jdeveloper.

  • Error starting J2EE server in debug mode

    I am trying to start the Sun 1.4 application server in a debug mode. I get an error
    err:FATAL ERROR in native method: No transports initialized
    : No such file or directory
    Error [2] in bind() call!
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.
    The setting in config.xml file is:-
    debug-enabled="true" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
    Any help will be appreciated.
    Thanks,
    Milind

    I changed the port number and it worked. Not sure why port 1044 as specified in the Sun documentation doesnot work.
    Milind

  • Running Tomcat server in Debug mode?

    Hi..
    I am using Eclipse IDE to develop a Portal project.. I am also using Tomcat server for the same without using the default servers provided by eclipse..
    My question is how do I run the Tomcat server in the "debug" mode?
    Please help me..

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

  • Starting the server in Japanese mode after deployment in english mode.

    Hi,
    I have a problem
    We are developing some system for Japanese clients.
    Now problem is that we need to deploy all on their server which shows every hting
    in Japanese. Its going to be really very difficult for us.
    Is there any key or property in weblogic server by changing that we can change
    the language (english-->japanese)
    Actually what I wanted was first to run the server in English mode. deploy each
    and every thing sucessfuly.
    Then stop the server.
    Change that flag or whatever to use japanese character set.
    Start the server again so that it run in japanese language and having every thing
    already deployed.
    Is it possible approach?
    Any other suggestions are also most welcome.
    Thanks and Regards
    Pavitra

    Hi,
    You would have to use the below command to give the root directory to start the server in MSI mode
    -Dweblogic.RootDirectory=path
    Example:
    java -Dweblogic.RootDirectory=c:\MyServerRootDirectory weblogic.ServerTo get more information on this you can check the below link
    Topic: Starting a Managed Server in MSI Mode
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/failures.html#wp1058998
    Regards,
    Ravish Mody

Maybe you are looking for

  • Activation fee for trading in faulty phones?

    I was going to try and trade in my EVO LTE for the Galaxy but my 30 days will probably be up before Best Buy has stock for trade in. I realize if I switched phones I would have to pay an additional activation fee. But is there an additional fee if yo

  • How to prevent physical memory filling up and crashing Firefox (22.0) when watching Flash-based videos?

    This happens maybe 30-50% of the time when I watch a video online, whether it be on YouTube or other streaming site. This usually happens when the video is at least 20 minutes long, and about 8-9 minutes in. Looking at the Task Manager, my memory fil

  • Canon printer problem solved

    I am still frustrated, that Canon has not yet solved the driver problems with my printer (IRC 4580) I was browsing Sunday evening, and via Google I ended on Canon Australia's website: http://www.canon.com.au/drivers/ And suddenly I found a full list

  • Heavily normalized 1:1 relationships

    We have a schema in which entries in one table are related to entries in another table, but several different ways, with each "different way" represented as a different relation table. For example, if an employee has two different addresses, one for

  • Open browser full screen

    With browser bars becoming so cluttered, I have been researching a way to initialize the browser full screen (like pressing f:11). This would allow us to display images and artwork in an unfettered manner.