Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.4
-
None
-
Unknown
Description
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.
Attachments
Issue Links
- is related to
-
CXF-5088 Make the service file of cxf-core.jar Web Application Server friendly
- Closed