List Info

Thread: Propertiesindexer and /UURI problem




Propertiesindexer and /UURI problem
user name
2006-07-18 14:30:52
Tested Tomcat 5.0.28, exact same problem. SVN version 423090
(previous
e-mailed version was incorrect - apparently doing an
SVN-update only
gives the version related to the updated files...like the
build.properties.sample file...not the folder revision).


The really complicated DASL <basicsearch> I'm testing
with is:

	            String query1 = "<D:searchrequest
xmlns=\&quo
t;DAV:\">"
+
        		"<D:basicsearch>" +
        		"<D:select>" +
        		"<D:allprop/>" +
        		"</D:select>" +
        		"<D:from>" +
        		"           <D:scope>" +
        		"             
<D:href>/slide/files</D:href>" +
        		"              
<D:depth>infinity</D:depth>" +
        		"           </D:scope>" +
        		"       </D:from>" +
        		"       <D:where>" +
        		"           <D:eq>" +
        		"
<D:prop><D:displayname/></D:prop>" +
        		"
<D:literal>D000B1F5_3.tif</D:literal>" +
        		"           </D:eq>" +
        		"       </D:where>" + 
        		"   </D:basicsearch>" +
        		"</D:searchrequest>";
 
-D

> -----Original Message-----
> From: Darren Hartford [mailto:dhartfordghsinc.com] 
> Sent: Monday, July 17, 2006 10:28 AM
> To: Slide Users Mailing List
> Subject: RE: Propertiesindexer and /UURI problem
> Importance: High
> 
> Anyone?  This is an important feature - SVN ver. 421675
> 
> Domain.xml (default + propertiesindexer)
===================
>     <namespace name="slide">
>         <definition>
>             <store name="tx">
>                 <nodestore
>
classname="org.apache.slide.store.txfile.TxXMLFileDesc
riptorsStore">
>                   <parameter
>
name="rootpath">$store/metadata<
;/parameter>
>                     <parameter
>
name="workpath">$work/metadata<
/parameter>
>                     <parameter
name="defer-saving">true</parameter>
>                     <parameter
name="timeout">120</parameter>
>                 </nodestore>
>                 <sequencestore
>
classname="org.apache.slide.store.txfile.FileSequenceS
tore">
>                     <parameter
>
name="rootpath">$store/sequence<
;/parameter>
>                 </sequencestore>
>                 <securitystore>
>                     <reference
store="nodestore"/>
>                 </securitystore>
>                 <lockstore>
>                     <reference
store="nodestore"/>
>                 </lockstore>
>                 <revisiondescriptorsstore>
>                     <reference
store="nodestore"/>
>                 </revisiondescriptorsstore>
>                 <revisiondescriptorstore>
>                     <reference
store="nodestore"/>
>                 </revisiondescriptorstore>
>                 <contentstore
>
classname="org.apache.slide.store.txfile.TxFileContent
Store">
>                     <parameter
>
name="rootpath">$store/content<
/parameter>
>                     <parameter
>
name="workpath">$work/content</
parameter>
>                     <parameter
name="defer-saving">true</parameter>
>                     <parameter
name="timeout">120</parameter>
>                 </contentstore>
> 			<propertiesindexer
>
classname="org.apache.slide.index.lucene.LucenePropert
iesIndexer">
> 				<parameter
>
name="indexpath">$index_meta</p
arameter>
> 			</propertiesindexer>
> ====================
> 
> 
> > -----Original Message-----
> > From: Darren Hartford [mailto:dhartfordghsinc.com] 
> > Sent: Thursday, July 13, 2006 2:23 PM
> > To: Slide Users Mailing List
> > Subject: Propertiesindexer and /UURI problem
> > 
> > Hey all,
> > I grabbed a recent version from Slide trunk
(421675) and 
> > deployed it on Tomcat 5.5.17.
> > 
> > After getting everything configured, I ran some
tests that 
> > I've had for a while, but this time I tried to
enable the 
> > <propertiesindexer> because the DASL
searches are becoming 
> > prohibitively slow. 
> > 
> > I do recall that this used to work fine (about a
year ago 
> > now?), but this more recent build I'm getting
errors as 
> > detailed below.
> > 
> > Note that disabling the indexer and re-injecting
the exact 
> > same files and properties and then doing a DASL
search 
> > everything works fine -- it is only when the
indexer is 
> > enabled that this error occurs.
> > 
> > Anyone have a quick fix for this pls?
> > -D
> > 
> > =====================
> >
org.apache.slide.structure.ObjectNotFoundException: No 
> object found at
> > /UURI:
> >         at
> > 
>
org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.
retrieveO
> > bject(AbstractXMLResourceDescriptor.java:296)
> >         at
> > 
>
org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retr
ieveObjec
> > t(TxXMLFileDescriptorsStore.java:104)
> >         at
> > 
>
org.apache.slide.store.AbstractStore.retrieveObject(Abstract
Store.jav
> > a:679)
> >         at
> > 
>
org.apache.slide.store.ExtendedStore.retrieveObject(Extended
Store.jav
> > a:605)
> >         at
> > 
>
org.apache.slide.structure.StructureImpl.retrieve(StructureI
mpl.java:
> > 207)
> >         at
> >
org.apache.slide.content.ContentImpl.retrieve(ContentImpl.ja
va:155)
> >         at
> > 
>
org.apache.slide.search.basic.ComparableResourceImpl.<ini
t>(Comparabl
> > eResourceImpl.java:166)
> >         at
> > 
>
org.apache.slide.search.basic.ComparableResourceImpl.<ini
t>(Comparabl
> > eResourceImpl.java:137)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.cr
> > eateResource(AbstractLuceneExpression.java:353)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.ex
> > ecute(AbstractLuceneExpression.java:249)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.ex
> > ecute(AbstractLuceneExpression.java:115)
> >         at
> > 
>
org.apache.slide.search.basic.BasicQueryImpl.execute(BasicQu
eryImpl.j
> > ava:134)
> >         at
> > 
>
org.apache.slide.search.basic.BasicQueryEnvelope.execute(Bas
icQueryEn
> > velope.java:214)
> >         at
> >
org.apache.slide.search.SearchImpl.search(SearchImpl.java:11
6)
> >         at
> > 
>
org.apache.slide.webdav.method.SearchMethod.executeRequest(S
earchMeth
> > od.java:230)
> >         at
> > 
>
org.apache.slide.webdav.method.AbstractWebdavMethod.executeR
edirect(A
> > bstractWebdavMethod.java:583)
> >         at
> > 
>
org.apache.slide.webdav.method.AbstractWebdavMethod.run(Abst
ractWebda
> > vMethod.java:416)
> >         at
> > 
>
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.
java:151)
> > 
> >         at 
> >
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Appl
> > icationFilterChain.java:252)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationF
> > ilterChain.java:173)
> >         at
> > 
>
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.
java:147)
> > 
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Appl
> > icationFilterChain.java:202)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationF
> > ilterChain.java:173)
> >         at
> > 
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperV
> > alve.java:213)
> >         at
> > 
>
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextV
> > alve.java:178)
> >         at
> > 
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthentica
> > torBase.java:524)
> >         at
> > 
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.j
> > ava:126)
> >         at
> > 
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.j
> > ava:105)
> >         at
> > 
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineVal
> > ve.java:107)
> >         at
> > 
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.jav
> > a:148)
> >         at
> > 
>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java
> > :869)
> >         at
> > 
>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.p
> > rocessConnection(Http11BaseProtocol.java:664)
> >         at
> > 
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpo
> > int.java:527)
> >         at
> > 
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFol
> > lowerWorkerThread.java:80)
> >         at
> > 
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadP
> > ool.java:684)
> >         at java.lang.Thread.run(Thread.java:595)
> > 13 Jul 2006 14:17:56 -
org.apache.slide.common.Domain - 
> > WARNING - No object foun d at /UURI:
> > 13 Jul 2006 14:17:56 -
org.apache.slide.common.Domain - 
> > WARNING - No object foun d at /UURI:
> > http-8080-Processor24, 13-Jul-2006 14:17:56, root,
SEARCH, 
> > 400 "Bad Request", 31
> > 3 ms, /files
> > =========================
> > 
> > 
>
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> > For additional commands, e-mail:
slide-user-helpjakarta.apache.org
> > 
> > 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
> 
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

