AnsweredAssumed Answered

NameAlreadyBoundException: alfresco/jmxrmi

Question asked by mrudmann on Apr 20, 2007
Latest reply on May 7, 2007 by vipin
Hi,
I am working with alfresco2.0 in a Fedora Core 5 install and running MySQL.

I have successfully used alfresco 1.4 and 2.0 with single instances of an alfresco structure beneath the webapps directory.

I am now trying to run multiple alfrescos using one tomcat.

I have the error message below in my catalina.out log file.

I am trying to run multiple alfresco instances using one tomcat.  I created a directory structure under the webapps folder called alfresco1.  it is essentially identical to the alfresco directory content except that I renamed the db.name and dir.root to point to my other database which I called alfresco1.

Can anyone shed some light on this?

Thanks!

— my error message below —-

09:18:58,849 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]
        at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
        at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
        at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:183)

Outcomes