Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 10391 invoked from network); 5 May 2009 04:14:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 04:14:52 -0000 Received: (qmail 37771 invoked by uid 500); 5 May 2009 04:14:52 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 37712 invoked by uid 500); 5 May 2009 04:14:51 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 37702 invoked by uid 99); 5 May 2009 04:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 04:14:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 04:14:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4E93F234C003 for ; Mon, 4 May 2009 21:14:30 -0700 (PDT) Message-ID: <329216216.1241496870306.JavaMail.jira@brutus> Date: Mon, 4 May 2009 21:14:30 -0700 (PDT) From: "Josh Holtzman (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2173) ClassCastException with Declarative Services In-Reply-To: <422098166.1239903194858.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Holtzman updated CXF-2173: ------------------------------- Attachment: dosgi-ds.patch This patch seems to fix the problem, though I'm not sure whether it's 100% "correct". Please let me know if this needs any changes prior to merging. > ClassCastException with Declarative Services > -------------------------------------------- > > Key: CXF-2173 > URL: https://issues.apache.org/jira/browse/CXF-2173 > Project: CXF > Issue Type: Bug > Components: Distributed-OSGi > Reporter: Josh Holtzman > Attachments: dosgi-ds.patch > > > When trying to configure a DOSGI service using declarative services, the following exception is thrown: > Exception in thread "pool-1-thread-2" java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String > at org.apache.cxf.dosgi.dsw.OsgiUtils.getPublishableInterfaces(OsgiUtils.java:470) > at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:68) > at org.apache.cxf.dosgi.dsw.Activator$1.run(Activator.java:143) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) > at java.lang.Thread.run(Thread.java:637) > The OSGI/sample.xml file contains: > > > > > * > SOAP.1_2 > pojo > /samplews > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.