alfresco installation?

Jeff Gustafson ncjeffgus at
Thu Nov 8 00:07:40 UTC 2007

On Wed, 2007-11-07 at 16:26 -0500, Robert P. J. Day wrote:

> if someone wants to produce the step-by-step recipe for F8, i'll
> gleefully host it at my wiki here:
> rday
> p.s.  i'm particularly interested in whether openJDK is sufficient for
> this.  anyway, i'll start a wiki page and document what i've got so
> far.

	I just tried running it on OpenJDK on a Rawhide install (probably
pretty close to what F8 will be).  So far no luck.  Lots and lots of

	Here is what I do to get Alfresco running on F8:

	o Download Sun's jdk1.6.0 rpm
	o Get the jpackage 1.6.0 compat rpm
	o Get alfresco-community-war-2.1.0.tar.gz
	o untar it
	o cd into the untar'd directory
	o cp alfresco.war /var/lib/tomcat/webapps
	o mysql  < ./extras/databases/mysql/db_setup.sql
	o mkdir -p /var/lib/alfresco/alf_data/

	o startup tomcat

Once it runs, you'll get errors.  That's okay, just fix the paths:

vim /var/lib/tomcat5/webapps/alfresco/WEB-INF/classes/alfresco/

Fix the dir.root to point to the new directory we created:

vim /var/lib/tomcat5/webapps/alfresco/WEB-INF/classes/

Fix the log file path:

	o Make sure tomcat loads the mysql driver:
'sh# rebuild-jar-repository /var/lib/tomcat5/common/endorsed

	Restart tomcat and it should now run just fine.  I have not created a
startup script for OpenOffice.  You'll notice that Alfresco will try to
connect to it and fail if it's not running.  It will continue to load
without OpenOffice.


PS.  Here is a part of the first error when I try to run it under
openjdk (icetea):

16:05:52,779 ERROR [catalina.session.ManagerBase] IOException while
loading persisted sessions: writing
org.alfresco.web.ui.common.component.UIListItem writing aborted;
        at java.util.ArrayList.readObject(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(

More information about the fedora-list mailing list