tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fritzdimmel <friedrich.dim...@siemens.com>
Subject Re: Exception when deploying with VirtualWebappLoader
Date Mon, 10 Aug 2009 10:13:15 GMT

Hi,
I do have the exact same problem.

Does anyone have a solution for this?

Thanks!


Marcus Better wrote:
> 
> -----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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Exception-when-deploying-with-VirtualWebappLoader-tp19858032p24897309.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message