• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse interaction with Tomcat - cannot undeploy applications

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic