AnsweredAssumed Answered

CIFS on 2003 Server: I'm losing my mind

Question asked by clever_neologism on Nov 24, 2009
OK, so this is just insane.  I've been trying to get 3.2r w/CIFS working on windows server 2003 using the JNI DLL for days, and it just won't work.  Previously, I had tried with both XP and server 2008, and could not get those to work either.  This is with a stock install of 2003, nothing else running.  There are no firewalls, no antivirus, no other servers running.  It's on the same subnet, no WINS server or anything complicated.  I'm starting the alfresco server as the local admin account.

I've tried editing the two registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\SMBDeviceEnabled=dword:00000000
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\TransportBindName=sz:'' (blank)

And every possible combination of turning them on/off.

Nothing worked.  The closest I got was I was able to access both the windows native share and alfresco share correctly, but only from the server itself.  No other machine on the network could access it properly (they all said that it wasn't responding to those ports), even after adding the server's name to the hosts file on those machines.  I tested on XP, Vista, and Server 2008.  None would connect, although they could all ping it.  Running nbtstat on the server showed the share as active. 

So I tried starting from scratch, resetting all those values, and now I get this, no matter what I set them to.  This is the exact problem I ended up with on XP, and abandoned it for a supported platform:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x32ab12e3, pid=3992, tid=4048
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Server VM (14.2-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [Win32NetBIOS.dll+0x12e3]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

—————  T H R E A D  —————

Current thread (0x002a7800):  JavaThread "main" [_thread_in_native, id=4048, stack(0x003c0000,0x003e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x003e2000

Registers:
EAX=0x33310020, EBX=0x2dcd9080, ECX=0x00003257, EDX=0x00000000
ESP=0x003ded58, EBP=0x003deee0, ESI=0x002a7910, EDI=0x002a7e70
EIP=0x32ab12e3, EFLAGS=0x00010287

Top of Stack: (sp=0x003ded58)
0x003ded58:   002a7800 07aca2a0 07aca2a0 002a7e70
0x003ded68:   00003f37 003deda8 00000100 00000000
0x003ded78:   00000000 00000000 00000000 00000000
0x003ded88:   00000000 00000000 00000000 00000000
0x003ded98:   00003f00 00000000 00000000 00000000
0x003deda8:   00000000 00000050 0000003d 00000000
0x003dedb8:   00000000 00000000 00000000 00000000
0x003dedc8:   002a7b88 0000003d 00000100 6dc34100

Instructions: (pc=0x32ab12e3)
0x32ab12d3:   ec 02 00 00 6a 00 53 56 ff d0 33 c9 85 ff 7e 0f
0x32ab12e3:   0f b6 54 0c 51 89 14 88 83 c1 01 3b cf 7c f1 8b


Stack: [0x003c0000,0x003e0000],  sp=0x003ded58,  free space=123k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [Win32NetBIOS.dll+0x12e3]
j  org.alfresco.jlan.netbios.win32.Win32NetBIOS.LanaEnumerate()[I+70
j  org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig()V+2152
j  org.alfresco.filesys.AbstractServerConfigurationBean.init()V+259
j  org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(Lorg/springframework/context/ApplicationEvent;)V+33
j  org.springframework.context.event.SimpleApplicationEventMulticaster$1.run()V+8
j  org.springframework.core.task.SyncTaskExecutor.execute(Ljava/lang/Runnable;)V+7
j  org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(Lorg/springframework/context/ApplicationEvent;)V+43
j  org.springframework.context.support.AbstractApplicationContext.publishEvent(Lorg/springframework/context/ApplicationEvent;)V+63
j  org.springframework.context.support.AbstractApplicationContext.finishRefresh()V+9
j  org.springframework.context.support.AbstractApplicationContext.refresh()V+59
j  org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start()V+88
j  org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(Z)V+29
j  org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(Lorg/springframework/context/ApplicationEvent;)V+27
j  org.springframework.context.event.SimpleApplicationEventMulticaster$1.run()V+8
j  org.springframework.core.task.SyncTaskExecutor.execute(Ljava/lang/Runnable;)V+7
j  org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(Lorg/springframework/context/ApplicationEvent;)V+43
j  org.springframework.context.support.AbstractApplicationContext.publishEvent(Lorg/springframework/context/ApplicationEvent;)V+63
j  org.springframework.context.support.AbstractApplicationContext.finishRefresh()V+9
j  org.springframework.context.support.AbstractApplicationContext.refresh()V+59
j  org.springframework.web.context.ContextLoader.createWebApplicationContext(Ljavax/servlet/ServletContext;Lorg/springframework/context/ApplicationContext;)Lorg/springframework/web/context/WebApplicationContext;+157
j  org.springframework.web.context.ContextLoader.initWebApplicationContext(Ljavax/servlet/ServletContext;)Lorg/springframework/web/context/WebApplicationContext;+69
j  org.springframework.web.context.ContextLoaderListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+16
j  org.alfresco.web.app.ContextLoaderListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+9
j  org.apache.catalina.core.StandardContext.listenerStart()Z+462
j  org.apache.catalina.core.StandardContext.start()V+1273
j  org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+156
j  org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
j  org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25
j  org.apache.catalina.startup.HostConfig.deployDescriptor(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+403
j  org.apache.catalina.startup.HostConfig.deployDescriptors(Ljava/io/File;[Ljava/lang/String;)V+152
j  org.apache.catalina.startup.HostConfig.deployApps()V+16
j  org.apache.catalina.startup.HostConfig.start()V+147
j  org.apache.catalina.startup.HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+132
j  org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+37
j  org.apache.catalina.core.ContainerBase.start()V+306
j  org.apache.catalina.core.StandardHost.start()V+314
j  org.apache.catalina.core.ContainerBase.start()V+266
j  org.apache.catalina.core.StandardEngine.start()V+221
j  org.apache.catalina.core.StandardService.start()V+132
j  org.apache.catalina.core.StandardServer.start()V+88
j  org.apache.catalina.startup.Catalina.start()V+32
v  ~StubRoutines::call_stub
V  [jvm.dll+0x18526c]
V  [jvm.dll+0x268571]
V  [jvm.dll+0x1852ed]
V  [jvm.dll+0x294e3b]
V  [jvm.dll+0x295646]
V  [jvm.dll+0x1afe53]
C  [java.dll+0x714f]
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.apache.catalina.startup.Bootstrap.start()V+37
j  org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+125
v  ~StubRoutines::call_stub
V  [jvm.dll+0x18526c]
V  [jvm.dll+0x268571]
V  [jvm.dll+0x1852ed]
V  [jvm.dll+0x18dec5]
V  [jvm.dll+0x195b1d]
C  [java.exe+0x2155]
C  [java.exe+0x82ce]
C  [kernel32.dll+0x2482f]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.alfresco.jlan.netbios.win32.Win32NetBIOS.LanaEnum()[I+0
j  org.alfresco.jlan.netbios.win32.Win32NetBIOS.LanaEnumerate()[I+70
j  org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig()V+2152
j  org.alfresco.filesys.AbstractServerConfigurationBean.init()V+259
j  org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(Lorg/springframework/context/ApplicationEvent;)V+33
j  org.springframework.context.event.SimpleApplicationEventMulticaster$1.run()V+8
j  org.springframework.core.task.SyncTaskExecutor.execute(Ljava/lang/Runnable;)V+7
j  org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(Lorg/springframework/context/ApplicationEvent;)V+43
j  org.springframework.context.support.AbstractApplicationContext.publishEvent(Lorg/springframework/context/ApplicationEvent;)V+63
j  org.springframework.context.support.AbstractApplicationContext.finishRefresh()V+9
j  org.springframework.context.support.AbstractApplicationContext.refresh()V+59
j  org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start()V+88
j  org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(Z)V+29
j  org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(Lorg/springframework/context/ApplicationEvent;)V+27
j  org.springframework.context.event.SimpleApplicationEventMulticaster$1.run()V+8
j  org.springframework.core.task.SyncTaskExecutor.execute(Ljava/lang/Runnable;)V+7
j  org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(Lorg/springframework/context/ApplicationEvent;)V+43
j  org.springframework.context.support.AbstractApplicationContext.publishEvent(Lorg/springframework/context/ApplicationEvent;)V+63
j  org.springframework.context.support.AbstractApplicationContext.finishRefresh()V+9
j  org.springframework.context.support.AbstractApplicationContext.refresh()V+59
j  org.springframework.web.context.ContextLoader.createWebApplicationContext(Ljavax/servlet/ServletContext;Lorg/springframework/context/ApplicationContext;)Lorg/springframework/web/context/WebApplicationContext;+157
j  org.springframework.web.context.ContextLoader.initWebApplicationContext(Ljavax/servlet/ServletContext;)Lorg/springframework/web/context/WebApplicationContext;+69
j  org.springframework.web.context.ContextLoaderListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+16
j  org.alfresco.web.app.ContextLoaderListener.contextInitialized(Ljavax/servlet/ServletContextEvent;)V+9
j  org.apache.catalina.core.StandardContext.listenerStart()Z+462
j  org.apache.catalina.core.StandardContext.start()V+1273
j  org.apache.catalina.core.ContainerBase.addChildInternal(Lorg/apache/catalina/Container;)V+156
j  org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
j  org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+25
j  org.apache.catalina.startup.HostConfig.deployDescriptor(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+403
j  org.apache.catalina.startup.HostConfig.deployDescriptors(Ljava/io/File;[Ljava/lang/String;)V+152
j  org.apache.catalina.startup.HostConfig.deployApps()V+16
j  org.apache.catalina.startup.HostConfig.start()V+147
j  org.apache.catalina.startup.HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+132
j  org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+37
j  org.apache.catalina.core.ContainerBase.start()V+306
j  org.apache.catalina.core.StandardHost.start()V+314
j  org.apache.catalina.core.ContainerBase.start()V+266
j  org.apache.catalina.core.StandardEngine.start()V+221
j  org.apache.catalina.core.StandardService.start()V+132
j  org.apache.catalina.core.StandardServer.start()V+88
j  org.apache.catalina.startup.Catalina.start()V+32
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.apache.catalina.startup.Bootstrap.start()V+37
j  org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+125
v  ~StubRoutines::call_stub

—————  P R O C E S S  —————

Java Threads: ( => current thread )
  0x30ba9400 JavaThread "Thread-47" daemon [_thread_blocked, id=3632, stack(0x322a0000,0x322c0000)]
  0x30b03c00 JavaThread "NodeMonitor_Alfresco" daemon [_thread_blocked, id=1676, stack(0x32a90000,0x32ab0000)]
  0x2efbd800 JavaThread "AlfJLANWorker25" daemon [_thread_blocked, id=3772, stack(0x32a70000,0x32a90000)]
  0x2f763400 JavaThread "AlfJLANWorker24" daemon [_thread_blocked, id=1844, stack(0x32a50000,0x32a70000)]
  0x2fcb3c00 JavaThread "AlfJLANWorker23" daemon [_thread_blocked, id=3652, stack(0x32a30000,0x32a50000)]
  0x2fa8b800 JavaThread "AlfJLANWorker22" daemon [_thread_blocked, id=3348, stack(0x32a10000,0x32a30000)]
  0x2fffb800 JavaThread "AlfJLANWorker21" daemon [_thread_blocked, id=4020, stack(0x329f0000,0x32a10000)]
  0x3000b800 JavaThread "AlfJLANWorker20" daemon [_thread_blocked, id=3140, stack(0x329d0000,0x329f0000)]
  0x2ec99400 JavaThread "AlfJLANWorker19" daemon [_thread_blocked, id=396, stack(0x329b0000,0x329d0000)]
  0x2f670400 JavaThread "AlfJLANWorker18" daemon [_thread_blocked, id=300, stack(0x32990000,0x329b0000)]
  0x2fc46400 JavaThread "AlfJLANWorker17" daemon [_thread_blocked, id=1336, stack(0x32970000,0x32990000)]
  0x2f477800 JavaThread "AlfJLANWorker16" daemon [_thread_blocked, id=792, stack(0x32950000,0x32970000)]
  0x2e94a800 JavaThread "AlfJLANWorker15" daemon [_thread_blocked, id=832, stack(0x32930000,0x32950000)]
  0x3031b400 JavaThread "AlfJLANWorker14" daemon [_thread_blocked, id=624, stack(0x32910000,0x32930000)]
  0x309a3800 JavaThread "AlfJLANWorker13" daemon [_thread_blocked, id=656, stack(0x328f0000,0x32910000)]
  0x30950400 JavaThread "AlfJLANWorker12" daemon [_thread_blocked, id=3236, stack(0x328d0000,0x328f0000)]
  0x3011b400 JavaThread "AlfJLANWorker11" daemon [_thread_blocked, id=1996, stack(0x328b0000,0x328d0000)]
  0x2f83a400 JavaThread "AlfJLANWorker10" daemon [_thread_blocked, id=1096, stack(0x32890000,0x328b0000)]
  0x2f0d8400 JavaThread "AlfJLANWorker9" daemon [_thread_blocked, id=612, stack(0x32870000,0x32890000)]
  0x2e425c00 JavaThread "AlfJLANWorker8" daemon [_thread_blocked, id=1728, stack(0x32850000,0x32870000)]
  0x2f569400 JavaThread "AlfJLANWorker7" daemon [_thread_blocked, id=2940, stack(0x32830000,0x32850000)]
  0x2ebe5400 JavaThread "AlfJLANWorker6" daemon [_thread_blocked, id=3024, stack(0x32810000,0x32830000)]
  0x30003800 JavaThread "AlfJLANWorker5" daemon [_thread_blocked, id=2112, stack(0x327f0000,0x32810000)]
  0x2f658400 JavaThread "AlfJLANWorker4" daemon [_thread_blocked, id=3032, stack(0x327d0000,0x327f0000)]
  0x2e453400 JavaThread "AlfJLANWorker3" daemon [_thread_blocked, id=3036, stack(0x327b0000,0x327d0000)]
  0x2f47f400 JavaThread "AlfJLANWorker2" daemon [_thread_blocked, id=3064, stack(0x32790000,0x327b0000)]
  0x2f650400 JavaThread "AlfJLANWorker1" daemon [_thread_blocked, id=3040, stack(0x32770000,0x32790000)]
  0x2fa73800 JavaThread "MessageDispatcher" [_thread_in_native, id=2144, stack(0x32610000,0x32630000)]
  0x2e79a800 JavaThread "indexThread10" daemon [_thread_blocked, id=2756, stack(0x325f0000,0x32610000)]
  0x2f092800 JavaThread "indexThread9" daemon [_thread_blocked, id=2660, stack(0x325c0000,0x325e0000)]
  0x2f3b0800 JavaThread "indexThread8" daemon [_thread_blocked, id=2680, stack(0x32570000,0x32590000)]
  0x30369400 JavaThread "indexThread7" daemon [_thread_blocked, id=2828, stack(0x32550000,0x32570000)]
  0x2e2c7800 JavaThread "indexThread6" daemon [_thread_blocked, id=2484, stack(0x32530000,0x32550000)]
  0x30779400 JavaThread "indexThread5" daemon [_thread_blocked, id=2488, stack(0x32280000,0x322a0000)]
  0x2fe6e400 JavaThread "indexThread4" daemon [_thread_blocked, id=2480, stack(0x32230000,0x32250000)]
  0x30027800 JavaThread "indexThread3" daemon [_thread_blocked, id=2668, stack(0x32260000,0x32280000)]
  0x2f658800 JavaThread "indexThread2" daemon [_thread_blocked, id=708, stack(0x32210000,0x32230000)]
  0x2f0c0400 JavaThread "indexThread1" daemon [_thread_blocked, id=2600, stack(0x321f0000,0x32210000)]
  0x2e87c400 JavaThread "Timer-0" daemon [_thread_blocked, id=2644, stack(0x321d0000,0x321f0000)]
  0x2f069400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2320, stack(0x32510000,0x32530000)]
  0x2f571800 JavaThread "RMI RenewClean-[192.168.1.7:50506]" daemon [_thread_blocked, id=2304, stack(0x324f0000,0x32510000)]
  0x2ecd2800 JavaThread "RMI TCP Accept-50506" daemon [_thread_in_native, id=2356, stack(0x324d0000,0x324f0000)]
  0x2ec3c400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2288, stack(0x324b0000,0x324d0000)]
  0x2e5b9800 JavaThread "RMI RenewClean-[192.168.1.7:50505]" daemon [_thread_blocked, id=2260, stack(0x32490000,0x324b0000)]
  0x2ffbb400 JavaThread "RMI TCP Accept-50505" daemon [_thread_in_native, id=2256, stack(0x32470000,0x32490000)]
  0x2f34f400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2380, stack(0x32450000,0x32470000)]
  0x2e5c1400 JavaThread "RMI RenewClean-[192.168.1.7:50504]" daemon [_thread_blocked, id=2396, stack(0x32430000,0x32450000)]
  0x301b4400 JavaThread "RMI TCP Accept-50504" daemon [_thread_in_native, id=2388, stack(0x32410000,0x32430000)]
  0x2ec34c00 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2616, stack(0x323f0000,0x32410000)]
  0x306a2c00 JavaThread "RMI RenewClean-[192.168.1.7:50503]" daemon [_thread_blocked, id=644, stack(0x323d0000,0x323f0000)]
  0x2ecda400 JavaThread "RMI TCP Accept-50503" daemon [_thread_in_native, id=796, stack(0x323b0000,0x323d0000)]
  0x3027a000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2136, stack(0x32390000,0x323b0000)]
  0x2f579400 JavaThread "RMI RenewClean-[192.168.1.7:50502]" daemon [_thread_blocked, id=2980, stack(0x32370000,0x32390000)]
  0x2f717400 JavaThread "RMI TCP Accept-50502" daemon [_thread_in_native, id=3012, stack(0x32350000,0x32370000)]
  0x2f1c6400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=3016, stack(0x32330000,0x32350000)]
  0x2e157c00 JavaThread "RMI RenewClean-[192.168.1.7:50501]" daemon [_thread_blocked, id=3020, stack(0x32310000,0x32330000)]
  0x2f72e400 JavaThread "RMI TCP Accept-50501" daemon [_thread_in_native, id=2024, stack(0x322f0000,0x32310000)]
  0x303cec00 JavaThread "Thread-10" [_thread_blocked, id=3004, stack(0x322d0000,0x322f0000)]
  0x2ecf8c00 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2992, stack(0x321b0000,0x321d0000)]
  0x2e45b400 JavaThread "FileStateReaper" daemon [_thread_blocked, id=3008, stack(0x32190000,0x321b0000)]
  0x2ed08400 JavaThread "DefaultScheduler_QuartzSchedulerThread" [_thread_blocked, id=2988, stack(0x32170000,0x32190000)]
  0x2f8a3800 JavaThread "DefaultScheduler_Worker-10" [_thread_blocked, id=2996, stack(0x32150000,0x32170000)]
  0x2edae400 JavaThread "DefaultScheduler_Worker-9" [_thread_blocked, id=2984, stack(0x32130000,0x32150000)]
  0x2f375800 JavaThread "DefaultScheduler_Worker-8" [_thread_blocked, id=3000, stack(0x32110000,0x32130000)]
  0x2fac5c00 JavaThread "DefaultScheduler_Worker-7" [_thread_blocked, id=3952, stack(0x320f0000,0x32110000)]
  0x2f00f400 JavaThread "DefaultScheduler_Worker-6" [_thread_blocked, id=1976, stack(0x320d0000,0x320f0000)]
  0x2ed0f800 JavaThread "DefaultScheduler_Worker-5" [_thread_blocked, id=3344, stack(0x320b0000,0x320d0000)]
  0x2e00bc00 JavaThread "DefaultScheduler_Worker-4" [_thread_blocked, id=2684, stack(0x32090000,0x320b0000)]
  0x2ee44400 JavaThread "DefaultScheduler_Worker-3" [_thread_blocked, id=3508, stack(0x32070000,0x32090000)]
  0x30305c00 JavaThread "DefaultScheduler_Worker-2" [_thread_blocked, id=3080, stack(0x32050000,0x32070000)]
  0x2fcb3000 JavaThread "DefaultScheduler_Worker-1" [_thread_blocked, id=3112, stack(0x32030000,0x32050000)]
  0x2fa4b800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2244, stack(0x32010000,0x32030000)]
  0x2e515400 JavaThread "RMI RenewClean-[192.168.1.7:1146]" daemon [_thread_blocked, id=260, stack(0x31ff0000,0x32010000)]
  0x2e4ed400 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=2020, stack(0x31fd0000,0x31ff0000)]
  0x2e51d400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=4044, stack(0x31fb0000,0x31fd0000)]
  0x2ee58400 JavaThread "GC Daemon" daemon [_thread_blocked, id=3324, stack(0x31f90000,0x31fb0000)]
  0x2e4e5c00 JavaThread "RMI Reaper" [_thread_blocked, id=1520, stack(0x2ef60000,0x2ef80000)]
  0x2fb40400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=2872, stack(0x2ef40000,0x2ef60000)]
  0x2f74d400 JavaThread "RMI TCP Accept-50500" daemon [_thread_in_native, id=1080, stack(0x2ef20000,0x2ef40000)]
  0x2ed00c00 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=1464, stack(0x2ef00000,0x2ef20000)]
  0x2f477400 JavaThread "Store org.alfresco.cache.ticketsCache Spool Thread" daemon [_thread_blocked, id=1440, stack(0x2eee0000,0x2ef00000)]
  0x2e055400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1092, stack(0x2e250000,0x2e270000)]
  0x2dd5dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3660, stack(0x2df50000,0x2df70000)]
  0x2dd5a800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3760, stack(0x2df00000,0x2df50000)]
  0x2dd55c00 JavaThread "CompilerThread0" daemon [_thread_in_native, id=3756, stack(0x2deb0000,0x2df00000)]
  0x2dd54400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3664, stack(0x2de90000,0x2deb0000)]
  0x2dd53400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3732, stack(0x2de70000,0x2de90000)]
  0x2dcd7000 JavaThread "Finalizer" daemon [_thread_blocked, id=4028, stack(0x2de50000,0x2de70000)]
  0x2dd4b400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3784, stack(0x2de30000,0x2de50000)]
