cancel
Showing results for 
Search instead for 
Did you mean: 

AS Java VM terminated with a non-zero exit code and Dispatcher Error (-1113)

Former Member
0 Kudos

Hi Guys,

I need help on my AS JAVA stack as it won't start now after a reboot on the Server.

Once I start it, the process just stuck at jcontrol.exe starting some process and dispatcher & server0 said stopped.

A developer trace error is Java VM terminated with a non-zero exit code and error code -11113 on dispatcher.

I tried to rebuild the dispatcher as Note 710663 mention by putting element.resync=force into bootstrap.properties but it still does not work.

any other solution that I can try? need some help urgently.

Thank you for your assistance,


Regards,

Ura

Accepted Solutions (1)

Accepted Solutions (1)

divyanshu_srivastava3
Active Contributor
0 Kudos

Give me the complete logs files for server0 and dispatcher.

Zip all four files and upload.

Former Member
0 Kudos
divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Ura,

Thanks, but I need dev_server0, std_server0.out, dev_dispatcher and std_dispatcher.out

Regards,

Former Member
0 Kudos

in which folder I can get for those logs? I thin I found it under work directory.

uploading in awhile.

Former Member
0 Kudos

https://www.sendspace.com/file/2981w8

hopefully I got the correct one, many thanks Divya.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Ura,

Ports are busy and that is why java is not coming up.

Refer below KBAs and get thsi fixed.

1916706 - ERROR - The Java VM terminated with a non-zero exit code

If that doesn't work, use below KBA

1916205 - Java dispatcher crashes with -11113 error code

Regards,

Former Member
0 Kudos

Thanks, Divya.

My bad, but I need help with the netstat -ano and how should I terminate the process?

divyanshu_srivastava3
Active Contributor
0 Kudos

Identify the process using that port and stop that application or kill it.

If nothing happens then reboot your server.

Regards,

Former Member
0 Kudos

assuming if my port was 50700 so I should look for this port and terminate the process ID with it?

divyanshu_srivastava3
Active Contributor
0 Kudos

yes, but 1st try to stop that application than killing it.

Regards,

Former Member
0 Kudos

assuming my login to the nwa is

http://xxxx:50700/nwa
but I don't see any port 50700 in listening mode using netstat -ano |find /i "listening"

is there a way to check which dispatcher port that failed to use?

divyanshu_srivastava3
Active Contributor
0 Kudos

can't open  server socket on 0.0.0.0 and port 50404. Exception: Address already in use: JVM_Bind

Check for 50404 using netstat -an


       TCP    0.0.0.0:50404          0.0.0.0:0              LISTENING


Free up this port.


Regards,

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Ura,

Follow the SAP Note 1916205 - Java dispatcher crashes with -11113 error code  as per Divyanshu reply.

If not work restart you OS once and try to start the Java.

Regards,

V Srinivasan

Former Member
0 Kudos

Hi Srini,

I've restarted the APP01 but still the same,

perhaps, I need restart the APP02 as well but APP02 is working fine?

I tried to find configtool in APP01 but listen empty as no executable file available.

while APP02 there is something

divyanshu_srivastava3
Active Contributor
0 Kudos

reboot the server(host)

Former Member
0 Kudos

yeah man, I have rebooted APP01 but still the same. unh.. I'm stuck now..

Answers (1)

Answers (1)

Former Member
0 Kudos

I found PORT 50404 pointed to DISP+WORK.exe

the IP 10.32.1.143 resolved to Clustered DB instance.

should I kill it?

divyanshu_srivastava3
Active Contributor
0 Kudos

this is some wp of abap server.

As asked before take a restart of the host on which SAP is hosted.

Former Member
0 Kudos

yeah man, I restarted again the APP01 server that having issue, but still no luck.

divyanshu_srivastava3
Active Contributor
0 Kudos

then stop that abap system and start java 1st.

divyanshu_srivastava3
Active Contributor
0 Kudos

two ports which you need to make sure are not occupied 50408 and 50404

Sriram2009
Active Contributor
Former Member
0 Kudos

Thanks, Divya.

I manage to resolve the issue by performing Note 1916205.

Thanks again for your assistance.

Former Member
0 Kudos

Thanks Sriram