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

mikeh
Star Contributor
Star Contributor
Hi

This has been fixed after 2.9B - see http://issues.alfresco.com/browse/AR-1987

Incidentally, 2.9B isn't a "beta" release - it's the second Labs release.

Thanks,
Mike

tamilraj2003
Champ in-the-making
Champ in-the-making
hi,

  I am using the latest code from alfresco SVN head/root and built the war file. But still I get the same error. is there anything I have to verify in any config files?

regards
Selva

bjoern
Champ in-the-making
Champ in-the-making
Hi

I have considered  http://issues.alfresco.com/browse/AR-1987
but still I get the following error when I try to build alfresco from the head revision from the svn:

20:55:13,263 ERROR [org.alfresco.smb.protocol.auth] No valid CIFS authentication combination available
20:55:13,263 ERROR [org.alfresco.smb.protocol.auth] Either enable Kerberos support or use an authentication component that supports MD4 hashed passwords
20:55:13,264 ERROR [org.alfresco.smb.protocol] CIFS server configuration error, Invalid CIFS authenticator configuration
org.alfresco.error.AlfrescoRuntimeException: Invalid CIFS authenticator configuration
        at org.alfresco.filesys.auth.cifs.EnterpriseCifsAuthenticator.initialize(EnterpriseCifsAuthenticator.java:351)
        at org.alfresco.jlan.smb.server.CIFSConfigSection.setAuthenticator(CIFSConfigSection.java:556)
        at org.alfresco.filesys.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:851)
        at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:516)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

tamilraj2003
Champ in-the-making
Champ in-the-making
hi MikeH,

  changing the package in the file-server-custom.xml helped to resolve the issue   :lol:

but I still get this error, during startup

14:58:00,022 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path

I checked that Win32NetBIOS.dll is on the PATH.

Can you help me here please?

mikeh
Star Contributor
Star Contributor
CIFS/JLAN changed recently in the HEAD branch and we haven't shaken all the bugs out yet. I should remind you that there's no guarantee all functions will work correctly when compiling and running from HEAD.

Here's info about the NetBIOS error: http://forums.alfresco.com/viewtopic.php?t=10523

thanks,
Mike

bjoern
Champ in-the-making
Champ in-the-making
Hi,

thank you for the hint, I am using the 2.9B-release - what would be the corresponding revision number in the svn repository?

Cheers Bjoern

mikeh
Star Contributor
Star Contributor
SVN revision is 1374.

Thanks,
Mike

bjoern
Champ in-the-making
Champ in-the-making
Hi,

thank you!!! That works now for me:
alfresco 2.9.0B with revision 1374

Cheers Bjoern

lbono76
Champ in-the-making
Champ in-the-making
Hi,

I just downloaded revision 1374 from SVN open mirror and tried to compile and package the jar files, but I'm getting the following exception during deploy:

org.springframework.beans.NotWritablePropertyException: Invalid property 'tenantService' of bean class [org.alfresco.repo.security.authentication.AuthenticationComponentImpl]: Bean property 'tenantService' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

I noticed that org.alfresco.repo.security.authentication.AbstractAuthenticationComponent retrieved from the SVN repository didn't match the one distributed in the 2.9.0B SDK.
So I tried to diff all repository source files (projects/repository/source/java/**) with the ones distributed in the Alfresco 2.9.0B Labs SDK (repository-src/java) and I found A LOT of differences…

Are you guys sure that 1374 is the correct revision for version 2.9.0B Labs???

Thanks

Louis