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

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.

  • 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

  • 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

  • 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

  • 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

  • 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

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

  • 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

  • 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

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

  • 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

  • Running Weblogic Server 10.3.3 in Debug  mode

    Hi to all,
    Here i got a problem after installing Oracle Identity Manager 11g R3,to solve the issue i need to run WebLogic Server 10.3.3 in Debug mode.
    Can any suggest how to run WebLogic Server 10.3.3 in Debug mode.
    Here i find a solution to run in debug mode,but no difference in log files before and after changing debug mode.
    Enable Debugging on the WebLogic Server
    To start WebLogic Server in debug mode, you will need to modify the startWebLogic.cmd script in the <WLS-root>\wlserver_10.0\samples\domains\wl_server directory. <WLS-root> is the directory in which WebLogic 10.0.1 was installed into.
    In the startWebLogic.cmd script, specify the JAVA OPTIONS with:
    set JAVA_OPTIONS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n
    Let me know if u have any questions,
    Thanks and Ragards,
    Satish

    Greg,
    I cam across this issue too. It looks like there is a bug in sample script provided by weblogic documentation. We should not use ADMIN_URL as they mentioned in the script.
    Remove it and try. For more info. please see this link helps:
    http://ananthkannan.blogspot.com/2009/10/weblogic-server-instance-as-window.html
    Thanks.
    Ananth

  • 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

Maybe you are looking for

  • Team Planner not working. Click on Team Planner and nothing happens.

    I have Project Professional 2010 and using with Project Server 2010. When I go the the View ribbon and click on Team Planner, nothing happens. Is this a view or a piece of functionality? I looked in Organizer and also do not see any view named Team P

  • How to change the icon of a spot in a dynpro application?

    Hi, I am trying to change the icons for the spots on the map in a dynpro application dynamically. Is it possible to change the icon for only some of the spots? If yes, which method should I use? The images for the icons are located in the mime reposi

  • Preparing Captivate 5 SWF ready for Moodle

    Hello - I'm a bit of a noobie with all things Captivate and I was wondering someone can advise me on what I have done so far: I have 6 Captivate SWF exported movies, the final movie being a quiz. All the SWF's do not have reporting enabled except for

  • Any reason I shouldn't do it this way? RAID backup question

    I'm using three 1TB drives torn out of Western Digital external hard drives (hard to find internal drives in Italy) as a RAID 0 for 3TB internal storage in the three extra internal bays. I'd like to mirror that, or something close to it, for a reason

  • Green flashing on rendered product.

    Whenever I render out a clip, with or without affect the final product comes out with this green flash (like a light switch going on and off) throughout the whole video. How can i fix this?