[
https://issues.apache.org/jira/browse/CXF-4832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Livingston updated CXF-4832:
----------------------------------
Component/s: Bus
> META-INF/services/org.apache.cxf.bus.factory contains extra data on a second
> line
> ---------------------------------------------------------------------------------
>
> Key: CXF-4832
> URL: https://issues.apache.org/jira/browse/CXF-4832
> Project: CXF
> Issue Type: Bug
> Components: Bus
> Affects Versions: 2.6.4
> Reporter: James Livingston
>
> In the change http://svn.apache.org/viewvc?view=revision&revision=1091006,
> BusFactory loads META-INF/services/org.apache.cxf.bus.factory and loads
> additional data "busFactoryCondition" from the second line.
> http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html says
> (amongst other details) "The file contains a list of fully-qualified binary
> names of concrete provider classes, one per line."
> JBoss AS7 currently emits a warning when CXF is packaged into applications
> because the second line of the file is not a valid class name. I'm not sure
> where is best, but the service file is probably not the best place for that
> extra information since it doesn't match what the ServiceLoader documentation
> says should be in the file.
> I've seen the problem on 2.6.4, but the code is still the same in the latest
> release.
--
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