cancel
Showing results for 
Search instead for 
Did you mean: 

Couldn't install Alfresco Labs 3d final with Mysql MacOS

jayagopalan
Champ in-the-making
Champ in-the-making
Hi,
      I am unable to install Alfresco Labs 3d final in MacOS 10.5.5 with Mysql 5.0.18.

mysql configuration in repository properties as below
REPOSITORY CONFIG
# Sample database connection properties
#
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=100
#
# External locations
#ooo.exe=/Users/jayagopalanbalasubramani/Alfresco/OpenOffice.org.app/Contents/pro
gram/soffice
ooo.user=${dir.root}/oouser
img.root=/Users/jayagopalanbalasubramani/Alfresco/ImageMagick
swf.exe=/Users/jayagopalanbalasubramani/Alfresco/bin/pdf2swf

mysql#db.driver=org.gjt.mm.mysql.Driver
mysql#db.url=jdbc:mysql://localhost:3306/alfresco

HIBERNATE CONFIG
mysql configuration in hibernate properties file as below
mysql#hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

I am getting the following Error in alfresco log.


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiHandler' defined in file [/Users/jayagopalanbalasubramani/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-handler-alfresco3-context.xml]: Cannot resolve reference to bean 'vtiHandlerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vtiHandlerTarget' defined in file [/Users/jayagopalanbalasubramani/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-handler-alfresco3-context.xml]: Cannot resolve reference to bean 'SiteService' while setting bean property 'siteService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SiteService' defined in class path resource [alfresco/site-services-context.xml]: Cannot resolve reference to bean 'siteService' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteService' defined in class path resource [alfresco/site-services-context.xml]: Cannot resolve reference to bean 'activityService' while setting bean property 'activityService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityService' defined in class path resource [alfresco/activities/activities-feed-context.xml]: Cannot resolve reference to bean 'postDaoService' while setting bean property 'postDaoService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'postDaoService' defined in class path resource [alfresco/activities/activities-feed-c


Please advise on how to fix this Error.

Thanks, jay
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
It doesn't look like you've uncommented all the mysql pieces in the Repository and Hibernate config files.

Mike

jayagopalan
Champ in-the-making
Champ in-the-making
It doesn't look like you've uncommented all the mysql pieces in the Repository and Hibernate config files.

Mike

Thanks Mike It worked.

Jay