cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Alfresco Tomcat bundle on Ubuntu 8.04 (64 bit)

groberts
Champ on-the-rise
Champ on-the-rise
[Fix described in the last part]

Its been a long day !   I've worn out several of googles servers trying to install Alfresco on Ubuntu.

I've already had it working on Mac OS as a self install binary and also from source code but have tried three ways to install on Ubuntu and failed.

Method 1 was to download Alfresco-Community-3.2r-Linux-x86-Install.bin, give it execute permission and run it like this; 
./Alfresco-Community-3.2r-Linux-x86-Install.bin.   Nothing happened, perhaps because I have a 64 bit server ?

Method 2 was to use a package prepared by Canonical (http://jared.ottleys.net/alfresco/alfresco-community-3-2-ubuntu-package-explained) but the final apt-get install alfresco-community command results in an error about a Broken package.

Method 3 I  checked out the Community Source code and compiled it so that I've got build/dist/alfresco-community-tomcat-3.2r2.tar.
I've got JDK 1.6, ImageMagic, OpoenOffice and Tomcat 6.  Then when I had the tar file I followed the instructions in Installing_and_Configuring_Alfresco_ECM_Community_Edition_3_2_r-1.pdf.

I tail Catalina.out and it pauses for six minutes after the line

Loading properties file from class path resource [alfresco/alfresco-shared.properties]

And then shows an exception stack;

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.remoting.rmi.RmiServiceExporter' defined in class path resource [alfresco/emailserver/email-service-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use


then later

SEVERE: Context [/alfresco] startup failed due to previous errors

I've googled this without success. 

Is the HEAD code stable ?  I assume so.

Any ideas gratefully received !

Guy.
2 REPLIES 2

groberts
Champ on-the-rise
Champ on-the-rise
My problem is identical to a bug report from April 2009

https://issues.alfresco.com/jira/browse/ALFCOM-2119

I guess I should add more detail to that report but in the mean time does anybody know of a workaround ?

Thanks.

groberts
Champ on-the-rise
Champ on-the-rise
Oh this is a bit embarrassing.   I've fixed it.

I followed the advice of Ricardo Ferreira in the comments to the above bug and it worked.  Here is what he said in JIRA;

I did have the same issue and I found my problem.
I'm running alfresco 3c on ubuntu 8.04, and my problem was related to my machine name (uname -a)… had different IP on /etc/hosts.
So I changed to IP from /sbin/ifconfig and it start well. I don't know if it will help, since your're a vista user, but maybe it related to machine name an IP…

I monkeyed about with my /etc/hosts and changed it so that the IP address from /sbin/ifconfig was aliased as the domain given by uname -a.

Thanks Ricardo !  That was driving me nuts.