Destination factory problem

2007-10-15 Thread Sergey Beryozkin
Hi

I have this "Np DestinationFactory found" problem when running a system test. 
I've checked archives, the suggested solutions are all about doing some 
programmatic bus setup, etc...
Unfortunately it's not something I can do in my scenario.

Here's my configuration :

http://java.sun.com/xml/ns/j2ee"; 
xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime"; 
xmlns:xalan="http://xml.apache.org/xslt"; 
xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"; 
xmlns:soap="http://cxf.apache.org/bindings/soap"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:jaxws="http://cxf.apache.org/jaxws"; 
xmlns="http://www.springframework.org/schema/beans"; 
xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd>













In debug mode I'm seeing *two* buses created, one bus has a 
DestinationFactoryManagerImpl initialized properly,

for the second bus, no DestinationFactoryManagerImpl is initilized (no 
register() method is called on it) and hence at the service init time an 
exception is thrown

Can someone please show how one can configure two endpoints such that a single 
bus is created...

Thanks, Sergey







IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: Destination factory problem

2007-10-15 Thread Sergey Beryozkin
Hi

I havevn't found a single test demonstrating the use of two jaxws:endpoints in 
a single configuration file.
So can it even work, I mean having a shared bus between two endpoins explicitly 
registered in the configuration file ?

However, somehow, I managed to at least the registration to succeed, after 
putting this definition in my config class :







http://cxf.apache.org/transports/local

http://schemas.xmlsoap.org/soap/http

http://schemas.xmlsoap.org/wsdl/soap/http







Black magic

Thanks, Sergey

- Original Message - 
From: "Sergey Beryozkin" <[EMAIL PROTECTED]>
To: 
Sent: Monday, October 15, 2007 4:46 PM
Subject: Destination factory problem


Hi

I have this "Np DestinationFactory found" problem when running a system test. 
I've checked archives, the suggested solutions are all about doing some 
programmatic bus setup, etc...
Unfortunately it's not something I can do in my scenario.

Here's my configuration :

http://java.sun.com/xml/ns/j2ee"; 
xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime"; 
xmlns:xalan="http://xml.apache.org/xslt"; 
xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"; 
xmlns:soap="http://cxf.apache.org/bindings/soap"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:jaxws="http://cxf.apache.org/jaxws"; 
xmlns="http://www.springframework.org/schema/beans"; 
xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd 
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd>













In debug mode I'm seeing *two* buses created, one bus has a 
DestinationFactoryManagerImpl initialized properly,

for the second bus, no DestinationFactoryManagerImpl is initilized (no 
register() method is called on it) and hence at the service init time an 
exception is thrown

Can someone please show how one can configure two endpoints such that a single 
bus is created...

Thanks, Sergey







IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: Destination factory problem

2007-10-15 Thread Daniel Kulp

Sergey,

Not sure on the two bus thing, but in your case, you aren't importing an 
extension that has a destination.  The cxf-extension-http doesn't define 
a destination, just a conduit.Add the cxf-extension-http-jetty to 
get the jetty based http destination.




Dan


On Monday 15 October 2007, Sergey Beryozkin wrote:
> Hi
>
> I have this "Np DestinationFactory found" problem when running a
> system test. I've checked archives, the suggested solutions are all
> about doing some programmatic bus setup, etc... Unfortunately it's not
> something I can do in my scenario.
>
> Here's my configuration :
>
> http://java.sun.com/xml/ns/j2ee";
> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
> xmlns:xalan="http://xml.apache.org/xslt";
> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration
>" xmlns:soap="http://cxf.apache.org/bindings/soap";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:jaxws="http://cxf.apache.org/jaxws";
> xmlns="http://www.springframework.org/schema/beans";
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> In debug mode I'm seeing *two* buses created, one bus has a
> DestinationFactoryManagerImpl initialized properly,
>
> for the second bus, no DestinationFactoryManagerImpl is initilized (no
> register() method is called on it) and hence at the service init time
> an exception is thrown
>
> Can someone please show how one can configure two endpoints such that
> a single bus is created...
>
> Thanks, Sergey
>
>
>
>
>
>
> 
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
> Ireland



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog


Re: Destination factory problem

2007-10-15 Thread Sergey Beryozkin
Hi Dan

