Bug 1166458 - [GSS] (6.4.0) Add warning for deployments that use CXFServlet but have not disabled the WS subsystem
Summary: [GSS] (6.4.0) Add warning for deployments that use CXFServlet but have not di...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR11
: EAP 6.4.0
Assignee: Kyle Lape
QA Contact: Rostislav Svoboda
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-21 02:40 UTC by Kyle Lape
Modified: 2019-08-19 12:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2806 0 Major Closed Add check to fail deployments that use CXFServlet but have not disabled the WS subsystem 2018-10-11 01:52:12 UTC
Red Hat Knowledge Base (Solution) 698233 0 None None None Never

Description Kyle Lape 2014-11-21 02:40:59 UTC
Example warning:

18:09:41,312 WARN  [org.jboss.as.webservices] (MSC service thread 1-6) JBAS015617: Servlet class org.apache.cxf.transport.servlet.CXFServlet declared in web.xml; either provide a proper deployment relying on JBossWS or disable the webservices subsystem for the current deployment adding a proper jboss-deployment-structure.xml descriptor to it. The former approach is recommended, as the latter approach causes most of the webservices Java EE and any JBossWS specific functionality to be disabled. See KB doc https://access.redhat.com/solutions/698233 for details.

This would be to help GSS determine when customers are using invalid configurations and also to help customers understand when they are using an invalid configuration.

This is also not the same as WFLY-2806 because it does not fail deployments but only prints a warning for backwards compatibility reasons.

Comment 2 Kabir Khan 2014-11-21 10:32:13 UTC
https://github.com/jbossas/jboss-eap/pull/2023 replaces 2015

Comment 3 Rostislav Svoboda 2014-11-26 09:20:03 UTC
Verified on EAP 6.4.0 DR11

10:17:22,945 WARN  [org.jboss.as.webservices] (MSC service thread 1-5) JBAS015617: Servlet class org.apache.cxf.transport.servlet.CXFServlet declared in web.xml; either provide a proper deployment relying on JBossWS or disable the webservices subsystem for the current deployment adding a proper jboss-deployment-structure.xml descriptor to it. The former approach is recommended, as the latter approach causes most of the webservices Java EE and any JBossWS specific functionality to be disabled.


Note You need to log in before you can comment on or make changes to this bug.