From c11d20f2d5f17ba34658f6ccea512d369128a40b Mon Sep 17 00:00:00 2001 From: jeb228 Date: Thu, 8 Jul 2010 16:42:58 +0000 Subject: [PATCH] NIHVIVO-755 Explain use of java.awt.headless option. --- doc/developers.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/developers.txt b/doc/developers.txt index 0d45af67..72df76ea 100644 --- a/doc/developers.txt +++ b/doc/developers.txt @@ -27,4 +27,19 @@ Follow these steps: 4) Follow the instructions in "install.txt" to complete the installation, omitting step III. - \ No newline at end of file + +------------------------------------------------------------------------------- +Answers to Frequently Asked Questions: +------------------------------------------------------------------------------- + +Q: I'm running VIVO in Tomcat on a MacIntosh. When I upload an image file, a + strange icon appears in the dock. What's up with that? + +A: The image processing code in VIVO uses javax.imageio.ImageIO, which in turn + uses code in the java.awt package. By default, this package will open a work + area on your screen, producing this icon even though no visible window is + created. + + You can prevent this by editing {tomcat}/conf/setenv.sh, and adding the + "java.awt.headless" option. For example, + export CATALINA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=64m -Djava.awt.headless=true"