You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcus Better <ma...@better.se> on 2008/10/07 15:21:45 UTC
Exception when deploying with VirtualWebappLoader
-----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
Re: Exception when deploying with VirtualWebappLoader
Posted by Mark Thomas <ma...@apache.org>.
fritzdimmel wrote:
> Hi,
> I do have the exact same problem.
>
> Does anyone have a solution for this?
Looks like a bug with the VirtualWebappLoader.
Create a bug entry with a simple test case and I'll take a look. It
isn't going to be top priority though.
Mark
>
> Thanks!
>
>
> Marcus Better wrote:
> 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
>>
>>
>>
---------------------------------------------------------------------
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
>>
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Exception when deploying with VirtualWebappLoader
Posted by fritzdimmel <fr...@siemens.com>.
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