You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/06/21 09:30:22 UTC
[jira] [Commented] (CXF-5088) Make the service file of cxf-core.jar
Web Application Server friendly
[ https://issues.apache.org/jira/browse/CXF-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690092#comment-13690092 ]
Willem Jiang commented on CXF-5088:
-----------------------------------
As the second line of META-INF/services/org.apache.cxf.bus.factory is the condition for checking if we can load the SpringCxfFactory, my suggestion is add an comment on the second line to make services file like a normal one.
> Make the service file of cxf-core.jar Web Application Server friendly
> ---------------------------------------------------------------------
>
> Key: CXF-5088
> URL: https://issues.apache.org/jira/browse/CXF-5088
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.7.5
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.7.6
>
>
> The file META-INF/services/org.apache.cxf.bus.factory of cxf-rt-core.jar will confuse the JBoss AS deployer, as it is not a standard service file. You will get the warning message like this when deploying the CXF application into JBoss AS.
> {code}
> WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015893: Encountered invalid class name 'org.springframework.context.ApplicationContext,org.springframework.beans.BeansException,org.springframework.beans.factory.xml.NamespaceHandlerResolver' for service type 'org.apache.cxf.bus.factory'
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira