Search the FirstSpirit Knowledge Base
Hello,
I recently installed a FS Server on a local windows machine and I keep getting this error when starting the server:
INFO | jvm 1 | 2012/10/08 13:26:30 | java.lang.SecurityException: class "de.espirit.firstspirit.server.CMSManager"'s signer information does not match signer information of other classes in the same package
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.checkCerts(ClassLoader.java:806)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.defineClassCond(ClassLoader.java:625)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO | jvm 1 | 2012/10/08 13:26:30 | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.defineClass1(Native Method)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO | jvm 1 | 2012/10/08 13:26:30 | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
INFO | jvm 1 | 2012/10/08 13:26:30 | at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
INFO | jvm 1 | 2012/10/08 13:26:30 | Could not find the main class: de.espirit.firstspirit.server.CMSServer. Program will exit.
INFO | jvm 1 | 2012/10/08 13:26:30 | Exception in thread "main"
ERROR | wrapper | 2012/10/08 13:26:30 | JVM exited while loading the application.
STATUS | wrapper | 2012/10/08 13:26:31 | Automatic JVM Restarts disabled. Shutting down.
STATUS | wrapper | 2012/10/08 13:26:31 | <-- Wrapper Stopped
And I am thus, unable to load the server...
I'm running a Windows 7 Machine, with the Java 6 (1.6.0.33) JVM installed.
Any ideas will be greatly appreciated
A possible explanation would be a duplicated file fs-server.jar like "fs-server.jar.old" in folder firstspirit5\server\lib or firstspirit5\shared\lib.
Thank you,
there was no duplicated "fs-server.jar" there, but a "fs-client.jar" file from a different (newer) version of FirstSpirit.
Removing that file solved the problem.
Question:
Changing the JAR File import order in the fs-wrapper.conf File could have also fixed the problem?
There shouldn't be any fs-client.jar in server/lib or shared/lib. You only need to replace fs-server.jar in server/lib for updates. fs-client.jar is automatically extracted on server launch from fs-server.jar into web/fs5root/clientjar.