=>0x002a7800 JavaThread "main" [_thread_in_native, id=4048, stack(0x003c0000,0x003e0000)]

Other Threads:
  0x2dcd1400 VMThread [stack: 0x2dde0000,0x2de30000] [id=1856]
  0x2dff0000 WatcherThread [stack: 0x2e270000,0x2e2c0000] [id=1332]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen      total 51008K, used 14968K [0x2a0c0000, 0x2d8f0000, 0x2d9a0000)
  eden space 44224K, 25% used [0x2a0c0000,0x2abdb958,0x2cbf0000)
  from space 6784K, 52% used [0x2cbf0000,0x2cf72aa0,0x2d290000)
  to   space 6528K, 0% used [0x2d290000,0x2d290000,0x2d8f0000)
PSOldGen        total 116544K, used 75445K [0x0d9a0000, 0x14b70000, 0x2a0c0000)
  object space 116544K, 64% used [0x0d9a0000,0x1234d578,0x14b70000)
PSPermGen       total 79360K, used 66760K [0x039a0000, 0x08720000, 0x0d9a0000)
  object space 79360K, 84% used [0x039a0000,0x07ad2340,0x08720000)

Dynamic libraries:
0x00400000 - 0x00424000    C:\Program Files\Java\jdk1.6.0_16\bin\java.exe
0x7c800000 - 0x7c8c2000    C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000    C:\WINDOWS\system32\kernel32.dll
0x7d1e0000 - 0x7d27c000    C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000    C:\WINDOWS\system32\RPCRT4.dll
0x76f50000 - 0x76f63000    C:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\msvcr71.dll
0x6db60000 - 0x6df6a000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\server\jvm.dll
0x77380000 - 0x77411000    C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c49000    C:\WINDOWS\system32\GDI32.dll
0x76aa0000 - 0x76acd000    C:\WINDOWS\system32\WINMM.dll
0x76290000 - 0x762ad000    C:\WINDOWS\system32\IMM32.DLL
0x71bc0000 - 0x71bc8000    C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000    C:\WINDOWS\system32\WINSTA.dll
0x77ba0000 - 0x77bfa000    C:\WINDOWS\system32\msvcrt.dll
0x71c40000 - 0x71c97000    C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000    C:\WINDOWS\system32\PSAPI.DLL
0x6d860000 - 0x6d86c000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\java.dll
0x6d340000 - 0x6d348000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\hpi.dll
0x6d8a0000 - 0x6d8af000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\zip.dll
0x6d6c0000 - 0x6d6d3000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\net.dll
0x71c00000 - 0x71c17000    C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000    C:\WINDOWS\system32\WS2HELP.dll
0x71b20000 - 0x71b61000    C:\WINDOWS\System32\mswsock.dll
0x76ed0000 - 0x76efa000    C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f77000    C:\WINDOWS\System32\winrnr.dll
0x76f10000 - 0x76f3e000    C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f85000    C:\WINDOWS\system32\rasadhlp.dll
0x6d610000 - 0x6d619000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\management.dll
0x68000000 - 0x68035000    C:\WINDOWS\system32\rsaenh.dll
0x76920000 - 0x769e2000    C:\WINDOWS\system32\USERENV.dll
0x5f270000 - 0x5f2ca000    C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000    C:\WINDOWS\System32\wshtcpip.dll
0x6d840000 - 0x6d848000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\sunmscapi.dll
0x761b0000 - 0x76243000    C:\WINDOWS\system32\CRYPT32.dll
0x76190000 - 0x761a2000    C:\WINDOWS\system32\MSASN1.dll
0x6d7b0000 - 0x6d7b6000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\rmi.dll
0x6d6e0000 - 0x6d6e9000    C:\Program Files\Java\jdk1.6.0_16\jre\bin\nio.dll
0x32ab0000 - 0x32ac6000    C:\Alfresco\bin\Win32NetBIOS.dll
0x76cf0000 - 0x76d0a000    C:\WINDOWS\system32\iphlpapi.dll
0x76cd0000 - 0x76ce9000    C:\WINDOWS\system32\MPRAPI.dll
0x76df0000 - 0x76e24000    C:\WINDOWS\system32\ACTIVEDS.dll
0x76dc0000 - 0x76de8000    C:\WINDOWS\system32\adsldpc.dll
0x76b80000 - 0x76bae000    C:\WINDOWS\system32\credui.dll
0x7c8d0000 - 0x7d0cf000    C:\WINDOWS\system32\SHELL32.dll
0x77da0000 - 0x77df2000    C:\WINDOWS\system32\SHLWAPI.dll
0x76a80000 - 0x76a92000    C:\WINDOWS\system32\ATL.DLL
0x77670000 - 0x777a9000    C:\WINDOWS\system32\ole32.dll
0x77d00000 - 0x77d8b000    C:\WINDOWS\system32\OLEAUT32.dll
0x76e30000 - 0x76e3c000    C:\WINDOWS\system32\rtutils.dll
0x7e020000 - 0x7e02f000    C:\WINDOWS\system32\SAMLIB.dll
0x770e0000 - 0x771e8000    C:\WINDOWS\system32\SETUPAPI.dll
0x77420000 - 0x77523000    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll

VM Arguments:
jvm_args: -Xms128m -Xmx512m -Xss96k -XX:MaxPermSize=160m -Dalfresco.home=C:\Alfresco\ -Dcom.sun.management.jmxremote -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Alfresco\tomcat\conf\logging.properties -Djava.endorsed.dirs=C:\Alfresco\tomcat\endorsed -Dcatalina.base=C:\Alfresco\tomcat -Dcatalina.home=C:\Alfresco\tomcat -Djava.io.tmpdir=C:\Alfresco\tomcat\temp
java_command: org.apache.catalina.startup.Bootstrap start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
JRE_HOME=C:\Program Files\Java\jdk1.6.0_16
CLASSPATH=C:\Program Files\Java\jdk1.6.0_16\lib\tools.jar;C:\Alfresco\tomcat\bin\bootstrap.jar
PATH=C:\Program Files\Java\jdk1.6.0_16\bin;C:\Alfresco\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 8, GenuineIntel



—————  S Y S T E M  —————

OS: Windows Server 2003 family Build 3790 Service Pack 2

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2096584k(1309180k free), swap 4042280k(3293032k free)

vm_info: Java HotSpot(TM) Server VM (14.2-b01) for windows-x86 JRE (1.6.0_16-b01), built on Jul 31 2009 11:20:52 by "java_re" with MS VC++ 7.1

time: Tue Nov 24 09:50:46 2009
elapsed time: 69 seconds

The fileservers.xml is stock, and here are the relevant entries from alfresco-global.properties:

filesystem.name=Alfresco
cifs.enabled=true
cifs.serverName=ALFVM
cifs.hostannounce=true
ftp.enabled=true

FTP works as expected.

I simply cannot believe it is this difficult to get things running correctly, or that the code is written so badly.  I feel as if I am missing something simple a crucial to this whole endeavor.  Is the native code just flaky?  Is using the pure java version the preferred method, even on Windows?  Has anyone successfully run 2003 with CIFS and JNI with no crazy issues like this, or is it just me?

Outcomes