Can’t get jmeter-server to work correctly with jdbc:mysql driver

I am running jmeter-server on a remote database host (Centos, sun-java 1.6). I dropped the MySQL java jar in $JMETER_HOME/lib per the install instructions. When I try to run a job on my local system (OS X Lion), I get the following error on the server: 2013/04/10 12:44:43 WARN – jmeter.protocol.jdbc.config.DataSourceElement: Could not return Connection … Read more

Alfresco couldn’t start. Why?

I have alfresco on my VM. When I try to start alfresco I got an error “postgresql could not be started” such as following : /opt/alfresco/postgresql/scripts/ctl.sh : postgresql could not be started Using CATALINA_BASE: /opt/alfresco/tomcat Using CATALINA_HOME: /opt/alfresco/tomcat Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp Using JRE_HOME: /opt/alfresco/java Using CLASSPATH: /opt/alfresco/tomcat/bin/bootstrap.jar /opt/alfresco/tomcat/scripts/ctl.sh : tomcat started When I check it … Read more

Building a jar with MySQL jdbc on solaris

Im building a java application that uses JDBC to connect to MySQL. I have an ant script that compiles my code and then packages it, along with log4j, junit, libshout-java and the mysql jdbc driver into one executable jar. This all works fine on ubuntu 9.10, and my code connects to mysql and away we … Read more

How to set JBOSS/JDBSC to cach the MySQL server settings?

Is it possible to set JBOSS/JDBC’s MySQL connector to cache the server’s settings so that I won’t get a big bunch of “show variables” connection all the time? I think there is a similar settings under Glassfish called CacheServerConfiguration but I was not able to find more information about that under JBOSS. Does anyone know … Read more

JDBC CLASSPATH Not Working

I’m setting up a simple JDBC connection to my working MySQL database on my server. I’m using the Connector-J provided by MySQL. According to their documentation, I’m suppose to create the CLASSPATH variable to point to the directory where the mysql-connector-java-5.0.8-bin.jar is located. I used export set CLASSPATH=/path/mysql-connector-java-5.0.8-bin.jar:$CLASSPATH. When I type echo $CLASSPATH to see … Read more

Solr could not index my table from mysql

I have ubuntu server and mysql version 5.1.41-3ubuntu12.10-log. i need to run solr on my webserver. i have installed lucidworks-enterprise-installer-1.7 and mysql-connector-java-5.1.17-bin.jar on the webserver already. but i can’t build the index for solr and it keeps giving me Total Documents Failed tag with number all of my records <str name=”Total Documents Failed”>15511</str> any idea … Read more