It made the trick, endpoints are registered all right now. The only problem is 
that they're registered twice, per every bus created not sure how it works, 
probably the runtime recognizes that a given endpoint has already been 
registered and ignores the second registration attempt. 

Actually, I've just left a single endpoint there and I still see two buses 
created, with DestinationFactoryManager being created twice two, once per bus, 
created every time.

Thanks, Sergey


- Original Message - 
From: "Daniel Kulp" <[EMAIL PROTECTED]>
To: 
Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
Sent: Monday, October 15, 2007 5:25 PM
Subject: Re: Destination factory problem


> 
> Sergey,
> 
> Not sure on the two bus thing, but in your case, you aren't importing an 
> extension that has a destination.  The cxf-extension-http doesn't define 
> a destination, just a conduit.Add the cxf-extension-http-jetty to 
> get the jetty based http destination.
> 
> 
> 
> 
> Dan
> 
> 
> On Monday 15 October 2007, Sergey Beryozkin wrote:
>> Hi
>>
>> I have this "Np DestinationFactory found" problem when running a
>> system test. I've checked archives, the suggested solutions are all
>> about doing some programmatic bus setup, etc... Unfortunately it's not
>> something I can do in my scenario.
>>
>> Here's my configuration :
>>
>> http://java.sun.com/xml/ns/j2ee";
>> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
>> xmlns:xalan="http://xml.apache.org/xslt";
>> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration
>>" xmlns:soap="http://cxf.apache.org/bindings/soap";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xmlns:jaxws="http://cxf.apache.org/jaxws";
>> xmlns="http://www.springframework.org/schema/beans";
>> xsi:schemaLocation="http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd>
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> In debug mode I'm seeing *two* buses created, one bus has a
>> DestinationFactoryManagerImpl initialized properly,
>>
>> for the second bus, no DestinationFactoryManagerImpl is initilized (no
>> register() method is called on it) and hence at the service init time
>> an exception is thrown
>>
>> Can someone please show how one can configure two endpoints such that
>> a single bus is created...
>>
>> Thanks, Sergey
>>
>>
>>
>>
>>
>>
>> 
>> IONA Technologies PLC (registered in Ireland)
>> Registered Number: 171387
>> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
>> Ireland
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727C: 508-380-7194
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: Destination factory problem

2007-10-15 Thread Daniel Kulp

Sergey,

Can you send me a simple testcase?   I'm digging into some spring stuff 
now (actually fixing CXF-922) so I could dig into that as well.

Dan


On Monday 15 October 2007, Sergey Beryozkin wrote:
> Hi Dan
>
> It made the trick, endpoints are registered all right now. The only
> problem is that they're registered twice, per every bus created not
> sure how it works, probably the runtime recognizes that a given
> endpoint has already been registered and ignores the second
> registration attempt.
>
> Actually, I've just left a single endpoint there and I still see two
> buses created, with DestinationFactoryManager being created twice two,
> once per bus, created every time.
>
> Thanks, Sergey
>
>
> - Original Message -
> From: "Daniel Kulp" <[EMAIL PROTECTED]>
> To: 
> Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
> Sent: Monday, October 15, 2007 5:25 PM
> Subject: Re: Destination factory problem
>
> > Sergey,
> >
> > Not sure on the two bus thing, but in your case, you aren't
> > importing an extension that has a destination.  The
> > cxf-extension-http doesn't define a destination, just a conduit.   
> > Add the cxf-extension-http-jetty to get the jetty based http
> > destination.
> >
> > 
> >  > resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
> >
> > Dan
> >
> > On Monday 15 October 2007, Sergey Beryozkin wrote:
> >> Hi
> >>
> >> I have this "Np DestinationFactory found" problem when running a
> >> system test. I've checked archives, the suggested solutions are all
> >> about doing some programmatic bus setup, etc... Unfortunately it's
> >> not something I can do in my scenario.
> >>
> >> Here's my configuration :
> >>
> >> http://java.sun.com/xml/ns/j2ee";
> >> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
> >> xmlns:xalan="http://xml.apache.org/xslt";
> >> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configurat
> >>ion " xmlns:soap="http://cxf.apache.org/bindings/soap";
> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >> xmlns:jaxws="http://cxf.apache.org/jaxws";
> >> xmlns="http://www.springframework.org/schema/beans";
> >> xsi:schemaLocation="http://www.springframework.org/schema/beans
> >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >> http://cxf.apache.org/jaxws
> >> http://cxf.apache.org/schemas/jaxws.xsd>
> >>
> >> 
> >>
> >> 
> >>
> >> 
> >>
> >> 
> >>
> >> 
> >>
> >> 
> >>
> >> In debug mode I'm seeing *two* buses created, one bus has a
> >> DestinationFactoryManagerImpl initialized properly,
> >>
> >> for the second bus, no DestinationFactoryManagerImpl is initilized
> >> (no register() method is called on it) and hence at the service
> >> init time an exception is thrown
> >>
> >> Can someone please show how one can configure two endpoints such
> >> that a single bus is created...
> >>
> >> Thanks, Sergey
> >>
> >>
> >>
> >>
> >>
> >>
> >> 
> >> IONA Technologies PLC (registered in Ireland)
> >> Registered Number: 171387
> >> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
> >> Ireland
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727C: 508-380-7194
> > [EMAIL PROTECTED]
> > http://www.dankulp.com/blog
>
> 
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
> Ireland



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog


