> Could I get the exceptions?  I need to start the making 1.7 work and
> this would be helpfull.

The Cocoon 1.7 jars:
cocoon.jar
ant.jar
xml.jar
xerces_1_0_1.jar
xalan_0_19_4.jar
stylebook-1.0-b2.jar
servlet_2_2.jar
fop_0_12_1.jar

I put into my tomcat/lib dir and remove any conflicting old
jars. Everything else I keep the same (ie Jetspeed.jar, ecs, castor, etc).
I am using a slightly old build of Jetspeed, I think from March 4. With
the setup of different contexts for Jetspeed and Coccon as described in
my last email, I get Cocoon 1.7 to work fine, Jetspeed crashes:

Here is the error I get:

java.lang.NoSuchMethodError: org.apache.cocoon.store.MemoryStore: method
init(Lorg/apache/cocoon/framework/Configurations;)V not found
        at
org.apache.jetspeed.xml.cache.MemoryStore.getInstance(MemoryStore.java:99)
        at
org.apache.jetspeed.xml.cache.PortletCache.<init>(PortletCache.java:88)
        at <Unloaded Method>
        at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:450)
        at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(Compiled
Code)
        at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory.java:258)
        at org.apache.jetspeed.turbine.screens.Home.build(Home.java:94)
        at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:122)
        at
org.apache.jetspeed.turbine.layouts.JetSpeedLayout.build(JetSpeedLayout.java:107)
        at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:115)
        at
org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:96)
        at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:115)
        at Turbine.doGet(Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)



> Hm.  Did this work?  Was it only 1.7 in the classpath?  Were they
> actually in separate VMs?  Jetspeed uses Cocoon directly and unless it
> was a singleton and within the same VM I wouldn't make sense.

Yes, I was able to get it working fine. It used one version of Cocoon
across the board: 1.6.1; that is that Jetspeed used this version, and the
Cocoon environment used this version. Since it's in the CLASSPATH, I
assume there's no way of running Cocoon 1.6.1 and 1.7 under the same JVM.
No, it's not a singleton, BTW. 



cheers
Pratik



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to