Can we see the rest of your stacktrace for that exception?
-- Joakim Erdfelt <[email protected]> webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Oct 14, 2013 at 5:02 AM, Lothar Kimmeringer <[email protected]>wrote: > Hello, > > continuing the topic of migrating Jetty to the current version ;-) > I run into a problem when trying to load webapps. I've got a > GWT-application as web-app containing jars in the WEB-INF-directory. > The configuration for the webappcontext-class is more or less the > original one I had with Jetty 7.2: > > <Call name="addBean"> > <Arg> > <New id="DeploymentManager" > class="org.eclipse.jetty.deploy.DeploymentManager"> > <Set name="contexts"> > <Ref id="Contexts" /> > </Set> > <Call name="setContextAttribute"> > > <Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg> > <Arg>.*/jsp-api-[^/]*\.jar$|.*/jsp-[^/]*\.jar$</Arg> > </Call> > </New> > </Arg> > </Call> > > <Ref id="Contexts"> > <Call name="addHandler"><Arg> > <New class="org.eclipse.jetty.webapp.WebAppContext"> > <Set name="contextPath">/CACertAdmin</Set> > <Set name="war">./etc/admin/CACertAdmin.war</Set> > <Set name="extractWAR">False</Set> > </New> > </Arg></Call> > </Ref> > > When tarting, the serverlog contains the following error: > > 2013-10-14 13:34:18 WARNING: EXCEPTION > java.lang.IllegalArgumentException: !file: > jar:file:/C:/HUB/etc/admin/CACertAdmin.war!/WEB-INF/lib/CACertAdmin.jar > at > org.eclipse.jetty.webapp.WebAppClassLoader.addClassPath(WebAppClassLoader.java:245) > > I receive the same errors for all other WAR-files I try to add. > Looking into the source of WebAppClassLoader it seems to me that > it can't handle the syntax for jar-in-jar. But this worked before > so I'm sure that there must be some kind of configuration-error > on my side since I can't be the only one who uses this. > > > Best regards, Lothar > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
