You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mats Norén <ma...@spectral.se> on 2001/01/15 16:03:38 UTC

Fop question (was Javaspace + Jini C2 Installation issue)

I studied the log some more got rid of all errors except that it couldn´t find the
org.apache.fop.messaging.MessageListener class..
Is this a known issue?

Mats Norén wrote:

> Thanks, I seemed to get one step further this time...now it seems that my sitemaphandler isn´t compiled.
> After a quick look in the Cocoon log I found this snippet:
>
> ERROR   1803    [cocoon  ] (Thread-24): Logicsheet.setInputSource
> javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
>  at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:749)
>  at org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logicsheet.java:83)
>  at
> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java,
> Compiled Code)
>  at org.apache.cocoon.CocoonComponentSelector.setupComponent(CocoonComponentSelector.java:242)
>  at org.apache.cocoon.CocoonComponentSelector.select(CocoonComponentSelector.java:161)
>  at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:136)
>
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
>  at java.lang.Thread.run(Thread.java:479)
> -----------------------------
>
> Which in turn seem to lead to the following error:
>
> ERROR   2173    [cocoon  ] (Thread-24): Logicsheet.getTransformerHandler:Exception
> java.lang.NullPointerException:
>
> And then:
>
> ERROR   2183    [cocoon  ] (Thread-24): Error compiling sitemap
> org.xml.sax.SAXException: Null content handler
>  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
>
> Wrong version of Xerces or what?
>
> I'm using Xerces-1.2.3...
>
> Any ideas?
>
> Berin Loritsch wrote:
>
> > Mats Norén wrote:
> >
> > > Hi all,
> > >
> > > A while a go I tried cocoon2 for the first time and I was so impressed
> > >
> > > by it that we decided to use it as frontend for a Jini-based multiagent
> > >
> > > system. We use JavaSpaces to obtain a loose coupling between the
> > >
> > > different layers in our system and Cocoon. We use a transformer to
> > >
> > > dynamically build Javaspace Entrys and make requests to the underlying
> > >
> > > agents. Works like a charm.
> > >
> > > Great work guys!! Keep it up.
> > >
> > >
> > >
> > > Now to my question.
> > >
> > > We decided to use windows2000 instead of NT4 and jakarta-3.2.1 instead
> > >
> > > of jakarta 3.1b3 (i think)...
> > >
> > > I took the latest source from CVS and build it.
> > >
> > > I dropped the war-file in tomcats webappcatalog as I used to do...but
> > >
> > > this time when I was expecting i nice Cocoon-screen, all I got was:
> > >
> >
> > Make sure you have the proper jars installed.  Avalonapi.jar and others
> > have changed--sometimes the change is incompatible with a previous release.
> >
> > If you build Cocoon with the -Dinclude.webapp.libs property, then you
> > will get I nice fat war file with all the libs included.
> >
> > >
> > >
> > > Error: 500
> > >
> > >
> > >
> > > Location: /cocoon
> > >
> > >
> > >
> > > Internal Servlet Error:
> > >
> > >
> > >
> > > java.lang.NoSuchMethodError: org.apache.log.LogKit: method
> > >
> > > createLogger(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/log/Logger;
> > >
> > > not found
> > >
> > >         at
> > >
> > > org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:85)
> > >
> > >         at
> > >
> > > org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> > >
> > >         at org.apache.tomcat.core.Handler.init(Handler.java:215)
> > >
> > >         at
> > >
> > > org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> > >
> > >         at org.apache.tomcat.core.Handler.service(Handler.java:254)
> > >
> > >         at
> > >
> > > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> > >
> > >         at
> > >
> > > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> > >
> > >
> > >
> > >         at
> > >
> > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > >
> > >         at
> > >
> > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> > >
> > >
> > >
> > >         at
> > >
> > > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> > >
> > > Compiled Code)
> > >
> > >         at
> > >
> > > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> > >
> > > Compiled Code)
> > >
> > >         at java.lang.Thread.run(Thread.java:479)
> > >
> > >
> > >
> > > I looked in the Avalonapi.jar and the classes are there at least...so my
> > >
> > > question is:
> > >
> > > What am I doing wrong?
> > >
> > >
> > >
> > > /Regards Mats
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > >
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > >
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Fop question (was Javaspace + Jini C2 Installation issue)

Posted by Berin Loritsch <bl...@apache.org>.
Mats Norén wrote:

> I studied the log some more got rid of all errors except that it couldn´t find the
> 
> org.apache.fop.messaging.MessageListener class..
> 
> Is this a known issue?

Did you get past the Namespace issue first?

Which version of FOP are you using?

