SilverlightPolicyServer.jar got an exception

Post here all your questions related with beta Silverlight API

Moderators: Lapo, Bax

plouveau
Posts: 2
Joined: 04 Apr 2011, 08:10

SilverlightPolicyServer.jar got an exception

Postby plouveau » 04 Apr 2011, 08:28

Hi,

I'm trying to follow the QuickGuide for Silverlight Sample Chat.
In the command prompt, i type the following command :

Code: Select all

java -jar SilverlightPolicyServer.jar

It returns me an "IO Exception : Unrecognized Windows Sockets error: 0: JVM_Bind.

Can you help me to solve this problem ?
User avatar
Bax
Site Admin
Posts: 4381
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 05 Apr 2011, 07:53

From what we could find by googling around, this problem occurs on some Windows systems that have the IPv6 TCP Stack installed. If both IPv4 and IPv6 are installed on the computer, the Java Virtual Machine (JVM) may have problems closing or opening sockets at the operating system level.
This should be the solution. Please let us know if it works:

Code: Select all

java -Djava.net.preferIPv4Stack=true -jar SilverlightPolicyServer.jar
Paolo Bax
The SmartFoxServer Team
plouveau
Posts: 2
Joined: 04 Apr 2011, 08:10

Postby plouveau » 08 Apr 2011, 08:36

It's working :)

Thanks !

Return to “Silverlight API”

Who is online

Users browsing this forum: No registered users and 1 guest