Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 2365 invoked from network); 30 Oct 2006 15:05:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2006 15:05:16 -0000 Received: (qmail 92718 invoked by uid 500); 30 Oct 2006 15:05:18 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 92678 invoked by uid 500); 30 Oct 2006 15:05:18 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 92657 invoked by uid 99); 30 Oct 2006 15:05:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 07:05:17 -0800 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of balajimravi@gmail.com designates 64.233.162.192 as permitted sender) Received: from [64.233.162.192] (HELO nz-out-0102.google.com) (64.233.162.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 07:05:02 -0800 Received: by nz-out-0102.google.com with SMTP id z6so1212769nzd for ; Mon, 30 Oct 2006 07:04:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kYBRCIzGStNidj+tQNIjmIsWLC4E47FzewpkPgpaBg4LdMxy5KnL2S03JNjwlVRI+dSMN7bEEECeY0H8MJl5fyvgu3KiHIAUDs/pIy1MLlbFx5wpczStq+NhCHRlWCZn4XDuuSCvOUor2npFksUvbsujeraCevMcR4wMCOFddwA= Received: by 10.64.199.8 with SMTP id w8mr4769599qbf; Mon, 30 Oct 2006 07:04:40 -0800 (PST) Received: by 10.64.210.15 with HTTP; Mon, 30 Oct 2006 07:04:40 -0800 (PST) Message-ID: <4eedc3ad0610300704n646dd22cxf2b36ce90a28f776@mail.gmail.com> Date: Mon, 30 Oct 2006 10:04:40 -0500 From: "Balaji Ravi" To: cxf-dev@incubator.apache.org Subject: Re: CreateBus error In-Reply-To: <4eedc3ad0610300703l29d27e08s297b963907cb7977@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79403_17976334.1162220680679" References: <4eedc3ad0610271230q2f23b3c3v7723aac65f3052@mail.gmail.com> <4543BD0F.8090205@envoisolutions.com> <4eedc3ad0610300703l29d27e08s297b963907cb7977@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_79403_17976334.1162220680679 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hit send too soon... This fixes my createBus error... - Balaji On 10/30/06, Balaji Ravi wrote: > > Thanks Dan... > > - Balaji > > > On 10/28/06, Dan Diephouse wrote: > > > > Hi Balaji, > > I will see if I can fix this as part of my next commit. It is pretty > > trivial to implement entrySet(), I just neglected to do it. I'm > > surprised that spring is failing for you though and it worked for the > > rest of the build. The joys of software! > > > > My commit should be in the next couple hours or sometime tomorrow > > afternoon depending on debugging. > > Regards, > > - Dan > > > > Balaji Ravi wrote: > > > > > Hi, > > > > > > I am trying to write the corba binding & transport factory based on > > > cxf and i am seeing the following error when trying to call > > > Endpoint.publish and the entrySet method in SpringBeanMap does throw > > > this error. When does this method get called? I have attached the > > > cxf-extension that i have used to configure the Binding & Transport > > > factory. > > > > > > Can i write a single cxf-extension to configure both the binding & > > > transport factory? > > > > > > Exception in thread "main" > > > org.springframework.beans.factory.BeanCreationException : Error > > > creating bean with name > > > 'org.apache.cxf.transport.DestinationFactoryManager' defined in URL > > > > > [jar:file:/D:/yoko/repository/org/apache/cxf/cxf-rt-core/2.0-incubator-M1-SNAPSHOT/cxf- > > > rt-core-2.0-incubator-M1-SNAPSHOT.jar!/META-INF/cxf/cxf.xml ]: > > > Instantiation of bean failed; nested exception is > > > java.lang.UnsupportedOperationException > > > Caused by: java.lang.UnsupportedOperationException > > > at org.apache.cxf.configuration.spring.SpringBeanMap.entrySet > > > (SpringBean > > > Map.java:149) > > > at > > > org.springframework.beans.PropertyTypeConverter.convertToTypedMap(Pro > > > pertyTypeConverter.java:321) > > > at > > > org.springframework.beans.PropertyTypeConverter.convertIfNecessary (Pr > > > opertyTypeConverter.java:190) > > > at > > > org.springframework.beans.PropertyTypeConverter.convertIfNecessary(Pr > > > opertyTypeConverter.java:126) > > > at > > > org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary > > > (BeanWrapperImpl.java:802) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.doTypeC > > > onversionIfNecessary(AbstractBeanFactory.java:683) > > > at > > > org.springframework.beans.factory.support.ConstructorResolver.createA > > > rgumentArray(ConstructorResolver.java:370) > > > at > > > org.springframework.beans.factory.support.ConstructorResolver.autowir > > > eConstructor(ConstructorResolver.java:126) > > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBean > > > Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java > > :548) > > > at > > > org.springframework.beans.factory.support.AbstractAutowireCapableBean > > > Factory.createBean(AbstractAutowireCapableBeanFactory.java :352) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb > > > ject(AbstractBeanFactory.java:240) > > > at > > > org.springframework.beans.factory.support.DefaultSingletonBeanRegistr > > > y.getSingleton (DefaultSingletonBeanRegistry.java:132) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean > > > (AbstractBeanFactory.java:237) > > > at > > > org.springframework.beans.factory.support.AbstractBeanFactory.getBean > > > (AbstractBeanFactory.java:153) > > > at > > > org.springframework.beans.factory.support.DefaultListableBeanFactory . > > > preInstantiateSingletons(DefaultListableBeanFactory.java:254) > > > at > > > org.springframework.context.support.AbstractApplicationContext.refres > > > h(AbstractApplicationContext.java:337) > > > at > > > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory > > > .java:68) > > > at > > > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory > > > .java:56) > > > at > > > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory > > > .java:52) > > > at > > > org.apache.cxf.bus.spring.SpringBusFactory.getDefaultBus(SpringBusFac > > > tory.java:42) > > > at > > > org.apache.cxf.jaxws.spi.ProviderImpl.createEndpoint(ProviderImpl.jav > > > a:56) > > > at > > > org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(Provid > > > erImpl.java:66) > > > at javax.xml.ws.Endpoint.publish (Endpoint.java:156) > > > at yoko.server.Server.(Server.java:31) > > > at yoko.server.Server.main(Server.java:35) > > > > > >------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" > > > xmlns:foo="http://cxf.apache.org/configuration/foo" > > > xsi:schemaLocation=" > > >http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd > > "> > > > > > > > lazy-init="true"> > > > > > > > > > > > > http://schemas.apache.org/yoko/bindings/corba > > > > > > > > > > > > > > > > > > lazy-init="true"> > > > > > > > > > > > > http://schemas.apache.org/yoko/bindings/corba > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Dan Diephouse > > (616) 971-2053 > > Envoi Solutions LLC > > http://netzooid.com > > > > > ------=_Part_79403_17976334.1162220680679--