Skip to Content
avatar image
Former Member

SAP JAVA stack doesnt startup, processes doesnt startup.

Hello SAPGurus,

I am not able to start the J2EE engine of the SAP because the processes dispatcher,SDM are totally stopped and server0 is in "Starting Framework" status. I tried to post two discussions before but was not helpfull, the issue is pending since long time. I tried to change some parameters of the instance.properties like Xms value,XX:NewSize,XX:MaxNewSize also changed MaxHeap Size to 128 from 3000 for the node instance_id->server_ID in cluster data. I did this with refernce to Note 736557 - Changes made with the Config Tool. The values were changed as per the values mentioned in the configtool. It is to note that the Locking Manager is not working. I raised a message to SAP they said to restart the cluster as the LockingManager is getting hanged I tried that also but still no change in status.Please let me know what should I check in the UME LDAP data in config tool.Please help me to solve it as this one is taking a toll. Pasting the following logs for reference.

SDM Developer Trace

Unrecognized option: null
[Thr 4144] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-1) [jhvmxx.c     553]
[Thr 4144] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi.c   752]
[Thr 4144] **********************************************************************
*** ERROR => Java VM initialization failed.
*** Please see SAP Note 943602 , section 'Java VM initialization issues'
*** for additional information and trouble shooting.
**********************************************************************

DISPATCHER Developer Trace

Unrecognized option: null
[Thr 4144] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-1) [jhvmxx.c     553]
[Thr 4144] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi.c   752]
[Thr 4144] **********************************************************************
*** ERROR => Java VM initialization failed.
*** Please see SAP Note 943602 , section 'Java VM initialization issues'
*** for additional information and trouble shooting.
**********************************************************************

DEV_JCONTROL

[Thr 5780] Fri Dec 21 14:07:12 2012
[Thr 5780] ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
[Thr 5780] *** ERROR => NiIRead: SiRecv failed for hdl 3 / sock 452
    (SI_ECONN_BROKEN/10054; I4; ST; 192.168.1.194:1711) [nixxi.cpp    4424]

STD_SERVER0.OUT

Loading: LockingManager ...

Thanks & Regards,

Abhishek Paritosh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 07, 2013 at 10:42 AM

    Hi Abhishek,

    Run the below command and then try to start the cluster once again.

    Procedure to Reset in Unix Environment:

    1. We have to stop the SDM first, to do that

    /usr/sap/<systemid>/<system instance>/SDM/program/sh StopServer.sh    # to stop SDM

    2. /usr/sap/<systemid>/<system instance>/SDM/program/sdm.sh jstartup mode=standalone

    3. /usr/sap/<systemid>/<system instance>/SDM/program/sdm.sh changepassword sdmhome=/usr/sap/<systemid>/<system instance>/SDM/program newpassword=<new password>

    4. /usr/sap/<systemid>/<system instance>/SDM/program/sdm.sh jstartup mode=integrated

    5. Now start the SDM, to do that

    /usr/sap/<systemid>/<system instance>/SDM/program/sh StartServer.sh    # to start SDM

    Procedure to Reset in Windows Environment:

    It almost the same procedure what we have followed to reset the password in UNIX for SDM

    1. Go to the drive we have installed Portal ( C:\ or D:\  ), from the command prompt.

    2. let us suppose the portal is installed in C:\ drive

    3. From the command prompt. go to SDM directory as

    C:\usr\sap\J2E\JC00\SDM\program

    4. Execute the following (just copy-paste)

    sdm jstartup "sdmhome=C:\usr\sap\J2E\JC00\SDM\program" "mode=standalone"

    5. Execute following line (replacing Password1 with your new password for SDM)

    sdm changepassword "sdmhome=C:\usr\sap/J2E/JC00/SDM/program" "newpassword=Password1"

    6. Also revert SDM back to integrated mode

    sdm jstartup "sdmhome=C:\usr\sap\J2E\JC00\SDM\program" "mode=integrated"

    7. Start SDM

    StartServer.bat

    Finally opened the config tool and also set the same password for the user secure storage area.

    Kindly update on this.

    With Regards

    Ashutosh Chaturvedi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2013 at 06:50 AM

    Hi Abhishek,

    Try to start the server with safe mode.

    In insatnce.properties file you need to change the value of a parameter.

    instance.runMode=safe

    Then try to start the java instance and paste the content of default trace and server0.out file

    You can do it from config tool as well.

    open the config tool and Select the file tab.

    On selecting file tab , you will get dropdown where you will find safe mode.

    With Regards

    Ashutosh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Reagan Benjamin

      Hello Reagan,

      I checked files sdm_jstartup.properties and sdm_jstartup.properties.vmprop and matched the same with the other server. There were some differences like the backslash and forwardslash. And tried to restart the server. But still the SDM is not working. Please suggest.

      Regards,

      Abhishek Paritosh

  • avatar image
    Former Member
    Dec 26, 2012 at 09:25 PM

    Hello Abhishek,

    As suggested set environment variable JAVA_HOME and update the jvm path in Configtool and take a restart.

    Also check the listener, possibly check the default_trace of dispatcher if anything is reported there, although it is running.

    Please paste default trace of the server node if dispatcher is not throwing any error.

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Amit,

      1.As suggested by you I changed the password of the SDM and restarted the system but still SDM is not working. Also I checked if SDM is using port 50018 by the help of command netstat -a I couldn't see the port 50018 anywhere in the screen. Please suggest if there is any command which could free the port 50018 if used in any sense.

      2. Please suggest how changing the password of SDM helps in starting it. Is it used anywhere in the process of starting the SDM.

      Regards,

      Abhishek Paritosh

  • avatar image
    Former Member
    Dec 22, 2012 at 08:06 AM

    Hi Abhishek,

    what changes you have made to the fine running system? tell me your environment.

    Thanks:

    Kishore Cherkumalla.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2012 at 06:30 PM

    Hi,

    It seems you have problem with JDK installed, JDK is not compatiable,cwhats your JDK version?

    follow the note 943498.

    also check note 940893.

    with regards,

    samarth jh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Joseph,

      A merry christmas to u. I Changed the value of port to 3011 from 8101 in global dispatcher config->services->p4->3011. This helped me to start the dispatcher. Pls suggest.

      Regards,

      Abhishek Paritosh

  • Dec 26, 2012 at 10:36 AM

    Hi Abhihsek

    Could you check the JAVA_HOME in the environment variable in the system properties?

    system variables JAVA_HOME=C:\j2sdk1.4.2_13-x64?

    Regards

    Sriram

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2013 at 06:00 PM

    Hello

    The SDM issue can be resolved by a quick restart of the server.

    Cheers

    RB

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Reagan Benjamin

      Hello RB,

      Thanks for your participation. It's strange that even though there are two files sdm_gui.out and sdm_gui.err present in the directory structure but those are of 0kb means there is nothing present in the files. I am attaching file sdmlog20130107.log.txt for the same thing.Please suggest.

      Regards,

      Abhishek Paritosh