org.apache.catalina.startup.Bootstrap appearing in dock

FYI: If you’re developing a Java web application using Tomcat on Mac OS X and you see:

org.apache.catalina.startup.Bootstrap

appearing in the dock, you need to add:

export JAVA_OPTS="-Djava.awt.headless=true"

to your startup script.

Source:
· Installing Tomcat on OS X
· Decapitating java.awt

This entry was posted in J2EE, Systems Administration. Bookmark the permalink.

7 Responses to org.apache.catalina.startup.Bootstrap appearing in dock

  1. Linda says:

    So what if you are seeing this on your desktop and you are not developing a Java web application using Tomcat (or anything else)? What is the fix?

  2. Vartan says:

    Finally….
    Thanks

    Regards

  3. Tom Jacobs says:

    Excuse my ignorance, but when you say “add to my startup script” which script is that exactly? Is it startup.sh or catalina.sh or something else? And where in the script should it be added?

  4. George says:

    thank you, quite annoying little thing :)

  5. luca says:

    i know that is an old post…but i have a problem: i use a jframe so i can’t set headless to true, or i catch an headlessexception. now if i print this printerjob on mac my printer give me a blank page, meanwhile if i set the visibility on the frame i can see that it’s well formed! what can i do?

  6. Ricardo says:

    Hi everyone, I have the 10.7.2 version on Mac using Lion and is not working for me :(

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>