File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Getting Tomcat To Stop Trying To Open A Web App Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Getting Tomcat To Stop Trying To Open A Web App" Watch "Getting Tomcat To Stop Trying To Open A Web App" New topic
Author

Getting Tomcat To Stop Trying To Open A Web App

Brandon Tom
Ranch Hand

Joined: Jan 11, 2006
Posts: 48
I don't know much about Tomcat. NetBeans comes pre-packaged with it and it handles all the configuration stuff for me. That being said, whenever I test a servlet or JSP in NetBeans, some magic occurs and the page loads how its supposed to load.

I figured that Netbeans was compiling all the data into %CATALINA_HOME%\webapps\TheWebApp, but this isn't the case. NetBeans has Tomcat loading the web app right from the project directory. That's cool and all, but I've deleted one of my test project directories, and now every time Tomcat is started, it gives me an error message saying that the resource (the project that is long gone) it's not where it's supposed to be.

I need Tomcat to stop looking for that webapp. What files and configurations do I need to change in order to make that happen?


Brandon Tom, SCJP, MCP<br />Programmer/Graphic Designer<br /><a href="http://mailto:tombrand@hawaii.edu" target="_blank" rel="nofollow">tombrand@hawaii.edu</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Tomcat To Stop Trying To Open A Web App
 
Similar Threads
Tomcat on Linux tutorial
Netbeans 6.7 with TomCat 6.0
File dir = new File("\\server\log\");
Making Eclipse Easier??
Strange Spring MVC 2.5 NetBeans Tomcat 6.0.20 Problem