Tomcat Not Working on Ubuntu 16.04

Linode Staff

Hello.

TOMCAT is not running in Ubuntu.
I was just uploading a .WAR archive on the manager site, right after that it failed to open the manager site. I can´t shutdown either from tomcat bin directory, because there is no connection.
I tried to change security
"securerandom.source=file:/dev/random".
Modify "securerandom.source=file:/dev/./urandom "

according to this StackOverflow post, it did not work either (actually I don´t think I see the securerandom.source=file:/dev/./urandom anymore in securiry file after change it, which is weird).

I'm also seeing some OOM errors in my console:

[16237947.737694] Out of memory: Kill process 23002 (java) score 737 or sacrifice child
[16237947.740149] Killed process 23002 (java) total-vm:2683984kB, anon-rss:872296kB, file-rss:0kB

Would you please help me get back on track?

1 Reply

Hey there,

It looks like this could be caused by Tomcat not having enough Java heap space. I found this really helpful MicroStrategy guide which will walk you through how to increase this and hopefully preventing this from happening again. If you're still having trouble with it, be sure to reach out here so we can try and find the solution for you.

Ryan L.
Linode Support Staff

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct