
Tomcat JAVA_OPTS
Just an FYI, Catalina.bat is not utilized when running tomcat as a service. here is the method to change the JAVA_OPTS for tomcat running as a windows service.
Open Services and click on the Tomcat service. Make a note of the service name (most likely Tomcat6).
cd to the Tomcat bin directory
Run the command
tomcat6w //ES//Tomcat6 (substitute your service name if different)
Click on the Java tab
Add the options (each on a new line) to the Java Options box and set the initial and max memory to 1536 and 2048
-XX:MaxPermSize=256m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true
Click apply
Click on the general tab and restart the service
Leave Tomcat JAVA_OPTS to:
Read more #development posts
Best Posts From Morgan Todd
We have not curated any of wiredwizard's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Morgan Todd
- Linux createing a gpg key
- Starting Oracle 12c in Linux...
- Acorns Investing Review
- Oracle 12c Install on Oracle Linux 7
- Just a thought
- Pennsylvania school district arms 500 teachers with 16 inch-miniature baseball bats in case of school shooting
- 640 pounds of explosives stolen in Pennsylvania
- Keeping Kids Safe Online in a Mobile World
- Hack into Neighbors WIFI – WPA secured using Reaver
- Tomcat JAVA_OPTS