Works with 2.0M5. Thanks

Pritam wrote:
> 
> I'm using 2.0M4, will try 2.0M5. Can you point out the file in which this
> bug was fixed so that I could test in the interim?
> 
> (I'm using Nabble and I assume the "reply" does go the mailing list)
> 
> 
> Rhett Sutphin wrote:
>> 
>> Hi,
>> 
>> On Oct 5, 2009, at 12:03 PM, infinity wrote:
>> 
>>> Hi Rhett,
>>>
>>>
>>> Rhett Sutphin wrote:
>>>>
>>>> This mapping combined with the URIs in your resource beans means that
>>>> your server should respond to
>>>>
>>>> http://servername:port/ws/ws/contact/{operation}
>>>> http://servername:port/ws/mock/1/data/Contact/{userId}
>>>> http://servername:port/mock/ws/contact/{operation}
>>>> http://servername:port/mock/mock/1/data/Contact/{userId}
>>>>
>>>> I'm guessing that's not what you want.  Router attachment URIs
>>>> (whether you use SpringRouter, SpringBeanRouter, or something else)
>>>> are relative to the attachment point of the router.
>>>>
>>>> Rhett
>>>>
>>>>
>>>
>>> I think you're mistaken. Did you look at the updated configuration  
>>> in the
>>> parent post? I have the same configuration working for singleton beans
>>> (entry key <value="com.xxx.classname">).
>> 
>> This is a mailing list.  If you want your changes to be seen by  
>> everyone, you need to send a new message.
>> 
>>> For a prototype bean,
>>> <bean name="/contact/{operation}"
>>> class="com.xxx.yyy.rest.resource.ContactData" scope="prototype"
>>> autowire="byName"/>
>>>
>>> with a router prepending a /ws, I would expect
>>> http://servername:port/appname/ws/contact/{operation}
>>>
>>> But it doesn't work. I get the following warning in the log, if that  
>>> helps.
>>>
>>> Oct 5, 2009 12:21:27 PM org.restlet.resource.Finder handle
>>> WARNING: No target class was defined for this finder:
>>> org.restlet.ext.spring.springbeanfin...@c7afdd
>>> Oct 5, 2009 12:21:27 PM org.restlet.engine.log.LogFilter afterHandle
>> 
>> Are you using 2.0-M5?  This was a bug in 2.0-M4, but it should be  
>> fixed now.  If not, could you build a minimal reproduceable test case  
>> and file a bug?
>> 
>> Thanks,
>> Rhett
>> 
>>> -- 
>>> View this message in context:
>>> http://n2.nabble.com/Unable-to-setup-SpringBeanRouter-confiiguration-with-VirtualHost-tp3769405p3770177.html
>>> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>>>
>>> ------------------------------------------------------
>>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2403811
>> 
>> ------------------------------------------------------
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2403814
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Unable-to-setup-SpringBeanRouter-confiiguration-with-VirtualHost-tp3769405p3771459.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2403879

Reply via email to