I am running Glassfish v2 (JAS 9.1 EE).
The system gets an Exception when we add the following jvm options to enable SNMP monitoring:
-Dcom.sun.management.snmp.acl=false
-Dcom.sun.management.snmp.iterface=xxx
-Dcom.sun.management.snmp.port=xxx
This exception causes the ServerLogManager to not be used.
Is there a workaround for this? It works fine in JAS 8.1 EE.
Could not load Logmanager "com.sun.enterprise.server.logging.ServerLogManager"
java.lang.ClassNotFoundException: com.sun.enterprise.server.logging.ServerLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.util.logging.LogManager$1.run(LogManager.java:166)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57)
at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42)
at sun.management.snmp.AdaptorBootstrap.<clinit>(AdaptorBootstrap.java:46)
at sun.management.Agent.premain(Agent.java:76)
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 sun.management.Agent.startAgent(Agent.java:197)
[Message sent by forum member 'jslone1' (jslone1)]
http://forums.java.net/jive/thread.jspa?messageID=277032