How did you solve it?

-----Original Message-----
From: rcbandit2 [mailto:[email protected]] 
Sent: den 11 februari 2012 22:40
To: [email protected]
Subject: Re: How to add Java network server into OSGI bundle


Problem is solved! Thank you!


Christian Schneider wrote:
> 
> 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]
> 
> 
> 

--
View this message in context:
http://old.nabble.com/How-to-add-Java-network-server-into-OSGI-bundle-tp3329
5152p33307899.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


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



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

Reply via email to