<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.java.dwr.user">
    <title>gmane.comp.java.dwr.user</title>
    <link>http://blog.gmane.org/gmane.comp.java.dwr.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22039"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22037"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22033"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22031"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22022"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22007"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/22003"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21990"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21969"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21962"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21956"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21948"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21946"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21936"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21929"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21916"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21912"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21908"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21882"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.java.dwr.user/21879"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22039">
    <title>[dwr-users] Dwr error on WAS 8.5</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22039</link>
    <description>&lt;pre&gt;Hi guys,
I wonder if you can help me as I'm experiencing a strange issue with DWR, Spring and Websphere.
 
My setup currently is Websphere 7, Spring 2.5, Dwr 2. We are moving to Websphere 8.5. This causes us the dreaded crossDomainSessionSecurity issue - currently remedied by changing the dwr configuration setting to false as per the current guidelines - and everything is working as expected. 
At some stage we will probably upgrade to Dwr 3 and as we are undergoing a WAS change at the moment I decided to test this out. So I have downloaded Dwr 3 and included the jar in one of my applications. We have a number of apps using Dwr so we have no plan for major changes, but simple configuration changes are ok.
 
So, my setup now is Websphere 8.5, Dwr 3, Spring 2.5. 
When trying to access my app I am getting the following error thrown in the WAs logs -
 
[16/05/13 10:37:03:478 BST] 00000092 startup I org.directwebremoting.impl.StartupUtil logStartup Starting: DwrController v3.0.0-RC2-final-312 on IBM WebSphere Application Server/8.0 / JDK 1.6.0 from IBM Corporation at /Myapp
[16/05/13 10:37:03:587 BST] 00000092 startup E org.directwebremoting.impl.DefaultCreatorManager addCreator Javascript name MyAjaxHandler is used by 2 classes (com.chubb.ezer.myapp.web.ajax.handlers.MyAjaxHandlerImpl and BeanCreator[MyAjaxHandler])
[16/05/13 10:37:03:587 BST] 00000092 DwrController E org.directwebremoting.spring.DwrController afterPropertiesSet init failed
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Duplicate name found. See logs for details.
at org.directwebremoting.spring.SpringConfigurator.configure(SpringConfigurator.java:151)
at org.directwebremoting.impl.StartupUtil.configure(StartupUtil.java:702)
at org.directwebremoting.spring.DwrController.afterPropertiesSet(DwrController.java:200)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
 
As far as I can tell this error is being caused by the dwr configuration of the javascript files and I am unable to resolve this.I have looked everywhere I can and am yet to find a resolution. Could you please help?
 
Here are the code snippets of our setup 
 
