activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: JMS-MAP-JSON Improper Data structure
Date Wed, 14 Jul 2010 16:14:36 GMT
Hi,

just a follow up. The problem was not in Jettison itself, but XStream
version 1.3.1. I implemented a workaround fix in the trunk and
upgraded Jettison to 1.2, which will make everything ok for the 5.4.0
release. Hopefully, XStream 1.3.2 will fix this. See
https://issues.apache.org/activemq/browse/AMQ-2825 for more details.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Tue, Jul 13, 2010 at 4:49 PM, Dejan Bosanac <dejan@nighttale.net> wrote:
> Hi,
>
> jars from lib/optional are loaded as well, so keep only one instance
> of the library in those folders.
>
> Cheers
> --
> Dejan Bosanac - http://twitter.com/dejanb
>
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
>
>
>
> On Tue, Jul 13, 2010 at 3:47 PM, gtsafas <gtsafas@rblt.com> wrote:
>>
>> Ok, now I was under the impression .jars go into the lib folder and
>> lib/optional was not loaded? If there is a file in lib will it take
>> precedence over the lib/optional? or will it be ignored? I ask because I
>> realize I had jettision 1.2 inside of the activemq/lib folder and jettision
>> 1.1 inside of activemq/lib/optional folder.
>>
>> Will try with 1.0 after market close today.
>>
>>
>> Dejan Bosanac wrote:
>>>
>>> Hi,
>>>
>>> yes, putting Jettison 1.0 in lib/optional folder (and deleting the one
>>> that comes with the distro) should do the trick for now.
>>>
>>> Cheers
>>> --
>>> Dejan Bosanac - http://twitter.com/dejanb
>>>
>>> Open Source Integration - http://fusesource.com/
>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>> Blog - http://www.nighttale.net
>>>
>>>
>>>
>>> On Tue, Jul 13, 2010 at 3:36 PM, gtsafas <gtsafas@rblt.com> wrote:
>>>>
>>>> So you are saying that I should be downgrading to Jettison 1.0?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Dejan Bosanac wrote:
>>>>>
>>>>> I just tested and it seems that Jettison 1.2 produces the same JSON.
>>>>> The tests were passing in ActiveMQ as core module was still using 1.0
>>>>> version. So the only workaround for now is to actually downgrade to
>>>>> 1.0. I'll try to see what's changed in between and if it can/should be
>>>>> fixed.
>>>>>
>>>>> Cheers
>>>>> --
>>>>> Dejan Bosanac - http://twitter.com/dejanb
>>>>>
>>>>> Open Source Integration - http://fusesource.com/
>>>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>>>> Blog - http://www.nighttale.net
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Jul 13, 2010 at 8:48 AM, Dejan Bosanac <dejan@nighttale.net>
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> it must be the due to jettison version used. Can you try upgrading
it
>>>>>> to 1.2 (lib/optional folder) and see if it works for you?
>>>>>>
>>>>>> Cheers
>>>>>> --
>>>>>> Dejan Bosanac - http://twitter.com/dejanb
>>>>>>
>>>>>> Open Source Integration - http://fusesource.com/
>>>>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>>>>> Blog - http://www.nighttale.net
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 12, 2010 at 9:38 PM, gtsafas <gtsafas@rblt.com>
wrote:
>>>>>>>
>>>>>>> Additional example
>>>>>>>
>>>>>>> {"map":[{"entry":[{"string":[8059,"N"]},{"string":[8055,"NSDQ"]},{"string":[8
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29143081.html
>>>>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> Dejan Bosanac
>>>>>
>>>>> Open Source Integration - http://fusesource.com/
>>>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>>>> Blog - http://www.nighttale.net
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150489.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> Dejan Bosanac
>>>
>>> Open Source Integration - http://fusesource.com/
>>> ActiveMQ in Action - http://www.manning.com/snyder/
>>> Blog - http://www.nighttale.net
>>>
>>
>> --
>> View this message in context: http://old.nabble.com/JMS-MAP-JSON-Improper-Data-structure-tp29140193p29150655.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
>

Mime
View raw message