hi

it looks like that the use of some java.awt classes causes mac os x to treat tomcat as a gui process... well, there might be a solution. try to start tomcat with the following additional command line parameter:

java.awt.headless=true

you can set the CATALINA_OPTS or JAVA_OPTS environment variable to contain the above property.

hope this helps
simon


Am 02.07.2004 um 00:22 schrieb Jesse Thouin:

I have been using iText in a webapp for several months now, and I LOVE

it.  In conjunction with UJAC, I have not found a better solution for

me or my demanding clients(!).



I have been scouring the mail archives, and have not found an answer

to the following issue, and was hoping someone has heard of it.



With Tomcat running as a daemon or background process in Mac OS X (version isn't

relevant), there is no indication that it's running in the dock on the

user interface.  When the PDF servlet I've written is

called, the Mac GUI launches, or tries to launch, a second iteration

of Tomcat, and an icon shows up in the dock.  Looking at my process

list, only one version of Tomcat is running.  If I switch to the java

application exposed in the dock and "Quit", the only instance of

Tomcat goes away, with nothing in catalina.out.  The PDF servlet works

fine, and continues to work fine.  No problems there.



I can assume only one thing, and that is iText is somehow making the

GUI aware of the Tomcat process and is giving the user an interface to

it.  Doesn't bother me, but my wife (yes, she uses my devstage server

to browse the web...grrr) will sometimes log out, which kills the

process.  Besides, who wants the beautiful Mac GUI cluttered with

useless stuff? :)



If anyone knows anything about this, please elp. Even if it happens to you, and you don't know why, I would like to know about it.





--------------------------------------

Protect yourself from spam,

use http://sneakemail.com


------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to