You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by IB...@aol.com on 2001/08/28 17:52:44 UTC
Re: Can't run under JBoss2.4/Tomcat3.2.3
Hi.
I think I found the problem...
I verified everything you listed. I am using jdk1.4beta. A little fishing
around and I realized that Crimson was still being used from rt.jar
(http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)! I
tried to use a modified "run.sh" to attempt to force the use of Xerces, but
this caused more errors that it fixed (jboss failed to deploy the
tomcat-test.ear, and cocoon gave a new reason for not starting).
The cocoon error is below. The logs and startup script (which I renamed to
"jboss") are attached (I hope that isn't improper net-equite for this list).
Thanks!
Ian
Cocoon 2 - Internal server error
----------------------------------------------------------------------------
----
type internal-server-error
message Exception in Handler
description org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for hint:
sitemap
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
embedded exception
org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: sitemap
embedded exception stacktrace
org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:253)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Thread.java:579)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
AbstractMarkupLanguage: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:141)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
ponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:246)
... 3 more
Caused by: java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:1
18)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:9
6)
at
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic
sheet.java:99)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo
gicsheet(AbstractMarkupLanguage.java:182)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:113)
... 6 more
exception
org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for hint:
sitemap
path-info
stacktrace
org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for hint:
sitemap
at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:239)
at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:153)
at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:174)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:100)
at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:579)
Caused by: org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for hint:
sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:253)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
... 1 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
AbstractMarkupLanguage: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:141)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
ponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:246)
... 3 more
Caused by: java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:1
18)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:9
6)
at
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic
sheet.java:99)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo
gicsheet(AbstractMarkupLanguage.java:182)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:113)
... 6 more
org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:253)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Thread.java:579)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException:
AbstractMarkupLanguage: SAX2 driver class
org.apache.xerces.parsers.SAXParser not found
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:141)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultCom
ponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:246)
... 3 more
Caused by: java.lang.ClassNotFoundException:
org/apache/xerces/parsers/SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:1
18)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:9
6)
at
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic
sheet.java:99)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo
gicsheet(AbstractMarkupLanguage.java:182)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur
e(AbstractMarkupLanguage.java:113)
... 6 more
----- Original Message -----
From: "Gianugo Rabellino" <g....@bibop.it>
To: <co...@xml.apache.org>
Sent: Tuesday, August 28, 2001 7:44 AM
Subject: Re: Can't run under JBoss2.4/Tomcat3.2.3
> On Mon, Aug 27, 2001 at 04:15:36PM -0400, IBrandt@aol.com wrote:
> >
> > Hi,
> >
> > I'm trying to get Cocoon2b2 going with the JBoss2.4/Tomcat3.2.3 bundle.
To
> > the best of my knowledge I followed the Cocoon install instructions for
the
> > JBoss2.2.2/Tomcat3.2.2 bundle to the letter, but am getting the
exception
> > below. Has anyone tried to use cocoon with this new JBoss release? I'm
> > running under Cygwin. I can view the Tomcat intro page at
>
> Here (Linux is being run) I succeeded with almost no problem. Please
> double check that:
>
> 1. you edited the Jboss run script and got rid of the JAXP envs and of
> the crimson.jar, putting xerces in place of crimson (lines 23-24-25);
> 2. you moved away crimson.jar from jboss/lib and copied xerces in this
> place;
> 3. you removed any occurence of jaxp.jar (both in jboss and tomcat) and
> copied xerces in tomcat/lib;
> 4. you renamed parser.jar to zparser.jar in tomcat/lib.
>
> This was enough for me. Although YMMV, it should be pretty
> straightforward: let me know if you still have problems.
>
> Ciao,
>
> --
> Gianugo Rabellino
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Mario Muja <ma...@delaval.com>.
Hi Marina,
thank you for this hint. Was a long day. Next time I will be more
cautious before writing such nonsense...;-)
Regards, Mario
Marina Sturino wrote:
> At 13.47 03/09/01 +0200, you wrote:
>
>> It is not very user friendly, that one has to build the docs before
>> he can read them. Accessing the documentation should be as easy as
>> possible because this is the first, what new users are looking for.
>
>
> Hi,
> in Cocoon packages that I downloaded: Cocoon-2.0b2.zip and
> Cocoon-2.0b2.tar.gz, HTML docs are in the directory cocoon-x.y.z/docs
> It's the mirror of C2 web site
>
> Ciao
> Marina
>
> P.S I downloaded C2 in the Apache Cocoon distribution directory, at
> http://xml.apache.org/cocoon2/dist/
>
>> Mario
>>
>>
>> Gianugo Rabellino wrote:
>>
>>> On Mon, Sep 03, 2001 at 09:36:31AM +0200, Mario Muja wrote:
>>>
>>>> - download the docs in an easy to read format as a single file
>>>> (e.g. a PDF) for offline reading
>>>
>>>
>>> This AFAIK has not yet been implemented.
>>>
>>>> - read the docs in the distribution without being forced to install
>>>> C2 (currently, the doc only comes in XML format)
>>>
>>>
>>> /build.sh docs (or build docs if MS user). Then look in
>>> build/cocoon/docs.
>>>
>>> Ciao,
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: <co...@xml.apache.org>
>> For additional commands, e-mail: <co...@xml.apache.org>
>
>
> -------------------------------------------------------------------------------------------
>
> L'unico modo per accelerare windows 9.x/2K e' a 9,8 m/s^2 ;-)
>
> Utente Linux registrato: #218195 (http://counter.li.org)
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Marina Sturino <ma...@katamail.com>.
At 13.47 03/09/01 +0200, you wrote:
>It is not very user friendly, that one has to build the docs before he can
>read them. Accessing the documentation should be as easy as possible
>because this is the first, what new users are looking for.
Hi,
in Cocoon packages that I downloaded: Cocoon-2.0b2.zip and
Cocoon-2.0b2.tar.gz, HTML docs are in the directory cocoon-x.y.z/docs
It's the mirror of C2 web site
Ciao
Marina
P.S I downloaded C2 in the Apache Cocoon distribution directory, at
http://xml.apache.org/cocoon2/dist/
>Mario
>
>
>Gianugo Rabellino wrote:
>
>>On Mon, Sep 03, 2001 at 09:36:31AM +0200, Mario Muja wrote:
>>
>>>- download the docs in an easy to read format as a single file (e.g. a
>>>PDF) for offline reading
>>
>>This AFAIK has not yet been implemented.
>>
>>>- read the docs in the distribution without being forced to install C2
>>>(currently, the doc only comes in XML format)
>>
>>/build.sh docs (or build docs if MS user). Then look in build/cocoon/docs.
>>
>>Ciao,
>
>
>
>---------------------------------------------------------------------
>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: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
-------------------------------------------------------------------------------------------
L'unico modo per accelerare windows 9.x/2K e' a 9,8 m/s^2 ;-)
Utente Linux registrato: #218195 (http://counter.li.org)
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Mario Muja <ma...@delaval.com>.
It is not very user friendly, that one has to build the docs before he
can read them. Accessing the documentation should be as easy as possible
because this is the first, what new users are looking for.
Mario
Gianugo Rabellino wrote:
>On Mon, Sep 03, 2001 at 09:36:31AM +0200, Mario Muja wrote:
>
>>- download the docs in an easy to read format as a single file (e.g. a
>>PDF) for offline reading
>>
>
>This AFAIK has not yet been implemented.
>
>>- read the docs in the distribution without being forced to install C2
>>(currently, the doc only comes in XML format)
>>
>
>/build.sh docs (or build docs if MS user). Then look in build/cocoon/docs.
>
>Ciao,
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Gianugo Rabellino <g....@bibop.it>.
On Mon, Sep 03, 2001 at 09:36:31AM +0200, Mario Muja wrote:
> - download the docs in an easy to read format as a single file (e.g. a
> PDF) for offline reading
This AFAIK has not yet been implemented.
> - read the docs in the distribution without being forced to install C2
> (currently, the doc only comes in XML format)
./build.sh docs (or build docs if MS user). Then look in build/cocoon/docs.
Ciao,
--
Gianugo Rabellino
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Mario Muja <ma...@delaval.com>.
Regarding the documentation I did not find a way yet to
- download the docs in an easy to read format as a single file (e.g. a
PDF) for offline reading
- read the docs in the distribution without being forced to install C2
(currently, the doc only comes in XML format)
Is this on the To-Do-List? I would also like to help to get these points
done.
Regards, Mario
Gianugo Rabellino wrote:
>True, it's in the CVS version of the FAQ (didn't check if it's in the
>distribution too), but unfortunately it's not mentioned in the site.
>Probably most people (see myself as an example :)) is lazy or dumb
>enough not to check if there were any changes in the documentation:
>when is going the site to be updated with the new FAQs and docs?
>
>Ciao,
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Gianugo Rabellino <g....@bibop.it>.
On Mon, Sep 03, 2001 at 07:10:18AM +0200, giacomo wrote:
> > This is another good candidate for Cocoon FAQs. Batik (used by FOP for image
> > rendering) is using AWT to do some of his work, and AWT under *nix needs to
> > connect to an X server. You might want to look for Xvfb, a "virtual" X
> > server who does not need any graphic hardware and provides access to X to
> > AWT applications. As an alternative if you don't need Batik or FOP you can
> > take the components out from the sitemap.
>
> This is already in the FAQ!
True, it's in the CVS version of the FAQ (didn't check if it's in the
distribution too), but unfortunately it's not mentioned in the site.
Probably most people (see myself as an example :)) is lazy or dumb
enough not to check if there were any changes in the documentation:
when is going the site to be updated with the new FAQs and docs?
Ciao,
--
Gianugo
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Nicolai P Guba <np...@frontwire.com>.
On 28 Aug 2001 22:32:28 +0200, Gianugo Rabellino wrote:
> > Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this
> > little surprise:
> >
> > java.lang.InternalError: Can't connect to X11 window server using ':0.0'
> > as the value of the DISPLAY variable.
> > Why on earth does this thing want to connect to an X-server? Anybody
> > got a fix for this?
>
> This is another good candidate for Cocoon FAQs. Batik (used by FOP for image
> rendering) is using AWT to do some of his work, and AWT under *nix needs to
> connect to an X server. You might want to look for Xvfb, a "virtual" X
> server who does not need any graphic hardware and provides access to X to
> AWT applications. As an alternative if you don't need Batik or FOP you can
> take the components out from the sitemap.
Oooh yeah. This definitively needs to be in the FAQ (which I consulted
before) Put it in :)
--
Nicolai P Guba http://www.gnu.org http://www.frontwire.com
mailto:nicolai@gnu.org mailto:npg@frontwire.com
GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by giacomo <gi...@apache.org>.
On Tue, 28 Aug 2001, Gianugo Rabellino wrote:
> > Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this
> > little surprise:
> >
> > java.lang.InternalError: Can't connect to X11 window server using ':0.0'
> > as the value of the DISPLAY variable.
> > Why on earth does this thing want to connect to an X-server? Anybody
> > got a fix for this?
>
> This is another good candidate for Cocoon FAQs. Batik (used by FOP for image
> rendering) is using AWT to do some of his work, and AWT under *nix needs to
> connect to an X server. You might want to look for Xvfb, a "virtual" X
> server who does not need any graphic hardware and provides access to X to
> AWT applications. As an alternative if you don't need Batik or FOP you can
> take the components out from the sitemap.
This is already in the FAQ!
Giacomo
>
> Ciao,
>
> --
> Gianugo Rabellino
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Gianugo Rabellino <g....@bibop.it>.
> Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this
> little surprise:
>
> java.lang.InternalError: Can't connect to X11 window server using ':0.0'
> as the value of the DISPLAY variable.
> Why on earth does this thing want to connect to an X-server? Anybody
> got a fix for this?
This is another good candidate for Cocoon FAQs. Batik (used by FOP for image
rendering) is using AWT to do some of his work, and AWT under *nix needs to
connect to an X server. You might want to look for Xvfb, a "virtual" X
server who does not need any graphic hardware and provides access to X to
AWT applications. As an alternative if you don't need Batik or FOP you can
take the components out from the sitemap.
Ciao,
--
Gianugo Rabellino
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Nicolai P Guba <np...@frontwire.com>.
On 28 Aug 2001 19:04:36 +0200, Gianugo Rabellino wrote:
> On Tue, Aug 28, 2001 at 11:52:44AM -0400, IBrandt@aol.com wrote:
> > I verified everything you listed. I am using jdk1.4beta. A little fishing
> > around and I realized that Crimson was still being used from rt.jar
> > (http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)!
>
> Argh. Cygwin, Cocoon 2, JDK 1.4 beta... now *this* is what I
> call bleeding edge :))
>
> > tried to use a modified "run.sh" to attempt to force the use of Xerces, but
> > this caused more errors that it fixed (jboss failed to deploy the
> > tomcat-test.ear,
>
Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this
little surprise:
DEBUG (2001-08-28) 15:56.10:987 [cocoon ] (/cocoon/)
Thread-22/ExcaliburComponentSelector: Adding
org.apache.cocoon.serialization.XMLSerializer for svgxml
ERROR (2001-08-28) 15:56.11:822 [cocoon ] (/cocoon/)
Thread-22/Handler: Error compiling sitemap
java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:63)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at
=======================================================================
Why on earth does this thing want to connect to an X-server? Anybody
got a fix for this?
--
Nicolai P Guba http://www.gnu.org http://www.frontwire.com
mailto:nicolai@gnu.org mailto:npg@frontwire.com
GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Can't run under JBoss2.4/Tomcat3.2.3
Posted by Gianugo Rabellino <g....@bibop.it>.
On Tue, Aug 28, 2001 at 11:52:44AM -0400, IBrandt@aol.com wrote:
> I verified everything you listed. I am using jdk1.4beta. A little fishing
> around and I realized that Crimson was still being used from rt.jar
> (http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)!
Argh. Cygwin, Cocoon 2, JDK 1.4 beta... now *this* is what I
call bleeding edge :))
> tried to use a modified "run.sh" to attempt to force the use of Xerces, but
> this caused more errors that it fixed (jboss failed to deploy the
> tomcat-test.ear,
This seems to be the reason:
The encoding "Cp1252" is not supported., Cause:org.xml.sax.SAXException: Stopping after fatal error: The encoding "Cp1252" is not supported
> and cocoon gave a new reason for not starting).
And this is the reason for Cocoon not to start:
org.apache.avalon.framework.configuration.ConfigurationException: AbstractMarkupLanguage: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
They both look like Xerces related problems, yet the run script
looks fine. Have you tried with any 1.3 JDK to see if it's a
java problem?
Ciao,
--
Gianugo Rabellino
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>