Mule:成功完成流程处理后的NoClassDefFoundError

时间:2017-03-09 00:42:12

标签: mule

我有以下流程设置:

    <set-variable variableName="year" value="#[message.inboundProperties.'http.query.params'.year]" doc:name="setYear"/>     
    <set-variable variableName="month" value="#[message.inboundProperties.'http.query.params'.month]" doc:name="setMonth"/>
        <http:request config-ref="HTTP_Request_Configuration" path="/year/{year}/month/{month}/file.csv" method="GET" doc:name="deliverFile">
            <http:request-builder>
                <http:uri-param paramName="year" value="#[flowVars.year]"/>
                <http:uri-param paramName="month" value="#[flowVars.month]"/>
            </http:request-builder>
        </http:request>
         <catch-exception-strategy doc:name="Catch Exception Strategy">
            <set-payload value="The request cannot be processed, the error is #[exception.getSummaryMessage()]" doc:name="Set Payload"/>
         </catch-exception-strategy>

一切正常&amp;我能够下载该文件,但最后我得到以下错误:

严重:doSelect异常 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)     at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.executeIoEvent(ExecutorPerServerAddressIOStrategy.java:75)     在org.glassfish.grizzly.strategies.AbstractIOStrategy.executeIoEvent(AbstractIOStrategy.java:89)     在org.glassfish.grizzly.nio.SelectorRunner.iterateKeyEvents(SelectorRunner.java:415)     在org.glassfish.grizzly.nio.SelectorRunner.iterateKeys(SelectorRunner.java:384)     在org.glassfish.grizzly.nio.SelectorRunner.doSelect(SelectorRunner.java:348)     在org.glassfish.grizzly.nio.SelectorRunner.run(SelectorRunner.java:279)     在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:591)     在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:571)     在java.lang.Thread.run(Thread.java:745)

1 个答案:

答案 0 :(得分:0)

此doSelect异常可能是此处已报告的错误https://www.mulesoft.org/jira/plugins/servlet/mobile#issue/MULE-8989
这可能已经固定在mule运行时3.8.2:https://docs.mulesoft.com/release-notes/mule-3.8.2-release-notes
试试最新的骡子运行时间 更多参考:Mule gives error when making http request from JBoss