Re: How to run cocoon2 without X11

2001-07-06 Thread Marcus Crafter

On Fri, 6 Jul 2001, C. Gaffga wrote:

 How can I run cocoon 2 without X11. Why is a Display needed???

An Xserver is needed due to the batik library fop uses. batik uses
java's graphics code, which in turn requires the Xserver.

If you don't have an xserver on your system, and can't set the DISPLAY
variable to one, then try out xvfb. xvfb gives you an 'in-memory'
xserver, which doesn't require any display hardware to run.

eg:

$ Xvfb :1 -screen 0 800x600x8 
$ export DISPLAY=:1
$ $TOMCAT_HOME/bin/startup.sh -f server.xml

Hope that helps.

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   Open Software Associates GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ :'   60327 Frankfurt Germany
   ' /( 
   \_' Email : [EMAIL PROTECTED]
  .Business Hours : +49 69 9757 200
:   After Hours: +49 69 49086750


-
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]




Re: How to run cocoon2 without X11

2001-07-06 Thread Sergio Carvalho


You can, alternatively, disable batik alltogether, if you don't use it. Search  
sitemap.xmap for components using fop - I think its just the FOPSerializer, and 
associated pipelines.

On Fri, 6 Jul 2001 19:13:00 +0200 (CEST), Marcus Crafter 
[EMAIL PROTECTED] wrote:
--
 On Fri, 6 Jul 2001, C. Gaffga wrote:
 
  How can I run cocoon 2 without X11. Why is a Display needed???
 
   An Xserver is needed due to the batik library fop uses. batik uses
   java's graphics code, which in turn requires the Xserver.
 
   If you don't have an xserver on your system, and can't set the DISPLAY
   variable to one, then try out xvfb. xvfb gives you an 'in-memory'
   xserver, which doesn't require any display hardware to run.
 
   eg:
 
   $ Xvfb :1 -screen 0 800x600x8 
   $ export DISPLAY=:1
   $ $TOMCAT_HOME/bin/startup.sh -f server.xml
 
   Hope that helps.
 
   Cheers,
 
   Marcus
 
 -- 
 .
  ,,$,  Marcus Crafter
 ;$'  ':Computer Systems Engineer
 $: :   Open Software Associates GmbH
  $   o_)$$$:   82-84 Mainzer Landstrasse
  ;$,_/\ :'   60327 Frankfurt Germany
' /( 
\_' Email : [EMAIL PROTECTED]
   .Business Hours : +49 69 9757 200
 :   After Hours: +49 69 49086750
 
 
 -
 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]



--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
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]




Re: How to run cocoon2 without X11

2001-07-06 Thread C. Gaffga

Now it works, clever and simple idea. Thank you very much

Christoph Gaffga


- Original Message - 
From: Marcus Crafter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 06, 2001 7:13 PM
Subject: Re: How to run cocoon2 without X11


 On Fri, 6 Jul 2001, C. Gaffga wrote:
 
  How can I run cocoon 2 without X11. Why is a Display needed???
 
 An Xserver is needed due to the batik library fop uses. batik uses
 java's graphics code, which in turn requires the Xserver.
 
 If you don't have an xserver on your system, and can't set the DISPLAY
 variable to one, then try out xvfb. xvfb gives you an 'in-memory'
 xserver, which doesn't require any display hardware to run.
 
 eg:
 
 $ Xvfb :1 -screen 0 800x600x8 
 $ export DISPLAY=:1
 $ $TOMCAT_HOME/bin/startup.sh -f server.xml
 
 Hope that helps.
 
 Cheers,
 
 Marcus
 
 -- 
 .
  ,,$,  Marcus Crafter
 ;$'  ':Computer Systems Engineer
 $: :   Open Software Associates GmbH
  $   o_)$$$:   82-84 Mainzer Landstrasse
  ;$,_/\ :'   60327 Frankfurt Germany
' /( 
\_' Email : [EMAIL PROTECTED]
   .Business Hours : +49 69 9757 200
 :   After Hours: +49 69 49086750
 
 
 -
 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]