michel wrote:

> Has anybody expiriances on running a "headless" cocoon (on a server without
> X).
> 
> The guide for changing awt to http://www.eteks.com/pja/en didn't help me so
> much.
> 
> 1.) I didn't find a "jre/classes" path on my Blackdown j2sdk1.3.1
> installation, so I created a new one and put the unpacked eteks jars there.
> I also tried to put them an other places, I even added them the jre's rt.jar


I just created jre/classes and put etecks jars into it.


> 2.) The new parameters in the catalina.sh 
> 
> export CATALINA_OPTS='-Dawt.toolkit=com.eteks.awt.PJAToolkit \
>   -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \
>   -Djava.awt.fonts=/usr/local/jdk/jre/lib/fonts/'
> 
> leaded to errors on starting tomcat, or tomcat refused to start. 


I just replaced the font.properties by the etecks one, and change in
the above line the path to the jdk

All works for me

JP


> Changing to these new settings with a bit different classnames
> 
> CATALINA_OPTS='-Djava.awt.Toolkit=com.eteks.awt.PJAToolkit'
> CATALINA_OPTS_TWO='-Djava.awt.GraphicsEnvironment=com.eteks.java2d.PJAGraphi
> csEnvironment'
> CATALINA_OPTS_THREE='-Djava.awt.fonts=/usr/lib/j2sdk1.3/jre/lib/fonts/'
> 
> java  $CATALINA_OPTS $CATALINA_OPTS_TWO $CATALINA_OPTS_THREE ....
> 
> leaded back to a tomcat that works. But still cocoon is complaining about
> the missing X.
> I don't know wether tomcat actually runs with the eteks classes or if cocoon
> needs additional
> settings.
> 
> Sorry for my bad english and Thanx for your help.
> 
> Michel
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to