Richard,

On Aug 29, 2004, at 10:59 PM, Richard Van Deren wrote:
I have bee using Fop for while in applications I am developing on the Mac.

A couple of weeks ago Apple updated their Java VM, Java VM 1.4.2 Update 1. Their improvements made my fop processor stop working with the error:
2004-08-26 04:09:14.463 FopService[8097] Apple AWT Java VM was loaded on first thread -- can't start AWT.


I was confused about this, until I remembered that a couple of years ago I was informed that AWT was not supported. The Java VM 1.4.2 Update 1, the support of Swing and AWT objects was improved, however, in their improvements they coded it in such a was as to not allow an application to start Java AWT on the main thread in their standard application pattern. This update created the above error. It worked in headless mode before the Java VM 1.4.2 Update 1.

After a couple of weeks of frustration I was able to get FOP working again using a Cocoa detached thread, NSThread.

There is a small group of us using FOP on the MacOS. I just wanted folks to know that FOP is usable on the mac and it seems to work well on its own thread. I am no expert on threads but a Cocoa thread is not a Java thread. That had me confused for a while.

I would like to contribute some coding examples if they are wanted by the FOP developers. I would like some feedback on how I am doing it.

In the Xerces C++ group they have a directory named Projects, that is where the MacOS Xcode project could go in the FOP CVS tree. I would be happy to add one if there is an interest.

Thanks for letting us know. As I generally run FOP from the Command Line Interface using fop.sh, I haven't run into this problem. It is certainly of interest to me, and I'm sure others as well. Could you provide a list of steps/requirements to alleviate the problem? An example would also be useful and appreciated. I'm not sure how the coding examples should be submitted (perhaps through bugzilla--although this isn't exactly a bug in *FOP*--being sure to identify it as a bug which affects Mac OS X).


We are considering adding a SourceForge project of tools which relate to XML/XML Graphics which might be a good place for this type of thing.

Thanks again!

Web Maestro Clay


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to