Re: Destination factory problem

2007-10-15 Thread Sergey Beryozkin
Hi Dan

I was messing with systemtests/http_jetty/EngineLifecycleTest, by modifying the 
existing configuration so that a single configuration file is used, but 
debugging the existing test (testServerUpDownUp) shows that two buses are 
created with only a single endpoint being configured in the config file

Cheers, Sergey

- Original Message - 
From: "Daniel Kulp" <[EMAIL PROTECTED]>
To: 
Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
Sent: Monday, October 15, 2007 6:08 PM
Subject: Re: Destination factory problem


> 
> Sergey,
> 
> Can you send me a simple testcase?   I'm digging into some spring stuff 
> now (actually fixing CXF-922) so I could dig into that as well.
> 
> Dan
> 
> 
> On Monday 15 October 2007, Sergey Beryozkin wrote:
>> Hi Dan
>>
>> It made the trick, endpoints are registered all right now. The only
>> problem is that they're registered twice, per every bus created not
>> sure how it works, probably the runtime recognizes that a given
>> endpoint has already been registered and ignores the second
>> registration attempt.
>>
>> Actually, I've just left a single endpoint there and I still see two
>> buses created, with DestinationFactoryManager being created twice two,
>> once per bus, created every time.
>>
>> Thanks, Sergey
>>
>>
>> - Original Message -
>> From: "Daniel Kulp" <[EMAIL PROTECTED]>
>> To: 
>> Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
>> Sent: Monday, October 15, 2007 5:25 PM
>> Subject: Re: Destination factory problem
>>
>> > Sergey,
>> >
>> > Not sure on the two bus thing, but in your case, you aren't
>> > importing an extension that has a destination.  The
>> > cxf-extension-http doesn't define a destination, just a conduit.   
>> > Add the cxf-extension-http-jetty to get the jetty based http
>> > destination.
>> >
>> > 
>> > > > resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
>> >
>> > Dan
>> >
>> > On Monday 15 October 2007, Sergey Beryozkin wrote:
>> >> Hi
>> >>
>> >> I have this "Np DestinationFactory found" problem when running a
>> >> system test. I've checked archives, the suggested solutions are all
>> >> about doing some programmatic bus setup, etc... Unfortunately it's
>> >> not something I can do in my scenario.
>> >>
>> >> Here's my configuration :
>> >>
>> >> http://java.sun.com/xml/ns/j2ee";
>> >> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
>> >> xmlns:xalan="http://xml.apache.org/xslt";
>> >> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configurat
>> >>ion " xmlns:soap="http://cxf.apache.org/bindings/soap";
>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >> xmlns:jaxws="http://cxf.apache.org/jaxws";
>> >> xmlns="http://www.springframework.org/schema/beans";
>> >> xsi:schemaLocation="http://www.springframework.org/schema/beans
>> >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> >> http://cxf.apache.org/jaxws
>> >> http://cxf.apache.org/schemas/jaxws.xsd>
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> In debug mode I'm seeing *two* buses created, one bus has a
>> >> DestinationFactoryManagerImpl initialized properly,
>> >>
>> >> for the second bus, no DestinationFactoryManagerImpl is initilized
>> >> (no register() method is called on it) and hence at the service
>> >> init time an exception is thrown
>> >>
>> >> Can someone please show how one can configure two endpoints such
>> >> that a single bus is created...
>> >>
>> >> Thanks, Sergey
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> 
>> >> IONA Technologies PLC (registered in Ireland)
>> >> Registered Number: 171387
>> >> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
>> >> Ireland
>> >
>> > --
>> > J. Daniel Kulp
>> > Principal Engineer
>> > IONA
>> > P: 781-902-8727C: 508-380-7194
>> > [EMAIL PROTECTED]
>> > http://www.dankulp.com/blog
>>
>> 
>> IONA Technologies PLC (registered in Ireland)
>> Registered Number: 171387
>> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
>> Ireland
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727C: 508-380-7194
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: Destination factory problem

