You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Rohan Sahgal <ro...@gmail.com> on 2009/03/11 01:41:15 UTC

FYI, Bug in dwr2.0.1 that ships with Tuscany

I was working with the DWR binding that ships with Tuscany.

I ran into a method of mine that accepts a parameter of an interface type.

While trying to figure how to call this method through DWR, I came
across this docmentation on the DWR website
http://directwebremoting.org/dwr/server/dwrxml/converters/bean
(section: Mapping Java classes to JavaScript classes)

I followed the steps exactly but it did not work (all the time getting
exceptions in marshalling).

Then I ran into some posts (sorry I lost the links) that talk about a
bug in dwr2.0.1 with regards to accepting interface-type parameters.
When I replace the jar with the latest (2.0.5), it works just fine.

I just wanted to point this out to whoever else is using the current
Tuscany distribution and DWR (since I have already wasted so much time
debugging this) and also request that a later version of DWR be
included in the next release.

Thanks,
Rohan

Re: FYI, Bug in dwr2.0.1 that ships with Tuscany

Posted by Luciano Resende <lu...@gmail.com>.
Thanks Rohan, Done in svn revision #752598.

On Wed, Mar 11, 2009 at 10:54 AM, Rohan Sahgal <ro...@gmail.com> wrote:
> I checked it, that would do too.
>
> Thanks,
> Rohan
>
> On Wed, Mar 11, 2009 at 10:14 AM, Luciano Resende <lu...@gmail.com> wrote:
>> I don't see 2.0.5 in a public maven repo [1], do you know if 2.0.3 would do it ?
>>
>> [1] http://mvnrepository.com/artifact/org.directwebremoting/dwr
>>
>> On Tue, Mar 10, 2009 at 5:41 PM, Rohan Sahgal <ro...@gmail.com> wrote:
>>> I was working with the DWR binding that ships with Tuscany.
>>>
>>> I ran into a method of mine that accepts a parameter of an interface type.
>>>
>>> While trying to figure how to call this method through DWR, I came
>>> across this docmentation on the DWR website
>>> http://directwebremoting.org/dwr/server/dwrxml/converters/bean
>>> (section: Mapping Java classes to JavaScript classes)
>>>
>>> I followed the steps exactly but it did not work (all the time getting
>>> exceptions in marshalling).
>>>
>>> Then I ran into some posts (sorry I lost the links) that talk about a
>>> bug in dwr2.0.1 with regards to accepting interface-type parameters.
>>> When I replace the jar with the latest (2.0.5), it works just fine.
>>>
>>> I just wanted to point this out to whoever else is using the current
>>> Tuscany distribution and DWR (since I have already wasted so much time
>>> debugging this) and also request that a later version of DWR be
>>> included in the next release.
>>>
>>> Thanks,
>>> Rohan
>>>
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: FYI, Bug in dwr2.0.1 that ships with Tuscany

Posted by Rohan Sahgal <ro...@gmail.com>.
I checked it, that would do too.

Thanks,
Rohan

On Wed, Mar 11, 2009 at 10:14 AM, Luciano Resende <lu...@gmail.com> wrote:
> I don't see 2.0.5 in a public maven repo [1], do you know if 2.0.3 would do it ?
>
> [1] http://mvnrepository.com/artifact/org.directwebremoting/dwr
>
> On Tue, Mar 10, 2009 at 5:41 PM, Rohan Sahgal <ro...@gmail.com> wrote:
>> I was working with the DWR binding that ships with Tuscany.
>>
>> I ran into a method of mine that accepts a parameter of an interface type.
>>
>> While trying to figure how to call this method through DWR, I came
>> across this docmentation on the DWR website
>> http://directwebremoting.org/dwr/server/dwrxml/converters/bean
>> (section: Mapping Java classes to JavaScript classes)
>>
>> I followed the steps exactly but it did not work (all the time getting
>> exceptions in marshalling).
>>
>> Then I ran into some posts (sorry I lost the links) that talk about a
>> bug in dwr2.0.1 with regards to accepting interface-type parameters.
>> When I replace the jar with the latest (2.0.5), it works just fine.
>>
>> I just wanted to point this out to whoever else is using the current
>> Tuscany distribution and DWR (since I have already wasted so much time
>> debugging this) and also request that a later version of DWR be
>> included in the next release.
>>
>> Thanks,
>> Rohan
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>

Re: FYI, Bug in dwr2.0.1 that ships with Tuscany

Posted by Luciano Resende <lu...@gmail.com>.
I don't see 2.0.5 in a public maven repo [1], do you know if 2.0.3 would do it ?

[1] http://mvnrepository.com/artifact/org.directwebremoting/dwr

On Tue, Mar 10, 2009 at 5:41 PM, Rohan Sahgal <ro...@gmail.com> wrote:
> I was working with the DWR binding that ships with Tuscany.
>
> I ran into a method of mine that accepts a parameter of an interface type.
>
> While trying to figure how to call this method through DWR, I came
> across this docmentation on the DWR website
> http://directwebremoting.org/dwr/server/dwrxml/converters/bean
> (section: Mapping Java classes to JavaScript classes)
>
> I followed the steps exactly but it did not work (all the time getting
> exceptions in marshalling).
>
> Then I ran into some posts (sorry I lost the links) that talk about a
> bug in dwr2.0.1 with regards to accepting interface-type parameters.
> When I replace the jar with the latest (2.0.5), it works just fine.
>
> I just wanted to point this out to whoever else is using the current
> Tuscany distribution and DWR (since I have already wasted so much time
> debugging this) and also request that a later version of DWR be
> included in the next release.
>
> Thanks,
> Rohan
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/