14:58:03,009 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registry' defined in class path resource [alfresco/core-services-conte

cancel
Showing results for 
Search instead for 
Did you mean: 
nikhita1495
Member II

14:58:03,009 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registry' defined in class path resource [alfresco/core-services-conte

14:58:03,009 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registry' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: Port already in use: 50750; nested exception is:
java.net.BindException: Address already in use (Bind failed)

I am getting this error .... Please help!!

1 Reply
afaust
Master

Re: 14:58:03,009 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registry' defined in class path resource [alfresco/core-services-c

Check your process manager / netstat utility to see which application is using that port. In my experience on Windows machines it often is Outlook that messes in that port range. Additionally you could reconfigure the RMI ports of Alfresco via the alfresco-global.properties.

It also looks like you are using Alfresco Enterprise as the Community Edition should no longer try to export stuff via JMX since around version 4.0. So consult the Support Portal / Knowledge Base there for help as well.