tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Better <mar...@better.se>
Subject Exception when deploying with VirtualWebappLoader
Date Tue, 07 Oct 2008 13:21:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to use the VirtualWebappLoader in Tomcat 6.0.18 to add a directory to the classpath,
but get a strange exception. The context definition looks like this:

<Context>
  <Loader className="org.apache.catalina.loader.VirtualWebappLoader"
          virtualClasspath="/home/marcus/webapps/conf" />

     <!-- some <Resource> elements left out --->

</Context>

When deploying the WAR file together with the above context definition using the manager Ant
task, I get the following:

2008-okt-07 15:05:27 org.apache.catalina.core.StandardContext processTlds 
ALLVARLIG: Error reading tld listeners java.lang.IllegalArgumentException: URI has an authority
component                                                                                
              
java.lang.IllegalArgumentException: URI has an authority component
        at java.io.File.<init>(File.java:385)
        at org.apache.catalina.startup.TldConfig.getJarPaths(TldConfig.java:701)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:277)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4448)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4248)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)

Any ideas what I'm missing?

Cheers,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjrYmkACgkQXjXn6TzcAQlPtACfT42atj3YF6tM8KGeAeOxI3C9
BqsAnR5gO5sgRZk69HjkM62sG0wH+/zK
=rU3L
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message