Here's my startup script. Notice there are two types of classpath which I have explicitly added to the command line (I use tomcat). That was my original mistake! Not sure how your classpath is configured, but I guess you may have the same problem.
First I added the bootclasspath - this is important - your poath will be different, but I'm sure you get the idea! -Xbootclasspath/a:/export/opt/Netscape/Proxy_uk/pja/pja.jar Then as part of the standard classpath: -cp /export/opt/Netscape/Proxy_uk/pja/pjatools.jar Finally a few more options: -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava.awt.fonts=/opt/jdk/1.3.0.2/solaris/jre/lib/fonts After that, it all worked happily. Hope that helps Regards, Anthony Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338 MIH Hotline: 876-1300 michel <[EMAIL PROTECTED]> on 24/01/2002 15:18:45 Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: Running cocoon without X 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 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. 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]>