I am getting the following exception when I try to deploy to Tomcat. I had previously tried to deploy to Jboss but ran into problems there due to networking issues (I work on a vmware instance on a laptop and JBoss didn't like the disconnected state), so I decided to move to Tomcat instead.
Thoughts? Thanks.
tj
19:51:10,971 ERROR [org.springframework.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; n
ested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: jav
ax.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.NameAlrea
dyBoundException: 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(ConnectorServe
rFactoryBean.java:183)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMetho
ds(AbstractAutowireCapableBeanFactory.java:1059)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(Abst
ractAutowireCapableBeanFactory.java:363)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.ja
va:226)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.ja
va:147)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton
s(DefaultListableBeanFactory.java:269)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationCo
ntext.java:320)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(Abs
tractRefreshableWebApplicationContext.java:134)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java
:246)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:1
84)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListen
er.java:49)