Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Security Community Blog

The Java Virtual Machine has exited with a code of -1, the service is being stopped.

Created: 04 Apr 2013 • Updated: 04 Apr 2013 • 2 comments
thromada's picture
+2 2 Votes
Login to vote

I found an old thread titled "The Java Virtual Machine has exited with a code of -1, the service is being stopped." but it was closed and locked.  So I'm posting this new info.

Using SEP 12.1.2015.2015 on XP x32 and 7 x64 clients; SEPM server is running 2008 R2 standard x64; and logging to an external SQL 2012 server.

This morning I found that my SEP clients and server had no green dot, and that I could not launch my local Java SEPM console.  The SEPM console would error with "The application failed to launch" or "Failed to connect to server".  Checked the server services and found the Symantec Endpoint Protection Manager service was stopped.  I started it, but about a minute later it would stop and the Application Event Log said "The Java Virtual Machine has exited with a code of -1, the service is being stopped" with a source of "semsrv", Event ID "4096".  Starting the service again and reboots of the server did not help.

The issue was: the SQL log files were full.

The resolution: I had my SQL Administrator truncate the SQL logs for SEP and expand them.  After that, the service started and kept running OK.

Regards, Tom.

Comments

Chetan Savade's picture

Hi,

Good info !!!

Chetan Savade
Sr.Technical Support Engineer, Endpoint Security
Enterprise Technical Support
CCNA | CCNP | MCSE | SCTS |

Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.<

+1
Login to vote
vivek.k's picture

Please copy the dx.jar file from (android sdk manager->build tools) to (platform tools->lib)

 

Regards,

Vivek.K

S N tech,

INDIA

+1
Login to vote