> 
> 
> 
> Mats Norén wrote:
> 
> 
> 
> 
>> Thanks, I seemed to get one step further this time...now it seems that my sitemaphandler isn´t compiled.
> 
>> After a quick look in the Cocoon log I found this snippet:
> 
>> 
> 
>> ERROR   1803    [cocoon  ] (Thread-24): Logicsheet.setInputSource
> 
>> javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser
> 
>>  at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:749)
> 
>>  at org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logicsheet.java:83)
> 
>>  at
> 
>> org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java,
> 
>> Compiled Code)
> 
>>  at org.apache.cocoon.CocoonComponentSelector.setupComponent(CocoonComponentSelector.java:242)
> 
>>  at org.apache.cocoon.CocoonComponentSelector.select(CocoonComponentSelector.java:161)
> 
>>  at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:136)
> 
>> 
> 
>>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
> 
>>  at java.lang.Thread.run(Thread.java:479)
> 
>> -----------------------------
> 
>> 
> 
>> Which in turn seem to lead to the following error:
> 
>> 
> 
>> ERROR   2173    [cocoon  ] (Thread-24): Logicsheet.getTransformerHandler:Exception
> 
>> java.lang.NullPointerException:
> 
>> 
> 
>> And then:
> 
>> 
> 
>> ERROR   2183    [cocoon  ] (Thread-24): Error compiling sitemap
> 
>> org.xml.sax.SAXException: Null content handler
> 
>>  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
> 
>> 
> 
>> Wrong version of Xerces or what?
> 
>> 
> 
>> I'm using Xerces-1.2.3...
> 
>> 
> 
>> Any ideas?
> 
>> 
> 
>> Berin Loritsch wrote:
> 
>> 
> 
>> 
>>> Mats Norén wrote:
> 
>>> 
> 
>>> 
>>>> Hi all,
> 
>>>> 
> 
>>>> A while a go I tried cocoon2 for the first time and I was so impressed
> 
>>>> 
> 
>>>> by it that we decided to use it as frontend for a Jini-based multiagent
> 
>>>> 
> 
>>>> system. We use JavaSpaces to obtain a loose coupling between the
> 
>>>> 
> 
>>>> different layers in our system and Cocoon. We use a transformer to
> 
>>>> 
> 
>>>> dynamically build Javaspace Entrys and make requests to the underlying
> 
>>>> 
> 
>>>> agents. Works like a charm.
> 
>>>> 
> 
>>>> Great work guys!! Keep it up.
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> Now to my question.
> 
>>>> 
> 
>>>> We decided to use windows2000 instead of NT4 and jakarta-3.2.1 instead
> 
>>>> 
> 
>>>> of jakarta 3.1b3 (i think)...
> 
>>>> 
> 
>>>> I took the latest source from CVS and build it.
> 
>>>> 
> 
>>>> I dropped the war-file in tomcats webappcatalog as I used to do...but
> 
>>>> 
> 
>>>> this time when I was expecting i nice Cocoon-screen, all I got was:
> 
>>>> 
> 
>>> 
>>> Make sure you have the proper jars installed.  Avalonapi.jar and others
> 
>>> have changed--sometimes the change is incompatible with a previous release.
> 
>>> 
> 
>>> If you build Cocoon with the -Dinclude.webapp.libs property, then you
> 
>>> will get I nice fat war file with all the libs included.
> 
>>> 
> 
>>> 
>>>> 
>>>> Error: 500
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> Location: /cocoon
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> Internal Servlet Error:
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> java.lang.NoSuchMethodError: org.apache.log.LogKit: method
> 
>>>> 
> 
>>>> createLogger(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/log/Logger;
> 
>>>> 
> 
>>>> not found
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:85)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
> 
>>>> 
> 
>>>>         at org.apache.tomcat.core.Handler.init(Handler.java:215)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
> 
>>>> 
> 
>>>>         at org.apache.tomcat.core.Handler.service(Handler.java:254)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> 
>>>> 
> 
>>>> Compiled Code)
> 
>>>> 
> 
>>>>         at
> 
>>>> 
> 
>>>> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> 
>>>> 
> 
>>>> Compiled Code)
> 
>>>> 
> 
>>>>         at java.lang.Thread.run(Thread.java:479)
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> I looked in the Avalonapi.jar and the classes are there at least...so my
> 
>>>> 
> 
>>>> question is:
> 
>>>> 
> 
>>>> What am I doing wrong?
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> /Regards Mats
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> ---------------------------------------------------------------------
> 
>>>> 
> 
>>>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> 
>>>> 
> 
>>>> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
>>> 
>>> ---------------------------------------------------------------------
> 
>>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> 
>>> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
>> 
>> ---------------------------------------------------------------------
> 
>> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> 
>> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> 
> For additional commands, email: cocoon-dev-help@xml.apache.org