Unable to set Client setSoTimeout? [FIXED]

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
count_fuzzball
User
Posts: 67
Joined: Mon Sep 01, 2008 8:53 am

Unable to set Client setSoTimeout? [FIXED]

Post by count_fuzzball » Sun Jun 06, 2010 10:49 pm

andrew@System1337:~$ /usr/lib/jvm/java-6-sun/bin/java -jar /home/andrew/bin/Fantasia-0.9.jar
06-Jun-2010 23:46:30 org.linuxsampler.lscp.Client setSoTimeout
INFO: Unable to set timeout
java.net.SocketException: Socket Closed
at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:201)
at java.net.Socket.setSoTimeout(Socket.java:1017)
at org.linuxsampler.lscp.Client.setSoTimeout(Client.java:188)
at org.jsampler.task.Global$SetClientReadTimeout.exec(Global.java:265)
at org.jsampler.task.EnhancedTask.run(EnhancedTask.java:57)
at net.sf.juife.AbstractTask.invokeAndWait(AbstractTask.java:180)
at net.sf.juife.TaskQueue.processTheQueue(TaskQueue.java:176)
at net.sf.juife.TaskQueue.start0(TaskQueue.java:147)
at net.sf.juife.TaskQueue.access$000(TaskQueue.java:43)
at net.sf.juife.TaskQueue$1.run(TaskQueue.java:140)

I recently upgraded my system (running debian testing and a custom kernel) and this message appeared. Linuxsampler server (I'm running the cvs versions of both fantasia and linuxsampler) starts and is initialised fine, but when I try to start Fantasia this message appears. Could anyone shed any light on this?

EDIT 2: I only upgraded the software on my machine, but my kernel, which is a 2.6.30 kernel. The software upgrade included the java packages, could this be the source of the problem?
Last edited by count_fuzzball on Tue Jun 08, 2010 10:39 am, edited 1 time in total.

count_fuzzball
User
Posts: 67
Joined: Mon Sep 01, 2008 8:53 am

Re: Unable to set Client setSoTimeout?

Post by count_fuzzball » Tue Jun 08, 2010 10:39 am

Correctly rectified this problem.
It turns out that net.ipv6.bindv6only was set to 1 in /etc/sysctl.d/bindv6only.conf. The quick fix for this is to set it 0.

Post Reply