It looks like you have no mysql-connector-java*.jar in the WEB-INF/lib directory, or
it could not be found
Did you follow the steps here :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
You might need to restart the servlet container or reload the xwiki webapp before it finds
the mysql-connector jar
HTH
Clemens
----- Original Message -----
From: Kumar, Piyush
On: Wednesday, 12.10.2016, 08:35
To: XWiki Users
Subject: [xwiki-users] XWiki failed to load due to mysql driver error
Hi All,
I installed Xwiki 8.2.1 but getting below error in my tomcat :
2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR w.k.x.w.ServletContextListener - No
suitable driver found for jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for
jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at
com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at
com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to
start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup failed due
to previous e
I already kept mysql-connector-java-5.1.21.jar files in application library but still
getting above error while tomcat startup.
Thanks & Regards,
Piyush
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
mit freundlichen Grüßen
Clemens Klein-Robbenhaar
--
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenhaar(a)espresto.com
www.espresto.de
HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008