cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with 3.4a war packaging

opoplawski
Champ in-the-making
Champ in-the-making
I'm testing out installing the alfresco-community-3.4.a.zip war package and it looks like it ships with some "test" modules:

alfresco-community/web-server/webapps/alfresco_war/WEB-INF/classes/alfresco/module/test:
alfresco-global.properties  module-context.xml.sample  module.properties.sample

alfresco-community/web-server/webapps/alfresco_war/WEB-INF/classes/alfresco/module/tests:
alfresco-global.properties

And when installed it appears that these alfresco-global.properties files are read:

15:37:55,931 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
15:37:55,931 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties

Whereas before I just had a alfresco-global.properties file in the tomcat shared/classes directory, now that seems to be ignored.  So, do I need to create a module my alfresco install now?
4 REPLIES 4

opoplawski
Champ in-the-making
Champ in-the-making
Okay, looks like with the move to tomcat6 from tomcat5, it no longer looks in shared/classes for alfresco-global.properties, but in:

/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco-global.properties
/root/alfresco-global.properties
/usr/share/java/tomcat6/alfresco-global.properties

Any way to change these search paths?

mikeh
Star Contributor
Star Contributor

cpot
Champ in-the-making
Champ in-the-making
Let's face it, Alfresco has a lot of strength but not the one to be easily installable if you don't use the whole bundle archive (including MYSQL / TOMCAT/ …)

I am trying to migrate from 3.2r / Tomcat5 to 3.4a / Tomcat 6 … Not easy

Chris

opoplawski
Champ in-the-making
Champ in-the-making
FWIW - Here is my attempt at an rpm that can install the WAR package on a Fedora or RHEL/CentOS box.

http://www.cora.nwra.com/~orion/fedora/alfresco-community.spec

http://www.cora.nwra.com/~orion/fedora/alfresco-community-3.4.a-1.src.rpm

If you already have the alfresco-community-3.4.a.zip file, you don't need the src.rpm.