This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes hot deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "hot deployment" Watch "hot deployment" New topic
Author

hot deployment

robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
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 ]
Heonkoo Lee
Ranch Hand

Joined: Feb 10, 2005
Posts: 85
Try updating the application.xml in your .ear/META-INF directory. It should redeploy your ear.

Regards,
robbie keane
Ranch Hand

Joined: Sep 05, 2005
Posts: 54
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
Mat DeLong
Greenhorn

Joined: Dec 08, 2005
Posts: 2
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.
graham king
Ranch Hand

Joined: Dec 30, 2004
Posts: 133
Originally posted by robbie keane:
but when i see the changes on the browser, they are not reflected.


robbie,

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 ]

write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...
 
wood burning stoves
 
subject: hot deployment
 
Similar Threads
remote server start
subversion 1.2 with Weblogic workshop 8.1.4
remote deployment
struts with WAS 6.0
What you usually see in your dreams???????