Re: SpatialTierQueryParserPlugin Loading Error

2011-01-03 Thread Grant Ingersoll
Sorry, I just saw this, Adam.  Were you able to get it working?

On Dec 28, 2010, at 8:54 PM, Adam Estrada wrote:

 Hi Grant,
 
 I grabbed the latest version from trunk this morning and am still unable to
 get any of the spatial functionality to work. I still seem to be getting the
 class loading errors that I was getting when using the patches and jar files
 I found all over the web. What I really need at this point is an example of
 solrconfig.xml and whatever else I need to include to make it work properly.
 I am using the Geonames DB with valid lat/longs in decimal degrees so I'm
 confident that the data are correct. I have tried several examples all with
 the same results.
 
 There are other patches like the following that show snippets of how to
 modify the solrconfig file but there is no definitive source...
 
 https://issues.apache.org/jira/secure/attachment/12452781/SOLR-2077.Quach.Mattmann.082210.patch.txt
 
 I would gladly update this page if I could just get it working.
 http://wiki.apache.org/solr/SpatialSearch
 
 w/r,
 Adam
 
 
 On Tue, Dec 14, 2010 at 9:04 AM, Grant Ingersoll gsing...@apache.orgwrote:
 
 For this functionality, you are probably better off using trunk or
 branch_3x.  There are quite a few patches related to that particular one
 that you will need to apply in order to have it work correctly.
 
 
 On Dec 13, 2010, at 10:06 PM, Adam Estrada wrote:
 
 All,
 
 Can anyone shed some light on this error. I can't seem to get this
 class to load. I am using the distribution of Solr from Lucid
 Imagination and the Spatial Plugin from here
 https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
 apply a patch but the jar file is in there. What else can I do?
 
 org.apache.solr.common.SolrException: Error loading class
 'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
  at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
  at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
  at
 org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
  at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
  at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
  at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
  at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
  at
 org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
  at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
  at
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
  at
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
  at
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
  at
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
  at org.mortbay.jetty.Server.doStart(Server.java:210)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.mortbay.start.Main.invokeMain(Main.java:183)
  at org.mortbay.start.Main.start(Main.java:497)
  at org.mortbay.start.Main.main(Main.java:115)
 Caused by: java.lang.ClassNotFoundException:
 org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at 

Re: SpatialTierQueryParserPlugin Loading Error

2011-01-03 Thread Adam Estrada
No just yet, Grant...I have been sidetracked on a couple other things but I
will keep you posted.

Thanks for the response,
Adam

On Mon, Jan 3, 2011 at 10:22 AM, Grant Ingersoll gsing...@apache.orgwrote:

 Sorry, I just saw this, Adam.  Were you able to get it working?

 On Dec 28, 2010, at 8:54 PM, Adam Estrada wrote:

  Hi Grant,
 
  I grabbed the latest version from trunk this morning and am still unable
 to
  get any of the spatial functionality to work. I still seem to be getting
 the
  class loading errors that I was getting when using the patches and jar
 files
  I found all over the web. What I really need at this point is an example
 of
  solrconfig.xml and whatever else I need to include to make it work
 properly.
  I am using the Geonames DB with valid lat/longs in decimal degrees so I'm
  confident that the data are correct. I have tried several examples all
 with
  the same results.
 
  There are other patches like the following that show snippets of how to
  modify the solrconfig file but there is no definitive source...
 
 
 https://issues.apache.org/jira/secure/attachment/12452781/SOLR-2077.Quach.Mattmann.082210.patch.txt
 
  I would gladly update this page if I could just get it working.
  http://wiki.apache.org/solr/SpatialSearch
 
  w/r,
  Adam
 
 
  On Tue, Dec 14, 2010 at 9:04 AM, Grant Ingersoll gsing...@apache.org
 wrote:
 
  For this functionality, you are probably better off using trunk or
  branch_3x.  There are quite a few patches related to that particular one
  that you will need to apply in order to have it work correctly.
 
 
  On Dec 13, 2010, at 10:06 PM, Adam Estrada wrote:
 
  All,
 
  Can anyone shed some light on this error. I can't seem to get this
  class to load. I am using the distribution of Solr from Lucid
  Imagination and the Spatial Plugin from here
  https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
  apply a patch but the jar file is in there. What else can I do?
 
  org.apache.solr.common.SolrException: Error loading class
  'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
   at
 
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
   at
  org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
   at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
   at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
   at
 
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
   at
 
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at
  org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
   at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at
 
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
   at
 org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
   at
 
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
   at
 
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
   at
  org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
   at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at
 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
   at
 
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
   at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at
 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
   at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at
 
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
   at org.mortbay.jetty.Server.doStart(Server.java:210)
   at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at
 org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.mortbay.start.Main.invokeMain(Main.java:183)
   at org.mortbay.start.Main.start(Main.java:497)
   at org.mortbay.start.Main.main(Main.java:115)
  Caused by: java.lang.ClassNotFoundException:
  org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at 

