AnsweredAssumed Answered

FirstFoundationClient and BindException on port 50501

Question asked by maxmil on Feb 11, 2009
Latest reply on Apr 16, 2010 by toze
I am having a go at setting up the Labs 3c SDK.

The first problem i ran into was the documented missing jlan.jar.

I copied alfresco-jlan-embedded from the alfresco webclient war to the SDK Alfresco embedded project and put it on the build path.

Now when i try to run the client i get the following error

Exception in thread "main" 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: Port already in use: 50501; nested exception is: 
   java.net.BindException: Address already in use
Caused by: java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
   java.net.BindException: Address already in use

The process using port 50501 is my alfresco labs server.

Any recommendations on how to debug or solve this problem would be greatly appreciated.

Outcomes