Mantis - Resin
Viewing Issue Advanced Details
6121 minor always 12-15-17 11:58 04-30-18 15:46
ferg  
ferg  
normal  
closed  
fixed  
none    
none 4.0.57  
0006121: Logging initialization issue on JDK 9 with scripting.
java.util.MissingResourceException: Can't find jdk.dynalink.support.messages
bundle from

java.lang.ExceptionInInitializerError
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Undefined.<clinit>(Undefined.java:51)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.<clinit>(ScriptRuntime.java:78)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.linker.Bootstrap.<clinit>(Bootstrap.java:70)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Context.<init>(Context.java:644)
        at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Context.<init>(Context.java:569)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine$1.run(NashornScriptEngine.java:128)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine$1.run(NashornScriptEngine.java:124)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.<init>(NashornScriptEngine.java:124)
        at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngineFactory.getScriptEngine(NashornScriptEngineFactory.java:148)
        at java.scripting/javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:238)
        at com.example.myscript.MyScript.getEngine(MyScript.java:23)
        at com.example.myscript.MyScript.exec(MyScript.java:13)
        at com.example.myscript.MyScriptServlet.doGet(MyScriptServlet.java:22)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:97)
        at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:109)
        at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
        at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
        at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1353)
        at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1309)
        at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1293)
        at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1201)
        at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:997)
        at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
        at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
        at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
        at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
        at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
        at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Caused by: java.util.MissingResourceException: Can't find jdk.dynalink.support.messages
bundle from
        at java.logging/java.util.logging.Logger.setupResourceInfo(Logger.java:2289)
        at java.logging/java.util.logging.Logger.<init>(Logger.java:565)
        at java.logging/java.util.logging.Logger.<init>(Logger.java:556)
        at com.caucho.log.EnvironmentLogger.<init>(EnvironmentLogger.java:95)
        at com.caucho.log.LogManagerImpl.addLogger(LogManagerImpl.java:77)
        at com.caucho.log.LogManagerImpl.addLogger(LogManagerImpl.java:56)
        at java.logging/java.util.logging.LogManager.demandSystemLogger(LogManager.java:565)
        at java.logging/java.util.logging.LogManager.demandSystemLogger(LogManager.java:548)
        at java.logging/java.util.logging.Logger.demandLogger(Logger.java:651)
        at java.logging/java.util.logging.Logger.getLogger(Logger.java:792)
        at java.logging/java.util.logging.Logger.getLogger(Logger.java:768)
        at jdk.dynalink/jdk.dynalink.linker.support.Guards.<clinit>(Guards.java:101)

There are no notes attached to this issue.