Re: SpatialTierQueryParserPlugin Loading Error

2010-12-28 Thread Adam Estrada
Hi Grant,

I grabbed the latest version from trunk this morning and am still unable to
get any of the spatial functionality to work. I still seem to be getting the
class loading errors that I was getting when using the patches and jar files
I found all over the web. What I really need at this point is an example of
solrconfig.xml and whatever else I need to include to make it work properly.
I am using the Geonames DB with valid lat/longs in decimal degrees so I'm
confident that the data are correct. I have tried several examples all with
the same results.

There are other patches like the following that show snippets of how to
modify the solrconfig file but there is no definitive source...

https://issues.apache.org/jira/secure/attachment/12452781/SOLR-2077.Quach.Mattmann.082210.patch.txt

I would gladly update this page if I could just get it working.
http://wiki.apache.org/solr/SpatialSearch

w/r,
Adam


On Tue, Dec 14, 2010 at 9:04 AM, Grant Ingersoll gsing...@apache.orgwrote:

 For this functionality, you are probably better off using trunk or
 branch_3x.  There are quite a few patches related to that particular one
 that you will need to apply in order to have it work correctly.


 On Dec 13, 2010, at 10:06 PM, Adam Estrada wrote:

  All,
 
  Can anyone shed some light on this error. I can't seem to get this
  class to load. I am using the distribution of Solr from Lucid
  Imagination and the Spatial Plugin from here
  https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
  apply a patch but the jar file is in there. What else can I do?
 
  org.apache.solr.common.SolrException: Error loading class
  'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
at
 org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
at
 org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
  Caused by: java.lang.ClassNotFoundException:
  org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
 

Re: SpatialTierQueryParserPlugin Loading Error

2010-12-28 Thread Mattmann, Chris A (388J)
Hi Adam,

I cut a branch at Github of a forked Solr 1.5 that applied a bunch of patches 
that my student and I did in my CSCI 572 class at USC. The branch is here [1].

You can simply use Git to go grab that if you want and not worry about the 
patches either. I sent an email [2] and filed a bunch of JIRA issues 
(referenced in that email) but the patches weren't really applied hence the Git 
fork. Also if you are interested in just spatial stuff, check out Apache SIS 
[3], a project where we're trying to replicate functionality from e.g., a 
Geotools or JTS, but with an ASLv2 license. We're not specifically focused on 
spatial search in SIS, but it is definitely one of the areas.

HTH!

Cheers,
Chris

[1] https://github.com/chrismattmann/solrcene
[2] http://s.apache.org/JI6
[3] http://incubator.apache.org/sis/


On Dec 28, 2010, at 5:54 PM, Adam Estrada wrote:

 Hi Grant,
 
 I grabbed the latest version from trunk this morning and am still unable to
 get any of the spatial functionality to work. I still seem to be getting the
 class loading errors that I was getting when using the patches and jar files
 I found all over the web. What I really need at this point is an example of
 solrconfig.xml and whatever else I need to include to make it work properly.
 I am using the Geonames DB with valid lat/longs in decimal degrees so I'm
 confident that the data are correct. I have tried several examples all with
 the same results.
 
 There are other patches like the following that show snippets of how to
 modify the solrconfig file but there is no definitive source...
 
 https://issues.apache.org/jira/secure/attachment/12452781/SOLR-2077.Quach.Mattmann.082210.patch.txt
 
 I would gladly update this page if I could just get it working.
 http://wiki.apache.org/solr/SpatialSearch
 
 w/r,
 Adam
 
 
 On Tue, Dec 14, 2010 at 9:04 AM, Grant Ingersoll gsing...@apache.orgwrote:
 
 For this functionality, you are probably better off using trunk or
 branch_3x.  There are quite a few patches related to that particular one
 that you will need to apply in order to have it work correctly.
 
 
 On Dec 13, 2010, at 10:06 PM, Adam Estrada wrote:
 
 All,
 
 Can anyone shed some light on this error. I can't seem to get this
 class to load. I am using the distribution of Solr from Lucid
 Imagination and the Spatial Plugin from here
 https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
 apply a patch but the jar file is in there. What else can I do?
 
 org.apache.solr.common.SolrException: Error loading class
 'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
  at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
  at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
  at
 org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
  at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
  at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
  at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
  at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
  at
 org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
  at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
  at
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
  at
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
  at
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
  at
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
  at org.mortbay.jetty.Server.doStart(Server.java:210)
  at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at 

