AnsweredAssumed Answered

Export Command Line Tool Fails

Question asked by diago on Sep 17, 2007
using classpath
/exploit/AS/jakarta-tomcat/common/lib/mysql-connector-java-5.0.5-bin.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/lucene-core-2.0.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jibx-run.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jibx-bind.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/antlr-2.7.5H3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/cglib-nodep-2.2_beta1.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/bsh-1.3.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/commons-collections-3.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jcr-1.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jbpm-3.1.2.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jbpm-identity-3.1.2.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/springmodules-jbpm31.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/xpp3-1.1.3_8.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/cryptix-jce-provider.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/commons-codec-1.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/rhino-js-1.6R4.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/freemarker.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/pdfbox-0.7.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/odf_utils.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/poi-2.5.1_patched.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jooconverter-2.1.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/openoffice-sandbox-2.0.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/openoffice-ridl-2.0.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/openoffice-jurt-2.0.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/openoffice-juh-2.0.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/quartz-1.6.0.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/acegi-security-0.8.2_patched.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/ehcache-1.2.2.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/hibernate-3.2.1.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/dom4j-1.6.1.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/activation.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/mail.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/log4j-1.2.8.jar:/tmp:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/core.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jut.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jug.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/repository.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/spring.jar:/exploit/AS/jakarta-tomcat/bin/commons-logging-api.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/classes:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/alfresco-mbeans.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/commons-dbcp-1.2.1.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/commons-pool-1.3.jar:/exploit/AS/jakarta-tomcat/webapps/alfresco/WEB-INF/lib/jta.jar

and command line

java org.alfresco.tools.Export -user admin -pwd password -s workspace://SpacesStore archive

I got the following Error

INFO: Shutting down EHCache CacheManager
The following error has occurred:
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]

any int ?

Outcomes