You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2017/11/03 09:39:00 UTC

Re: camel-jetty and jetty version 9.4.7.v20170914

Hi

Found a way to reproduce this issue and got a fix
https://issues.apache.org/jira/browse/CAMEL-11988

On Tue, Oct 24, 2017 at 2:15 PM, Claus Ibsen <cl...@gmail.com> wrote:
> You can use camel-servlet instead, which would be better as you are
> using the servlet engine from spring boot.
>
> On Tue, Oct 24, 2017 at 1:51 PM, Greg Ludington <gl...@gmail.com> wrote:
>> My apologies; I am talking about consumers, not producers.
>>
>> Sent from my iPhone
>>
>>> On Oct 23, 2017, at 11:12 PM, Claus Ibsen <cl...@gmail.com> wrote:
>>>
>>> Hi
>>>
>>> Jetty producer (not the consumer) is deprecated, do not use that, and
>>> migrate to use something else.
>>>
>>>> On Mon, Oct 23, 2017 at 11:21 PM, Greg Ludington <gl...@gmail.com> wrote:
>>>> Camel jetty producer routes are not starting after updating to Spring Boot
>>>> 1.5.8, which includes jetty version 9.4.7.v20170914
>>>>
>>>> To test:
>>>> in master's camel-jetty pom.xml, set this line:
>>>>
>>>> <jetty9-version>9.3.21.v20170918</jetty9-version>
>>>> to
>>>> <jetty9-version>9.4.7.v20170914</jetty9-version>
>>>>
>>>> and the context fails to initialize with
>>>>
>>>> org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException:
>>>> Locker is not reentrant
>>>> Caused by: java.lang.IllegalStateException: Locker is not reentrant
>>>>
>>>> For other reasons, we have to use jetty 9.4.x in our application; version
>>>> 9.4.6.v20170531, the version included in spring-boot 1.5.7 does work and
>>>> functional normally.  Setting that jetty.version property in to that
>>>> version does work.
>>>>
>>>> A commit last week,
>>>> http://camel.465427.n5.nabble.com/camel-branch-master-updated-Upgrade-to-Spring-Boot-1-5-8-td5814662.html
>>>> , updates to spring-boot 1.5.8 and jetty-version 9.4.7.v20170914, but I did
>>>> not see that upon pulling from github.  Is this something that is already
>>>> addressed in master, or should a ticket be filed?
>>>>
>>>> Thank you,
>>>> Greg
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> http://davsclaus.com @davsclaus
>>> Camel in Action 2: https://www.manning.com/ibsen2
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2