SOLR-215 commit madness

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

SOLR-215 commit madness

Ryan McKinley
Sorry for the deluge of SOLR-215 commits.  I broke the standard
JIRA->svn policy after committing core changes and then working on SOLR-350.

After commiting SOLR-215, I found a bunch of stuff that would be better
if you all did not need to wade through.  I removed it in subsequent
(non-JIRA) commits.

If anyone is concerned about this, i can rollback to pre rev573893 and
make a single patch that will be easier to try to follow. Otherwise, you
can see a unified diff for the current changes using:

http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java?r1=561900&r2=573950

thanks
ryan
Reply | Threaded
Open this post in threaded view
|

Re: SOLR-215 commit madness

Yonik Seeley-2
On 9/9/07, Ryan McKinley <[hidden email]> wrote:

> Sorry for the deluge of SOLR-215 commits.  I broke the standard
> JIRA->svn policy after committing core changes and then working on SOLR-350.
>
> After commiting SOLR-215, I found a bunch of stuff that would be better
> if you all did not need to wade through.  I removed it in subsequent
> (non-JIRA) commits.
>
> If anyone is concerned about this, i can rollback to pre rev573893 and
> make a single patch that will be easier to try to follow. Otherwise, you
> can see a unified diff for the current changes using:

Starting up the example now fails for me... is it working for others?
-Yonik

2007-09-09 12:09:48.828::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2007-09-09 12:09:49.062::INFO:  jetty-6.1.3
2007-09-09 12:09:49.218::INFO:  Extract
jar:file:/F:/code/solr/example/webapps/solr.war!/ to
C:\DOCUME~1\Yonik\LOCALS~1\Temp\Jetty_0_0_0_0_8983_solr.war__solr__k1kf17\webapp
Sep 9, 2007 12:09:50 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Sep 9, 2007 12:09:50 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: user.dir=f:\code\solr\example
Sep 9, 2007 12:09:50 PM org.apache.solr.servlet.SolrDispatchFilter init
SEVERE: Could not start SOLR. Check solr/home property
java.lang.NullPointerException
        at org.apache.solr.servlet.SolrRequestParsers.<init>(SolrRequestParsers.java:71)
        at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:67)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
Sep 9, 2007 12:09:50 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
        at org.apache.solr.servlet.SolrRequestParsers.<init>(SolrRequestParsers.java:71)
        at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:67)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)

2007-09-09 12:09:50.203::WARN:  failed SolrRequestFilter
java.lang.NullPointerException
        at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:81)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
2007-09-09 12:09:50.203::WARN:  Failed startup of context
org.mortbay.jetty.webapp.WebAppContext@2ce908{/solr,jar:file:/F:/code/solr/example/webapps/solr.war!/}
java.lang.NullPointerException
        at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:81)
        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(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
2007-09-09 12:09:50.234::INFO:  Started SocketConnector @ 0.0.0.0:8983
2007-09-09 12:10:01.343::INFO:  Shutdown hook executing
2007-09-09 12:10:01.343::WARN:  EXCEPTION
java.lang.NullPointerException
        at org.apache.solr.servlet.SolrDispatchFilter.destroy(SolrDispatchFilter.java:110)
        at org.mortbay.jetty.servlet.FilterHolder.destroyInstance(FilterHolder.java:129)
        at org.mortbay.jetty.servlet.FilterHolder.doStop(FilterHolder.java:109)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.servlet.ServletHandler.doStop(ServletHandler.java:165)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
        at org.mortbay.jetty.servlet.SessionHandler.doStop(SessionHandler.java:124)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
        at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:556)
        at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:485)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:164)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:164)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:129)
        at org.mortbay.jetty.Server.doStop(Server.java:242)
        at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:65)
        at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:509)
2007-09-09 12:10:01.390::INFO:  Shutdown hook complete
Reply | Threaded
Open this post in threaded view
|

Re: SOLR-215 commit madness

Ryan McKinley
>>
>> If anyone is concerned about this, i can rollback to pre rev573893 and
>> make a single patch that will be easier to try to follow. Otherwise, you
>> can see a unified diff for the current changes using:
>
> Starting up the example now fails for me... is it working for others?
> -Yonik
>

Try now.  rev 574025 should fix this.
Reply | Threaded
Open this post in threaded view
|

Re: SOLR-215 commit madness

Yonik Seeley-2
Closer... but the admin pages don't work yet.

PWC6197: An error occurred at line: 27 in the jsp file: /admin/_info.jsp
PWC6199: Generated servlet error:
Cannot make a static reference to the non-static method getInstanceDir() from th
e type Config

-Yonik

On 9/9/07, Ryan McKinley <[hidden email]> wrote:

> >>
> >> If anyone is concerned about this, i can rollback to pre rev573893 and
> >> make a single patch that will be easier to try to follow. Otherwise, you
> >> can see a unified diff for the current changes using:
> >
> > Starting up the example now fails for me... is it working for others?
> > -Yonik
> >
>
> Try now.  rev 574025 should fix this.
>
Reply | Threaded
Open this post in threaded view
|

Re: SOLR-215 commit madness

Yonik Seeley-2
Latest commit fixed it... a quick overview of all the admin pages
suggest they are all working.
Thanks!

-Yonik

On 9/9/07, Yonik Seeley <[hidden email]> wrote:

> Closer... but the admin pages don't work yet.
>
> PWC6197: An error occurred at line: 27 in the jsp file: /admin/_info.jsp
> PWC6199: Generated servlet error:
> Cannot make a static reference to the non-static method getInstanceDir() from th
> e type Config
>
> -Yonik
>
> On 9/9/07, Ryan McKinley <[hidden email]> wrote:
> > >>
> > >> If anyone is concerned about this, i can rollback to pre rev573893 and
> > >> make a single patch that will be easier to try to follow. Otherwise, you
> > >> can see a unified diff for the current changes using:
> > >
> > > Starting up the example now fails for me... is it working for others?
> > > -Yonik
> > >
> >
> > Try now.  rev 574025 should fix this.
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: SOLR-215 commit madness

Ryan McKinley
In reply to this post by Yonik Seeley-2
Yonik Seeley wrote:
> Closer... but the admin pages don't work yet.

try 574027

If you run into anymore problems I will definitely rollback to pre573893
and make a single clean patch.

ryan