[jboss-dev-forums] [Design of POJO Server] - Re: Should Touching / changing timestamp of exploded folder

rob.stryker@jboss.com do-not-reply at jboss.com
Wed Jul 22 21:47:41 EDT 2009


For the record, the reason this issue even came up was because some of our tools were able to delete and re-deploy a new version of the app but do so so quickly that the scanner didn't notice the change. 

Since there were no descriptors in the deployment the scanner had no way to tell this was a "new" deployment and not the same old one it was used to. 

As an example of this, start up a JBoss 5.1 server and execute the following:

mkdir test.war
   21:41:08,316 INFO  [TomcatDeployment] deploy, ctxPath=/test
   21:41:08,343 WARNING [config] Unable to process deployment descriptor for context '/test'
   21:41:08,344 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/test'

rm -rf test.war && mkdir test.war
  (NOTHING HAPPENS)

rm -rf test.war
   21:42:05,379 INFO  [TomcatDeployment] undeploy, ctxPath=/test

So clearly we can see the issue I believe ;)   Question is, is there a JIRA for this yet? Should I make one? When will this be supported? 

Thanks ;) 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245444#4245444

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245444



More information about the jboss-dev-forums mailing list