Two Laptop Bag
The moose likes Tomcat and the fly likes Tomcat6.0 startup!! IllegalArgumentException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat6.0 startup!! IllegalArgumentException" Watch "Tomcat6.0 startup!! IllegalArgumentException" New topic

Tomcat6.0 startup!! IllegalArgumentException

palla sridhar
Ranch Hand

Joined: Oct 15, 2007
Posts: 111
I'm using Tomcat6.0.14 and SysdeoTomcat plugin in Eclipse 3.3.
Some time back, when i ran Tomcat from Eclipse, it worked fine..
I installed Tomcat as a service.

I also have Netbeans6.0 installed, which requires Tomcat to be installed as an archive.

So now,i've two Netbeans instances (6.0 only) in two different locations.
My CATALINA_HOME is the TOMCAT archive home.

I get the following error when i run Tomcat SERVICE from Eclipse.

Previosly i used D:\NetBeansPrj as a folder for NetBeans development.
Now i dont have that directory.
Tomcat service server is running fine, even with the IllegalArgumentException.

I checked starting a web-application and that's also running fine..

But can anybody help, why i'm getting this IllegalArgumentException and how can i remove this error on start-up??

[Jesper Young: Edited for readability]
[ January 02, 2008: Message edited by: Jesper Young ]

Thanks and Regards,
*Nothing is CONSTANT in life, except CHANGE*
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15101

You have a reference to D:\NetBeansPrj somewhere in your Tomcat configuration. Look through the Tomcat configuration files (especially server.xml) and make sure to remove references to that directory.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Consider Paul's rocket mass heater.
subject: Tomcat6.0 startup!! IllegalArgumentException
It's not a secret anymore!