Jetty in Mule only works in earlier version of Studio

后端 未结 2 1166
情话喂你
情话喂你 2020-12-21 23:25

I\'m having problems using the Jetty connectors in Mule.

Within my mule configuration:



        
相关标签:
2条回答
  • 2020-12-21 23:44

    You should not need to add the Jetty JAR yourself: they should be brought in your project as part of the Mule Jetty Transport, which is very much an officially supported core transport:

    • http://www.mulesoft.org/documentation/display/current/Jetty+Transport+Reference
    • https://github.com/mulesoft/mule/tree/mule-3.x/transports/jetty

    Was the Jetty transport added to your build path / POM file by Studio?

    0 讨论(0)
  • 2020-12-22 00:05

    I managed to discover what causes the issue. The Mule 3.5.0 CE Jetty transport now uses Jetty 8, and I was previously using Jetty 6 with Mule 3.4.0 CE.

    Within MIGRATION.txt:

    MULE-7061: Jetty transport is now using Jetty 8. Applications using a custom jetty.xml configuration file must update the Jetty classes referenced in this file due to package names changed from version 6 to 7, as explained here: http://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7/Packages_and_Classes
    

    After following the instructions in the link provided I converted my files to use Jetty 8.

    0 讨论(0)
提交回复
热议问题