Hi,
I installed JDBC River and restart the elasticsearch. when I create a new river, it cat not started.
There are some error message in the elasticsearch.log.
[2012-07-19 11:10:34,390][INFO ][river.jdbc ] [Aardwolf] [jdbc][my_jdbc_river] starting JDBC connector: URL [jdbc:mysql://192.168.1.100:3306/forum], driver [com.mysql.jdbc.Driver], sql [select "index" as "_index", id as "_id",topic.* from topic where group_topic_type=0 and hidden=0 and active=1], river table [false], indexing to [jdbc]/[jdbc], poll [1m]
[2012-07-19 11:10:34,585][ERROR][river.jdbc ] com.mysql.jdbc.Driver
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at org.elasticsearch.river.jdbc.SQLService.getConnection(SQLService.java:102)
at org.elasticsearch.river.jdbc.JDBCRiver$JDBCConnector.run(JDBCRiver.java:194)
at java.lang.Thread.run(Thread.java:722)
I try it both "Ubuntu 11.10" and "mac lion 10.7.4", but it is in the same situation.
what is missing for it? how can I to do?
Thanks,
Arthur