AnsweredAssumed Answered

when i tried to import the user using command line ??

Question asked by sumit057 on Sep 11, 2009
Latest reply on May 21, 2010 by sithalthapa
hi,

i got following error when i tried to import the user in my alfresco 3.2 version,i have already modified the jar files according to jars available in 3.2:-

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-core-3.2.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\spring-2.0.8.jar;C:\Alfresco\tomcat\we
bapps\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\d
om4j-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.ja
r;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:\Alfresco\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-provider.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.2.jar;C:\Alfresc
o\tomcat\webapps\alfresco\WEB-INF\lib\commons-pool-1.4.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jta.jar;C:\Alfresco\tomcat\webapps\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.ja
r;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\commons-collections-3.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\cglib-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\
OpenOffice.org\URE\java\ridl.jar;C:\Alfresco\OpenOffice.org\URE\java\juh.jar;C:\Alfresco\OpenOffice.org\URE\java\jurt.jar;C:\Alfresco\OpenOffice.org\Basis\program\classes\sandbox.jar;C:\Alfresco\tomcat\lib\servlet-api.jar;C:\Alfresco\tomcat\lib\jsp-api.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF
\lib\jut.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\lucene-analyzers-2.4.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\lucene-core-2.4.1.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\lucene-snowball-2.4.1.jar;C:\Alfresco\tomcat\lib\mysql-connector-java-5.1.7-bin.jar;C:\Alfresc
o\tomcat\webapps\alfresco\WEB-INF\lib\saxpath.jar;C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\lib\jaxen-1.1-beta-8.jar org.alfresco.tools.Import -user admin -pwd admin -store workspace://SpacesStore -path \sys:system\sys:people person.xml
Alfresco Repository Importer
12:43:37,905  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
12:43:37,905  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
12:43:37,952  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]

[size=150]The following error has occurred:[/size]
Error creating bean with name 'indexerComponent' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean '&indexerAndSearcherFactory' while setting bean property 'storeRedirectorProxyFactory'; nested exception is org.springframework.beans.factory.BeanCre
ationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.b
eans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springf
ramework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springfram
ework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [al
fresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-s
ervices-context.xml]: Cannot resolve reference to bean 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-
services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibe
rnate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.x

ml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [org/jbpm/graph/action/Script.hbm.xml] cannot be opened because it does not exist

Outcomes