Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 904B09127 for ; Mon, 26 Mar 2012 11:34:52 +0000 (UTC) Received: (qmail 33587 invoked by uid 500); 26 Mar 2012 11:34:52 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 33566 invoked by uid 500); 26 Mar 2012 11:34:52 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 33556 invoked by uid 99); 26 Mar 2012 11:34:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 11:34:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 11:34:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0FE583462E3 for ; Mon, 26 Mar 2012 11:34:29 +0000 (UTC) Date: Mon, 26 Mar 2012 11:34:29 +0000 (UTC) From: =?utf-8?Q?Jakub_Boche=C5=84ski_=28Reopened=29_=28JIRA=29?= To: issues@cxf.apache.org Message-ID: <700468982.16985.1332761669067.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <507869697.43024.1331290378210.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (CXF-4171) Static resource resolution not possible with CXFNonSpringJaxrsServlet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4171?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jakub Boche=C5=84ski reopened CXF-4171: ---------------------------------- I'm sorry but I actually forgot to switch off my custom implementation when= trying this. It still doesn't seem to work :(=20 When looking at the code I don't see any relevant changes - the static reso= lution is still set after bean.setResourceClasses() call. I will double check if I hadn't mixed up the snapshots and let you know. =20 > Static resource resolution not possible with CXFNonSpringJaxrsServlet > --------------------------------------------------------------------- > > Key: CXF-4171 > URL: https://issues.apache.org/jira/browse/CXF-4171 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.5.2 > Reporter: Jakub Boche=C5=84ski > Assignee: Sergey Beryozkin > Priority: Minor > Labels: configuration > Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6 > > > The title says it all. I wanted this to get a full WADL document, and fou= nd it's not supported. > I was able to do it only by changing the source code - adding bean.setSta= ticSubresourceResolution(true); to ResourceUtils:621 (before bean.setResour= ceClasses(resourceClasses) ) does the trick. > Since this requires source code modification or copy-pasting and overridi= ng methods in both CXFNonSpringJaxrsServlet and ResourceUtils I think that = there should be a config option similiar to jaxrs.application.address.ignor= e available for this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira