tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Johnson <>
Subject Invalid TLD resource path
Date Tue, 28 Jan 2003 07:18:09 GMT

Hello all,

I'm currently trying to upgrade from working Tomcat 4.0.x installs to
the latest 4.1, but I've been getting the following exception on all of
my jar files for the whole 4.1 release branch during the server startup:

----- Root Cause -----
java.lang.IllegalArgumentException: Invalid TLD resource path

(exception stops the loading of the context, but will be thrown for all
the jars in WEB-INF/lib/*)

This is on a freshly untar'ed binary, running on Debian unstable.
Currently I'm on PPC and Blackdown sdk 1.3.1, but I've been getting the
same exception on x86 and Sun's 1.4.x sdk.

But I'm guessing by the source that there's something wrong with my
config, the relevant part is here:

        try {
            URL url =
            if (url == null) {
                throw new IllegalArgumentException

The only configuration changes I made was to add a definition in
server.xml (from the new Tomcat tarball, not the old release):

<Context path="/dealernet" docBase="dealernet" debug="0"
reloadable="true" />

The same exception happens even with this commented out... I've also
attached my web.xml for the "dealernet" app. I appreciate any help!

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app 
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 


    <!-- General description of your web application -->

         It's great.

        The EMAIL address of the administrator to whom questions
        and comments about this application should be addressed.



    <!-- Uncomment this to enable read and write access -->

  <!-- The mapping for the webdav servlet -->


Mike Johnson <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message