0

Ubooquity fails to run using JAVAW.exe; Unhandled exception

bixtool 4 years ago 0

Running latest Ubooquity & java on Windows 10


When I attempt to run headless, the server is not accessible:

Command Prompt> javaw -jar Ubooquity.jar -headless -webadmin


Command completes normally, but I cannot access the server webpage: localhost:2202

Is this the correct method to invoke Ubooquity headless?


I piped the results to a txt file: Can someone explain why the internal server exits??


20170205 14:07:45 [main] INFO com.ubooquity.Ubooquity - Ubooquity 1.10.1 built on 2016-05-10 at 20:36
20170205 14:07:45 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170205 14:07:45 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170205 14:07:46 [main] INFO com.ubooquity.c - Starting internal server...
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170205 14:07:46 [main] INFO com.ubooquity.c - Reverse proxy prefix is not activated
20170205 14:07:46 [main] INFO com.ubooquity.c - Internal server started. Listening on port 2202
Enter Q to exit
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170205 14:07:46 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
java.io.IOException: The handle is invalid
at java.io.FileInputStream.available(Native Method) ~[na:1.8.0_121]
at java.io.BufferedInputStream.available(Unknown Source) ~[na:1.8.0_121]
at com.ubooquity.Ubooquity.main(SourceFile:283) ~[Ubooquity.jar:1.10.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_121]
at com.ubooquity.e.c.a(SourceFile:823) [Ubooquity.jar:1.10.1]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:1.10.1]
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20170205 14:07:46 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 2, added or updated: 0, removed: 0]
20170205 14:07:46 [Thread-3] WARN com.ubooquity.Ubooquity - Stopping server in shutdown hook
20170205 14:07:46 [Thread-3] INFO com.ubooquity.c - Stopping internal server...
20170205 14:07:46 [Thread-3] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20170205 14:07:46 [Thread-3] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop
20170205 14:07:46 [Thread-3] INFO com.ubooquity.data.feeder.a - Scanner thread stopped
20170205 14:07:46 [Thread-3] INFO com.ubooquity.c - Internal server stopped
20170205 14:07:46 [Thread-3] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
20170205 14:07:47 [Timer-0] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20170205 14:07:47 [Timer-0] INFO com.ubooquity.Ubooquity - Latest version available: 1.10.1 - Current version: 1.10.1