• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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 !
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic