[ALF-21120] Alfresco community 5.0.a - missing files in alfresco.war from Custom Install Created: 03-Oct-14  Updated: 18-Oct-15  Resolved: 31-Dec-14

Status: Closed
Project: Alfresco
Component/s: CIFS, FTP, Platform Authentication and SSO, Repository, Share Application
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Lukas Baxa (Inactive) Assignee: Closed Issues
Resolution: Not a bug Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

centos 6.5 (x86_64), oracle java 1.7.0_67, tomcat 7.0.53, postgresql 9.2.9

Attachments: File alfresco-global.properties     File catalina.out.ldap-login    
Issue Links:
duplicates ACE-3025 consider moving all the config back t... Open
Date of First Response:
Resolution Time Custom Field: 12 weeks, 5 days, 7 hours, 10 minutes, 49 seconds


I downloaded Alfresco Community 5.0.a (Custom Install) from the official link:


I extracted firstly the zip file and later also alfresco.war and share.war to /opt/tomcat-<version>/webapps/alfresco and /opt/tomcat-<version>/webapps/share.

I found the file alfresco-global.properties.sample in the zip file and customized it.

However, I'm not able to configure the application as in Alfresco 4.2.x or in a similar way, even if the documentation for Alfresco 5.0 (http://docs.alfresco.com/community/concepts/welcome-infocenter_community.html) references the same files. The files (or whole subdirectory structures) are simply missing in alfresco.war and the configuration directives from the documentation aren't located in another files neither.

To be more specific:

  • the file servers subsystem configuration is missing: alfresco/WEB-INF/classes/alfresco/subsystems/fileServers, I tried to create the file alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers.properties and configure the FTP (change port) and CIFS server (disable), without success... no change... But the documentation mentions this file and the same/similar attributes as in 4.2.x, for instance FTP: http://docs.alfresco.com/community/concepts/fileserv-ftp-intro.html

To be more concise:

  • no alfresco/WEB-INF/classes/alfresco/repository.properties file exists
  • no alfresco/WEB-INF/classes/alfresco/subsystems/thirdparty/default/imagemagick-transform.properties
  • no alfresco/WEB-INF/classes/alfresco/subsystems/thirdparty/default/swf-transform.properties
  • no alfresco/WEB-INF/classes/alfresco/subsystems/OOoDirect/default/openoffice-transform.properties
  • no alfresco/WEB-INF/classes/alfresco/subsystems/Synchronization/default/default-synchronization.properties
  • no alfresco/WEB-INF/classes/alfresco/authority-services-context.xml (we need to set alfresco administrators group)

Furthermore, the connection to LDAP server doesn't work (cannot login). The configuration is in alfresco-global.properties is attached. The error from catalina.out after LDAP login as well.

Is Alfresco 5.0.a an official release prepared for production use?

Comment by Kevin Roast [X] (Inactive) [ 03-Oct-14 ]

Yes, due to the new maven build process, all the configuration is located in the jars, except for a few things.

If you add a file in the right location in WEB-INF/classes, it will be taken into account and will override whatever we provide. Also the usual extension folder pattern will work as before.

There is an ongoing discussion currently about this internally as in general many people agree that having the config files exposed in a visible structure makes it a lot easier to find than inside JAR files...

Comment by Kevin Roast [X] (Inactive) [ 03-Oct-14 ]

>Is Alfresco 5.0.a an official release prepared for production use?
The 5.0.a release is a preview of the 5.0 features, it does not yet contain Solr 4 or other changes. 5.0.b is coming next week with this and a LOT of improvements. You can expect another 5.0.x Community release also as we move forward with fixes and decisions.

Comment by Peter Monks [X] (Inactive) [ 03-Nov-14 ]

Note: in the comment above I believe Kevin Roast [X] meant shared/classes rather than WEB-INF/classes (the latter is a very poor choice for overridden configuration files).

Comment by Kevin Roast [X] (Inactive) [ 04-Nov-14 ]

Apologies yes tomcat/shared/classes is of course what I meant.

Comment by Samuel Langlois [X] (Inactive) [ 31-Dec-14 ]

As explained above, the missing files are now embedded in jar files.
The documentation is now updated accordingly, so that you don't expect the files to be there.

As for the LDAP issue you have, it seems to be the same as ACE-2133, which was fixed in Alfresco Community Edition 5.0.c and in the Enterprise Edition too.

Comment by Richard Esplin [X] (Inactive) [ 16-Oct-15 ]

This issue has been marked as resolved since the last release of Alfresco Community Edition, so we are closing it.

Generated at Mon Jul 13 09:45:20 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.