camel-jetty and jetty version 9.4.7.v20170914

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

camel-jetty and jetty version 9.4.7.v20170914

gludington
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
Reply | Threaded
Open this post in threaded view
|

Re: camel-jetty and jetty version 9.4.7.v20170914

Claus Ibsen-2
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: camel-jetty and jetty version 9.4.7.v20170914

gludington
My apologies; I am talking about consumers, not producers.

Sent from my iPhone

> On Oct 23, 2017, at 11:12 PM, Claus Ibsen <[hidden email]> 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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: camel-jetty and jetty version 9.4.7.v20170914

Claus Ibsen-2
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 <[hidden email]> wrote:

> My apologies; I am talking about consumers, not producers.
>
> Sent from my iPhone
>
>> On Oct 23, 2017, at 11:12 PM, Claus Ibsen <[hidden email]> 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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: camel-jetty and jetty version 9.4.7.v20170914

Claus Ibsen-2
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 <[hidden email]> 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 <[hidden email]> wrote:
>> My apologies; I am talking about consumers, not producers.
>>
>> Sent from my iPhone
>>
>>> On Oct 23, 2017, at 11:12 PM, Claus Ibsen <[hidden email]> 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 <[hidden email]> 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