Hi!
the Java process that I'm trying to bootstrap dies
in CNF exception that is related to logging (see
the stacktrace below). Two things are weird about
this:
* the app itself doesn't require slf4j, and since I see
io.osv.jul.LogManagerWrapper smack in the middle
of that trace I assume that's some kind of handshake
going badly on the OSv logging side of things
* the entire OSv VM crashes at this point. This is definitely
not the behavior I see if I just have a ClassNotFound anywhere
else. What gives and how can I avoid the entire VM crashing
as a result of something like this?
Thanks,
Roman.
Failed to load handler: org.slf4j.bridge.SLF4JBridgeHandler
java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at io.osv.jul.LogManagerWrapper.reconfigureRootHandlers(LogManagerWrapper.java:59)
at io.osv.jul.LogManagerWrapper$LogManagerInitializer$2.intercept(LogManagerWrapper.java:117)
at $java.util.logging.Logger$$EnhancerByCGLIB$$35bc9e1f.getResourceBundleName(<generated>)
at java.util.logging.Logger.getEffectiveResourceBundleName(Logger.java:1672)
at java.util.logging.Logger.doLog(Logger.java:626)
at java.util.logging.Logger.log(Logger.java:654)
at
java.util.logging.Logger.info(Logger.java:1172)
at
com.gemstone.gemfire.management.internal.cli.LogWrapper.info(LogWrapper.java:206)
at com.gemstone.gemfire.management.internal.cli.shell.Gfsh.<init>(Gfsh.java:168)
at com.gemstone.gemfire.management.internal.cli.shell.Gfsh.getInstance(Gfsh.java:261)
at com.gemstone.gemfire.management.internal.cli.Launcher.launchGfsh(Launcher.java:156)
at com.gemstone.gemfire.management.internal.cli.Launcher.executeTarget(Launcher.java:144)
at com.gemstone.gemfire.management.internal.cli.Launcher.main(Launcher.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at io.osv.ContextIsolator.runMain(ContextIsolator.java:220)
at io.osv.ContextIsolator.access$400(ContextIsolator.java:29)
at io.osv.ContextIsolator$3.run(ContextIsolator.java:107)
Exception in thread "Gfsh Launcher"
java.lang.IllegalArgumentException: java.lang.ClassNotFoundException:
com.cloudius.cli.OSvTerminal
at jline.Terminal.setupTerminal(Terminal.java:65)
at jline.Terminal.getTerminal(Terminal.java:26)
at jline.ConsoleReader.<init>(ConsoleReader.java:174)
at jline.ConsoleReader.<init>(ConsoleReader.java:169)
at jline.ConsoleReader.<init>(ConsoleReader.java:157)
at org.springframework.shell.core.JLineShell.createConsoleReader(JLineShell.java:213)
at com.gemstone.gemfire.management.internal.cli.shell.Gfsh.createConsoleReader(Gfsh.java:484)
at org.springframework.shell.core.JLineShell.run(JLineShell.java:95)
at java.lang.Thread.run(Thread.java:744)
FATAL exit ..