2007-10-15 Thread Daniel Kulp

Hmm...  must already be fixed in my working copy with all the changed 
I've made.I put a breakpoint in the CXFBusImpl constructor and only 
a single Bus is created when I run the test.   Can you retry once I 
commit later today?

Dan

On Monday 15 October 2007, Sergey Beryozkin wrote:
> Hi Dan
>
> I was messing with systemtests/http_jetty/EngineLifecycleTest, by
> modifying the existing configuration so that a single configuration
> file is used, but debugging the existing test (testServerUpDownUp)
> shows that two buses are created with only a single endpoint being
> configured in the config file
>
> Cheers, Sergey
>
> - Original Message -
> From: "Daniel Kulp" <[EMAIL PROTECTED]>
> To: 
> Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
> Sent: Monday, October 15, 2007 6:08 PM
> Subject: Re: Destination factory problem
>
> > Sergey,
> >
> > Can you send me a simple testcase?   I'm digging into some spring
> > stuff now (actually fixing CXF-922) so I could dig into that as
> > well.
> >
> > Dan
> >
> > On Monday 15 October 2007, Sergey Beryozkin wrote:
> >> Hi Dan
> >>
> >> It made the trick, endpoints are registered all right now. The only
> >> problem is that they're registered twice, per every bus created not
> >> sure how it works, probably the runtime recognizes that a given
> >> endpoint has already been registered and ignores the second
> >> registration attempt.
> >>
> >> Actually, I've just left a single endpoint there and I still see
> >> two buses created, with DestinationFactoryManager being created
> >> twice two, once per bus, created every time.
> >>
> >> Thanks, Sergey
> >>
> >>
> >> - Original Message -
> >> From: "Daniel Kulp" <[EMAIL PROTECTED]>
> >> To: 
> >> Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
> >> Sent: Monday, October 15, 2007 5:25 PM
> >> Subject: Re: Destination factory problem
> >>
> >> > Sergey,
> >> >
> >> > Not sure on the two bus thing, but in your case, you aren't
> >> > importing an extension that has a destination.  The
> >> > cxf-extension-http doesn't define a destination, just a conduit.
> >> > Add the cxf-extension-http-jetty to get the jetty based http
> >> > destination.
> >> >
> >> >  >> > />  >> > resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
> >> >
> >> > Dan
> >> >
> >> > On Monday 15 October 2007, Sergey Beryozkin wrote:
> >> >> Hi
> >> >>
> >> >> I have this "Np DestinationFactory found" problem when running a
> >> >> system test. I've checked archives, the suggested solutions are
> >> >> all about doing some programmatic bus setup, etc...
> >> >> Unfortunately it's not something I can do in my scenario.
> >> >>
> >> >> Here's my configuration :
> >> >>
> >> >> http://java.sun.com/xml/ns/j2ee";
> >> >> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
> >> >> xmlns:xalan="http://xml.apache.org/xslt";
> >> >> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configu
> >> >>rat ion " xmlns:soap="http://cxf.apache.org/bindings/soap";
> >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >> >> xmlns:jaxws="http://cxf.apache.org/jaxws";
> >> >> xmlns="http://www.springframework.org/schema/beans";
> >> >> xsi:schemaLocation="http://www.springframework.org/schema/beans
> >> >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >> >> http://cxf.apache.org/jaxws
> >> >> http://cxf.apache.org/schemas/jaxws.xsd>
> >> >>
> >> >> 
> >> >>
> >> >>  >> >> />
> >> >>
> >> >>  >> >> />
> >> >>
> >> >> 
> >> >>
> >> >> 
> >> >>
> >> >> 
> >> >>
> >> >> In debug mode I'm seeing *two* buses created, one bus has a
> >> >> DestinationFactoryManagerImpl initialized properly,
> >> >>
> >> >> for the second bus, no D

