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

Similar Messages

  • 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

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

  • 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

  • How to add swap in solaris 11 and still will take effect even you restart the server

    Hi,
    I would like to ask on how to add swap file in solaris 11 will still take effect even you restart the server.
    swap -l
    zfs create -V 2G swappool/swap2
    swap -a /dev/zvol/dsk/rpool/swap2
    Regards,
    Andrew

    Hi Andrew,
    After completing the steps above, you will need to add an entry for the new swap volume to the /etc/vfstab as described in this doc if you want the swap volume to be used when the system is rebooted:
    Adjusting the Sizes of Your ZFS Swap and Dump Devices - Managing ZFS File Systems in Oracle® Solaris 11.2
    Thanks, Cindy

  • 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

  • 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

  • Site does not load after some minutes of creation or after restart the server

    Hello,
    I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
    Backed up the production web application's content database: Prod_WSS_ContentDB
    Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
    Created a new web application in test environment with a new content database.
    Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
    Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
    Mount the Prod_WSS_ContentDB databe to the web application with powershell:
    Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
    Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
    and the site loads exactly as the production environment.
    But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
    http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
    as expected, but the site does not load, the browser just show a complety blank page.
    The Central Administration site loads normally.
    Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
    then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
    For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve  this?
    The error is:
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          6/27/2014 2:44:22 PM
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      
    User:          UCETEST\spaccount
    Computer:      TESTSP01.ucetest.edu.do
    Description:
    Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>5586</EventID>
        <Version>15</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
        <EventRecordID>4742</EventRecordID>
        <Correlation />
        <Execution ProcessID="1688" ThreadID="1692" />
        <Channel>Application</Channel>
        <Computer>TESTSP01.ucetest.edu.do</Computer>
        <Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
      </System>
      <EventData>
        <Data Name="int0">-2146893055</Data>
        <Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
      </EventData>
    </Event>
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

    Hi,
    According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
    Please make sure you create a test environment for existing production site correctly.
    Here are some great articles for your reference:
    Moving content between SharePoint environments
    Copy SharePoint production data to a test environment
    Build a SharePoint 2010 Test/Development Farm
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    Hello Linda Li,
    I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • Oracle Database not open automatically on restarting the server

    Hello,
    I am using Oracle8i Release 8.1.6.0.0 - Production. And OS windows 2000.
    I installed oracle 8i. On restarting the server the database is not up automatically.
    I check the following services. All are in automatice mode.
    ORACLETNSListerner
    ORacleserviceSID
    Oraclewebassistant.
    I tried the following option also.
    ORADIM -edit -sid -startmode auto.
    still not working.
    Anyone please suggest the solution for this.
    Thanks & Regards
    Krishna

    Do you have any Antivirus installed in that server, sometimes antivirus blocks oracle autostart. try with uninstalling antivirus if it is .
    Thanks

  • Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve

    Hi
    Can any one help me how to re-deploy .jar file on weblogic EM with steps.
    Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
    Appriciate if you provide information in steps with screenshot.
    Note: Not in weblogic 11g console.
    Thanks,
    Phani

    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • 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

  • Modify JSP file without restarting the server

    Hi guys,
    I need to do small change in the JSP in the production.
    How can I do it without restarting the server?
    I have deployed the application as an EAR file.
    I use WLP8.1 SP3
    IS there any way?
    Ananth

    You can try expanding (use jar util) that ear into temp dir, then make the change, use jar util again to create the ear. try redepolying it. Make sure change the jsp recheck and hit that page. see if it works. Incase if it works put the jsp recheck back to -1.
    Note: This is just an idea, I never done.
    Thanks
    Srini

  • Writing Script to restart the Server???

    Hi All,
    Can you please let me know is there anyway to write a script to restart the server?
    I need to restart the Essbase server everyweek.
    Thanks,
    Prathap

    Can you please let me know how we will stop and start EAS, EIS and Shared Services by automating the process.
    Can you please provide any document or any detailed description.
    Thanks,
    Prathap
    Edited by: prathap_k on Oct 12, 2010 1:28 PM

  • 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