Re: alfresco installation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> 
>   http://www.crashcourse.ca/wiki/index.php/Main_Page
> 
> 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
errors.

	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/repository.properties

Fix the dir.root to point to the new directory we created:
dir.root=/var/lib/alfresco/alf_data


vim /var/lib/tomcat5/webapps/alfresco/WEB-INF/classes/log4j.properties

Fix the log file path:
log4j.appender.File.File=/var/log/tomcat5/alfresco.log


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

	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.

				...Jeff


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: java.io.WriteAbortedException: writing
aborted; java.io.NotSerializableException:
org.alfresco.web.ui.common.component.UIListItem
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.alfresco.web.ui.common.component.UIListItem
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
        at java.util.ArrayList.readObject(ArrayList.java:697)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:992)


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux