Thanks for the reply. >>I had exactly that problem with xerces in WL 5.x - and had to remove some >>of the classes from the WL System jars - quite a pain.
Pffff.... that sucks. It would be nicer if the output displayed a bit more information other than java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init> though - maybe telling me what object and method couldn't be found? Seems I might have to download the Avalon source to find out what's exactly going on... but then, I'm not too sure which version of the Avalon framework is being used in Cocoon 2.0.2 >>If you like I can forward you the analysis we did at the time - if I can >>find it. If it's not too much trouble, I would appreciate that analysis - thanks a lot. Chris. -----Original Message----- From: Anthony Aldridge [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 1:19 PM To: [EMAIL PROTECTED] Subject: Re: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :( Not sure if WL 6.0 is different, but on previous versions of WL there is a lot of confusion surrounding where jars are kept. It basically has 2 separate classpaths - 1 for WL itself, and 1 for the webapps. If the jars are in the wrong classpath you can get the kind of messages you see below - even worse, if the jar - or any of it's classes - appear in both classpaths, you also get the kind of error you specify. I had exactly that problem with xerces in WL 5.x - and had to remove some of the classes from the WL System jars - quite a pain. I know they said this wold be sorted in v.6.x - but I've heard that before. If you like I can forward you the analysis we did at the time - if I can find it. Tony [EMAIL PROTECTED] on 04/26/2002 11:54:31 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: I cannae dae it (the woes of Weblogic 6.0sp2 and Cocoon) :( Hi I've been trying to get cocoon to deploy under Weblogic for some time now, and it isn't working The system is a Solaris machine, Java 1.3.1, Weblogic 6.0 sp2. I have followed the instructions concisely from the cocoon site, and used the cocoon.war file that came with the binary distribution of Cocoon 2.0.2, but if I try to get it running, I get the following message on startup: <BEGIN> <Apr 26, 2002 12:48:25 PM CEST> <Error> <Management> <Error initializing module cocoon of application vodafone:Name=Cocoon,Type=Application from path ./config/vodafone/applicatio ns: weblogic.management.MBeanCreationException: cannot find referenced module cocoon> <Apr 26, 2002 12:48:25 PM CEST> <Error> <Management> <Error preparing application compone nt cocoon of application vodafone:Name=Cocoon,Type=Application: java.io.FileNotFoundExcep tion: ./config/vodafone/applications/cocoon (No such file or directory) ((localPath: java .io.FileNotFoundException: ./config/vodafone/applications/cocoon (No such file or directo ry))> <Apr 26, 2002 12:48:25 PM CEST> <Error> <J2EE> <Error deploying application cocoon: error retrieving component [Caching Stub]Proxy for vodafone:Name=cocoon,Location=eservices,Typ e=WebAppComponentConfig,ApplicationConfig=Cocoon> <Apr 26, 2002 12:48:32 PM CEST> <Error> <HTTP> <[WebAppServletContext(661879,cocoon)] Error loadi ng servlet: 'Cocoon2' java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init> (DefaultCo nfigurationBuilder.java:88) at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init> (DefaultCo nfigurationBuilder.java:64) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:772) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:241) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java :638) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja va:581) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav a:526) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC ontext.jav a:1078) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet Context.ja va:1022) at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:133) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :327) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :143) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java: 76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy29.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeploymen t(WebServe rMBean_CachingStub.java:1012) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :313) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :143) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi gurationMB eanImpl.java:409) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :287) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl .java:866) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl .java:853) at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:838) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:566) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy12.addTarget(Unknown Source) at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM anager.jav a:486) at weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat ionManager .java:557) at weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat ionManager .java:504) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager .java:428) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager .java:380) at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag er.java:15 2) at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(Appli cationMana ger.java:205) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage r.java:120 ) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy3.start(Unknown Source) at weblogic.management.Admin.startApplicationManager(Admin.java:1037) at weblogic.management.Admin.finish(Admin.java:493) at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170) at weblogic.Server.main(Server.java:35) > javax.servlet.ServletException: Servlet class: 'org.apache.cocoon.servlet.CocoonServlet' could no t be handled by the ClassLoader at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav a:560) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC ontext.jav a:1078) at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet Context.ja va:1022) at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:133) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :327) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :143) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java: 76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy29.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeploymen t(WebServe rMBean_CachingStub.java:1012) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :313) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT arget.java :143) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi gurationMB eanImpl.java:409) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :287) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl .java:866) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl .java:853) at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:838) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:566) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy12.addTarget(Unknown Source) at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM anager.jav a:486) at weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat ionManager .java:557) at weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat ionManager .java:504) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager .java:428) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager .java:380) at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag er.java:15 2) at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(Appli cationMana ger.java:205) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage r.java:120 ) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl .java:562) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5 48) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea nImpl.java :285) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180) at $Proxy3.start(Unknown Source) at weblogic.management.Admin.startApplicationManager(Admin.java:1037) at weblogic.management.Admin.finish(Admin.java:493) at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170) at weblogic.Server.main(Server.java:35) <Apr 26, 2002 12:48:38 PM CEST> <Notice> <WebLogicServer> <WebLogic Server started> <Apr 26, 2002 12:48:38 PM CEST> <Notice> <WebLogicServer> <ListenThread listening on port 7400> <Apr 26, 2002 12:48:38 PM CEST> <Notice> <WebLogicServer> <SSLListenThread listening on port 7401> <END> Also, if I try to invoke the cocoon servlet by going to the /cocoon/ URL, then these messages appear: <BEGIN> <Apr 26, 2002 12:48:49 PM CEST> <Error> <HTTP> <[WebAppServletContext(661879,cocoon)] Error loading servlet: 'Cocoon2' java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init> (DefaultConfigurationBuilder.java:88) at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init> (DefaultConfigurationBuilder.java:64) at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:772) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:241) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java :638) at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja va:581) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav a:526) at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:30 6) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :208) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:1265) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :1631) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) > <Apr 26, 2002 12:48:49 PM CEST> <Error> <HTTP> <[WebAppServletContext(661879,cocoon)] Servlet failed with ServletException javax.servlet.ServletException: Servlet class: 'org.apache.cocoon.servlet.CocoonServlet' could not be handled by the ClassLoader at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav a:560) at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:30 6) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :208) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:1265) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :1631) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) <END> I don't know what is going on, and to be frank, I'm losing patience trying to get this working, because the cocoon.war file, despite being huge (because it contains 'all the classes you need'), seems to me to be non-functional. I am also having trouble building cocoon - but that's another story.... sigh :( Chris Clark --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>