Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2014 09:42 AM
OS: Ubuntu 14.04 server.
When i try to invoke export/import tools, for example:
java -cp "/mnt/4TB/DST/alfresco/alfresco-4.2/tomcat/lib/servlet-api.jar:classes/alfresco/module:classes:lib/*" org.alfresco.tools.Import -user admin -pwd admin -store workspace://SpacesStore -path sys:system -verbose Zone.xml
i get following message: [alfresco.repo.admin] [main] Using database URL 'jdbc:mysql:///alfresco' with user 'alfresco'.
then: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
Alfresco-global.properties contain :
### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=${password}
db.name=alfresco
db.url=jdbc

Please, help me find out, how to correct invoke export/import tools.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2014 09:51 PM
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2014 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2014 09:53 AM
The correct place is tomcat/shared/classes
If you are using a version of tomcat that you have installed yourself then you also need to configure the shared.loader in catalina.properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2014 11:57 AM
In catalina.properties :
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2014 01:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2014 04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2014 01:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-28-2014 05:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2019 03:02 AM
Is this issue resolved?
I have also same issue.