Propertiesindexer and /UURI problem
user name
2006-07-18 14:30:52
Tested Tomcat 5.0.28, exact same problem. SVN version 423090
(previous
e-mailed version was incorrect - apparently doing an
SVN-update only
gives the version related to the updated files...like the
build.properties.sample file...not the folder revision).


The really complicated DASL <basicsearch> I'm testing
with is:

	            String query1 = "<D:searchrequest
xmlns=\&quo
t;DAV:\">"
+
        		"<D:basicsearch>" +
        		"<D:select>" +
        		"<D:allprop/>" +
        		"</D:select>" +
        		"<D:from>" +
        		"           <D:scope>" +
        		"             
<D:href>/slide/files</D:href>" +
        		"              
<D:depth>infinity</D:depth>" +
        		"           </D:scope>" +
        		"       </D:from>" +
        		"       <D:where>" +
        		"           <D:eq>" +
        		"
<D:prop><D:displayname/></D:prop>" +
        		"
<D:literal>D000B1F5_3.tif</D:literal>" +
        		"           </D:eq>" +
        		"       </D:where>" + 
        		"   </D:basicsearch>" +
        		"</D:searchrequest>";
 
-D

> -----Original Message-----
> From: Darren Hartford [mailto:dhartfordghsinc.com] 
> Sent: Monday, July 17, 2006 10:28 AM
> To: Slide Users Mailing List
> Subject: RE: Propertiesindexer and /UURI problem
> Importance: High
> 
> Anyone?  This is an important feature - SVN ver. 421675
> 
> Domain.xml (default + propertiesindexer)
===================
>     <namespace name="slide">
>         <definition>
>             <store name="tx">
>                 <nodestore
>
classname="org.apache.slide.store.txfile.TxXMLFileDesc
riptorsStore">
>                   <parameter
>
name="rootpath">$store/metadata<
;/parameter>
>                     <parameter
>
name="workpath">$work/metadata<
/parameter>
>                     <parameter
name="defer-saving">true</parameter>
>                     <parameter
name="timeout">120</parameter>
>                 </nodestore>
>                 <sequencestore
>
classname="org.apache.slide.store.txfile.FileSequenceS
tore">
>                     <parameter
>
name="rootpath">$store/sequence<
;/parameter>
>                 </sequencestore>
>                 <securitystore>
>                     <reference
store="nodestore"/>
>                 </securitystore>
>                 <lockstore>
>                     <reference
store="nodestore"/>
>                 </lockstore>
>                 <revisiondescriptorsstore>
>                     <reference
store="nodestore"/>
>                 </revisiondescriptorsstore>
>                 <revisiondescriptorstore>
>                     <reference
store="nodestore"/>
>                 </revisiondescriptorstore>
>                 <contentstore
>
classname="org.apache.slide.store.txfile.TxFileContent
Store">
>                     <parameter
>
name="rootpath">$store/content<
/parameter>
>                     <parameter
>
name="workpath">$work/content</
parameter>
>                     <parameter
name="defer-saving">true</parameter>
>                     <parameter
name="timeout">120</parameter>
>                 </contentstore>
> 			<propertiesindexer
>
classname="org.apache.slide.index.lucene.LucenePropert
iesIndexer">
> 				<parameter
>
name="indexpath">$index_meta</p
arameter>
> 			</propertiesindexer>
> ====================
> 
> 
> > -----Original Message-----
> > From: Darren Hartford [mailto:dhartfordghsinc.com] 
> > Sent: Thursday, July 13, 2006 2:23 PM
> > To: Slide Users Mailing List
> > Subject: Propertiesindexer and /UURI problem
> > 
> > Hey all,
> > I grabbed a recent version from Slide trunk
(421675) and 
> > deployed it on Tomcat 5.5.17.
> > 
> > After getting everything configured, I ran some
tests that 
> > I've had for a while, but this time I tried to
enable the 
> > <propertiesindexer> because the DASL
searches are becoming 
> > prohibitively slow. 
> > 
> > I do recall that this used to work fine (about a
year ago 
> > now?), but this more recent build I'm getting
errors as 
> > detailed below.
> > 
> > Note that disabling the indexer and re-injecting
the exact 
> > same files and properties and then doing a DASL
search 
> > everything works fine -- it is only when the
indexer is 
> > enabled that this error occurs.
> > 
> > Anyone have a quick fix for this pls?
> > -D
> > 
> > =====================
> >
org.apache.slide.structure.ObjectNotFoundException: No 
> object found at
> > /UURI:
> >         at
> > 
>
org.apache.slide.store.txfile.AbstractXMLResourceDescriptor.
retrieveO
> > bject(AbstractXMLResourceDescriptor.java:296)
> >         at
> > 
>
org.apache.slide.store.txfile.TxXMLFileDescriptorsStore.retr
ieveObjec
> > t(TxXMLFileDescriptorsStore.java:104)
> >         at
> > 
>
org.apache.slide.store.AbstractStore.retrieveObject(Abstract
Store.jav
> > a:679)
> >         at
> > 
>
org.apache.slide.store.ExtendedStore.retrieveObject(Extended
Store.jav
> > a:605)
> >         at
> > 
>
org.apache.slide.structure.StructureImpl.retrieve(StructureI
mpl.java:
> > 207)
> >         at
> >
org.apache.slide.content.ContentImpl.retrieve(ContentImpl.ja
va:155)
> >         at
> > 
>
org.apache.slide.search.basic.ComparableResourceImpl.<ini
t>(Comparabl
> > eResourceImpl.java:166)
> >         at
> > 
>
org.apache.slide.search.basic.ComparableResourceImpl.<ini
t>(Comparabl
> > eResourceImpl.java:137)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.cr
> > eateResource(AbstractLuceneExpression.java:353)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.ex
> > ecute(AbstractLuceneExpression.java:249)
> >         at
> > 
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.ex
> > ecute(AbstractLuceneExpression.java:115)
> >         at
> > 
>
org.apache.slide.search.basic.BasicQueryImpl.execute(BasicQu
eryImpl.j
> > ava:134)
> >         at
> > 
>
org.apache.slide.search.basic.BasicQueryEnvelope.execute(Bas
icQueryEn
> > velope.java:214)
> >         at
> >
org.apache.slide.search.SearchImpl.search(SearchImpl.java:11
6)
> >         at
> > 
>
org.apache.slide.webdav.method.SearchMethod.executeRequest(S
earchMeth
> > od.java:230)
> >         at
> > 
>
org.apache.slide.webdav.method.AbstractWebdavMethod.executeR
edirect(A
> > bstractWebdavMethod.java:583)
> >         at
> > 
>
org.apache.slide.webdav.method.AbstractWebdavMethod.run(Abst
ractWebda
> > vMethod.java:416)
> >         at
> > 
>
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.
java:151)
> > 
> >         at 
> >
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Appl
> > icationFilterChain.java:252)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationF
> > ilterChain.java:173)
> >         at
> > 
>
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.
java:147)
> > 
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(Appl
> > icationFilterChain.java:202)
> >         at
> > 
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationF
> > ilterChain.java:173)
> >         at
> > 
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperV
> > alve.java:213)
> >         at
> > 
>
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextV
> > alve.java:178)
> >         at
> > 
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthentica
> > torBase.java:524)
> >         at
> > 
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.j
> > ava:126)
> >         at
> > 
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.j
> > ava:105)
> >         at
> > 
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineVal
> > ve.java:107)
> >         at
> > 
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.jav
> > a:148)
> >         at
> > 
>
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java
> > :869)
> >         at
> > 
>
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection
Handler.p
> > rocessConnection(Http11BaseProtocol.java:664)
> >         at
> > 
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo
lTcpEndpo
> > int.java:527)
> >         at
> > 
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFol
> > lowerWorkerThread.java:80)
> >         at
> > 
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru
n(ThreadP
> > ool.java:684)
> >         at java.lang.Thread.run(Thread.java:595)
> > 13 Jul 2006 14:17:56 -
org.apache.slide.common.Domain - 
> > WARNING - No object foun d at /UURI:
> > 13 Jul 2006 14:17:56 -
org.apache.slide.common.Domain - 
> > WARNING - No object foun d at /UURI:
> > http-8080-Processor24, 13-Jul-2006 14:17:56, root,
SEARCH, 
> > 400 "Bad Request", 31
> > 3 ms, /files
> > =========================
> > 
> > 
>
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> > For additional commands, e-mail:
slide-user-helpjakarta.apache.org
> > 
> > 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
> 
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )