sharing an issue I resolved to help others

Any issue about installation and configuration of the Cyclos software

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Posts: 8
Joined: Mon Jul 23, 2012 5:16 am

sharing an issue I resolved to help others

Post by drorm »


during cyclos installation I tries to update my mysql jdbc driver

on my linux Centos6 installation the java drivers are located on folder : cd /var/lib/tomcat6/webapps/cyclos/WEB-INF/lib

the driver i wanted to replace is "mysql-connector-java-5.1.18.jar"

so i did the following:

cd /var/lib/tomcat6/webapps/cyclos/WEB-INF/lib
rm mysql-connector-java-5.1.18.jar

*** then i downloaded the latest mysql driver i could find:

wget ...
chmod 777

i then erroneously renamed the mysql driver to extension "jar":

mv mysql-connector-java-5.1.21.jar

i did this because i thought that zip should simply be changed to jar - and that i was done

then I started start tomcat6 and got the following error on catalina.out:

01:28:27,796 ERROR DataBaseConfiguration - Illegal JDBC driver class on com.mysql.jdbc.Driver
01:28:27,814 WARN CustomWebApplicationContext - Exception thrown from ApplicationListener handling ContextClosedEvent
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'cxf': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(

however this is incorrect because actually the jar file i needed is inside
so what i actually should have done was to : unzip
and then go to the newly extracted folder, and inside it was the "mysql-connector-java-5.1.21-bin.jar" i needed, and move it one folder up

Hope this helps anyone. let me know if you have any questions concerning this
Post Reply