You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Diefenbach Anne <Di...@fgan.de> on 2009/02/27 17:34:15 UTC

SMX cluster fails to publish CXF-based provider

Hi,

I have tried to split my functioning test case with a CXF-based provider
published to ServiceMix and an external CXF client to achieve this
previously discussed architecture: 

external cxf client <======> cxf bc consumer in servicemix A <======>
provider in servicemix B

To this end, I have split my previous service assembly into two, one
containing the CXF-SE with my provider, one containing the CXF-BC. If I
deploy both to one ServiceMix instance, I can call the service with my
consumer without problems.

If, however, I use two ServiceMix instances (both on the same computer),
the consumer fails with a ConnectException. Since, if I interpret the
logs correctly, the provider never gets published, this is hardly
surprising. So I assume that somewhere, I made a mistake configuring my
ServiceMix instances, but I cannot figure out where. Nor does a Google
search turn up any hints.

I have attached the logs and configurations which I changed from the
default, with anything named "client" referring to the SMX instance to
which I deployed the CXF-BC. Can anyone help me figure out where I went
wrong?

Thank you,

Anne

Re: SMX cluster fails to publish CXF-based provider

Posted by Diefenbach Anne <Di...@fgan.de>.
Okay, in case someone else runs into the same problem: This had to do
with the working directory. I copied the hotdeploy and the data
directories from my ServiceMix root directory to my working directories
(one for each service assembly) and could finally invoke my service
properly. If it still failed, removing and re-deploying my assemblies
helped.

Regards,
Anne

-----Original Message-----
From: Diefenbach Anne [mailto:Diefenbach@fgan.de] 
Sent: Freitag, 27. Februar 2009 17:34
To: users@servicemix.apache.org
Subject: SMX cluster fails to publish CXF-based provider

Hi,

I have tried to split my functioning test case with a CXF-based provider
published to ServiceMix and an external CXF client to achieve this
previously discussed architecture: 

external cxf client <======> cxf bc consumer in servicemix A <======>
provider in servicemix B

To this end, I have split my previous service assembly into two, one
containing the CXF-SE with my provider, one containing the CXF-BC. If I
deploy both to one ServiceMix instance, I can call the service with my
consumer without problems.

If, however, I use two ServiceMix instances (both on the same computer),
the consumer fails with a ConnectException. Since, if I interpret the
logs correctly, the provider never gets published, this is hardly
surprising. So I assume that somewhere, I made a mistake configuring my
ServiceMix instances, but I cannot figure out where. Nor does a Google
search turn up any hints.

I have attached the logs and configurations which I changed from the
default, with anything named "client" referring to the SMX instance to
which I deployed the CXF-BC. Can anyone help me figure out where I went
wrong?

Thank you,

Anne