By replacing ear in the /deploy directory, i can see in the console that the scanner has read the change but when i see the changes on the browser, they are not reflected. If it's a simple war, then changes are reflected instantly but when this war inside an ear (and nothing else), i can't see the updated file. If i remove it from C:\jboss-4.0.3SP1\ server\default\work\jboss.web\localhost and then replace this ear and then restart server, the changes are reflected. Please help. Thanks in advance
[ February 23, 2006: Message edited by: robbie keane ] [ February 23, 2006: Message edited by: robbie keane ]
Try updating the application.xml in your .ear/META-INF directory. It should redeploy your ear.
Joined: Sep 05, 2005
But why should i be required to change the application.xml when there is no change in the application or module name. I'm still facing the same problem. I haven't changed any of the jboss-service.xml etc files
The EAR won't be redeployed until the application.xml file has been 'updated'... this means nothing more than you change the last modified date on the file. I am no expert, but I'm assuming this is to prevent unnecessary redeployment of an EAR.
Originally posted by robbie keane: but when i see the changes on the browser, they are not reflected.
lots a times it won't read simple jsp changes. not sure why, but, i found that if you navigate to the default/tmp/deploy/yourapp/yourwar/wherever directory, open the file in question, check for your changes and if there then just add a blank space somewheres and jboss then reads the file. it helps alot especially when dealing with simple html mistakes. [ June 22, 2006: Message edited by: graham king ]