Hi Jeremy,
The xvfb solution is in the FAQ. Have a look at
xml-cocoon2/xdocs/faq.xml around line 588.
The only problem with the PJA toolkit is that it's licenced under the
GPL (not LGPL), which has implications:
http://www.fsf.org/licenses/gpl-faq.html#TOCIfLibraryIsGPL
http://www.fsf.org/licenses/gpl-faq.html#TOCIfInterpreterIsGPL (last
paragraph)
I'm not a lawyer, but reading those links above say that if a library
is licenced under the GPL, the program using it must be too.
Cheers,
Marcus
On Mon, 20 Aug 2001, Jeremy Crosbie wrote:
> After a week of head scratching and the help of a nice person name Juerg
> Lehni I got an alternative to Xvfb working. My problem was that I wanted
> Apache + Tomcat 4.0 + Cocoon to startup at bootup on my laptop. Using Xvfb
> is not really an option in this setup.
>
> Searching through the mail archives I found a reference to the PJA toolkit
> which replaces the native Java AWT tools with non-X dependent hooks to
> render components. I finally got this setup to work and it works great.
>
> A concern I have is that neither setting up Xvfb or PJA is in the Cocoon
> FAQ. Is this something that should be added? This question, from my perusal
> of the mail archives, comes up a lot. I would be willing to write the PJA
> part. Is anyone interested in this?
>
> Jeremy Michael Crosbie
>
>
>
> > -----Original Message-----
> > From: Jon Peterson [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 16, 2001 5:33 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Getting read of the X server dependency
> >
> >
> > Xvfb is what you need. If you're running Linux, you may
> > already have it
> > available (do which Xvfb or slocate Xvfb to check). If not, go to
> > Xfree86.org and download either the Xvfb component of X (if
> > you have XServer
> > installed) or grab the entire X Server and run Xinstall.sh. If you're
> > running Solaris, go to
> > http://tmap.pmel.noaa.gov/home/ferret/FAQ/graphics/Solaris_Xvf
> > b.html for the
> > binaries.
> >
> > Once installed, on the command-line run
> >
> > /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
> >
> > and then set the DISPLAY variable to :1.0
> >
> > This should take care of your problem and allow you to keep batik's
> > functionality.
> >
> > Regards,
> > Jon
> >
> > ----- Original Message -----
> > From: "Carlos" <[EMAIL PROTECTED]>
> > To: "cocoon users xml.apache.org" <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 15, 2001 4:49 PM
> > Subject: Getting read of the X server dependency
> >
> >
> > > A while back some people gave solutions as to how to remove
> > the dependency
> > > on a running X server. Some of them included removing all
> > the references
> > to
> > > Batik from the site map, others included downloading a
> > library that would
> > > make X unnecessary, what's the name of the library and where can I
> > download
> > > it from?
> > >
> > >
> > > TIA
> > > Carlos
> > >
> > > --
> > > ---
> > > P |Carlos Araya
> > > _ |WebCT Administrator/Trainer
> > > G |California Virtual Campus, Region 1
> > > ---- C/O De Anza College
> > > 10650 Bubb Road
> > > Cupertino, CA 95014
> > >
> > > mail: [EMAIL PROTECTED]
> > > web: http://www.cvc1.org (work)
> > > http://www.silverwolf-net.net (personal)
> > > PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F
> > 0CE7 DFE7 1756
> > >
> > > Don't let the fact that you can't do all you want to do
> > Keep you from
> > > doing what you can do.
> > >
> > > And oftentimes, excusing of a fault doth make the fault the
> > worse by the
> > > excuse; As patches set upon a little breach discredit more in
> > > hiding of the fault than did the fault before it was so patched.
> > > --Wm. Shakespeare
> > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > 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]>
> >
>
> ---------------------------------------------------------------------
> 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]>
>
>
--
.....
,,$$$$$$$$$, 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
&&&&&&&:
---------------------------------------------------------------------
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]>