Re: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7

2006-06-22 Thread Antonio Gallardo

Antonio Gallardo escribió:

Combinational Logic escribió:

Thanks Antonio for your recommendation.  I managed to get it working
(without modifying any source) as follows:

1) checked out the most recent xindice from SVN
2) built xindice 3) replaced 
cocoon-2.1.9\build\webapp\WEB-INF\lib\xindice-1.1b4.jar with

xindice-1.1b5-dev.jar
  

Hi,

It's great to hear that! I will update the jar in cocoon repo.

Hi again.

Since we try to keep released version in our repo as much as posible I 
cannot update to1.1.5-dev since it is not released yet. :-(


Best Regards,

Antonio Gallardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7

2006-06-21 Thread Combinational Logic
Thanks Antonio for your recommendation.  I managed to get it working
(without modifying any source) as follows:

1) checked out the most recent xindice from SVN
2) built xindice 
3) replaced cocoon-2.1.9\build\webapp\WEB-INF\lib\xindice-1.1b4.jar with
xindice-1.1b5-dev.jar


-Original Message-
From: Combinational Logic [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 12:14 AM
To: users@cocoon.apache.org
Subject: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7

Hi Cocooners,

Recently I updated from cocoon-2.1.7 to 2.1.9.  On 2.1.7 I had xmldb
(xindice) working fine, but with 2.1.9 I've got problems.  The problem can
be observed in the xmldb block samples at:
http://localhost:/samples/blocks/xmldb/welcome  
On this page the 'Query Collection' and 'Query Resource' links produce an
error.  All other links on the page work as expected.  The xmldb, databases,
and xsp blocks are included for my build.  JVM is 1.4.2. Any help would be
greatly appreciated.

Thanks,
  CL

The error printed to the browser is as follows:

HTTP ERROR: 500
org%2Eapache%2Expath%2Ecompiler%2ECompiler%2E%3Cinit%3E%28Ljavax%2Fxml%2Ftra
nsform%2FErrorListener%3BLjavax%2Fxml%2Ftransform%2FSourceLocator%3B%29V

The error and stack trace printed to the terminal is as follows:

23:39:29.918 WARN!! Error for
/samples/blocks/xmldb/db/cocoon/samples.xml?xpath=
/samples/group
java.lang.NoSuchMethodError:
org.apache.xpath.compiler.Compiler.init(Ljavax/xm
l/transform/ErrorListener;Ljavax/xml/transform/SourceLocator;)V
at
org.apache.xindice.core.query.XPathQueryResolver$XPathQuery.init(XP
athQueryResolver.java:163)
at
org.apache.xindice.core.query.XPathQueryResolver.query(XPathQueryReso
lver.java:130)
at
org.apache.xindice.core.query.QueryEngine.query(QueryEngine.java:122)

at
org.apache.xindice.core.Collection.queryDocument(Collection.java:1242
)
at
org.apache.xindice.client.xmldb.embed.CollectionImpl.query(Collection
Impl.java:438)
at
org.apache.xindice.client.xmldb.services.QueryService.queryResource(Q
ueryService.java:70)
at
org.apache.cocoon.components.source.impl.XMLDBSource.queryToSAX(XMLDB
Source.java:372)
at
org.apache.cocoon.components.source.impl.XMLDBSource.resourceToSAX(XM
LDBSource.java:299)
at
org.apache.cocoon.components.source.impl.XMLDBSource.toSAX(XMLDBSourc
e.java:273)
at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:
100)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:
320)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.jav
a:115)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.proc
essXMLPipeline(AbstractProcessingPipeline.java:578)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingP
ipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.proc
ess(AbstractProcessingPipeline.java:480)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invo
ke(SerializeNode.java:120)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(M
atchNode.java:107)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:142)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree
Processor.java:252)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M
ountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
at

Re: xmldb query on Cocoon 2.1.9 = error; works on 2.1.7

2006-06-21 Thread Antonio Gallardo

Combinational Logic escribió:

Thanks Antonio for your recommendation.  I managed to get it working
(without modifying any source) as follows:

1) checked out the most recent xindice from SVN
2) built xindice 
3) replaced cocoon-2.1.9\build\webapp\WEB-INF\lib\xindice-1.1b4.jar with

xindice-1.1b5-dev.jar
  

Hi,

It's great to hear that! I will update the jar in cocoon repo.

Best Regards,

Antonio Gallardo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]