Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.apache.catalina.startup.Bootstrap on dock in Mac

Hope you can help me. I have a strange org.apache.catalina.startup.Bootstrap icon on my dock in mac. Im using the 10.7.2 version with Lion. I've use this: export JAVA_OPTS="-Djava.awt.headless=true" at the startup.sh and shutdown.sh but got the same problem. Thanks in advance.

like image 951
napstercake Avatar asked Mar 30 '12 16:03

napstercake


2 Answers

If you don't want Tomcat (AKA Apache Catalina) to appear in the OS X dock or as a running application, stop your Tomcat and edit its conf/catalina.properties file, adding this line:

java.awt.headless=true

The next time you start Tomcat, it will not appear in the dock or as a running application.

like image 105
Mr. Lance E Sloan Avatar answered Oct 05 '22 20:10

Mr. Lance E Sloan


actually, I have to disagree that out of memory and bootstrap appearing in the dock are unrelated, because, I am having exactly the same problem, it only happens when tomcat either crashes, and/or out of memory error appears. BTW I am generating jasperREports when this happens.

As a fact it looks like The out of memory error and the appearance of Tomcat (AKA Apache Catalina) in your dock are related, I am still looking for the solution .

I also strongly suggest not to fix the problem this way:

java.awt.headless=true

this only masks the issue, and makes it more difficult to find the root cause.

like image 20
Levancho Avatar answered Oct 05 '22 21:10

Levancho