Re: Destination factory problem

2007-10-15 Thread Sergey Beryozkin

Sure, I will. I've just verified again that a constructor is hit twice in my 
mainline/trunk snapshot...

Thanks, Sergey

- Original Message - 
From: "Daniel Kulp" <[EMAIL PROTECTED]>

To: "Sergey Beryozkin" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, October 15, 2007 6:29 PM
Subject: Re: Destination factory problem




Hmm...  must already be fixed in my working copy with all the changed 
I've made.I put a breakpoint in the CXFBusImpl constructor and only 
a single Bus is created when I run the test.   Can you retry once I 
commit later today?


Dan

On Monday 15 October 2007, Sergey Beryozkin wrote:

Hi Dan

I was messing with systemtests/http_jetty/EngineLifecycleTest, by
modifying the existing configuration so that a single configuration
file is used, but debugging the existing test (testServerUpDownUp)
shows that two buses are created with only a single endpoint being
configured in the config file

Cheers, Sergey

- Original Message -
From: "Daniel Kulp" <[EMAIL PROTECTED]>
To: 
Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
Sent: Monday, October 15, 2007 6:08 PM
Subject: Re: Destination factory problem

> Sergey,
>
> Can you send me a simple testcase?   I'm digging into some spring
> stuff now (actually fixing CXF-922) so I could dig into that as
> well.
>
> Dan
>
> On Monday 15 October 2007, Sergey Beryozkin wrote:
>> Hi Dan
>>
>> It made the trick, endpoints are registered all right now. The only
>> problem is that they're registered twice, per every bus created not
>> sure how it works, probably the runtime recognizes that a given
>> endpoint has already been registered and ignores the second
>> registration attempt.
>>
>> Actually, I've just left a single endpoint there and I still see
>> two buses created, with DestinationFactoryManager being created
>> twice two, once per bus, created every time.
>>
>> Thanks, Sergey
>>
>>
>> - Original Message -
>> From: "Daniel Kulp" <[EMAIL PROTECTED]>
>> To: 
>> Cc: "Sergey Beryozkin" <[EMAIL PROTECTED]>
>> Sent: Monday, October 15, 2007 5:25 PM
>> Subject: Re: Destination factory problem
>>
>> > Sergey,
>> >
>> > Not sure on the two bus thing, but in your case, you aren't
>> > importing an extension that has a destination.  The
>> > cxf-extension-http doesn't define a destination, just a conduit.
>> > Add the cxf-extension-http-jetty to get the jetty based http
>> > destination.
>> >
>> > > > /> > > resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
>> >
>> > Dan
>> >
>> > On Monday 15 October 2007, Sergey Beryozkin wrote:
>> >> Hi
>> >>
>> >> I have this "Np DestinationFactory found" problem when running a
>> >> system test. I've checked archives, the suggested solutions are
>> >> all about doing some programmatic bus setup, etc...
>> >> Unfortunately it's not something I can do in my scenario.
>> >>
>> >> Here's my configuration :
>> >>
>> >> http://java.sun.com/xml/ns/j2ee";
>> >> xmlns:sunjaxws="http://java.sun.com/xml/ns/jax-ws/ri/runtime";
>> >> xmlns:xalan="http://xml.apache.org/xslt";
>> >> xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configu
>> >>rat ion " xmlns:soap="http://cxf.apache.org/bindings/soap";
>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >> xmlns:jaxws="http://cxf.apache.org/jaxws";
>> >> xmlns="http://www.springframework.org/schema/beans";
>> >> xsi:schemaLocation="http://www.springframework.org/schema/beans
>> >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> >> http://cxf.apache.org/jaxws
>> >> http://cxf.apache.org/schemas/jaxws.xsd>
>> >>
>> >> 
>> >>
>> >> > >> />
>> >>
>> >> > >> />
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> 
>> >>
>> >> In debug mode I'm seeing *two* buses created, one bus has a
>> >> DestinationFactoryManagerImpl initialized properly,
>> >>
>> >> for the second bus, no DestinationFactoryManagerImpl is
>> >> initilized (no register() method is called on it) and hence at
>> >> the service in