cancel
Showing results for 
Search instead for 
Did you mean: 

Running Alfresco 2.0 on Linux

kroty
Champ in-the-making
Champ in-the-making
Hi,

Have anyone been able to run Alfresco-2.0 on Linux?

What distribution are you using? What configuration?

I've been trying to run Alfresco-2.0-community-tomcat on Linux for
several weeks. I've tried different distributions, different versions of JDK,
different configurations, etc. And keep getting the same error over and over.


15:05:21,583 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
15:05:31,329 WARN  [org.springframework.remoting.rmi.RmiServiceExporter] Could not detect RMI registry - creating new one
15:05:31,462 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoRemoteTransportRMI' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
java.rmi.server.ExportException: internal error: ObjID already in use
        at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
        at sun.rmi.transport.Transport.exportObject(Transport.java:75)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:196)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:180)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:92)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:78)
        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:334)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:310)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:275)
        at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:227)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
….

Any ideas?

Thanks in advance.
5 REPLIES 5

sanjaykatiyar
Champ in-the-making
Champ in-the-making
Can you specify the environment?

For Redhat/Fedora Linux use this:
alfresco-community-tomcat-2.0.0.tar.gz
Download this from here:

http://sourceforge.net/project/showfiles.php?group_id=143373

alexander
Champ in-the-making
Champ in-the-making
Hi

I had the same problem. It was resolved by settings in /etc/hosts

Thanks
Alexander

kroty
Champ in-the-making
Champ in-the-making
I set the hostname in /etc/host and it worked!!!!

You saved my day buddy, thanks a lot!!

celice
Champ in-the-making
Champ in-the-making
Hi,

I had the same problem. I can make Alfresco running no problem on Windows but I kept getting this error again and again when trying deploying in Linux (with the same settings).

Could anyone who already solved this problem give me more details about how to solve it? For example what setting I need to change in /etc/hosts.

Thanks in advance,
Celice

forcev
Champ in-the-making
Champ in-the-making
I managed to deploy 2.0 + MySql on SUSE10 using the BitRock installer without issue.  I am happily running Alfresco and Zimbra on the same box (both with their own tomcat instance) first time round.

My next step is to deploy using the war into an existing tomcat 5 server.