Alfresco: ObjID already in use

What a wonderful day, after hours of installation and customization procedure (Alfresco backend on Debian Linux host) i’ve got a killer error message in console.

Alfresco 3.0 startup error, with difficult to understand message about some object what is already in use:

18:46:21,943 ERROR [web.context.ContextLoader.initWebApplicationContext:203] Context initialization failed
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

The next section of the error log, with network realated messages:

Caused by: 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:74)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)

And what is the solution? Very simple, just check your network and host – in /etc/hosts file – names and IP addresses, and correct to real values, what is showed by ifconfig command.

Java application wants to bind an IP address, but this address isn’t exists on system…

Leave a Reply

Your email address will not be published. Required fields are marked *