I know this has been answered in the users list plenty of times and that this
is a high traffic list.  Maybe  it's time to add this to the install document, 
because if you are using  headless X, which many cocoon1 users were it's bound
to come up when making the switch to cocoon2.

Anyway,

>From www.eteks.com you can get an awt replacement that doesn't need X.  

http://www.eteks.com/pja/en   It's gpl'd so i don't think it can be included in the
distribution.  Of course, GPL is fine to use since i'm not distributing anything.

Unpack the jars into a place where jdk will be able to use them-- 
$JAVAHOME/JRE/classes works.

Then add to your tomcat startup script
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/'

(catalina_opts if it's 4, tomcat_opts if it's 3 and all the svg wonders
should now work headless.

Should i xmlize this and submit a patch to something?
Tim Myers


On Sun, Nov 25, 2001 at 05:38:21PM -0800, Carlos Araya wrote:
> Good evening:
> 
> Is there a quick way of disabling batik. What else, if anything, should I
> look at disabling/removing to get cocoon not to require the X-server
> dependency?
> 
> Thanks
> 
> 
> -- 
> Carlos E. Araya
> ---+ WebCT Administrator/Trainer
>  G | California Virtual Campus
>  - | C/O De Anza College
>  P | 21250 Stevens Creek Blvd
> ---+ Cupertino, CA 95014
> 
> email               [EMAIL PROTECTED]
> web                 http://www.cvc1.org/ (work)
>                     http://www.silverwolf-net.net (personal)
> phone               408 257 0420 (work)
> PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
> 
> Paradoxically, a refusal to 'put a monetary value on life' means that
> life is often undervalued.
> -- Artificial Intelligence: A Modern Approach
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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

Reply via email to