AnsweredAssumed Answered

error trying to import user in alfresco 3.2.

Question asked by sumit057 on Sep 11, 2009
Hi,

When i tried to import the users using comand i got following error,can someone tell me what is the reason..i have already modified the jar file according to needs of alfresco version 3.2. the command is as follows:-

C:\Alfresco\tomcat\webapps\alfresco\WEB-INF>java -classpath classes;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-repository-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-linkvalidation.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\xercesImpl-2.8.0.jar;C:\Alfresco
\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-remote-api-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-vti.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-web-client-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\myfaces-api-1.1.5.jar;C:\Alfresco\tomcat\webap
ps\alfresco\WEB-INF\lib\alfresco-rm.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\xmlrpc.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jcr-1.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\rhino-js-1.6R7.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\spring-ws-1.5.0.jar;C:\Alf
resco\tomcat\webapps\alfresco\WEB-INF\lib\spring-2.0.8.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\springmodules-jbpm31.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\subetha-smtp.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-jlan-embed-3.2.jar;C:\Alfresco\tomcat\webapps\
alfresco\WEB-INF\lib\JMagick.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-mbeans-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\hibernate-3.2.6-patched.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jbpm-jpdl-3.3.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jbp
m-identity-3.3.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\springmodules-jbpm31.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\spring-2.0.6.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-core.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\lucene-analyzers-2.1.0.jar;
C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\liblucene-snowball-2.1.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-core.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jibx-run.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\xpp3-1.1.3_8.jar;C:\Alfresco\tomcat\webapps\alfresco
\WEB-INF\lib\commons-logging-1.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\ehcache-1.4.1-patched.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\dom4j-1.6.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\acegi-security-0.8.2_patched.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\
lib\hibernate-3.2.6-patched.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\quartz-1.6.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\pdfbox-0.7.3.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\poi-3.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jooconverter-2.1.0.jar;C:\Alfr
esco\tomcat\webapps\alfresco\WEB-INF\lib\jid3C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib-0.5.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\freemarker-2.3.13.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\log4j-1.2.15.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\cryptix-jce-prov
ider.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-codec-1.3.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-dbcp-1.2.3.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-pool-1.4.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jta.jar;C:\Alfresco\tomcat\webapp
s\alfresco\WEB-INF\lib\mail.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\activation.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jug-lgpl-2.0.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\alfresco-deployment-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-collec
tions-3.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\cgC:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib-nodep-2.2_beta1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\antlr-2.7.5H3.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\tm-extractors-1.0.jar;C:\Alfresco\tomcat\webapps\alfre
sco\WEB-INF\lib\commons-io-1.1.jar; C:\Alfresco\OpenOffice.org\URE\java\ridl.jar; C:\Alfresco\OpenOffice.org\URE\java\juh.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jut.jar; C:\Alfresco\OpenOffice.org\Basis\program\
classes\sandbox.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jut.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\lucene-core-2.4.1.jar;C:\Alfresco\tomcat\C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\mysql-connector-java-5.1.7-bin.jar;C:\Alfresco\tomcat\C:\Alfresco\tomcat\webapps\alfres
co\WEB-INF\lib\servlet-api.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\bsh-1.3.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\saxpath.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jaxen-1.1-beta-8.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\json.jar;C:\Alfresco\tomcat\we
bapps\alfresco\WEB-INF\lib\bcprov-jdk15-137.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\derby.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\ibatis-2.3.4.726-patched.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\truezip.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\ant.jar;C
:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\truelicense-1_29.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\truexml-1_29.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\tm-extractors-1.0.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\joda-time-1.2.1.jar
[size=150]org.alfresco.tools.Import -u
ser admin -pwd admin -uuidBinding UPDATE_EXISTING  -store workspace://SpacesStore  -path  sys:system/sys:people -verbose person.xml[/size]
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Alfresco\OpenOffice/org\URE\java\ridl/jar;
Caused by: java.lang.ClassNotFoundException: C:\Alfresco\OpenOffice.org\URE\java\ridl.jar;
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)


the one marked in red are dependent jar files in order to import or export
the one in bold below is the error..plz someone say how to modify

Outcomes