Skip to Content
avatar image
Former Member

The Java VM terminated with a non-zero exit code

Hi SDN,

'The Java VM terminated with a non-zero exit code.'

I have got this error when I am trying to restart my AS JAVA sneak preview. Everything was working fine until this restart. The J2EE engine is not starting up again.

Can someone suggest me how can I fix this.

Thanks,

Vamshi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

9 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 31, 2007 at 11:24 AM

    Hello Vamsi,

    Its because u have changed the data source on UME. If u have installed JAVA instance alone the database used for saving all the user master records will be the same JAVA database. However if u have both ABAP and JAVA engine the user master data will be stored in ABAP datasource. If u have tried to change them the system will not start up for the next time.

    To bring back the settings we can use config tool and in the service com.core.security.ume ( sorry something like this will be there which i dont remember exactly ) make the values to a default one OR if u are sure with the values you can be specific. After that you server should start.

    regards,

    Anandh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2007 at 11:31 AM

    hi,

    i think this the problem of user roles.plz check all java user and roles.those are in yellow compare all roles.then start the server.

    regards

    ajai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2007 at 04:22 AM

    Hi,

    This is the problem with VM settings.

    Some specific settings have to be done.

    Go through the note 940893 and 129813.

    Also paste the logs for further analysis.

    Reward points if useful

    Regads,

    Nayana

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Go to configtool and change the heap size.

      present in C:\usr\sap\SID\JCxxj2ee\configtool.

      Can you mention whether it is a 32 bit or 64 bit machine.

      There are diffrent settings to be done for both the machines.

      Also mention what is the current heap size, so that i can suggest some settings to make the instance come up.

      Reward points if useful.

      regards,

      nayana

  • avatar image
    Former Member
    Jul 29, 2007 at 07:10 AM

    Hi,

    Please do put the dev_jcontrol and bootstrap file to analyze.

    Thanks & Regards,

    Vijith

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 31, 2007 at 09:07 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 26, 2008 at 02:10 PM

    Hi,

    Check the validity of your license.

    Cheers,

    Ridouan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 22, 2015 at 08:48 AM

    Hello,

    In my case, Dispatcher was yellow and disp log giving same message. ABAP instance up but JAVA was down. ** I simply restart  Dispatcher. ++. Now JAVA also available..

    Cheers,

    Rahul

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 22, 2015 at 07:40 PM

    (rc = -11113) is a failed service start.

    In these cases the std_server0 log is where you look to find which service has failed.

    It's the UME as you have found.

    std_bootstrap really only ever contains a header.

    jvm_server.out never contains any info.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 21, 2015 at 11:01 AM

    A little late but this what I found:

    Check the user that is in the J2EE Config Tool used for connecting to the UME on the ABAP instance.

    You can find it in Cluster-data -> Instance_IDxxxxxxxx -> Server_IDyyyyyyyy -> Services ->

    com.sap.security.core.ume.service

    Key: "ume.r3.connection.master.user"  the value is usually "SAPJSF".

    Check if this user is not locked in the ABAP instance and the password in key "ume.r3.connection.master.passwd" is correct.

    I unlocked the user and started Server0 in the AS Java Process Table and ... Succes!

    Cheers!

    Add comment
    10|10000 characters needed characters exceeded