Hi Josh,

Originally this property was specified as a comma separated list of
interface names, and the CXF code parses it as such.

However having just checked the final version of RFC 119, I see it now
may be set as either a String[] of individual interface names, or a
flat String with the comma separated list.

I'll update the code to be tolerant of either form. Thanks for
pointing this out.

Cheers,
Eoghan


2009/4/17 Josh Holtzman <[email protected]>:
> Hello CXF'ers,
> Yesterday I posted what I think is a bug [1], and I just want to be sure
> that it's not a problem with my configuration.  I'm trying to use
> declarative services to set up a distributed service and I'm getting a
> strange exception when the bundle activates:
>
> ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String
>
> I get the same exception whether I set osgi.remote.interfaces=* or I specify
> a single specific remote interface.  I believe this is due to
> org.apache.cxf.dosgi.dsw.OsgiUtils.getPublishableInterfaces treating a
> String[] as a String, but I'm out of my depth wrt CXF's internals.
>
> [1] https://issues.apache.org/jira/browse/CXF-2173
>
> Thanks for any suggestions, ideas, or comments,
> Josh
>
> --
> Josh Holtzman
> Educational Technology Services, UC Berkeley
> [email protected]
> 510.529.9225
>
>

Reply via email to