On Mon, 25 Aug 2008 17:11:47 +0200
Walter Ferrara <[EMAIL PROTECTED]> wrote:

> Launching a multicore solr with dataimporthandler using a mysql driver,
> (driver="com.mysql.jdbc.Driver") works fine if the mysql connector jar
> (mysql-connector-java-5.0.7-bin.jar) is in the classpath, either jdk
> classpath or inside the solr.war lib dir.
> While putting the mysql-connector-java-5.0.7-bin.jar in core0/lib
> directory, or in the multicore shared lib dir (specified in sharedLib
> attribute in solr.xml) result in exception, even if the jar is correctly
> loaded by the classloader:


Hi Walter,
As at nightly build of August 19th, the DIH failing to connect to the data
source on SOLR's startup does *not* kill SOLR anymore. I haven't tested
yesterday's ...it could be a regression bug, but i doubt it - the error used to
be different to yours  (about connectivity, not failure in document).

for what is worth,i only have 1 copy of the jdbc jar (MS SQL in my case), in
the SOLR's lib directory, used by several cores's own DIH. You can check if
it's picked up by SOLR's classpath in the Java Info page under admin/

You may also want to try with a valid but empty document definition in
data-config.xml to rule out syntax issues.

B
_________________________
{Beto|Norberto|Numard} Meijome

"Any society that would give up a little liberty to gain a little security will
deserve neither and lose both." Benjamin Franklin

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.

Reply via email to