Make sure that sendredirect.compatibility property is set to false or deleted. It causes problems. You didn't say if it had originally be set or not though, lets make sure it didn't get left on at some point.
Watch the URL, if you typed in http://localhost/myApp and it renders as http://localhost/myApp/*myApp* (note the duplicate context root) you could get 404s. Also convert to using the WicketServlet, WAS had trouble pointing to a filter as an endpoint (unless you have an empty index.htm file). Lets see if that gets you back on track. I suspect that is why your clean app isn't working, you have no index.htm file to trick WAS into working. -Clint On Sun, May 1, 2011 at 9:22 PM, D D <dawi...@gmail.com> wrote: > I have a filter in web.xml file - however I did not set it up. At the > same time I've started to question the setup because I tried to deploy > a "clean" test app (by clean I mean new ear file for the test app and > no extra ear files and configuration - just a strip down example from > wicket's website) and I'm getting 404 trying to bring the application > up. > > So the original application with problem is having 404 on ajax calls > but it will start up. Test app will not start up - shows 404 all the > time. > > Is it a WAS setup issue? > > Thanks, > Dave > > > On Sun, May 1, 2011 at 8:57 PM, James Carman <ja...@carmanconsulting.com> > wrote: > > You are using a servlet instead of a filter, right? I don't see the > > entire conversation in my gmail, here, so I hope I didn't miss > > something. > > > > On Sun, May 1, 2011 at 9:51 PM, D D <dawi...@gmail.com> wrote: > >> I tried the setting with true and false settings. It still doesn't work. > >> > >> Here is Ajax Debug > >> INFO: Initiating Ajax GET request on > >> > ?wicket:interface=:0:dataForm:dataPanel:rxEntryTabs:panel:link::IBehaviorListener:0:-1&random=0.6781234819490185 > >> INFO: Invoking pre-call handler(s)... > >> ERROR: Received Ajax response with code: 404 > >> INFO: Invoking post-call handler(s)... > >> INFO: Invoking failure handler(s)... > >> INFO: focus removed from link30 > >> > >> > >> I also traced through debug the response sent to HttpResponse object > >> and it's what I'm expecting: > >> > >> “<?xml version="1.0" encoding="UTF-8"?><ajax-response><component > >> id="counter31" ><![CDATA[<span id="counter31">5</span>]]></component> > >> </ajax-response>” > >> > >> Not only it's written but the response object is properly closed too. > >> Not a single exception is thrown in Wicket's code. > >> > >> The problem has to be somewhere inside WAS processing, right? > >> > >> Any ideas where? > >> > >> Dave > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
