Hi. I added a jetty-web.xml to a WEB-INF, which is being read, but as noted 
in other posts here the HttpServiceContext doesn't implement all of the 
methods in WebAppContext. The one I'd like to use is overrideDescriptor. 
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="overrideDescriptor"><SystemProperty name="jetty.home" 
default="."/>./etc/override-web.xml</Set>
</Configure>

Outcome:
Exception while configuring webApp!
java.lang.NoSuchMethodException: class 
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.setOverrideDescriptor(class
 
java.lang.String)

Is there a workaround?

Context: we're trying to apply a security-constraint to override what the 
various deployed web apps may have set in our karaf container. I suspect 
our solution will be to use an Apache front-end.

Thanks in advance!

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/9013094a-e73a-49a9-9b69-1b82bce2c225n%40googlegroups.com.

Reply via email to