IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
Author

m getting follwoing exception : java.lang.IllegalArgumentException

Vishal Mali
Greenhorn

Joined: Jul 10, 2009
Messages: 3

Hi friends,
I am using MyEclipse and tomcat 6.0.20. I have deleted my project folder namely Icat(deployed) from tomcat's webapps folder which was my old project, now i developed new project and when I deploy new project and start tomcat...

m getting follwoing exception : java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.20\webapps\Icat.myeclipse.bak does not exist or is not a readable directory

Actually my new project is working fine, but y its giving exception for my old project though i ve deleted it
Ankit Garg
Bartender

Joined: Aug 03, 2008
Messages: 6351

I guess MyEclipse added some information into tomcat for your old application. In the future undeploy the application from MyEclipse before deleting its folder (this is how it works in Netbeans). You might find the entry of your older application in C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.20\conf\Catalina\localhost directory (an xml file) or in conf\server.xml (although chances of the latter are less because defining web app information in server.xml is not suggested as given here)...

SCJP 6.0 98%, SCWCD 5 98%, Javaranch SCJP FAQ, SCWCD Links
Vishal Mali
Greenhorn

Joined: Jul 10, 2009
Messages: 3

thanks for your quick reply

I got solution, actually there are entries in

C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.20\work\Catalina\localhost

and

C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.20\conf\Catalina\localhost

if you will remove these entries, tomcat will work smoothly.

thanks once again
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » JSP
 
RSS feed
 
New topic
IntelliJ open source