a) Using the MYSQL JDBC driver you have to adjust the Driver name
com.mysql.jdbc.Driver in the config
b) specify the classpath like -cp
/usr/share/java/mysql-connector-java-5.1.16.jar:/opt/jackrabbit/jackrabbit-standalone-2.6.0.jar
c) instead of the -jar Option specify the MainClass directly (wich one
is called can be found by the manifest of the
/opt/jackrabbit/jackrabbit-standalone-2.6.0.jar file)
Then it should work (i'm using mysql as a store for jackrabbit)
Am 01.03.2013 17:30, schrieb Lars Janssen:
Still getting the same problem... :(
I wasn't sure if it was picking up the CLASSPATH variable, so I used -cp on
the java command:
java -cp /usr/share/java/mysql-connector-java-5.1.16.jar
-XX:MaxPermSize=128m -Xmx512M -Xms128M -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=1111
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.password.file=/opt/jackrabbit/startup/jmx.user
-Dcom.sun.management.jmxremote.access.file=/opt/jackrabbit/startup/jmx.role
-jar /opt/jackrabbit/jackrabbit-standalone-2.6.0.jar
I hope I'm using the right connector, this one from Debian APT:
libmysql-java - Java database (JDBC) driver for MySQL
The apt-file command confirms that it's providing this file:
/usr/share/java/mysql-connector-java-5.1.16.jar
Thanks,
Lars.