You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ja...@netscape.net on 2001/09/11 21:26:05 UTC

Configuration on Weblogic 5.1 and Win2000

Hello

I have been trying to set up cocoon to run on my machine.  I have fought through several problems with the xml classes and security exceptions but this last problem has me whipped.  If anyone can help I would greatly appreciate it.  Otherwise I think I will have to punt.

I am using

Windows 2000 SP1
Weblogic 5.1 SP9
Cocoon-2.0b2
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)


Things I have done so far.

1) built cocoon following instructions in INSTALL file for automatic installation. (.\build.bat -Dinclude.webapp.libs=yes Dinstall.war=c:\weblogic\myserver\webapps install)
2) deleted all jars from classpath that anything to do with xml (jaxp,parser,saxon)
3) copied xerces_1_4_1.jar to weblogic\lib and renamed to parser.jar and 
added to weblogic.class.path
4) un-war-ed the cocoon war and added line in weblogic.properties for webapp weblogic.httpd.webApp.cocoon=c:/weblogic/myserver/webapps/cocoon
5) modified weblogic.policy to give all permissions to cocoon files

Error I am recieving

I attached the full cocoon.log at the bottom but here is relevant piece.  I checked this line BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378).  It is basically calling getKey off a class of the type java.util.Map.Entry which should be a valid method.

DEBUG   10002   [cocoon  ] (Thread-9): Looking up org.apache.cocoon.components.store.Store
WARN    10002   [cocoon  ] (Thread-9): Looking up component on an uninitialized ComponentManager: org.apache.cocoon.components.store.Store
DEBUG   10002   [cocoon  ] (Thread-9): Looking up org.apache.cocoon.components.browser.Browser
WARN    10002   [cocoon  ] (Thread-9): Looking up component on an uninitialized ComponentManager: org.apache.cocoon.components.browser.Browser
DEBUG   10002   [cocoon  ] (Thread-9): Could not find ComponentHandler, attempting to create one for role: org.apache.cocoon.components.browser.Browser
DEBUG   10002   [cocoon  ] (Thread-9): ComponentHandler initialized for: org.apache.cocoon.components.browser.BrowserImpl
DEBUG   10002   [cocoon  ] (Thread-9): ComponentFactory creating new instance of org.apache.cocoon.components.browser.BrowserImpl.
DEBUG   10002   [cocoon  ] (Thread-9): Could not find ComponentHandler, attempting to create one for role: org.apache.cocoon.components.parser.Parser
DEBUG   10002   [cocoon  ] (Thread-9): ComponentHandler initialized for: org.apache.cocoon.components.parser.JaxpParser
DEBUG   10002   [cocoon  ] (Thread-9): ComponentFactory creating new instance of org.apache.cocoon.components.parser.JaxpParser.
DEBUG   10002   [cocoon  ] (Thread-9): DocumentBuilder: zip:c:/weblogic/lib/parser.jar#org/apache/xerces/jaxp/DocumentBuilderImpl.class
DEBUG   10002   [cocoon  ] (Thread-9): ComponentFactory decommissioning instance of org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
ERROR   10002   [cocoon  ] (Thread-9): Error compiling sitemap
java.lang.NoSuchMethodError
    at org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378)
    at org.apache.cocoon.components.browser.BrowserImpl.compose(BrowserImpl.java:155)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)
    at org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
    at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:266)
    at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:223)
    at org.apache.cocoon.transformation.TraxTransformer.compose(TraxTransformer.java:334)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)
    at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
    at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
    at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)
    at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:85)
    at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:383)
    at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:222)
    at org.apache.cocoon.www.sitemap_xmap$Configurer.configTransformers(sitemap_xmap.java:984)
    at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:742)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
    at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:81)
    at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:118)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:292)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:273)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
    at java.lang.Thread.run(Thread.java:484)
DEBUG   10002   [cocoon  ] (ExecuteThread-14): Changing Cocoon context(sitemap.xmap) to prefix()
DEBUG   10002   [cocoon  ] (ExecuteThread-14):  from context(file:/C:/weblogic/myserver/webapps/cocoon/) and prefix()
DEBUG   10002   [cocoon  ] (ExecuteThread-14):  at URI 
DEBUG   10002   [cocoon  ] (ExecuteThread-14): New context is file:/C:/weblogic/myserver/webapps/cocoon/
ERROR   10002   [cocoon  ] (ExecuteThread-14): Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. Please check C:\weblogic\myserver\webapps\cocoon\WEB-INF\logs\cocoon.log for the exact error.
    at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:184)
    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:102)
    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:865)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:120)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/