Re: SpatialTierQueryParserPlugin Loading Error

2010-12-28 Thread Yonik Seeley
On Tue, Dec 28, 2010 at 8:54 PM, Adam Estrada estrada.a...@gmail.com wrote:
 I would gladly update this page if I could just get it working.
 http://wiki.apache.org/solr/SpatialSearch

Everything on that wiki page should work w/o patches on trunk.
I just ran through all of the examples, and everything seemed to be
working fine.

-Yonik
http://www.lucidimaignation.com


Re: SpatialTierQueryParserPlugin Loading Error

2010-12-28 Thread Estrada Groups
Thanks a bunch for all the great responses! I think first thing tomorrow I will 
grab a fresh version from trunk then walk through the tutorial. I have not done 
that in quite some time...

I will also investigate the version in Git to see which one is easier to work 
with. I like the idea of building a JTS with a loose license which is what the 
advantage of the Apache license is, right? I suppose licensing is a whole other 
topic all together ;-)

Thanks again for all the great support!

Adam

On Dec 28, 2010, at 9:29 PM, Yonik Seeley yo...@lucidimagination.com wrote:

 On Tue, Dec 28, 2010 at 8:54 PM, Adam Estrada estrada.a...@gmail.com wrote:
 I would gladly update this page if I could just get it working.
 http://wiki.apache.org/solr/SpatialSearch
 
 Everything on that wiki page should work w/o patches on trunk.
 I just ran through all of the examples, and everything seemed to be
 working fine.
 
 -Yonik
 http://www.lucidimaignation.com


Re: SpatialTierQueryParserPlugin Loading Error

2010-12-14 Thread Markus Jelsma
Where did you put the jar?

 All,
 
 Can anyone shed some light on this error. I can't seem to get this
 class to load. I am using the distribution of Solr from Lucid
 Imagination and the Spatial Plugin from here
 https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
 apply a patch but the jar file is in there. What else can I do?
 
 org.apache.solr.common.SolrException: Error loading class
 'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
   at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:
 373) at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413) at
 org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435) at
 org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
   at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
   at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
   at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.ja
 va:137) at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83
 ) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
 at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
 at
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:59
 4) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121
 8) at
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
 at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
 at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
 at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
 :147) at
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerC
 ollection.java:161) at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
 at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java
 :147) at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
 at
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
 at org.mortbay.jetty.Server.doStart(Server.java:210)
   at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
 at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929) at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.mortbay.start.Main.invokeMain(Main.java:183)
   at org.mortbay.start.Main.start(Main.java:497)
   at org.mortbay.start.Main.main(Main.java:115)
 Caused by: java.lang.ClassNotFoundException:
 org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:
 357) ... 33 more


Re: SpatialTierQueryParserPlugin Loading Error

2010-12-14 Thread Markus Jelsma
Anyway, try putting the jar in 
work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/ 


