[résolu] CIFS / WEBDAV + Linux -> Problèmes

cancel
Showing results for 
Search instead for 
Did you mean: 
azolia
Member II

[résolu] CIFS / WEBDAV + Linux -> Problèmes

Bonjour à tous,

Est-il possible (quelqu'un a-t-il réussit ?) à éditer + sauvegarder des fichiers contenu dans l'entrepôt monté en webdav ou CIFS sous linux ?
j'ai bien réussi à monter Alfresco en CIFS et en webdav mais, pas moyen de les sauvegarder.

J'ai une trace du type :

Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
   at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1095)
   at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:634)
   at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
   at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:632)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getCurrentTransaction(HibernateNodeDaoServiceImpl.java:334)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.recordNodeUpdate(HibernateNodeDaoServiceImpl.java:589)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.addNodeProperty(HibernateNodeDaoServiceImpl.java:860)
   at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:68)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor.invoke(DirtySessionMethodInterceptor.java:372)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy1.addNodeProperty(Unknown Source)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.setPropertyImpl(DbNodeServiceImpl.java:1105)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.setProperty(DbNodeServiceImpl.java:1069)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:169)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy3.setProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy4.setProperty(Unknown Source)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:236)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:108)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:108)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy3.setProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
Lorsque je sauvegarde en éditant un fichier sous CIFS depuis un poste linux.

Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
   at org.springframework.orm.hibernate3.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:1095)
   at org.springframework.orm.hibernate3.HibernateTemplate$12.doInHibernate(HibernateTemplate.java:634)
   at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
   at org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:632)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.getCurrentTransaction(HibernateNodeDaoServiceImpl.java:334)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.recordNodeUpdate(HibernateNodeDaoServiceImpl.java:589)
   at org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl.addNodeProperty(HibernateNodeDaoServiceImpl.java:860)
   at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:68)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.domain.hibernate.DirtySessionMethodInterceptor.invoke(DirtySessionMethodInterceptor.java:372)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy1.addNodeProperty(Unknown Source)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.setPropertyImpl(DbNodeServiceImpl.java:1105)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.setProperty(DbNodeServiceImpl.java:1069)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:169)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy3.setProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy4.setProperty(Unknown Source)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:236)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:108)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:108)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy3.setProperty(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)

Lorsque j'essaie de faire un "touch" pour créer un fichier dans un espace.

Avez-vous des idées sur ces messages d'erreurs ?

Merci,

Pierre VANNIER
http://www.azolia.fr
13 Replies
rguinot
Customer

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Pouvez vous ajouter / modifier du contenu depuis l'interface Web ?

Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.

Votre repository semble être en read-only . J'ai déjà vu ces erreurs lorsque vous utilisez une version entreprise trial (non community ) , et que vous avez dépassé les jours de démo, est-ce le cas ?

Par ailleurs, pouvez vous préciser quelle version vous utilisez, et votre enviromment de déploiement ? distrib/version , JBoss / Glassfish / Tomcat …, le repository est stocké sur le filesystem local ?
azolia
Member II

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Bonjour,

Merci pour votre réponse. Excusez-moi pour le manque d'information de mon post :

OS : Ubuntu 8.04
Bundle (Alfresco 3.0 Labs community + Tomcat)
jdk1.6.0_07

Repository accèdé depuis le réseau local depuis une machine sous Ubuntu 8.04 (on a eu un prix de gros sur les ubuntu cette année là ;-) ).
Ligne du fstab pour le montage CIFS :
//SLACKA/Alfresco  /home/pierre/alfresco     cifs  rw,user,uid=pierre,guid=users,username=admin       0       0

Ligne de montage du fstab pour le webdav :
http://slack:8080/alfresco/webdav  /home/pierre/alfresco_dav   davfs   rw,user,uid=pierre       0       1
(user->admin)

Faut-il modifier quelque chose comme dit dans la trace ? Ou modifier ? Fichier de fon à changer ?