web.xml&amp;lt;servlet&amp;gt;&amp;lt;servlet-name&amp;gt;dwr&amp;lt;/servlet-name&amp;gt;&amp;lt;servlet-class&amp;gt;org.directwebremoting.spring.DwrSpringServlet&amp;lt;/servlet-class&amp;gt;&amp;lt;init-param&amp;gt;&amp;lt;param-name&amp;gt;debug&amp;lt;/param-name&amp;gt;&amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;&amp;lt;/init-param&amp;gt;&amp;lt;/servlet&amp;gt;&amp;lt;servlet-mapping&amp;gt;&amp;lt;servlet-name&amp;gt;dwr&amp;lt;/servlet-name&amp;gt;&amp;lt;url-pattern&amp;gt;/dwr/*&amp;lt;/url-pattern&amp;gt; 
 dwrsetupbeans.xml
 &amp;lt;beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"xmlns:aop="http://www.springframework.org/schema/aop"http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd"xsi:schemaLocation="http://www.springframework.org/schema/beans&amp;gt;&amp;lt;beanid="myAjaxHandler"class="com.chubb.ezer.myapp.web.ajax.handlers.MyAjaxHandlerImpl"&amp;gt;&amp;lt;aop:scoped-proxy/&amp;gt;&amp;lt;propertyname="myService"ref="myService"/&amp;gt;&amp;lt;propertyname="requestBuilder"ref="requestBuilder"/&amp;gt;&amp;lt;dwr:remotejavascript="MyAjaxHandler"&amp;gt;&amp;lt;dwr:includemethod="doSave"/&amp;gt;&amp;lt;/dwr:remote&amp;gt;&amp;lt;/bean&amp;gt;&amp;lt;dwr:controllerid="dwrController"debug="true"&amp;gt;&amp;lt;/dwr:controller&amp;gt; somemappings.xml
 &amp;lt;beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"xsi:schemaLocation="http://www.springframework.org/schema/beans&amp;gt;using two mapping handlers: 
1st will map to a bean matching the URL 
2nd will pass anything not picked up by the 1st to a DWR controller 
--&amp;gt;&amp;lt;!-- &amp;lt;beanname="urlMapping2"class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"&amp;gt;&amp;lt;propertyname="order"&amp;gt;&amp;lt;value&amp;gt;0&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&amp;lt;/bean&amp;gt;&amp;lt;beanname="urlMapping"class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&amp;gt;&amp;lt;propertyname="lazyInitHandlers"&amp;gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&amp;lt;/property&amp;gt;&amp;lt;propertyname="mappings"&amp;gt;&amp;lt;props&amp;gt;&amp;lt;propkey="/*"&amp;gt;dwrController&amp;lt;/prop&amp;gt;&amp;lt;/props&amp;gt;&amp;lt;/property&amp;gt;&amp;lt;/bean&amp;gt; 
excerpt from a root jsp file
 &amp;lt;!
&amp;lt;
&amp;lt;DOCTYPEHTMLPUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN"&amp;gt;html&amp;gt;head&amp;gt;&amp;lt;metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1"&amp;gt;&amp;lt;metahttp-equiv="expires"content="${today}"&amp;gt;&amp;lt;linkhref="${ctx}/style/myGeneral.css"rel="stylesheet"type="text/css"&amp;gt;&amp;lt;scriptsrc="${ctx}/javascript/h1Section.js"&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;scriptsrc='${ctx}/dwr/engine.js'&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;scriptsrc='${ctx}/dwr/util.js'&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;scriptsrc='${ctx}/dwr/interface/MyAjaxHandler.js'&amp;gt;&amp;lt;/script&amp;gt; 
excerpt from the java objects
 public
}interfaceMyAjaxHandler {publicString doSave(String arg);public
MyService 
//code here
}
　
　classMyAjaxHandlerImpl extendsAbstractAjaxHandler implementsMyAjaxHandler {myService;privateRequestBuilder requestBuilder;publicString doSave(String arg) {return(arg);As you can see the objects exposed to Dwr are implementations of an interface. 
I believe that should cover all the various components involved and hope someone may be able to point me to a solution. Please remember that this exact same setup works with Dwr2, Spring2.5 and WAS 8.5 but with the added cross Domain session secuity setting.
Regards
Tim&amp;lt;dwr:configuration&amp;gt;&amp;lt;/dwr:configuration&amp;gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>T THRADINGHAM</dc:creator>
    <dc:date>2013-05-16T11:50:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22037">
    <title>[dwr-users]</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22037</link>
    <description>&lt;pre&gt;Hello
I re-deployed an app with changes, none of which I believed 
affected dwr and I am getting the error below.  Works perfectly in the 
previous environment.  Using 2.0.10, same error when deployed to Tomcat 
6.0.29 and Tomcat 6.0.37.  DWR is in \WEB-INF\lib I am nonplused.  I 
have nothing else to try.  tia.

error snipped
0    
[http-8080-1] ERROR org.directwebremoting.impl.DefaultCreatorManager  
error - Error loading class for creator 'StrutsCreator[pojo00]'.
java.lang.NullPointerException
    at org.directwebremoting.struts.StrutsCreator.getType(StrutsCreator.java:121)
    at org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:118)
    at
 org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:100)
    at org.directwebremoting.impl.DwrXmlConfigurator.loadCreate(DwrXmlConfigurator.java:274)
    at org.directwebremoting.impl.DwrXmlConfigurator.loadAllows(DwrXmlConfigurator.java:224)
    at org.directwebremoting.impl.DwrXmlConfigurator.configure(DwrXmlConfigurator.java:170)
    at org.directwebremoting.impl.ContainerUtil.configureFromDefaultDwrXml(ContainerUtil.java:264)
    at org.directwebremoting.impl.ContainerUtil.configureContainerFully(ContainerUtil.java:421)
    at org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:79)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
...

drw.xml snipped
&amp;lt;!DOCTYPE dwr PUBLIC
    "-//GetAhead Limited//DTD Direct Web
 Remoting 2.0//EN"
    "http://directwebremoting.org/schema/dwr20.dtd"&amp;gt;

    &amp;lt;dwr&amp;gt;
      &amp;lt;allow&amp;gt;
        &amp;lt;create creator="struts" javascript="pojo00" scope="session"&amp;gt;
          &amp;lt;param name="formBean" value="ccAuth13_genericForm_FBO_dwr"/&amp;gt;
          &amp;lt;include method="makePOJO" /&amp;gt;
          &amp;lt;include method="phaseTwoData" /&amp;gt;
          &amp;lt;include method="reportWriter00" /&amp;gt;
...&lt;/pre&gt;</description>
    <dc:creator>Fordemo Only</dc:creator>
    <dc:date>2013-05-14T22:08:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22033">
    <title>[dwr-users] How disable escaped single quotes in JSON/JSONP response with dwr-3.0.0.rc2  and jsonpEnabled</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22033</link>
    <description>&lt;pre&gt;I have been using DWR-native remote inside our web application.It works 
awesome! Now I am creating an API for an external client within the same 
application. The client has required that I return valid JSON response.I 
have enabled JSON/JSONP and I get the response back from the server with 
the expected data.The problem is that the JSON does not pass JSON 
validation.Here is a sample site that validates a JSON string 
http://jsonlint.com/ .I think the only issue is that the String fields 
have single quotes escaped.

Is there a way to disable escaping for the JSON/JSONP remote responses 
only and leave the escaping enabled DWR-native remote?

Thanks

Josh

&lt;/pre&gt;</description>
    <dc:creator>Josh Sents</dc:creator>
    <dc:date>2013-05-07T16:40:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22031">
    <title>[dwr-users] Test</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22031</link>
    <description>&lt;pre&gt;This is a test message.


&lt;/pre&gt;</description>
    <dc:creator>David Marginian</dc:creator>
    <dc:date>2013-05-06T11:59:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22022">
    <title>[dwr-users] SVN Tag or revision for 2.0.10</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22022</link>
    <description>&lt;pre&gt;Hi,

Is there an svn tag or revision number that corresponds to the 2.0.10
stable release?

Thanks,
Mark
&lt;/pre&gt;</description>
    <dc:creator>Mark Priest</dc:creator>
    <dc:date>2013-05-02T21:13:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22007">
    <title>[dwr-users] DWR Reverse Ajax in Websphere Cluster not working</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22007</link>
    <description>&lt;pre&gt;Hi friends,

   I have created a simple chat system using DWR-3 reverse ajax along with a
web application. Application is deployed in Websphere App server. Reverse
ajax is working fine in single node architecture. In clustered environment
it is not working. Cluster session management is configured as Sticky
Session. 
   
   Is there any solution for DWR reverse ajax with clustered environment?
Kindly help me. Thanx in advance



--
View this message in context: http://dwr.2114559.n2.nabble.com/DWR-Reverse-Ajax-in-Websphere-Cluster-not-working-tp7580609.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>kpbvinu</dc:creator>
    <dc:date>2013-04-09T06:37:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/22003">
    <title>[dwr-users] How to make the Piggyback reverse ajax available to the new ScriptSession</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/22003</link>
    <description>&lt;pre&gt;Hi All,

When apply DWR Piggyback reverse ajax in my application, I encounter below
problem, if anyone can help,

1) The Piggyback reverse ajax is ok for all existing ScriptSession/already
open web page.

2) when  ScriptSessions.addFunctionCall call in backend, and no new dwr
invoke from client to server after ScriptSessions.addFunctionCall , so the
script would not go to browser, yes, it is ok and normal.

3) After that, I switch to a new page in browser, so a new ScriptSession is
created, and the script(addFunctionCall) in step 2 would not bind to the new
scriptSession, yes, it is also normal, for the scriptSession create after
invoke ScriptSessions.addFunctionCall.

4)But in this case, the script add in step 2 would not go to browser
anymore, for the new page's scriptSession do not know this script, the page
of old scriptSession do not exist .

I add a user id in ScriptSession attribute, so I can find all the
scriptsession's that belong to the same user.
My question is :
     how to get the script content/Function in ScriptSession not apply to
client side yet ?
     or copy the "ready-to-apply" script from one scriptSession to the other
?

When a new ScriptSession created, I want to search the existing
ScriptSession  with the same user id in attributes, if found and can detect
it has some script add by ScriptSessions.addFunctionCall and still not apply
to browser, then copy the script to the new created ScriptSession .  Is it
workable?







--
View this message in context: http://dwr.2114559.n2.nabble.com/How-to-make-the-Piggyback-reverse-ajax-available-to-the-new-ScriptSession-tp7580604.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>Vincent</dc:creator>
    <dc:date>2013-04-03T06:29:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21990">
    <title>[dwr-users] Understanding error message (using Guice)</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21990</link>
    <description>&lt;pre&gt;Hi!

being not too familiar with DWR, I'm trying to use
DwrGuiceServletContextListener with DWR 3.0.0-rc3-SNAPSHOT. My
application uses Guice 3.0. Everything is running/debugged in Tomcat 6.

The following error messages are created while DWR seems to convert
Java objects to JavaScript (JSON/P):

  OperationService  - ...
  JsonpCallHandler  - --ConversionException:
message=java.lang.NullPointerException
       UserService  - ...
   BaseCallHandler  - --ConversionException: batchId=0
message=java.lang.NullPointerException

What could cause this?

In my DwrGuiceServletContextListener, I have used bindRemotedAs() and
bindConversion() to define which methods and classes to export.
I also played with annotations (&amp;lt; at &amp;gt;DataTransferObject etc.) in the
implementing classes, but I'm not sure if I need them. It seems like
they would express only what I believe has been expressed already with
the bind method calls.

If I use the debug page and request a user there, I get:
DefaultConverterManager  - No outbound converter found for
'myuserclass....'

Is there an example application for DWR + Guice?

Thanks,
Alexander

&lt;/pre&gt;</description>
    <dc:creator>alexander.lochschmied-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2013-03-27T17:03:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21969">
    <title>[dwr-users] Re: DWR could not support Android/iOS platform</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21969</link>
    <description>&lt;pre&gt;David,
Thanks for your response. 
        We are using DWR 3.0RC2 and Phonegap to implement mobile
application on Android 2.3 (or higner) and iOS (4.3 or higher).  So we
need DWR support Webview on these mobile platform,but it seems that
Webview doesn't support scriptsession.
        As you said, Reverse AJAX had been used on Android. Could you
tell me some detail?  
        Such as which one does the project use ? Chrome browser on
Android or Webview of Android?  If they use Webview, How could they
implement it? 
        Thanks. 


Why don't you provide us with some basic information such as what
version of DWR you are using and more details?  I am pretty certain
Reverse AJAX has been successfully used on Andriod platforms.



On Mon, Mar 18, 2013 at 8:21 AM, Teng Hailong &amp;lt;thlong-0GSiYjBpcig&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:
        Hi,all
         I want to push message from Web server to browser client
        (include PC
        and mobile device)  and i found that these message could push to
        PC
        brower such as IE,Chrome etc. But it failed when i push it to
        Android.
        It seems that the scriptsession could not be created on the
        mobile
        platform.
         Any suggestion will be appreciated. Thanks.
        
        Rgds,
        Teng Hailong




&lt;/pre&gt;</description>
    <dc:creator>Teng Hailong</dc:creator>
    <dc:date>2013-03-19T02:49:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21962">
    <title>[dwr-users] DWR could not support Android/iOS platform.</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21962</link>
    <description>&lt;pre&gt;Hi,all
 I want to push message from Web server to browser client (include PC
and mobile device)  and i found that these message could push to PC
brower such as IE,Chrome etc. But it failed when i push it to Android.
It seems that the scriptsession could not be created on the mobile
platform. 
 Any suggestion will be appreciated. Thanks. 

Rgds,
Teng Hailong

&lt;/pre&gt;</description>
    <dc:creator>Teng Hailong</dc:creator>
    <dc:date>2013-03-18T14:21:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21956">
    <title>[dwr-users] Map From JSON</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21956</link>
    <description>&lt;pre&gt;I have a pojo:

public class User{

private Map&amp;lt;String,List&amp;lt;UserAttributeValue&amp;gt;&amp;gt; userAttributes = new
HashMap&amp;lt;String,List&amp;lt;UserAttributeValue&amp;gt;&amp;gt;();

}


I need to assemble and save one pojo, thus i wrote in JS side:

var userPojo={

userAttributes:{
uid : [{stringValue:dwr.util.getValue('uid')}],
name : [{stringValue:dwr.util.getValue('userCommonName')}],
}
}

myDwrService.updateUser(userPojo);


Breakpoint in updateUser in JAVA side is not fired.

When i try myDwrService.updateUser(null); it fires, so i can see it is
about object/pojo.

I think i can tell the problem, what should i do?
&lt;/pre&gt;</description>
    <dc:creator>Merve Temizer</dc:creator>
    <dc:date>2013-03-18T11:42:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21948">
    <title>[dwr-users] DWR with Spring duplicates HttpSession for two users</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21948</link>
    <description>&lt;pre&gt;I am experiencing a strange problem, when I am setting something to
user's HttpSession.

What happens is that from time to time, two different users are set
with the same HttpSession and they have both accessible the same data.

I am getting the session like this:
WebContextFactory.get().getHttpServletRequest();

Is it somehow possible, that DWR has some kind of problem with
concurrency and treats two users, which access the site at once as one
single user?

&lt;/pre&gt;</description>
    <dc:creator>Vojtěch Knyttl</dc:creator>
    <dc:date>2013-03-15T17:07:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21946">
    <title>[dwr-users] Delay in sever push up</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21946</link>
    <description>&lt;pre&gt;Hi All,

I am successfully able to push server data to all the browsers but not
automatically.Until the specific browser call the server it gets then
updated with old and new messages.

Is there any setting I am missing out?





--
View this message in context: http://dwr.2114559.n2.nabble.com/Delay-in-sever-push-up-tp7580544.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>shasha15</dc:creator>
    <dc:date>2013-03-15T02:32:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21936">
    <title>[dwr-users] Memory Leak in Clock Demo DWR 2.0.5 and IE 9</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21936</link>
    <description>&lt;pre&gt;Hi, guys.  First of all, thank you for a great library that we have been
successfully using for 5+ years.

I am seeing a browser memory leak when running the Clock demo in IE 9
(9.0.8112.16421).  This is with DWR 2.0.5 on Windows 7.

The leak is about 8 mb/hr as you can see from the attached Perfmon output.
 I have seen several memory leaks listed in your Jira site, such as
DWR-146, that was marked as fixed in 2.0.3, and also DWR-576, which is
listed as only affecting 3.0.RC4.

We are also seeing a leak in our production application that is using
reverse ajax and after stripping out all of our callbacks I saw a leak
pretty comparable to the one with the clock demo.

Has this issue already been fixed in a later release?  Do you have any
suggestions for me?

Thanks,
Mark
&lt;/pre&gt;</description>
    <dc:creator>Mark Priest</dc:creator>
    <dc:date>2013-03-13T22:11:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21929">
    <title>[dwr-users] Mapping to java.lang.Object</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21929</link>
    <description>&lt;pre&gt;Isnt it possible to map a javascript object to java.lang.Object?

Do i have to map to a concrete Java type?
&lt;/pre&gt;</description>
    <dc:creator>Merve Temizer</dc:creator>
    <dc:date>2013-03-13T15:19:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21916">
    <title>[dwr-users] DWR and Hibernate4</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21916</link>
    <description>&lt;pre&gt;I am using DWR version 2.0.5 with Hibernate 3 for a long time in my web
application.
All work fine.
But now I upgraded Hibernate to version 4.1.10 and got the following
exception in my app server log file:

2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) Caused by:
java.lang.NoSuchMethodError:
org.hibernate.proxy.LazyInitializer.getSession()Lorg/hibernate/engine/SessionImplementor;
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.hibernate.H3BeanConverter.getClass(H3BeanConverter.java:140)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.hibernate.H3BeanConverter.getPropertyMapFromObject(H3BeanConverter.java:49)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.convert.BasicObjectConverter.convertOutbound(BasicObjectConverter.java:292)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.impl.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:441)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.convert.BasicObjectConverter.convertOutbound(BasicObjectConverter.java:299)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.impl.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:441)
2013-03-12 10:32:59,128 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.convert.BasicObjectConverter.convertOutbound(BasicObjectConverter.java:299)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.impl.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:441)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.convert.CollectionConverter.convertOutbound(CollectionConverter.java:213)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.impl.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:441)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.extend.ScriptBufferUtil.createOutput(ScriptBufferUtil.java:68)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.dwrp.BaseCallHandler$CallScriptConduit.addScript(BaseCallHandler.java:485)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.dwrp.BaseCallHandler.marshallOutbound(BaseCallHandler.java:345)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:105)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:120)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:141)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2013-03-12 10:32:59,129 ERROR [STDERR] (http-172.19.4.3-8080-2) ... 26 more

I upgraded DWR to version 3.0.rc2, but exception didn`t disapear.
Is there any way to use Hibernate 4 and DWR?




--
View this message in context: http://dwr.2114559.n2.nabble.com/DWR-and-Hibernate4-tp7580513.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>almal</dc:creator>
    <dc:date>2013-03-12T07:37:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21912">
    <title>[dwr-users] How to update all the pages if it contains specific id in DWR3</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21912</link>
    <description>&lt;pre&gt;Hi All,

I want to update the pages those contains the specific id any idea?
I tried reverse ajax but it updates only current page.

All the examples in dwr are with old version util which is deprecated.
Currently i tried as 

ScriptSessions.addFunctionCall("setMessage",chatId,ChatHelper.formatMessage(currentMsg,getTsi().getUser().getName()));

client page properties i have set.

dwr.engine.setActiveReverseAjax(true)
dwr.engine.setPollStatusHandler(true);
dwr.engine.setNotifyServerOnPageUnload(true, true);

This updates only the current page.

U r help is highly appreciated.




--
View this message in context: http://dwr.2114559.n2.nabble.com/How-to-update-all-the-pages-if-it-contains-specific-id-in-DWR3-tp7580509.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>shasha15</dc:creator>
    <dc:date>2013-03-11T01:00:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21908">
    <title>[dwr-users] editable table</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21908</link>
    <description>&lt;pre&gt;Heloo, in DWR website there is a example for editable table, only the edit 
key dosen't works. May I please know how to make it possible to work the
edit option? could you please suggest codes that help to work the edit
option?



--
View this message in context: http://dwr.2114559.n2.nabble.com/editable-table-tp7580505.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>shryvishnu</dc:creator>
    <dc:date>2013-03-08T13:38:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21882">
    <title>[dwr-users] [OT]The timeout specified has expired: proxy: prefetch request body failed</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21882</link>
    <description>&lt;pre&gt;Hi:

This question is a bit OT because the problem happens in Apache httpd server
(2.2.17) , but it always happens with DWR calls. If any user had got the
same issue, I'd appreciate any help

We've got a Apache HTTP server as frontend and a Tomcat 6.0.23 as backend.
If someone needs configuration about this servers , we can add to the
conversation thread later


From time to time, httpd error logs show this message:
*(70007)The timeout specified has expired: proxy: prefetch request body
failed*

Timeout is thrown 60sg after the request is received by Apache httpd server.
Tomcat doesn't receive anything 


The URL is always a DWR call,  like 

/mysite/dwr/call/plainpoll/ReverseAjax.dwr 

(but not always the same URL)

web.xml config for DWR servlet is

/
               &amp;lt;init-param&amp;gt;
     &amp;lt;param-name&amp;gt;debug&amp;lt;/param-name&amp;gt;
    &amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;
  &amp;lt;/init-param&amp;gt;
   
    &amp;lt;init-param&amp;gt;
        &amp;lt;param-name&amp;gt;activeReverseAjaxEnabled&amp;lt;/param-name&amp;gt;
        &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;
    &amp;lt;/init-param&amp;gt;
    &amp;lt;init-param&amp;gt;
            &amp;lt;param-name&amp;gt;allowScriptTagRemoting&amp;lt;/param-name&amp;gt;
            &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;
        &amp;lt;/init-param&amp;gt;

    
    &amp;lt;init-param&amp;gt;
        &amp;lt;param-name&amp;gt;initApplicationScopeCreatorsAtStartup&amp;lt;/param-name&amp;gt;
        &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;
    &amp;lt;/init-param&amp;gt;

    
    
    &amp;lt;init-param&amp;gt;
           
&amp;lt;param-name&amp;gt;org.directwebremoting.extend.ServerLoadMonitor&amp;lt;/param-name&amp;gt;

&amp;lt;param-value&amp;gt;org.directwebremoting.impl.PollingServerLoadMonitor&amp;lt;/param-value&amp;gt;
        &amp;lt;/init-param&amp;gt;
        


        &amp;lt;init-param&amp;gt;
&amp;lt;param-name&amp;gt;disconnectedTime&amp;lt;/param-name&amp;gt;
&amp;lt;param-value&amp;gt;2000&amp;lt;/param-value&amp;gt;
        &amp;lt;/init-param&amp;gt;
    
    &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
/



Thanks and regards



--
View this message in context: http://dwr.2114559.n2.nabble.com/OT-The-timeout-specified-has-expired-proxy-prefetch-request-body-failed-tp7580478.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>jmzc</dc:creator>
    <dc:date>2013-03-05T10:17:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21879">
    <title>[dwr-users] Can't connect to the DWR test page</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21879</link>
    <description>&lt;pre&gt;Hi,

Please be warned that I'm completely new to building websites in general,
and DWR in particular.

I've been trying to setup DWR on my local machine, and when I try to log to
the test page (localhost:8080/dwr), I have a 404 error. Using port 80
results in the same issue.

I checked whether the two ports were open:
sudo netstat -ntlp | grep :80 gave me:
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN     
5040/apache2  
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
5040/apache2  

So I assume this is fine.

I created the WEB-INF folder with dwr.xml, web.xml and the classes and lib
folders.

dwr.xml:
&amp;lt;!DOCTYPE dwr PUBLIC
    &amp;amp;quot;-//GetAhead Limited//DTD Direct Web Remoting 3.0//EN&amp;amp;quot;
    &amp;amp;quot;http://getahead.org/dwr/dwr30.dtd&amp;amp;quot;&amp;gt;

&amp;lt;dwr&amp;gt;
  &amp;lt;allow&amp;gt;
    &amp;lt;create creator="new" javascript="javaDatabase"&amp;gt;
      
    &amp;lt;/create&amp;gt;
  &amp;lt;/allow&amp;gt;
&amp;lt;/dwr&amp;gt;

web.xml:
&amp;lt;?xml version="1.0" encoding="ISO-8859-1" ?&amp;gt;
&amp;lt;web-app id="dwr" xmlns="http://java.sun.com/xml/ns/j2ee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
 version="2.4"&amp;gt;
    &amp;lt;session-config&amp;gt;
        &amp;lt;session-timeout&amp;gt;
            30
        &amp;lt;/session-timeout&amp;gt;
    &amp;lt;/session-config&amp;gt;

&amp;lt;servlet&amp;gt;
  &amp;lt;display-name&amp;gt;DWR Servlet&amp;lt;/display-name&amp;gt;
  &amp;lt;servlet-name&amp;gt;dwr-invoker&amp;lt;/servlet-name&amp;gt;  
  &amp;lt;servlet-class&amp;gt;org.directwebremoting.servlet.DwrServlet&amp;lt;/servlet-class&amp;gt;
  &amp;lt;init-param&amp;gt;
     &amp;lt;param-name&amp;gt;debug&amp;lt;/param-name&amp;gt;
     &amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;
  &amp;lt;/init-param&amp;gt;
&amp;lt;/servlet&amp;gt;
&amp;lt;servlet-mapping&amp;gt;
  &amp;lt;servlet-name&amp;gt;dwr-invoker&amp;lt;/servlet-name&amp;gt;
  &amp;lt;url-pattern&amp;gt;/dwr/*&amp;lt;/url-pattern&amp;gt;
&amp;lt;/servlet-mapping&amp;gt;
&amp;lt;/web-app&amp;gt;

classes simply contains databaseCommunication/basicFunctions.class and lib
contains commons-logging-1.0.4.jar and commons-validator-1.1.4.jar (even
though I don't think it'll be used), and obviously the dwr.jar (I downloaded
the version 2.0.10).

General setup:

I'm using Eclipse and the OS I use is ubuntu 12.04.2 LTS.

If you have any idea of what (probably stupid thing) I have forgotten to do,
I'd be immensely grateful. I won't get back the last 2 days I spent on it,
but at least I'll be able to move on...

Stilltorik



--
View this message in context: http://dwr.2114559.n2.nabble.com/Can-t-connect-to-the-DWR-test-page-tp7580474.html
Sent from the DWR - Users mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>stilltorik</dc:creator>
    <dc:date>2013-03-04T17:06:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.java.dwr.user/21877">
    <title>[dwr-users] Member fields of an Object</title>
    <link>http://comments.gmane.org/gmane.comp.java.dwr.user/21877</link>
    <description>&lt;pre&gt;Hello,
I read converters section

http://directwebremoting.org/dwr/documentation/server/configuration/dwrxml/converters/bean.html

but i can not find exact solution.

Can i manage my beans like this

public class User(){

    public int id;

    public String name;

    public List&amp;lt;Car&amp;gt; cars;

   public Bag aBag;


}

public class Car {
     int rgbcolor;
     String model;
}

public class Bag {
     int price;
      String brand;
}


I mean if my beans contains fields as other object types, what should i do,
should i fill the values manually? Or is managing these beans possible
maybe using custom or standard converters?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>Merve Temizer</dc:creator>
    <dc:date>2013-03-04T15:53:38</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.java.dwr.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.java.dwr.user</link>
  </textinput>
</rdf:RDF>
