cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laurent_ror...@marinepower.com
Subject Really urgent - Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error
Date Thu, 19 Aug 2004 07:21:34 GMT
----- Forwarded by Laurent Rorive/MARINEPOWER on 19/08/2004 09:16 -----


laurent_rorive@marinepower.com
13/08/2004 18:40
Please respond to users
 
        To:     users@cocoon.apache.org
        cc: 
        Subject:        Configuration problem 2.1.5.1 - 
Element.getLocalName() - NoSuchMethod Error



Dear All, 

I download the latest version , and test it everything is fine. More 
precisely I test the "forms" blok  with Jetty and all is OK 

Now I'm busy with the upgrade of my own project . I work with Eclipse 3.0 
, JDK1.4.2 , Tomcat 5.0.18 

I copy the jars , I change all my woody forms to forms ... OK 

Then I try them  and it fails . 

I always receive  the error (see complete trace at bottom) 


It happens after my flow script was called and that I try to load a Form 
definition : 

function startmyform () 
{ 
... 
 print("1");   // is printed 
      var form = new Form("context://woody/network/forms/" + form_alias + 
"_definition.xml");   // generate the error 
      print("2");  // is not printed 
... 
} 


This method is normally defined in a class Element present with Xerces . 
To be sure to use the same elements as Jetty , I copied the *.jars that it 
use as "endorsed" to launch the servlet to my "endorsed" directory of 
Tomcat. 

==> No Matter 

I install the block "forms" in my own context  ==> No matter 
I review my cocoon.xconf and sitemap.xmap with the one build with 
cocoon-2.1.5.1 ==> No Matter 

Any other idea ? 

Thanks for your help 

Laurent Rorive 


======================= 


StandardWrapperValve[Cocoon]: Servlet.service() for servlet Cocoon threw 
exception 
java.lang.NoSuchMethodError: 
org.w3c.dom.Element.getLocalName()Ljava/lang/String; 
        at 
org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultFormManager.java:130)


        at 
org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultFormManager.java:122)


        at 
org.apache.cocoon.forms.DefaultFormManager.createForm(DefaultFormManager.java:96) 

        at 
org.apache.cocoon.forms.samples.InitForm1Action.act(InitForm1Action.java:45) 

        at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:119)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:97) 

        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)


        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336) 

        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277) 

        at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103) 

        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)


        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336) 

        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277) 

        at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103) 

        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)


        at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)


        at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)


        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336) 

        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277) 

        at org.apache.cocoon.Cocoon.process(Cocoon.java:639) 
        at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)


        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)


        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) 

        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) 

        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)


        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) 

        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) 

        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) 

        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) 

        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) 

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) 

        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) 

        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) 

        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) 

        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) 
        at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) 
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) 

        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)


        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) 

        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) 

        at java.lang.Thread.run(Thread.java:534) 
Mime
View raw message