cancel
Showing results for 
Search instead for 
Did you mean: 

error creating bean with name 'org.alfresco.config.source.Ur

unknown-user
Champ on-the-rise
Champ on-the-rise
hi,
i'm begginer, and i had already a jboss installed ( on debian sarge ). i need to use alfresco with this jboss. also i puted the war and the sql connector in deployment and lib.
when i restart my jboss, alfresco is not launched, and i have this error in the logs :

2006-02-28 14:34:25,057 DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] Ignoring constructor [public org.alfresco.config.source.UrlConfigSource(java.lang.String)] of bean 'org.alfresco.config.source.UrlConfigSource#270664': Error creating bean with name 'org.alfresco.config.source.UrlConfigSource#270664' defined in class path resource [alfresco/content-services-context.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: Could not convert constructor argument value [[classpath:alfresco/mimetype/mimetype-map.xml, classpath:alfresco/mimetype/mimetype-map-openoffice.xml]] to required type [java.lang.String]: Failed to convert property value of type [java.util.ArrayList] to required type [java.lang.String]

can somebody tells me where the problem comes from ?

thanks
10 REPLIES 10

derek
Star Contributor
Star Contributor
Hi,

I can only conclude that JBoss is not finding the custom-services-context.xml.  You configuration looks fine, although you could use the classpath: prefix instead of file: given that your config is all still within the server.

Add some rubbish XML into the custom-services-context.xml, i.e. make it malformed XML.  If you get the same issue, without Spring choking up on the file, then you know that JBoss is not finding your file.

Make sure that the file is readable to the server and that the directory names are correct.  If it still doesn't work, then I'll reproduce it on my side.

Regards