cancel
Showing results for 
Search instead for 
Did you mean: 

ava.rmi.server.ExportException: internal error: ObjID already in use

bisana
Champ on-the-rise
Champ on-the-rise
Hi,
I am usign CE 4.2.d, all of sudden by Alfresco instance not allowing any one to log and it giving error messages as
Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use

The following is some of the message from the log file
</code>
2014-01-09 12:20:42,097  ERROR [web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use
</code>

also

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.rmi.server.ExportException: internal error: ObjID already in use
        at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:186)
        at sun.rmi.transport.Transport.exportObject(Transport.java:92)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:247)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:98)
        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:239)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:371)
        at org.springframework.remoting.rmi.RmiServiceExporter.getRegistry(RmiServiceExporter.java:336)
        at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:268)
        at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 27 more
Jan 09, 2014 12:20:42 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: internal error: ObjID already in use

Has any one faced such issues, like to get advice and help
Thanks
Joseph John
2 REPLIES 2

abarisone
Star Contributor
Star Contributor
Hi,
it seems that this error may come form various sources, anyway here you can find some advices:
http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrad...
http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrad...
http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrad...

I think you should double-check your configurations into alfresco-global.properties, in order to be sure that all the address you provide for services are reachable.

Regards,
Andrea

bisana
Champ on-the-rise
Champ on-the-rise
It had issue with the some OS issue, like wrong host entry which was confiliting with alfresco entry
thanks to all who helped