Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 28665 invoked by uid 500); 24 Jan 2002 15:27:09 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 28653 invoked from network); 24 Jan 2002 15:27:08 -0000 Message-ID: <3C5026E8.1040102@noos.fr> Date: Thu, 24 Jan 2002 16:23:20 +0100 From: Jean-Philippe Courson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: fr, en-us MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Running cocoon without X References: <61677E7D2301D6119E310050564000915EF1@exchange-pdc.augusta.18> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: