I had this stupid problem:
My application works fine under http://localhost:8080/mycontext/ but when I try to remove the ports using Apache ProxyPass OR mod_jk then DWR does not work.
Solution:
I didn't use ProxyPass and went for mod_jk(not mod_jk2, etc.):
- Install mod_jk properly. I have an old post about it.
- Include these in the Apache config files:
JkMount /mycontext/* worker1That's it. These JkMounts tell Apache to send /dwr and /mycontext ULRs to the tomcat worker.
JkMount /mycontext/dwr/* worker1
JkMount /mycontext worker1