cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco start error : internal error: ObjID already in use

clark
Champ on-the-rise
Champ on-the-rise
Hello folks

In my project, we used alfresco as our cms. And i've installed & deployed successfully on one Linux test server.(integrated with mysql in the same server)
Now i need to install alfresco in another server(ip:192.168.3.106) & integrate it with mysql on another server(ip:192.168.1.31)

Firstly the TCP link between these two server are all right :

[root@carbon Alfresco]# ping 192.168.1.31
PING 192.168.1.31 (192.168.1.31) 56(84) bytes of data.
64 bytes from 192.168.1.31: icmp_seq=0 ttl=63 time=3.74 ms
64 bytes from 192.168.1.31: icmp_seq=1 ttl=64 time=1.87 ms
64 bytes from 192.168.1.31: icmp_seq=2 ttl=64 time=1.92 ms

After i installed alfresco & changing the file "tomcat/shared/classes/alfresco/extension/custom-repository.properties" as wiki:

dir.root=/opt/Alfresco/alf_data
dir.indexes=/opt/Alfresco/alf_data/Lucerne-indexes
db.name=alfresco_uat
db.username=risi
db.password=risi
db.pool.initial=10
db.pool.max=100
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://192.168.1.31:3306/alfresco_uat

In 192.168.1.31, the scheama "alfresco_uat" has been already created.

But when i start alfresco, some error messages throw out.
Error message shows below:

21:06:15,197 ERROR [org.springframework.web.context.ContextLoader] 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
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:75)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:190)
        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)

Of course, before start operation, any process of occupying 50500 port has already been killed.

As i follow another same problem, some host info has been added into /etc/hosts as blow, but it seems useless to my case:

192.168.3.106 alfresco.uci.cc alfresco
127.0.0.1     localhost
192.168.1.31  alfresco.uci.cu alfresco2

At last, i try to change config file of my alfresco on my local windows XP pc to integrate it with mysql on 192.168.1.31.
No such error message throw out and all are right. Alfresco create tables & application started well.
I got myself confused deeply Smiley Sad

Could any body help me or give me some suggestion ?
Thank you indeed!
2 REPLIES 2

clark
Champ on-the-rise
Champ on-the-rise
Problem solved.

Reason: some one system admin add a list of IP–HOSTNAME into /etc/hosts.
One hostname of them has duplicate value with localhost……..

If someone else meet such problem again, please try to follow below step to check:


ping `hostname`

If the ip is not local server's…please check your /etc/hosts file to see whether there exist duplicate server name which has been added to another IP…

That's all….

jaikisanugale
Champ in-the-making
Champ in-the-making
am trying url–>http://127.0.0.1:8080//alfresco giving requested resources is not available
and while trying–>http://127.0.0.1//share not able to login

In alfresco log file getting exception called–>Caused by: java.rmi.server.ExportException: internal error: ObjID already in use

and also attache the log file of alfresco below