Mule HTTP侦听器线程无法解析org.glassfish.grizzly.localization.LogMessages

时间:2016-11-24 06:13:59

标签: mule

我有一个Mule EE 3.8.0的mule应用程序,它的http侦听器配置了工作线程配置文件以限制请求流量

示例如下

<http:listener-config name="HTTP_Listener_Configuration"
    host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration">
    <http:worker-threading-profile maxThreadsActive="10" 
        threadWaitTimeout="15000" poolExhaustedAction="WAIT"/>

</http:listener-config>

此应用程序运行良好,但在日志中有越来越多的错误,如下所示:

ERROR 2016-11-24 17:02:00,813 [[mule-api-v1] .http.listener(2)SelectorRunner] org.glassfish.grizzly.nio.SelectorRunner:doSelect exception java.lang.NoClassDefFoundError:无法初始化类org.glassfish.grizzly.localization.LogMessages     在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90)〜[grizzly-core-2.3.28.jar:2.3.28]     at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)~ [grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)~ [grizzly-core-2.3.28.jar:2.3.28]     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)〜[mule-module-http-3.8.0.jar:3.8.0]     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.executeIoEvent(ExecutorPerServerAddressIOStrategy.java:75)〜[mule-module-http-3.8.0.jar:3.8.0]     在org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:415)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:384)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:348)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:279)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:593)〜[grizzly-core-2.3.28.jar:2.3.28]     在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:573)〜[grizzly-core-2.3.28.jar:2.3.28]     在java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]

线程中的异常&#34; [mule - api-v1] .HTTP_Listener_Configuration.worker.01&#34; java.lang.NoClassDefFoundError:无法初始化类org.glassfish.grizzly.localization.LogMessages     在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90)     at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)     在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access $ 100(ExecutorPerServerAddressIOStrategy.java:30)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy $ WorkerThreadRunnable.run(ExecutorPerServerAddressIOStrategy.java:125)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

线程中的异常&#34; [mule-api-v1] .HTTP_Listener_Configuration.worker.02&#34; java.lang.NoClassDefFoundError:无法初始化类org.glassfish.grizzly.localization.LogMessages     在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90)     at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)     在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access $ 100(ExecutorPerServerAddressIOStrategy.java:30)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy $ WorkerThreadRunnable.run(ExecutorPerServerAddressIOStrategy.java:125)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

线程中的异常&#34; [mule-api-v1] .HTTP_Listener_Configuration.worker.03&#34; java.lang.NoClassDefFoundError:无法初始化类org.glassfish.grizzly.localization.LogMessages     在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:90)     at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)     在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access $ 100(ExecutorPerServerAddressIOStrategy.java:30)     在org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy $ WorkerThreadRunnable.run(ExecutorPerServerAddressIOStrategy.java:125)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

......等等......

如上面的堆栈跟踪所示,线程名称中的数字(如HTTP_Listener_Configuration.worker.03)会随着此侦听器收到的每个请求而增加。

如果我删除了work-threading-profile块,这个问题就消失了,但这对我们来说是必须的,所以如果你能指点我的话,请帮助任何人。

1 个答案:

答案 0 :(得分:0)

如果您使用的是Mule EE,则应在MuleSoft Support Center

中创建支持案例