cancel
Showing results for 
Search instead for 
Did you mean: 

Desktop File Access : how to use it ?

dofre
Champ in-the-making
Champ in-the-making
Hi !

I've got a problem with the Desktop File Access. I cannot use it like in the flash demo. I run Alfresco on localhost, because I have to make a university presentation about alfresco and I do not have a server.

Does the problem come from the fact that I use Alfresco in localhost ?

Thanks a lot for helping me

fred.
17 REPLIES 17

pmarreddy
Champ in-the-making
Champ in-the-making
hi,

is webdav and cifs part of community edition or part of enterprise edition. at first i thought it is part of community editoin now i am not sure. bucause i am not able to get to it.

thanks prasanth

gavinc
Champ in-the-making
Champ in-the-making
WebDAV and CIFS are both part of the community edition, so they should be accessable to you.

pmarreddy
Champ in-the-making
Champ in-the-making
hi

when i tried to open using iexplorer i got this error. 

http://localhost:8080/alfresco/webdav


org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required
org.alfresco.repo.transaction.AlfrescoTransactionSupport.registerSynchronizations(AlfrescoTransactionSupport.java:364)
org.alfresco.repo.transaction.AlfrescoTransactionSupport.getSynchronization(AlfrescoTransactionSupport.java:349)
org.alfresco.repo.transaction.AlfrescoTransactionSupport.bindNodeDaoService(AlfrescoTransactionSupport.java:203)
org.alfresco.repo.transaction.NodeDaoServiceTransactionInterceptor.invoke(NodeDaoServiceTransactionInterceptor.java:59)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
$Proxy1.getNode(Unknown Source)
org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:116)
sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
$Proxy2.exists(Unknown Source)
sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
$Proxy3.exists(Unknown Source)
org.alfresco.repo.security.person.PersonServiceImpl.getPersonOrNull(PersonServiceImpl.java:149)
org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:106)
org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:149)

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Are you using the latest 1.2 release ?. are there any errors logged in the Alfresco.log file ?.

I can't reproduce the problem with the latest code.

If you can send me your Alfresco.log file I'll have a look and see if I can spot any problems.

Cheers

Gary

juanc82
Champ in-the-making
Champ in-the-making
Hi

I've downloaded the tomcat bundle and got it running in a Winxp Home Edition. When i try to map alfresco to a drive, it does not appear in my network places (i've moved the dll to system32 and the server appears as LAPTOP_A when i do an nbtstat -n).

1 - it does not appear in my network places
2 - when i try to access it via webdav http://laptop:8080/alfresco/webdav (using a network folder) it prompts the login but once i enter the admin/admin it says that "the folder name i've typed does not seem to be valid. choose another one" (i'm not sure if it is exact cause i have winxp in spanish).

The curious thing is that in IE i can access alfresco via DAV (but not seeing it as a folder).

Also i don't get any errors in alfresco.log

Any hints?

thanks a lot.

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Could you email your alfresco.log file to me, there may be something in the startup that's causing the problem.

If you do a Start->Run and enter '\\LAPTOP_A' what shares are listed for the Alfresco CIFS server ?.

Cheers

Gary

pmarreddy
Champ in-the-making
Champ in-the-making
hi,

i am getting teh same error in my log file too.

this is what i got in the log file. i am using admin , admin as username ans password.


16:34:54,234 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[WebDAV]] Servlet.service() for servlet WebDAV threw exception
org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport.registerSynchronizations(AlfrescoTransactionSupport.java:364)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport.getSynchronization(AlfrescoTransactionSupport.java:349)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport.bindNodeDaoService(AlfrescoTransactionSupport.java:203)
   at org.alfresco.repo.transaction.NodeDaoServiceTransactionInterceptor.invoke(NodeDaoServiceTransactionInterceptor.java:59)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy1.getNode(Unknown Source)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:116)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
   at $Proxy2.exists(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:212)
   at $Proxy3.exists(Unknown Source)
   at org.alfresco.repo.security.person.PersonServiceImpl.getPersonOrNull(PersonServiceImpl.java:149)
   at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:106)
   at org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:149)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)


thanks prasanth

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Can you make sure you are running the final relase version 1.2 code as there were some changes to affect this after the last release candidate.

Cheers

Gary