hi, a little bit confusion here. according to the document,
Make sure that the javaExtensions/ folder is not comprised in your classpath. By default SmartFoxServer includes this folder in the classpath so that all extension code is loaded at boot-time by the JVM system class loader. While this can be useful for sharing classes across multiple extensions (e.g. Singletons etc...) it will prevent dynamic reloading of the classes. If you remove the javaExtensions/ folder from the classpath, SmartFoxServer will use a separate class loader for each Extension and allowing dynamic reloading.
I remember I did not change the classpath after I installed SFS, that is to say, by default all my extension code and singleton code(my singleton code also put under javaExtensions/ folder) are loaded at boot-time by JVM system class loader, then why my singleton doesn't work...
I will go back double check this settings under my machine.