tags:

views:

508

answers:

2

Hey,

I'm trying to deploy my war file on JBoss 4.2.3. This application was working fine and still is working fine (sans the bugfix that I've put into my code). I have made a new war file with a bug fix in it (which involves passing some extra http request params while requesting another app's servlet). However, when I tried to deploy this seemingly innocuous war file, I see the console logs from Jboss that say the new war file has been deployed etc. However, I don't see my changes reflecting in the browser (i.e, the extra params are not being sent in the request). I've verified that the war file that has gone into /server/default/deploy is exactly the same (cksum's are the same). I tried these few usual tricks to no avail: deleted the old war file from server before deploying the new one, restarted the server to free any cached stuff. Even put a return in my servlet at entry point. But still no difference! The servlet works just like before without the fix. Any suggestions? I request you to kindly help me. I kinda screwed if this doesn't work.

+1  A: 

A couple of thoughts

  • maybe your browser is 'offline' or using the cache, try clearing the cache / refresh
  • delete the contents under the server/default/tmp and server/default/work folders also
Peter Thomas
A: 

You could try adding some logging statements to your application, and see if they're output when you redeploy the war...

If it is definitely being redeployed then perhaps, as skaffman says, the fix didn't work.

GaZ