My problem is that if I use Eclipse to deploy my Web Application (via Run As->Run Server), I cannot undeploy it, as within Tomcat Manager the undeploy link against the Application is not highlighted. If I manually put in the URL I get the following Error:
FAIL - Context /TomcatBasic is defined in server.xml and may not be undeployed
Im using Eclipse Galileo, and Tomcat 6.0.20
The steps I have followed are:
1) Within Eclipse, I use the Server view, to create a new Tomcat Server. However by default when you "Run Server", it seems that applications are run within Eclipse ? When looking at the Tomcat Manager no application was deployed even though Eclipse was running it
To overcome this I did the following. In the Servers view within Eclipse: - Right click on the Tomcat Server, and select Properties. In the Properties window I clicked the button "Switch Location". - Right click on the Tomcat Server, and select open. In the following dialog box I modified "Server Location" to select "Use Tomcat installation", and then I change the "Server path" to C:/apache-tomcat-6.0.20 and the "Deploy path" to C:/apache-tomcat-6.0.20
2) Create a Dynamic Web Application. In the "New Dynamic Web Project" windown I select Apache Tomcat as the "Target Runtime" and "Configuration". Click Finish.
3) Right click on the project and "Run As" -> "Run on Server". The application now gets deployed to the Tomcat Application Server as required. HOWEVER I cannot undeploy it when I log onto Tomcat Manager.
Any help please will be greatly appreciated !
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
a bit of art, as a gift, the permaculture playing cards