cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Windows CIFS Server starup error

tamilraj2003
Champ in-the-making
Champ in-the-making
I have installed alfresco 2.9 beta and I try to access the repository through windows drive mapping as per the instructions in this URL  http://dev.alfresco.com/resource/README_tomcat_win.txt. But I couldn't. Then I noticed the following stack trace in the tomcat console.

Can anyone help me to resolve this?

16:50:31,257 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
org.alfresco.error.AlfrescoRuntimeException: Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
        at org.alfresco.filesys.ServerConfigurationBean.processDesktopActions(ServerConfigurationBean.java:2549)
        at org.alfresco.filesys.ServerConfigurationBean.processFilesystemsConfig(ServerConfigurationBean.java:2157)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:491)
        at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(ServerConfigurationBean.java:2801)
        at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
        at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
        at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:448)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
        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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
16:50:31,273 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error
12 REPLIES 12

lbono76
Champ in-the-making
Champ in-the-making
I just want to add some more information to the previous post…

I just realized that I dowloaded a SDK zip (alfresco-community-sdk-2.9.0B.zip) on february 12th 2008 which is not the one currently available.

Taking a quick look at the contents of both archives (specifically the last modified date of each included file) I get the following:

- zip downloaded on february 12th 2008: most files are last modified on january 7th 2008 at 23:05
- zip currently available: most files are last modified on december 11th 2007 at 3:19 (even though the download area on Sourceforge indicates december 9th)

I am assuming that the revision numbers should be 1410 for the zip I downloaded in february and 1374 for the currently available one.

This would mean that there was some sort of replacement in the last few weeks, removing a published SDK with an older one…

Am I wrong???
I don't expect to get a completely detailed answer, but at least I need to know if the archive has actually been replaced and in case if the revision number 1410 refers to the archive I previously downloaded.

Thanks in advance.

Louis

aldebaranl2
Champ in-the-making
Champ in-the-making
Hi all,

I have the same error ([alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
).

I read the whole post and changed my file-servers.xml to match the right packages (in fact the section was commented, I removed the <!– –> ). I did the same with file-servers-custom.xml.
No changes at all, always got the same error. Sounds like the file-server.xml file isn't effective in the configuration, but I got the following log when the server starts :
INFO: Déploiement de l'archive alfresco.war de l'application web
12:01:30,906  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:01:31,899  INFO  [alfresco.mbeans.VirtServerRegistry] Creating VirtServerRegistry MBean
12:01:31,912  WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
12:01:31,982  INFO  [alfresco.mbeans.VirtServerRegistry] Created JMX serverConnector
12:01:34,186  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
12:01:34,256  INFO  [domain.schema.SchemaBootstrap] Exécution du script de base de données /Applications/Servers/Alfresco/temp/Alfresco/AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-20817.sql (généré)
12:01:41,000  INFO  [domain.schema.SchemaBootstrap] Exécution du script de base de données /Applications/Servers/Alfresco/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-20818.sql (copié depuis classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql)
12:01:41,004  INFO  [domain.schema.SchemaBootstrap] Exécution du script de base de données /Applications/Servers/Alfresco/temp/Alfresco/AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-20819.sql (copié depuis classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-2.2-Extra.sql)
12:01:41,164  INFO  [domain.schema.SchemaBootstrap] Tous les instructions exécutées sont journalisées dans le fichier /Applications/Servers/Alfresco/temp/Alfresco/AlfrescoSchemaUpdate-All_Statements-20820.sql.
12:03:32,802 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /Applications/Servers/Alfresco/alf_data
12:03:32,820 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
12:03:33,550 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter]    Applying patch 'patch.wcmFolders' (Ensures the existance of the WCM specific 'Web Projects' and 'Web Forms' folders.).
12:03:33,707 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter]
=== Correctif Appliqué                  ===
ID : patch.wcmFolders
RESULTAT :
The Web Projects folder was successfully created: workspace://SpacesStore/a54c2c07-049a-11dd-9f78-d51089cd8659
The Web Forms folder was successfully created: workspace://SpacesStore/a54c2c07-049a-11dd-9f78-d51089cd8659
=====================================
12:03:33,710 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] 0 module(s) trouvé(s).
12:03:33,778 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
org.alfresco.error.AlfrescoRuntimeException: Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
   at org.alfresco.filesys.ServerConfigurationBean.processDesktopActions(ServerConfigurationBean.java:2549)
   at org.alfresco.filesys.ServerConfigurationBean.processFilesystemsConfig(ServerConfigurationBean.java:2157)
   at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:491)
   at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(ServerConfigurationBean.java:2801)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
12:03:33,788 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error
12:03:33,853 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
12:03:33,858 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_13-b05-237; maximum heap size 508,063MB
12:03:33,858 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.9.0 (C_dev @build-number@) schema 124 - Installed version 2.9.0 (C_dev @build-number@) schema 124
That's strange.

I'm using the rev 1703 on SVN.

Thanks for help Smiley Happy

invantix
Champ in-the-making
Champ in-the-making
Hi all,

I have the same error ([alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction).

Make sure you have replace="true"

<config evaluator="string-compare" condition="Filesystems" replace="true">

OR

comment out the entry in
     webapps/alfresco/web-inf/classes/alfresco/file-servers.xml
and add/replace desktop actions section in 
     tomcat/shared/classes/alfresco/extension/file-servers-custom.xml 
with the following


<!– Desktop actions –>
<desktopActions>
   <global>
      <path>alfresco/desktop/Alfresco.exe</path>
      <webpath>http://${localname}:8080/alfresco/</webpath>
   </global>
   <action>
      <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
      <name>CheckInOut</name>
      <filename>__CheckInOut.exe</filename>
   </action>
   <action>
      <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
      <name>JavaScriptURL</name>
      <filename>__ShowDetails.exe</filename>
      <script>alfresco/desktop/showDetails.js</script>
      <attributes>anyFiles</attributes>
      <preprocess>copyToTarget</preprocess>
   </action>
</desktopActions>