AnsweredAssumed Answered

Error while extracting database product name

Question asked by blender on Feb 8, 2007
Latest reply on Feb 9, 2007 by blender
Hi All,

I'm trying to get:

http://internap.dl.sourceforge.net/sourceforge/alfresco/alfresco-community-war-2.0.0Preview.tar.gz

running on Fedora Core 6 with JDK1.5_10 and Tomcat 5.5.20 and mysql-server-5.0.27-1.

I think I have followed:

http://wiki.alfresco.com/wiki/Download_and_install_Alfresco_in_Linux

The database exists after db_setup.sql . No tables exist yet.

I did edit db.url to include localhost:3306 but I essentially get the same subject error before edit. Here is the section from current repository.properties:

# Database configuration
db.schema.update=true
db.driver=org.gjt.mm.mysql.Driver
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/${db.name}
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=20

From catalina.out I see:

[snip]
Feb 8, 2007 1:44:05 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
13:44:23,701 WARN  [jdbc.support.SQLErrorCodesFactory] Error while extracting database product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure due to underlying exception:
[snip]

What did I overlook?

Thanks!

Cheers

Outcomes