[jboss-user] [Beginners Corner] - Re: Redeploying Servlet

kalun do-not-reply at jboss.com
Wed Aug 2 21:05:57 EDT 2006


Thank you for your reply, I guess I should be more clear.

The Structure of the EAR file I deployed follows the J2EE specification:


  | -Sample2.WAR File
  |   -META-INF
  |     -application.xml File
  | 

Inside the WAR File, the structure is


  | -index.jsp File
  | -WEB-INF
  |   -web.xml File
  |   -classes
  |      -src
  |         -HelloWorld.class File
  |      -HelloWorld.class File
  | 
 
When I redeploy (by coming the ear file to server/default/deploy diectory), I gets the following message:


  | 09:58:04,744 INFO  [TomcatDeployer] undeploy, ctxPath=/Sample2, warUrl=.../tmp/deploy/tmp61625Sample2.ear-contents/Sample2-exp.war/
  | 09:58:30,285 INFO  [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/Sample2.ear
  | 09:58:30,395 INFO  [EARDeployer] Undeployed J2EE application: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/Sample2.ear
  | 09:58:32,919 INFO  [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/Sample2.ear
  | 

But when I access the site, the OLD contents will show up instead of the updated once. 

Once again, thank you for your help

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

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



More information about the jboss-user mailing list