# DWR users

**URL:** https://discourse.dojo.io/c/dwr-users/10.md

[Latest](https://discourse.dojo.io/latest.md) · [Categories](https://discourse.dojo.io/categories.md)

---

## [About the DWR users category](https://discourse.dojo.io/t/about-the-dwr-users-category/151)

<div class="topic-metadata">

**Author:** [@mikewse](https://discourse.dojo.io/u/mikewse)\
**Replies:** 0

</div>

A general discussion forum for developers using DWR in their projects.

---

## [Jakarta ServletConfig gives wrong version error](https://discourse.dojo.io/t/jakarta-servletconfig-gives-wrong-version-error/654)

<div class="topic-metadata">

**Author:** [@NelsonPurcell](https://discourse.dojo.io/u/NelsonPurcell)\
**Replies:** 0\
**Last updated:** [April 18, 2025, 3:34pm UTC](https://discourse.dojo.io/t/jakarta-servletconfig-gives-wrong-version-error/654 "2025-04-18T15:34:04Z")

</div>

I just cloned dwr-2024 from the GitHub repo ‘master’ branch. I ran $ ant jar from the repo root, and build compilation failed with this error: \[javac\] Compiling 195 source files to .../dwr-2024/target/ant/classes/m…

---

## [DWR4 - converter issue](https://discourse.dojo.io/t/dwr4-converter-issue/624)

<div class="topic-metadata">

**Author:** [@raduten](https://discourse.dojo.io/u/raduten)\
**Replies:** 0\
**Last updated:** [February 2, 2024, 4:11pm UTC](https://discourse.dojo.io/t/dwr4-converter-issue/624 "2024-02-02T16:11:32Z")

</div>

Hi - I am in the process of migrating an old jboss7/java8/dwr3 project to wildfly30/java21 . I have found dwr4 on github GitHub - directwebremoting/dwr: Direct Web Remoting - Easy Ajax for Java that already is modified t…

---

## [Content Security Policy (CSP) and DWR](https://discourse.dojo.io/t/content-security-policy-csp-and-dwr/617)

<div class="topic-metadata">

**Author:** [@flavian.stuparu](https://discourse.dojo.io/u/flavian.stuparu)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 7:31am UTC](https://discourse.dojo.io/t/content-security-policy-csp-and-dwr/617 "2023-02-13T07:31:58Z")

</div>

Hello, We need to abide to the strict CSP requirements in our application, but there are a couple of places, particularly in engine.js, where eval() and Function are being used, and we were not able to find a replacemen…

---

## [Error Exception Messages](https://discourse.dojo.io/t/error-exception-messages/574)

<div class="topic-metadata">

**Author:** [@WY\_12345](https://discourse.dojo.io/u/WY_12345)\
**Replies:** 0\
**Last updated:** [September 28, 2021, 3:02am UTC](https://discourse.dojo.io/t/error-exception-messages/574 "2021-09-28T03:02:03Z")

</div>

Hi, Is there a way to hide or remove the dwr engine exception messages such as name: ‘java.lang.SecurityException’, message: ‘Invalid Call Count’? This happens when i tried to intercept and amend the following paramet…

---

## [DWR 3.0.2 Upgrade - "Incomplete reply from server"](https://discourse.dojo.io/t/dwr-3-0-2-upgrade-incomplete-reply-from-server/563)

<div class="topic-metadata">

**Author:** [@agabel](https://discourse.dojo.io/u/agabel)\
**Replies:** 0\
**Last updated:** [August 13, 2021, 7:29am UTC](https://discourse.dojo.io/t/dwr-3-0-2-upgrade-incomplete-reply-from-server/563 "2021-08-13T07:29:56Z")

</div>

Hi all, Our setup: DWR 3.0.2, Java 1.8, Spring 2.5.6, Websphere We have upgraded from DWR 2.0.3 to DWR 3.0.2. It works fine running locally, but not in a test environment. Both have the setup mentioned above. In the …

---

## [DWR 3.0.2 throws java.lang.IllegalArgumentException](https://discourse.dojo.io/t/dwr-3-0-2-throws-java-lang-illegalargumentexception/482)

<div class="topic-metadata">

**Author:** [@ballem](https://discourse.dojo.io/u/ballem)\
**Replies:** 1\
**Last updated:** [April 18, 2020, 8:28am UTC](https://discourse.dojo.io/t/dwr-3-0-2-throws-java-lang-illegalargumentexception/482 "2020-04-18T08:28:30Z")

</div>

Hello there! I’m using Spring Boot 2.1.8 + Java 1.8 + DWR 3.0.2 and I am facing this error below: INFO 4 --- \[ main\] org.directwebremoting.log.startup : Starting: DwrController v3.0.3-dev on Apache Tomcat/9.0.24 / JDK …

---

## [Which DWR releases works on JBoss7 / Wildfly?](https://discourse.dojo.io/t/which-dwr-releases-works-on-jboss7-wildfly/461)

<div class="topic-metadata">

**Author:** [@Jean](https://discourse.dojo.io/u/Jean)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 12:42pm UTC](https://discourse.dojo.io/t/which-dwr-releases-works-on-jboss7-wildfly/461 "2019-12-16T12:42:40Z")

</div>

Hi Everybody! We need to migrate an application which works today with DWR 2.0.1 on JBoss 4.0. Which DWR release to use on JBoss 7 ? Wildfly ? Is is possible to keep DWR 2.0.1 ? Thanks for your help! Regards, Jean

---

## [forwardToString is including instead of forwarding in 3.0.2](https://discourse.dojo.io/t/forwardtostring-is-including-instead-of-forwarding-in-3-0-2/439)

<div class="topic-metadata">

**Author:** [@PeteFord](https://discourse.dojo.io/u/PeteFord)\
**Replies:** 2\
**Last updated:** [July 31, 2019, 1:26pm UTC](https://discourse.dojo.io/t/forwardtostring-is-including-instead-of-forwarding-in-3-0-2/439 "2019-07-31T13:26:01Z")

</div>

I upgraded one of our in-house applications as part of regular maintenance. As part of this I upgraded the DWR version from 3.0.0-RC2-final to 3.0.2-RELEASE, and after doing this I found the application’s DWR calls were …

---

## [DWR Authorization and Cost](https://discourse.dojo.io/t/dwr-authorization-and-cost/437)

<div class="topic-metadata">

**Author:** [@TangLin](https://discourse.dojo.io/u/TangLin)\
**Replies:** 1\
**Last updated:** [July 24, 2019, 8:52am UTC](https://discourse.dojo.io/t/dwr-authorization-and-cost/437 "2019-07-24T08:52:39Z")

</div>

DWR is Open Source, available under the Apache Software License v2. According to my understanding,if DWR is used for commercial projects, it is allowed and free. Is my understanding right?DWR is allowed and free.

---

## [DWR 3.0.2 jsonp and dates](https://discourse.dojo.io/t/dwr-3-0-2-jsonp-and-dates/421)

<div class="topic-metadata">

**Author:** [@andyl](https://discourse.dojo.io/u/andyl)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 7:53pm UTC](https://discourse.dojo.io/t/dwr-3-0-2-jsonp-and-dates/421 "2019-05-02T19:53:38Z")

</div>

I have just updated DWR to 3.0.2 and set the jsonpEnabled parameter to true as I want to try that out (as part of a new section of functionality written using React). Generally it works fine - a call to fetch a list of …

---

## [About DWR Support for Browsers](https://discourse.dojo.io/t/about-dwr-support-for-browsers/408)

<div class="topic-metadata">

**Author:** [@TangLin](https://discourse.dojo.io/u/TangLin)\
**Replies:** 2\
**Last updated:** [April 26, 2019, 10:25am UTC](https://discourse.dojo.io/t/about-dwr-support-for-browsers/408 "2019-04-26T10:25:54Z")

</div>

Hi， About DWR 3.0.2 Support for Browsers，It hasn’t been updated for a long time. http://directwebremoting.org/dwr/documentation/browser/support.html I want to know the latest browser support。（like：IE11，firefox62） Tha…

---

## [WARN logs with HashMap](https://discourse.dojo.io/t/warn-logs-with-hashmap/397)

<div class="topic-metadata">

**Author:** [@fraserc12](https://discourse.dojo.io/u/fraserc12)\
**Replies:** 8\
**Last updated:** [April 12, 2019, 3:37pm UTC](https://discourse.dojo.io/t/warn-logs-with-hashmap/397 "2019-04-12T15:37:39Z")

</div>

Hi, We recently upgraded to dwr version 3.0.2 We are seeing WARN logs when doing our regression testing. Our method that it is referring to takes in a HashMap of which we retrieve String and Doubles… so I’m not 100% s…

---

## [Issues with DWR scanning in Wildfly](https://discourse.dojo.io/t/issues-with-dwr-scanning-in-wildfly/404)

<div class="topic-metadata">

**Author:** [@tstevenspa](https://discourse.dojo.io/u/tstevenspa)\
**Replies:** 1\
**Last updated:** [April 12, 2019, 3:28pm UTC](https://discourse.dojo.io/t/issues-with-dwr-scanning-in-wildfly/404 "2019-04-12T15:28:44Z")

</div>

I’ve been running into some issues getting DWR to scan within Wildfly. I am using 3.0.2-RELEASE and I also tried a custom build including the changes from DWR-430 with no success. Has anyone successfully used scanning on…

---

## [Marshalling errors in lists do not get propagated to the client](https://discourse.dojo.io/t/marshalling-errors-in-lists-do-not-get-propagated-to-the-client/388)

<div class="topic-metadata">

**Author:** [@Skwiisch](https://discourse.dojo.io/u/Skwiisch)\
**Replies:** 5\
**Last updated:** [March 14, 2019, 10:59am UTC](https://discourse.dojo.io/t/marshalling-errors-in-lists-do-not-get-propagated-to-the-client/388 "2019-03-14T10:59:48Z")

</div>

Hi, when i have a marshalling error inside an object in a list it is silently ignored contrary to the bahaviour of a marshalling error in a single object. I except to also get an “Error marshalling data. See the logs f…

---

## [JavaBeans and Js command](https://discourse.dojo.io/t/javabeans-and-js-command/328)

<div class="topic-metadata">

**Author:** [@wilnzi](https://discourse.dojo.io/u/wilnzi)\
**Replies:** 3\
**Last updated:** [November 22, 2018, 1:05pm UTC](https://discourse.dojo.io/t/javabeans-and-js-command/328 "2018-11-22T13:05:53Z")

</div>

hello, I’m new on dwr and i want to know if it is possible to add the js commands from the Java Code ? I want to use dwr like xajax on PHP. Please help me. Thanks in advance

---

## [Error found on console: "Failed to read input"](https://discourse.dojo.io/t/error-found-on-console-failed-to-read-input/278)

<div class="topic-metadata">

**Author:** [@lucasjohn](https://discourse.dojo.io/u/lucasjohn)\
**Replies:** 4\
**Last updated:** [September 24, 2018, 11:29pm UTC](https://discourse.dojo.io/t/error-found-on-console-failed-to-read-input/278 "2018-09-24T23:29:02Z")

</div>

I’m seeking some help regarding the dwr error found on console after observing the behavior for a while. Tested with version 2.0.3 and 2.0.11. Sometimes a request fails, as follows… Error message on console: engine.…

---

## [One module jsp pages calling the other module dwr call](https://discourse.dojo.io/t/one-module-jsp-pages-calling-the-other-module-dwr-call/210)

<div class="topic-metadata">

**Author:** [@madhu](https://discourse.dojo.io/u/madhu)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 2:02pm UTC](https://discourse.dojo.io/t/one-module-jsp-pages-calling-the-other-module-dwr-call/210 "2018-06-07T14:02:29Z")

</div>

Hi mikewse, we have multiple modules project .one module jsp calling othe module dwr call. So it was working fine in my local set up with tomcat with http protocol . same code is deployed in websphere 8.5 version with…

---

## [Multi module communication in DWR frame work](https://discourse.dojo.io/t/multi-module-communication-in-dwr-frame-work/174)

<div class="topic-metadata">

**Author:** [@madhu](https://discourse.dojo.io/u/madhu)\
**Replies:** 17\
**Last updated:** [May 3, 2018, 12:50pm UTC](https://discourse.dojo.io/t/multi-module-communication-in-dwr-frame-work/174 "2018-05-03T12:50:06Z")

</div>

Hi Mikewse, I have multiple module having different dwr.xml. while calling DWR interface from module 1 to Module 2 . The p.\_path value is not setting in the DWR interface in dwr 3.0.0 -final version , but the p.\_path …

---

## [New version of DWR](https://discourse.dojo.io/t/new-version-of-dwr/181)

<div class="topic-metadata">

**Author:** [@URIP](https://discourse.dojo.io/u/URIP)\
**Replies:** 2\
**Last updated:** [April 26, 2018, 5:01am UTC](https://discourse.dojo.io/t/new-version-of-dwr/181 "2018-04-26T05:01:29Z")

</div>

Hi, Are there any plans to release a new version of DWR? Thanks

---

## [DWR 3 generated JS does not contain a path](https://discourse.dojo.io/t/dwr-3-generated-js-does-not-contain-a-path/154)

<div class="topic-metadata">

**Author:** [@sdobbs](https://discourse.dojo.io/u/sdobbs)\
**Replies:** 2\
**Last updated:** [March 27, 2018, 12:13pm UTC](https://discourse.dojo.io/t/dwr-3-generated-js-does-not-contain-a-path/154 "2018-03-27T12:13:29Z")

</div>

I’m using DWR version 3.0.3-dev-665 with the AMD loader. I have multiple web components that each use DWR. The first component has no issues with DWR method calls. The second component always fails. DWR config for th…

---

## [crossDomainSessionSecurity](https://discourse.dojo.io/t/crossdomainsessionsecurity/145)

<div class="topic-metadata">

**Author:** [@madhu](https://discourse.dojo.io/u/madhu)\
**Replies:** 11\
**Last updated:** [April 10, 2018, 10:49am UTC](https://discourse.dojo.io/t/crossdomainsessionsecurity/145 "2018-04-10T10:49:24Z")

</div>

Hi Team, i’m using the DWR frame work in my web application in web.xml add the following entry : crossDomainSessionSecurity false how to validate this feature with out server side code changes

---

## [DWR - download function](https://discourse.dojo.io/t/dwr-download-function/91)

<div class="topic-metadata">

**Author:** [@WY\_12345](https://discourse.dojo.io/u/WY_12345)\
**Replies:** 3\
**Last updated:** [January 15, 2018, 12:46pm UTC](https://discourse.dojo.io/t/dwr-download-function/91 "2018-01-15T12:46:48Z")

</div>

Hi, Recently did an upgrade to DWR version 3.0.2. However, got an error 500 when trying to download a file. After investigations, it turns out that the ~ character in the download URL link is a bad url for the single s…
