Reverse ajax failswith spring integration on jetty6.

View: New views
1 Messages — Rating Filter:   Alert me  

Reverse ajax failswith spring integration on jetty6.

by Gowri Joshi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm building a reverse ajax application with DWR2.0.1 on spring framework 2.0.2 on jetty6.1.4.I am exposing my beans through spring and dwr(creator="spring" in dwr.xml).

The application works fine on jetty4.x but on jetty 6.x application fails when the creator is spring,but works fine when
a new instance is created(creator="new").I'm using ScriptSession to push the data(as in chat demo).

I noticed that the chat demo fails in jetty6.x with multiple sessions.

The data gets pushed when a second request is sent to server(seems like it is doing piggy backing..).
I tries setting polling,but that does not seem to help.

Summarising the problem,reverse ajax works on jetty6 with a new instance of bean but not when the creator is spring..

Any input is greatly appreciated.

Regards,
Gowri.

Any input