cancel
Showing results for 
Search instead for 
Did you mean: 

Error MySql in Alfresco war

ferdinandum
Champ in-the-making
Champ in-the-making
Hi, i have this error.


Caused by: java.io.FileNotFoundException: class path resource [alfresco/extension/customrepository.properties] cannot be opened because it does not exist

my custom-repository.properties is

db.name=alfresco
db.username=root
db.password=root

#MySql en local
db.host=localhost
db.port=3306
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}
And my custom-hibernate-dialect.properties is

hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

I installed MySql 5.1 and i put with windows service. then, I created db call alfresco. Now, it is empy.

I didn't found in alfesco.war scritp *.sql.

How i can conect alfresco war with mysql. Thank
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Looks like you have a typo somewhere in the name of your custom-repository.properties.

However since you are on 3.2 I suggest you do away with that old way of configuring alfresco
and use alfresco-global.properties instead.