Hi,

Am Montag, den 31.01.2011, 14:56 +0100 schrieb Asier Aranbarri
Beldarrain: 
> Hi; 
> 
> 
> 
> Well, I checked the ports but the one I was trying to connect to
> wasn't in use. 
> Anyway, I tried another random port numbers but the problem didn't
> dissappear.

Maybe your Windows firewall does not allow your application to use
networking ?

> 
> 
> 
> Sorry for my ignorance, but how's that the Eclipse's OSGi Framework
> ain't OSGi? (honest question) 

Your question was about opening a ServerSocket. This is not an OSGi
question but a question of "how to I use Java networking". In fact your
stack trace did not list a single OSGi or even Equinox related class.

And if the question is related to how Equinox works, you might probably
better ask on an Equinox list. This is for general OSGi questions.

Regards
Felix

> 
> 
> Regards
> 
> 
> On 31 January 2011 13:18, Felix Meschberger <[email protected]>
> wrote:
>         Hi,
>         
>         Am Montag, den 31.01.2011, 13:16 +0100 schrieb Asier Aranbarri
>         Beldarrain: 
>         > Hi Felix:
>         >
>         > Could you please give me more details?
>         
>         
>         Check whether the port the bundle wants to bind to is already
>         in use on
>         your platform. 
>         
>         >
>         > The bundle is not failing when i execute it on the eclipse
>         framework,
>         > but it does when I do outside it (in an independent equinox
>         loader).
>         
>         
>         Sorry, last answer from me in this thread. This ain't OSGi ;-)
>         
>         Regards
>         Felix 
>         
>         >
>         >
>         >
>         > Thanks,
>         >
>         > Asier
>         >
>         >
>         > On 31 January 2011 13:08, Felix Meschberger
>         <[email protected]>
>         > wrote:
>         >         Hi,
>         >
>         >         I am almost certain, that this issue has nothing to
>         do with
>         >         OSGi but
>         >         rather with the IP port probably not available to
>         binde to ...
>         >
>         >         Regards
>         >         Felix
>         >
>         >         Am Montag, den 31.01.2011, 12:58 +0100 schrieb Asier
>         Aranbarri
>         >         Beldarrain:
>         >         > I',m getting this error trying to start a bundle
>         which
>         >         connects to a
>         >         > socket:
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >         java.net.SocketException: Unrecognized
>         Windows
>         >         Sockets error:
>         >         >         0: JVM_Bind
>         >         >         at
>         java.net.PlainSocketImpl.socketBind(Native
>         >         Method)
>         >         >         at
>         >
>         java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>         >         >         at
>         java.net.ServerSocket.bind(ServerSocket.java:319)
>         >         >         at
>         >         java.net.ServerSocket.<init>(ServerSocket.java:185)
>         >         >         at
>         >         java.net.ServerSocket.<init>(ServerSocket.java:97)
>         >         >         at Conector.MyClass$1.run(MyClass.java:28)
>         >         >         at java.lang.Thread.run(Thread.java:619)
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > Any info would be useful, thanks!
>         >
>         >         > _______________________________________________
>         >         > OSGi Developer Mail List
>         >         > [email protected]
>         >         > https://mail.osgi.org/mailman/listinfo/osgi-dev
>         >
>         >
>         >         _______________________________________________
>         >         OSGi Developer Mail List
>         >         [email protected]
>         >         https://mail.osgi.org/mailman/listinfo/osgi-dev
>         >
>         > _______________________________________________
>         > OSGi Developer Mail List
>         > [email protected]
>         > https://mail.osgi.org/mailman/listinfo/osgi-dev
>         
>         
>         _______________________________________________
>         OSGi Developer Mail List
>         [email protected]
>         https://mail.osgi.org/mailman/listinfo/osgi-dev
>         
> 
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to