- This topic has 8 replies, 4 voices, and was last updated 21 years, 2 months ago by
Scott Anderson.
-
AuthorPosts
-
breynoldMemberI have a web application that I’m trying to deploy onto Tomcat 4.1.30. When I go to deploy it through the Project Deployments icon on the toolbar, it tells me that another project has already been deployed with the same context name. However, I had deleted that project a while ago and restarted the server a few times since. Can someone tell me how to clean out whatever setting is getting in the way? Thanks
Brian
April 25, 2004 at 7:19 pm #206390
Riyad KallaMemberIf you are doing an exploded deployment, then you need to go to the location that you see in the deployment destination box, and erase that directory (or just hit the “Remove” button and the deployment tool will remove it for you.
If you are doing a packaged deployment, then you need to remove the WAR file (not just the directory). again, the deployment tool will do this for you if you click “Remove”. Make sure to have Tomcat shutdown when you do this, because on Windows it has a tendency to lock the files, so a delete operation will usually fail (annoying but nothing we can really do about it).
April 27, 2004 at 8:31 pm #206443
breynoldMemberProblem is that the directory is not there. When I had problems, I completely reinstalled Tomcat. The deployment manager still thinks it is there. Is there a configuration setting somewhere that contains information about where the webapps are deployed in Tomcat?
April 27, 2004 at 10:04 pm #206446
Riyad KallaMemberRestarting Eclipse should do the trick (it will remove invalid deployments)
April 28, 2004 at 4:06 pm #206481
benr242Participantive had this same problem, except an enterprise app on jboss. the problem started when i manually removed the directory (exploded deployment) instead of removing it through the myeclipse deployment manager. restarting jboss, and eclipse, and reinstalling jboss all did nothing. the problem didnt go away until i reinstalled eclipse/myeclipse.
April 28, 2004 at 4:08 pm #206482
benr242Participantim sure thats not the answer you want to hear, but it does work in case you get desperate
April 29, 2004 at 8:31 am #206510
Scott AndersonParticipantBrian,
What version of MyEclipse are you using? There was a lot of work done to that area of the deployer in the 2.7 release so I need to verify if this is a new issue or a fixed one.
However, to get moving again quickly you’ll find that the deployments are stored in:
<workspace>\.metadata\.plugins\com.genuitec.eclipse.ast.deploy.core_<version>\prefs.iniMay 2, 2004 at 12:53 pm #206632
breynoldMemberI ended up reinstalling with the newest version of the software so I’m not sure what I had before. I downloaded the version with which I had the problem sometime in April though. Hope that helps.
Thanks for the info about where the deployment info is stored though. Hopefully I won’t have to use it in the future, but it’s nice to know in case I do. Thanks for being responsive guys.
May 2, 2004 at 5:19 pm #206633
Scott AndersonParticipantI think the new version will take care of the problems, but please let us know if you run into it again.
-
AuthorPosts