java.nio.channels.ClosedByInterruptException
|
29-12-2015, 06:20
Post: #1
|
|||
|
|||
java.nio.channels.ClosedByInterruptException
I always get this java exception when doing rescan.
Warning: ID3v2 COMM frame value contains illegal character at offset 652 in file 500 Greatest Rock Classics/264 - David Bowie - Starman.mp3 (length 4085888) restarting MinimServer[NAS] Error: java.nio.channels.ClosedByInterruptException at offset 166139 in file 500 Greatest Rock Classics/367 - Creed - Higher.mp3 (length 6396029) MinimServer: error closing output cache file Music-temp.mcache java.nio.channels.ClosedByInterruptException at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:216) at java.nio.channels.Channels.writeFullyImpl(Channels.java:78) at java.nio.channels.Channels.writeFully(Channels.java:101) at java.nio.channels.Channels.access$000(Channels.java:61) at java.nio.channels.Channels$1.write(Channels.java:174) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.io.DataOutputStream.flush(DataOutputStream.java:123) at java.io.FilterOutputStream.close(FilterOutputStream.java:158) at com.minimserver.Server.readFiles(Server.java:3848) at com.minimserver.Server.doStart(Server.java:2164) at com.minimserver.Server.start(Server.java:508) at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167) at org.jminim.core.ContextImpl.start(ContextImpl.java:92) at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:47) at org.jminim.core.ContextImpl.start(ContextImpl.java:92) at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1382) at org.jminim.core.LauncherImpl.run(LauncherImpl.java:975) at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jminim.launch.Launcher.doLaunch(Launcher.java:621) at org.jminim.launch.Launcher.launch(Launcher.java:204) at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30) Suppressed: java.nio.channels.ClosedChannelException at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:110) at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:199) at java.nio.channels.Channels.writeFullyImpl(Channels.java:78) at java.nio.channels.Channels.writeFully(Channels.java:101) at java.nio.channels.Channels.access$000(Channels.java:61) at java.nio.channels.Channels$1.write(Channels.java:174) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at java.io.FilterOutputStream.close(FilterOutputStream.java:158) at java.io.FilterOutputStream.close(FilterOutputStream.java:159) ... 17 more MinimServer error: now stopped, use 'restart' or 'exit' |
|||
29-12-2015, 08:46
Post: #2
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
You are running a very old version of MinimServer (0.8.3 update 50). Please install the latest update (update 75). Does this fix the problem?
You can ensure that you always have the latest update installed by using the System tab of the Properties dialog to set the .autoUpdate property to true. |
|||
29-12-2015, 09:24
Post: #3
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
I installed minim server today using the download link on this site file name MinimServer-0.8.3d-linux-x64.tar.gz
It is indeed update 50, when I manually look for update I get following error Resource not available: http://minimserver.com/updates/minimserver-0.8.3.jmupd I can access that url from that same machine using a browser |
|||
29-12-2015, 13:53
Post: #4
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
(29-12-2015 09:24)tridentsx Wrote: I installed minim server today using the download link on this site file name MinimServer-0.8.3d-linux-x64.tar.gz Do you have a firewall running on this machine that is preventing MinimServer from accessing the update server? |
|||
29-12-2015, 17:05
Post: #5
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
(29-12-2015 13:53)simoncn Wrote:(29-12-2015 09:24)tridentsx Wrote: I installed minim server today using the download link on this site file name MinimServer-0.8.3d-linux-x64.tar.gz Not to my knowledge its running on my debian based readynas, is it using other protocol than http to get the updates ? I know that firmware updates for the nas are downloaded via http so it should be open. |
|||
29-12-2015, 17:15
Post: #6
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
(29-12-2015 17:05)tridentsx Wrote: Not to my knowledge its running on my debian based readynas, is it using other protocol than http to get the updates ? I know that firmware updates for the nas are downloaded via http so it should be open. MinimServer updates are downloaded via HTTP. What exact model of ReadyNAS is this? How did you install MinimServer on the ReadyNAS? How are you "manually looking for updates"? Do you have MinimWatch running on another machine? If not, please install it and see if you can update MinimServer using MinimWatch. |
|||
29-12-2015, 18:20
Post: #7
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
I found the problem the routing table is setup to route all 5.x.x.x addresses to itself for some type of VPN setup to netgears cloud. I will investigate how to fix and post it here.
|
|||
29-12-2015, 18:41
Post: #8
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
root@NAS:/usr/local/minimserver/bin# route add -host 5.153.222.25 gw 192.168.1.1
root@NAS:/usr/local/minimserver/bin# ./startc MinimServer 0.8.3 update 50, Copyright © 2012-2014 Simon Nash. All rights reserved. autoUpdate: installed package 'minimserver-0.8-update-75' Enter command (? for help), or null to exit: autoUpdate: relaunching runtime >MinimServer 0.8.3 update 75, Copyright © 2012-2015 Simon Nash. All rights reserved. starting MinimServer[NAS] Enter command (? for help): >? |
|||
29-12-2015, 20:21
Post: #9
|
|||
|
|||
RE: java.nio.channels.ClosedByInterruptException
(29-12-2015 18:41)tridentsx Wrote: root@NAS:/usr/local/minimserver/bin# route add -host 5.153.222.25 gw 192.168.1.1 This confirms that you are now fully up to date. Is this route setting permanent or will it be lost when the NAS is rebooted? Without it, MinimServer won't be able to discover and install future updates when they become available. You can use MinimWatch to check for and install updates at any time. Please let me know whether this update fixes the previous problem that you were having. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)