06-13-2007 09:46 AM
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)……..
I'm trying to redefine the port used, that is defined in file alfresco-shared.properties. I dropped the modified file in {tomcat-dir}/shared/classes/alfresco2/extension/ but the error does not disappear (so I suppose new port definition isn't loaded)<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!– Core and miscellaneous bean definitions –>
<beans>
<!– Load properties that must be shared between the –>
<!– Alfresco server and its remote clients. –>
<!– –>
<!– Note: This is done in a seperate bean to make it –>
<!– for users who have alrady overridden their –>
<!– "repository-properties" in a dev-context.xml –>
<!– or custom-db-and-data-context.xml file. –>
<bean id="shared-properties"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders">
<value>true</value>
</property>
<property name="locations">
<list>
<value>classpath:alfresco/alfresco-shared.properties</value>
</list>
</property>
</bean>
</beans>
What I'm missing?06-14-2007 07:18 AM
<import resource="classpath*:alfresco/extension/*-context.xml"/>
Is it possible to write it as Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.