Hi,

the problem is that the EchoServer constructor never returns. This is ok if you call it in a java main but not in an OSGi activator. Like Ivanhoe already hinted you need to start a new thread where your loop can run. This is outside the scope of OSGi though.

Christian


Am 11.02.2012 15:21, schrieb rcbandit2:
This the complete source code:
http://www.2shared.com/file/jnGjnZjZ/CB_27.html
How I must edit the code in order to work?
I'm new to java.



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to