On Tuesday 14 December 2010 11:10:47 Markus Jelsma wrote:
 Where did you put the jar?
 
  All,
  
  Can anyone shed some light on this error. I can't seem to get this
  class to load. I am using the distribution of Solr from Lucid
  Imagination and the Spatial Plugin from here
  https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
  apply a patch but the jar file is in there. What else can I do?
  
  org.apache.solr.common.SolrException: Error loading class
  'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
  
  at
  
  org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java
  : 373) at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
  at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
  
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
  at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
  at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
  at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
  at
  
  org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.j
  a va:137) at
  org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:8
  3 ) at
  org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99) at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
  org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:5
  9 4) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
  at
  org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1
  21 8) at
  org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
  at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
  at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
  org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav
  a
  
  :147) at
  
  org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandler
  C ollection.java:161) at
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
  org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.jav
  a
  
  :147) at
  
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at
  org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
  at org.mortbay.jetty.Server.doStart(Server.java:210)
  
  at
  
  org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
  at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.mortbay.start.Main.invokeMain(Main.java:183)
  at org.mortbay.start.Main.start(Main.java:497)
  at org.mortbay.start.Main.main(Main.java:115)
  
  Caused by: java.lang.ClassNotFoundException:
  org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
  
  at java.net.URLClassLoader$1.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at
  
  org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java
  : 357) ... 33 more

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350


Re: SpatialTierQueryParserPlugin Loading Error

2010-12-14 Thread Grant Ingersoll
For this functionality, you are probably better off using trunk or branch_3x.  
There are quite a few patches related to that particular one that you will need 
to apply in order to have it work correctly.


On Dec 13, 2010, at 10:06 PM, Adam Estrada wrote:

 All,
 
 Can anyone shed some light on this error. I can't seem to get this
 class to load. I am using the distribution of Solr from Lucid
 Imagination and the Spatial Plugin from here
 https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
 apply a patch but the jar file is in there. What else can I do?
 
 org.apache.solr.common.SolrException: Error loading class
 'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
   at 
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
   at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
   at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
   at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
   at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
   at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
   at 
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
   at 
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
   at 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at 
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
   at 
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
   at 
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
   at 
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
   at 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
   at 
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
   at 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at 
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
   at 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at 
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
   at org.mortbay.jetty.Server.doStart(Server.java:210)
   at 
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
   at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.mortbay.start.Main.invokeMain(Main.java:183)
   at org.mortbay.start.Main.start(Main.java:497)
   at org.mortbay.start.Main.main(Main.java:115)
 Caused by: java.lang.ClassNotFoundException:
 org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at 
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:357)
   ... 33 more

--
Grant Ingersoll
http://www.lucidimagination.com



SpatialTierQueryParserPlugin Loading Error

2010-12-13 Thread Adam Estrada
All,

Can anyone shed some light on this error. I can't seem to get this
class to load. I am using the distribution of Solr from Lucid
Imagination and the Spatial Plugin from here
https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
apply a patch but the jar file is in there. What else can I do?

org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
at 
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
at 
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Caused by: java.lang.ClassNotFoundException:
org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at 
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:357)
... 33 more


Re: SpatialTierQueryParserPlugin Loading Error

2010-12-13 Thread Erick Erickson
This page shows you how to apply a patch:
http://wiki.apache.org/solr/HowToContribute
http://wiki.apache.org/solr/HowToContributeHowever, are you aware that
this is a patch to the *source* code and then you have
to compile it? A simpler approach would be to just grab either the trunk
build or a very recent
3.x build. See: https://hudson.apache.org/hudson/

You'll find both solr trunk and solr 3x. note that Hudson (and NOT
specifically Solr/Lucene) is
suffering some bogus failures so don't be alarmed by that status.

Follow the build artifacts link, then on down to dist and you'll find a
full package awaiting
installation with all the geospatial stuff already built...

Best
Erick

On Mon, Dec 13, 2010 at 10:06 PM, Adam Estrada 
estrada.adam.gro...@gmail.com wrote:

 All,

 Can anyone shed some light on this error. I can't seem to get this
 class to load. I am using the distribution of Solr from Lucid
 Imagination and the Spatial Plugin from here
 https://issues.apache.org/jira/browse/SOLR-773. I don't know how to
 apply a patch but the jar file is in there. What else can I do?

 org.apache.solr.common.SolrException: Error loading class
 'org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin'
at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:373)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
at
 org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:435)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
at org.apache.solr.core.SolrCore.initQParsers(SolrCore.java:1442)
at org.apache.solr.core.SolrCore.init(SolrCore.java:548)
at
 org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
at
 org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
at
 org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at
 org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at
 org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at
 org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at
 org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
 org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at
 org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
 Caused by: java.lang.ClassNotFoundException:
 org.apache.solr.spatial.tier.SpatialTierQueryParserPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
 org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:357)
... 33 more