Okay... so we have jfreechart working in coldfusion to do the
dual axis chart in Coldfusion on Weblogic on our Windows Server.
Then we tried to move it to test on Solaris *sigh*
Well, when running Jfreechart on UNIX it uses an X11 thing to
render the Java 2D unless you run in a headless state... so here is
where I need help... (well, I need lots of help, but in this
There are two ways to do the headless thing...
with a servlet -->java -Djava.awt.headless=true ... which
I think we could set in a startup script but I am not sure about
(not a servlet?)
I think (or am trying to think) we would do the second option
in the code when we call the jfreechart with createObject but I am
not sure (or sure how)... could someone help a little to explain to
me. Sorry if this is simple... I appreciate the help!
You need to set it in your jvm config or whereever weblogic
sets java arguments. I do not believe you will get away with
setting it dynamically in your code. I know java arguments can be
set for each websphere server instance. I would think weblogic
would have similar capability.
Please forgive this, I just have a quick question if someone
would indulge me and forgive my ignorance.
I just read that the Djava.awt.headless=true was a jvm
setting, would this still be done though the weblogic admin under
java arguments (in theory)?
Is the jvm setting mean just where the setting will be