Yes I had it working, until I found out the hard way that DWR has issues with reverse proxies (mod_jk / mod_ajp), so had to scrap it. Its not to hard to get it working right, just be sure that you configure the servlet correctly, this is what my web.xml config looked like:
<!-- DWR enables comet services --> <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class> <!-- Comet enabled --> <init-param> <param-name>activeReverseAjaxEnabled</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>allowScriptTagRemoting</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/XML/dwr.xml</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping> PS: If I recall correctly the dwr.xml config file contained some explicit permissions for remoting classes: <dwr> <allow> <create creator="new" javascript="JDate"> <param name="class" value="java.util.Date"/> </create> <create creator="new" javascript="ConsoleMessage"> <param name="class" value="com.foo.bar.ConsoleMessage"/> </create> </allow> </dwr> Cheers, Peter ----- Original Message ----- From: "sodium" <sodiu...@yahoo.com> To: users@tapestry.apache.org Sent: Thursday, 24 September, 2009 18:20:41 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: DWR and Tapestry5 Hi, i've been trying to integrate dwr into Tapestry5 but it seems that i keep failing and failing. No error was reported but when i tried to access the /dwr/engine.js directly, its not found. I have already included in my AppModule to ignore the dwr with the following: public static void contributeIgnoredPathsFilter(Configuration<String> configuration) { configuration.add("/dwr/.*"); } I've tried with the lastest 3.0.0.116.rc1 as well as 2.0.5 stable version of dwr. Tried calling dwr but it seems to completely ignore that statement. Anyone happen to have any simple sample that i could get it started with dwr? It seem i am missing out something here. I am using Tap 5.0.18, hoping to achieve this without using Spring as the glue. -- View this message in context: http://www.nabble.com/DWR-and-Tapestry5-tp25576539p25576539.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org