@ bientôt,

Pierre VANNIER
michaelh
Active Member

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Bizarre …

Il manque plein de choses du log, tout ce qui arrive entre le démarrage et le "caused by". Ce serait bien de poster le alfresco.log complet.
C'est une 3.0a ou 3.0b ?
L'ajout de documents par l'interface web fonctionne ?
azolia
Member II

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Bonjour,

Voici le log correspondant à :
- un démarrage du serveur
- un montage (depuis un client) avec la commande :
sudo mount -t davfs -o uid=pierre,gid=users  http://slack:8080/alfresco/webdav/Clients/Clients/Clients alfresco_dav
- une edition de alfresco_dav/test (fichier existant), modification et sauvegarde –> erreur d'entrées sorties

CompilerOracle: exclude org/apache/lucene/index/IndexReader$1.doBody
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeIndexes
CompilerOracle: exclude org/alfresco/repo/search/impl/lucene/index/IndexInfo$Merger.mergeDeletions
28 sept. 2008 22:33:10 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
28 sept. 2008 22:33:10 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 751 ms
28 sept. 2008 22:33:10 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
28 sept. 2008 22:33:10 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
28 sept. 2008 22:33:10 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
28 sept. 2008 22:33:10 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfwf.war de l'application web
22:33:11,535  INFO  [web.context.ContextLoader] Root WebApplicationContext: initialization started
22:33:11,603  INFO  [context.support.XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@199939: display name [Root WebApplicationContext]; startup date [Sun Sep 28 22:33:11 CEST 2008]; root of context hierarchy
22:33:11,696  INFO  [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/webscript-framework-application-context.xml]
22:33:11,892  INFO  [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/web-framework-model-context.xml]
22:33:11,960  INFO  [factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [alfresco/web-framework-application-context.xml]
22:33:11,981  INFO  [factory.support.DefaultListableBeanFactory] Overriding bean definition for bean 'web.config': replacing [Root bean: class [org.alfresco.config.xml.XMLConfigService]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [alfresco/webscript-framework-application-context.xml]] with [Root bean: class [org.alfresco.config.xml.XMLConfigService]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in class path resource [alfresco/web-framework-application-context.xml]]
22:33:11,989  INFO  [context.support.XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@199939]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1fc1a6
22:33:12,920  INFO  [factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1fc1a6: defining beans [web.configsource,web.config,webscripts.abdera,webscripts.cmis.atom.extension,webscripts.formatregistry,webscripts.formatmap,webscripts.adaptorset,webscripts.adaptors,webscripts.formats,webscripts.formats.IE,webscripts.resources,webscripts.classpathstore,webscripts.remotestore,webscripts.store,webscripts.searchpath,webscripts.abstractcontainer,webscripts.web.templateprocessor,webscripts.web.scriptprocessor,webscripts.container,webscripts.index,webscripts.registry,facebook.service,connector.service,webscript,webscriptdesc,webscript.default,webscript.org.alfresco.index.get,webscript.org.alfresco.indexall.get,webscript.org.alfresco.indexfamily.get,webscript.org.alfresco.indexuri.get,webscript.org.alfresco.indexpackage.get,webscript.org.alfresco.index.post,webscript.org.alfresco.scriptdescription.get,webscript.org.alfresco.scriptdump.get,webscript.org.alfresco.scriptinstall.post,scriptDebugger,webscript.org.alfresco.jsdebugger.get,webscript.org.alfresco.jsdebugger.post,webframework.remotestore,webframework.localstore,webframework.classpathstore,webframework.remotestore.chrome,webframework.localstore.chrome,webframework.classpathstore.chrome,webframework.classpathstore.chrome.custom,webframework.searchpath.chrome,webframework.remotestore.component,webframework.localstore.component,webframework.classpathstore.component,webframework.classpathstore.component.custom,webframework.searchpath.component,webframework.remotestore.componenttype,webframework.localstore.componenttype,webframework.classpathstore.componenttype,webframework.classpathstore.componenttype.custom,webframework.searchpath.componenttype,webframework.remotestore.configuration,webframework.localstore.configuration,webframework.classpathstore.configuration,webframework.classpathstore.configuration.custom,webframework.searchpath.configuration,webframework.remotestore.contentassociation,webframework.localstore.contentassociation,webframework.classpathstore.contentassociation,webframework.classpathstore.contentassociation.custom,webframework.searchpath.contentassociation,webframework.remotestore.page,webframework.localstore.page,webframework.classpathstore.page,webframework.classpathstore.page.custom,webframework.searchpath.page,webframework.remotestore.pageassociation,webframework.localstore.pageassociation,webframework.classpathstore.pageassociation,webframework.classpathstore.pageassociation.custom,webframework.searchpath.pageassociation,webframework.remotestore.pagetype,webframework.localstore.pagetype,webframework.classpathstore.pagetype,webframework.classpathstore.pagetype.custom,webframework.searchpath.pagetype,webframework.remotestore.templateinstance,webframework.localstore.templateinstance,webframework.classpathstore.templateinstance,webframework.classpathstore.templateinstance.custom,webframework.searchpath.templateinstance,webframework.remotestore.templatetype,webframework.localstore.templatetype,webframework.classpathstore.templatetype,webframework.classpathstore.templatetype.custom,webframework.searchpath.templatetype,webframework.remotestore.theme,webframework.localstore.theme,webframework.classpathstore.theme,webframework.classpathstore.theme.custom,webframework.searchpath.theme,webframework.configsource,webframework.store.webscripts,webframework.store.webscripts.custom,webframework.searchpath,webframework.webscripts.templateprocessor,webframework.webscripts.scriptprocessor,webframework.webscripts.index,webframework.webscripts.container,webframework.webscripts.registry,webframework.store.templates,webframework.store.system-templates,webframework.templates.searchpath,webframework.templateprocessor,webframework.scriptprocessor,webscript.org.alfresco.web.messages.get,webscript.site,webscript.wizard,webframework.manager,webframework.remotestore.presets,webframework.classpathstore.presets,webframework.presets.searchpath,webframework.presets.manager]; root of factory hierarchy
22:33:13,501  INFO  [web.context.ContextLoader] Root WebApplicationContext: initialization completed in 1964 ms
22:33:13,513  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
28 sept. 2008 22:33:13 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
22:33:15,833  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
28 sept. 2008 22:33:15 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive cas-server-webapp-3.3.war de l'application web
2008-09-28 22:33:17,464 WARN [org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler] - <org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler is only to be used in a testing environment.  NEVER enable this in a production environment.>
2008-09-28 22:33:18,166 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass not set.  Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
28 sept. 2008 22:33:18 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfresco.war de l'application web
2008-09-28 22:33:37,329 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry at [Sun Sep 28 22:33:37 CEST 2008]>
2008-09-28 22:33:37,330 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed.  Removing now.>
2008-09-28 22:33:37,330 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Sun Sep 28 22:33:37 CEST 2008]>
22:33:37,573  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
22:33:48,174  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
22:33:48,937  INFO  [domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
22:33:51,803 User:System INFO  [repo.admin.ConfigurationChecker] Le répertoire racine de données d'Alfresco ('dir.root') est : /opt/alfresco/alf_data
22:33:51,863 User:System INFO  [admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
22:33:52,142 User:System INFO  [admin.patch.PatchExecuter] Aucun correctif requis.
22:33:52,146 User:System INFO  [repo.module.ModuleServiceImpl] 0 module(s) trouvé(s).
22:33:52,908 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
22:33:52,909 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (b 1164) schema 131 - Installed version 3.0.0 (b 1164) schema 131
22:33:53,143 User:System WARN  [alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
28 sept. 2008 22:34:02 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
28 sept. 2008 22:34:02 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28 sept. 2008 22:34:02 org.apache.catalina.startup.Catalina start
INFO: Server startup in 51850 ms
22:38:34,938 User:pierre ERROR [alfresco.webdav.protocol] Internal Server Error:
java.lang.RuntimeException: Method not handled by interceptor: getType
   at org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:260)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy48.getType(Unknown Source)
   at org.alfresco.repo.model.filefolder.FileFolderServiceImpl.makeFolders(FileFolderServiceImpl.java:972)
   at org.alfresco.repo.webdav.LockMethod.executeImpl(LockMethod.java:203)
   at org.alfresco.repo.webdav.WebDAVMethod$1.execute(WebDAVMethod.java:144)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:294)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)
   at org.alfresco.repo.webdav.WebDAVMethod.execute(WebDAVMethod.java:152)
   at org.alfresco.repo.webdav.WebDAVServlet.service(WebDAVServlet.java:136)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.alfresco.repo.webdav.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:310)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
   at java.lang.Thread.run(Thread.java:619)

Je précise que j'arrive à créer des éléments depuis l'interface web.
P.S.: c'est une 3b

Merci pour votre aide.

Pierre VANNIER
rguinot
Customer

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

J'ai déjà joué avec davfs et n'avait pas rencontré ce genre d'erreurs …Je travaille également sous linux (poste client, et serveur)

Lorsque je serais arrivé au bureau, je vous posterais la commande que j'avais utilisé pour monter le repository en cifs ou en davfs, je ne les ai pas sous la main présentement.

A tout à l'heure …
rguinot
Customer

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

exemple CIFS :
sudo mount -t cifs \\\\192.168.0.4\\alfresco /mnt/alfresco/ -o port=445,uid=romain,gid=romain,username=admin

exemple wdfs :

sudo wdfs -a https://ssl-hostname/alfresco/webdav /mnt/osc-service/alfdav -u rguinot -o allow_other -o uid=500 -o gid=500 -o accept_sslcert -o locking=0 -o modules=iconv -o from_code=UTF-8 -o to_code=UTF-8
azolia
Member II

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Bonjour,

Merci pour votre aide.
Je viens de comprendre ce qu'il ce passe. Concernant CIFS, un problème de droit s'était glissé.

Concernant WEBDAV. En fait il faut ajouter l'option -o nolocks pour la ligne de montage car webdav par défaut met un lock sur les fichiers. En ajoutant l'option -o nolocks à la commande :
sudo mount -t davfs  -o nolocks -o uid=pierre -o gid=pierre -o rw  http://slack:8080/alfresco/webdav/Clients/Clients/Clients alfresco_dav

Ca marche maintenant.

Je vous remercie pour votre aide.

Pierre VANNIER
azolia
Member II

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Don, si je résume correctement :
Si on est en "Tout Linux" :
- Soit on utilise WEBDAV sans locks et donc on ne peux pas réellement empêcher les collisions / accès concurrents
- Soit on travaille avec CIFS et on a accès aux "__.*\.exe" exécutables permettant de faire des checkin/checkout. Seulement, les "exe"…. Linux il comprend pas trop.

Comment faire pour travailler avec les données de l'entrepôt sans passer par l'interface web en étant sous linux et en empêchant les problèmes liés aux accès concurrents ?

Salutations,


Pierre VANNIER
michaelh
Active Member

Re: [résolu] CIFS / WEBDAV + Linux -> Problèmes

Bonjour,

L'accès de choix (avec Linux) reste souvent CIFS. Vous pouvez en effet désactiver les "exe" qui n'ont pas de sens dans ce contexte (pas de vrai salut en ce qui concerne les accès concurrents donc).

Attention juste à certains outils (je pense à gnomeFS) qui ont tendance à "casser" le versionning en créant de nouveaux fichiers en permanence au lieu de modifier les fichiers existants. vi fait la même chose par défaut d'ailleurs.