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

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

Created: 04 Apr 2013 • Updated: 04 Apr 2013 | 6 comments

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

Operating Systems:

Comments 6 CommentsJump to latest comment

.Brian's picture

Very nice, thanks a lot for posting.

You should also post this as a blog or article as it will eventually get lost in the shuffle on this forum as new threads come up.

Thanks again for sharing.

Brian

Please click the "Mark as solution" link at bottom left on the post that best answers your question. This will benefit admins looking for a solution to the same problem.

W007's picture

Good Yes you can post as a blog..

I have bookmark this thread

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

Mithun Sanghavi's picture

Hello,

+1 Good. Create a BLOG or an Article and that would surely assist others.

Mithun Sanghavi
Senior Consultant
MIM | MCSA | MCTS | STS | SSE | SSE+ | ITIL v3

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

Chetan Savade's picture

Thanks for posting as a blog, we can see it's not published as well.

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