Jump to content

[Solved] Deploy War File


chanders

Recommended Posts

I don't understand how the previous servlet can be still in there considering my deployment script deletes the .war file from webapps and then waits for Tomcat to fully unload the servlet. Then the script shuts down Tomcat and waits until all of the Tomcat processes are completely unloaded from memory. Then it restarts Tomcat and deploys the new .war file.

 

Anyways, I manually deleted your .war from webapps, and waited until Tomcat unloaded and deleted the directory. Then I manually shutdown tomcat completely, and waited for it to fully exit from memory. Then I deleted your directory in the work directory. Let me know once you're ready to deploy the new version again. You could also consider changing the name of the .war file in case it's your browser that is caching the old pages.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...