Re: Odd casting error in embedded Jetty container

2012-11-28 Thread Mark Bennett
OK Alex. BTW, I did go through your presentation, and even emailed it to some cohorts of mine. On Tue, Nov 27, 2012 at 5:58 PM, Alexandre Rafalovitch wrote: > Are you sure that NamedSPILoader respects -verbose flag? I would still > check the filesystem access using something that does not lie (

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Chris Hostetter
: > lucene-analyzers-common-4.0.0.jar from 2 places: : > : > /Users/username/.m2/repository/org/apache/lucene/lucene-analyzers-common/4.0.0 : > : > /Users/username/project/branch/workspace/Project/solr-webapp/webapp/WEB-INF/lib/ Why are identical jars getting loaded from two differnet places?

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Alexandre Rafalovitch
Are you sure that NamedSPILoader respects -verbose flag? I would still check the filesystem access using something that does not lie (see my old email). Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Erick Erickson
Well, it was a nice theory. Siiihhh On Tue, Nov 27, 2012 at 4:49 PM, Mark Bennett wrote: > Hi Alex and Erick, > > I added -verbose which shows every class load. > > From the 12,000+ lines of output, I only see 4.0.0 jars, wrt lucene and > solr. > > lucene-analyzers-common-4.0.0.jar

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Mark Bennett
Hi Alex and Erick, I added -verbose which shows every class load. >From the 12,000+ lines of output, I only see 4.0.0 jars, wrt lucene and solr. lucene-analyzers-common-4.0.0.jar from 2 places: /Users/username/.m2/repository/org/apache/lucene/lucene-analyzers-common/4.0.0 /Users/username/project

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Mark Bennett
Erik & Alex, If it still sounds like jars to you two, I'll take another whack in that direction. >From previous Google searches I thought I had already eliminated that, but logging every gosh-darn-jar and reviewing the list makes sense. -- Mark Bennett / New Idea Engineering, Inc. / mbenn...@ide

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Alexandre Rafalovitch
I find it is best to troubleshoot path problems backwards. Run something that logs every file access (SysInternal's Process Monitor on Windows, truss/struss on *nix/Mac systems) and then grep for jars. You will see exactly which jars are loaded from where and also which other jars the same process

Re: Odd casting error in embedded Jetty container

2012-11-27 Thread Erick Erickson
Sure looks like you're mixing up jars from old and new Solrs somehow. You've stripped down the classpath, but what about the solr libraries? All the things that can be defined in directives in solrconfig.xml? Not much help I know, but the best I can think of. Erick On Mon, Nov 26, 2012 at 7:38