AnsweredAssumed Answered

Alfresco 4.2e: SQLException caused by ClassNotFound during startup

Question asked by beppegg on Dec 10, 2013
Latest reply on Dec 11, 2013 by abarisone
Hi all,

I'm trying to deploy an alfresco installation on my own linux machine.
The computer run a linux Debian "Jessie (Testing)" distribution, with mysql and tomcat 7 installed by means of regular "apt-get" architecture.

I've downloaded alfresco zip file, customized tomcat 7 installation as described <HERE> adding the required shared/classes, shared/lib and customizing and server.xml according instuctions. I added a "lib" directory and copied mysql-connector-5.1.27.jar in it. I created an empty schema and a user for alfresco in MySQL, granting him "create table" rights.
Finally, I copied share.war and alfresco.war into webapps/ directory.

When I start my servlet container, "share" starts succesfully but "alfresco" fails with the attached stacktrace.

Initially, I thought MySQL Driver class couldn't be found. So I tried writing a small JSP that loads the class, but it succeded: so the  Driver class can actually be loaded by deployed applications.

Any help would be greatly appreciated!