cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Jini + Javaspaces....C2 Installation - no such method
Date Mon, 15 Jan 2001 15:19:21 GMT
I added some FAQs based on your questions--I don't know why I didn't do it earlier.

Berin Loritsch wrote:

> 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:
> 
> 
> 
> <snip/>
> 
> 
>> Which in turn seem to lead to the following error:
> 
> 
> <snip/>
> 
>> And then:
> 
> 
> <snip/>
> 
>> Wrong version of Xerces or what?
>> 
>> I'm using Xerces-1.2.3...
>> 
>> Any ideas?
> 
> 
> If you are using Tomcat or Catalina as your web server, then there is a 
> common problem.
> Replace the XML parser jars in Tomcat/Catalina with the one from Cocoon 
> (Xerces 1.2.3),
> and that should solve the problem.  Remember that crimson.jar is an XML 
> parser.
> 
>> 
>> 
>> 
>> 
>> 
>> 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



Mime
View raw message