AnsweredAssumed Answered

cifs.urlfile.prefix in alfresco 3.3g wars not being picked

Question asked by adrianmoya on Jul 28, 2010
Latest reply on Dec 18, 2010 by idar
Hi, i'm configuring alfresco 3.3g and when I connect via CIFS, the __Alfresco.url and actions are pointing to http://hostname:8080/alfresco. I wish to replace that url with the ip of the host, as the name doesn't resolve.

Setting the cifs.urlfile.prefix property in the alfresco-global.properties doesn't have any effect.

Taking a look at WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers-context.xml I could see that the <property name="URLPrefix"> and <property name="webpath"> detailed in http://wiki.alfresco.com/wiki/File_Server_Subsystem#Desktop_Actions where not present.

I created a classes/alfresco/extension/subsystems/fileServers/default/default/custom-file-servers-context.xml and added both properties, in the place where the documentations says, but alfresco crashes on startup with the followin errors:

Invalid property 'URLPrefix' of bean class [org.alfresco.filesys.repo.ContentContext]: Bean property 'URLPrefix' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Invalid property 'webpath' of bean class [org.alfresco.filesys.config.GlobalDesktopActionConfigBean]: Bean property 'webpath' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

How can I customize that URL? Thanks

Outcomes