cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 1.3 import problem

ero
Champ in-the-making
Champ in-the-making
See below

Any idea?
Thx

Alfresco Repository Importer

25 mai 2006 23:57:31 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
25 mai 2006 23:57:32 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
25 mai 2006 23:57:32 net.sf.joott.uno.UnoConnection connect
INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…
25 mai 2006 23:57:33 net.sf.joott.uno.UnoConnection connect
GRAVE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect
23:57:34,847 INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
23:57:34,897 INFO  [admin.patch.PatchExecuter] No patches were required.
23:57:35,047 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_06-b05; maximum heap size 63,563MB
23:57:35,047 WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63,563MB is less than recommended 512MB
23:57:35,047 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.3.0 (RC1) schema 13 - Installed version 1.3.0

23:57:35,057 ERROR [alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use: JVM_Bind

        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:377)
        at java.lang.Thread.run(Unknown Source)
The following error has occurred:
Bad credentials presented
org.alfresco.repo.security.authentication.AuthenticationException: Bad credentials presented
        at org.alfresco.repo.security.authentication.AuthenticationComponentImpl.authenticate(AuthenticationComponentImpl.java:69)
        at org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:37)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy22.authenticate(Unknown Source)
        at org.alfresco.tools.Tool.login(Tool.java:182)
        at org.alfresco.tools.Tool.start(Tool.java:147)
        at org.alfresco.tools.Import.main(Import.java:58)
Caused by: net.sf.acegisecurity.BadCredentialsException: Bad credentials presented
        at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.getUserFromBackend(DaoAuthenticationProvider.java:393)
        at net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider.authenticate(DaoAuthenticationProvider.java:225)
        at net.sf.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:159)
        at net.sf.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:49)
        at org.alfresco.repo.security.authentication.AuthenticationComponentImpl.authenticate(AuthenticationComponentImpl.java:63)
        … 21 more

Command:

java -Xms128m -Xmx512m -Xss64k -server  org.alfresco.tools.Import -user admin -pwd admin -s workspace://SpacesStore -p /app:Company_Home/cm:import-z -uuidBinding REPLACE_EXISTING -verbose test.acp

Note: I have no problem to connect as admin user with web client interface.

Thx.
2 REPLIES 2

ero
Champ in-the-making
Champ in-the-making
Nobody to help me ?

davidc
Star Contributor
Star Contributor
You need to ensure the repository.properties in your classpath for the Import tool is configured appropriately e.g. the database connection details and dir.root.