You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Filippo Diotalevi <fi...@gmail.com> on 2009/03/01 22:23:37 UTC

Cannot make the distributed OSGi sample to work

Hi,
  I'm trying to make the sample application explained
http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html
work.

I'm running 2 Felix 1.4.1 instances in the same machine (java version
"1.6.0_07", Mac OS 10.5), the first
-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (1.4.1)
[   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
[   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
[   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
[   4] [Active     ] [    1] Distributed OSGi Distribution Software
Single-Bundle Distribution (1.0.0.SNAPSHOT)
[   5] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
[  14] [Active     ] [    1] CXF Distributed OSGi Greeter Demo
Interface Bundle (1.0.0.SNAPSHOT)
[  15] [Active     ] [    1] CXF Distributed OSGi Greeter Demo Service
Implementation Bundle (1.0.0.SNAPSHOT)

and the second
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (1.4.1)
[   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
[   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
[   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
[   4] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
[   6] [Active     ] [    1] Distributed OSGi Distribution Software
Single-Bundle Distribution (1.0.0.SNAPSHOT)
[   7] [Active     ] [    1] CXF Distributed OSGi Greeter Demo Client
Bundle (1.0.0.SNAPSHOT)
[   8] [Active     ] [    1] CXF Distributed OSGi Greeter Demo
Interface Bundle (1.0.0.SNAPSHOT)


All the Distributed OSGi jars are taken downloaded from the website
and untouched.
A test at localhost:9090/greeter?wsdl shows that the web service is
running server side, but the client doesn't seem to make any call. I
verified the same (mis)behavior running two felix instances in
different machines (modifying the remote-services.xml file),

When I start the client bundle, I see to log lines:
-> start 7
Mar 1, 2009 10:09:27 PM
org.apache.cxf.dosgi.dsw.handlers.ConfigTypeHandlerFactory getHandler
INFO: Configuration type  is not supported


Any suggestion?

Thanks,
-- 
Filippo Diotalevi

Re: Cannot make the distributed OSGi sample to work

Posted by Filippo Diotalevi <fi...@gmail.com>.
On Mon, Mar 2, 2009 at 11:01 AM, David Bosschaert
<da...@gmail.com> wrote:
> Hi Filippo,
>
> I was able to reproduce your problem and fixed it. The problem was in the demo.
> If you update trunk and rebuild the greeter demo it should all work again.

Tried again and it works now.

Thanks!
-- 
Filippo Diotalevi

Re: Cannot make the distributed OSGi sample to work

Posted by David Bosschaert <da...@gmail.com>.
Hi Filippo,

I was able to reproduce your problem and fixed it. The problem was in the demo.
If you update trunk and rebuild the greeter demo it should all work again.

Cheers,

David

2009/3/1 Filippo Diotalevi <fi...@gmail.com>:
> Hi,
>  I'm trying to make the sample application explained
> http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html
> work.
>
> I'm running 2 Felix 1.4.1 instances in the same machine (java version
> "1.6.0_07", Mac OS 10.5), the first
> -> ps
> START LEVEL 1
>   ID   State         Level  Name
> [   0] [Active     ] [    0] System Bundle (1.4.1)
> [   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
> [   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
> [   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
> [   4] [Active     ] [    1] Distributed OSGi Distribution Software
> Single-Bundle Distribution (1.0.0.SNAPSHOT)
> [   5] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
> [  14] [Active     ] [    1] CXF Distributed OSGi Greeter Demo
> Interface Bundle (1.0.0.SNAPSHOT)
> [  15] [Active     ] [    1] CXF Distributed OSGi Greeter Demo Service
> Implementation Bundle (1.0.0.SNAPSHOT)
>
> and the second
> START LEVEL 1
>   ID   State         Level  Name
> [   0] [Active     ] [    0] System Bundle (1.4.1)
> [   1] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
> [   2] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
> [   3] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
> [   4] [Active     ] [    1] OSGi R4 Compendium Bundle (4.1.0)
> [   6] [Active     ] [    1] Distributed OSGi Distribution Software
> Single-Bundle Distribution (1.0.0.SNAPSHOT)
> [   7] [Active     ] [    1] CXF Distributed OSGi Greeter Demo Client
> Bundle (1.0.0.SNAPSHOT)
> [   8] [Active     ] [    1] CXF Distributed OSGi Greeter Demo
> Interface Bundle (1.0.0.SNAPSHOT)
>
>
> All the Distributed OSGi jars are taken downloaded from the website
> and untouched.
> A test at localhost:9090/greeter?wsdl shows that the web service is
> running server side, but the client doesn't seem to make any call. I
> verified the same (mis)behavior running two felix instances in
> different machines (modifying the remote-services.xml file),
>
> When I start the client bundle, I see to log lines:
> -> start 7
> Mar 1, 2009 10:09:27 PM
> org.apache.cxf.dosgi.dsw.handlers.ConfigTypeHandlerFactory getHandler
> INFO: Configuration type  is not supported
>
>
> Any suggestion?
>
> Thanks,
> --
> Filippo Diotalevi
>