Not workign on synology ds216j+
synology dsm 6.0
JAVA 7 (1.7.0)
ubooquity.conf
start on started httpd-user
stop on runlevel [06]
exec /var/packages/java7/target/jre/bin/java -Dfile.encoding=UTF-8 -jar -Xmx512m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -headless -workdir "/volume1/comics"
Log
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: /var/packages/Ubooquity
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - #############################
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - #############################
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_131
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 121 MB
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS version: 3.10.102
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - OS architecture: arm
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.0.2 built on 2017-04-24 at 20:52
20170611 18:41:10 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170611 18:41:11 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170611 18:41:11 [main] INFO com.ubooquity.Ubooquity - Saving preferences
20170611 18:41:17 [main] INFO org.eclipse.jetty.util.log - Logging initialized @27199ms to org.eclipse.jetty.util.log.Slf4jLog
20170611 18:41:17 [main] INFO com.ubooquity.b - Starting internal server...
20170611 18:41:17 [main] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20170611 18:41:17 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20170611 18:41:18 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20170611 18:41:18 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@13d1baf{/,null,AVAILABLE,@admin}
20170611 18:41:18 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@eb3ea3{/,null,AVAILABLE,@library}
20170611 18:41:18 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@3cf2ba{HTTP/1.1,[http/1.1]}{127.0.0.1:2203}
20170611 18:41:18 [main] ERROR com.ubooquity.Ubooquity - Exiting application because of exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_131]
at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_131]
at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_131]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[na:1.8.0_131]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.8.0_131]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:298) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.0.v20161208.jar.7686238508981717002.tmp:9.4.0.v20161208]
at org.eclipse.jetty.server.Server.doStart(Server.java:431) ~[jetty-server-9.4.0.v20161208.jar.5531817902204455979.tmp:9.4.0.v20161208]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[jetty-util-9.4.0.v20161208.jar.7686238508981717002.tmp:9.4.0.v20161208]
at com.ubooquity.d.e.a(SourceFile:92) ~[Ubooquity.jar:2.0.2]
at com.ubooquity.b.a(SourceFile:95) ~[Ubooquity.jar:2.0.2]
at com.ubooquity.Ubooquity.main(SourceFile:222) ~[Ubooquity.jar:2.0.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at com.ubooquity.e.a.a(SourceFile:823) [Ubooquity.jar:2.0.2]
at com.ubooquity.Launcher.main(SourceFile:10) [Ubooquity.jar:2.0.2]
20170611 18:42:41 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Waiting for scanner thread to stop
20170611 18:42:41 [Thread-2] INFO com.ubooquity.data.feeder.a - Scanner thread stopped
20170611 18:42:41 [Thread-2] INFO o.e.jetty.server.AbstractConnector - Stopped library@1f46f8f{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20170611 18:42:41 [Thread-2] INFO o.e.jetty.server.AbstractConnector - Stopped admin@3cf2ba{HTTP/1.1,[http/1.1]}{127.0.0.1:2203}
20170611 18:42:41 [Thread-2] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@eb3ea3{/,null,UNAVAILABLE,@library}
20170611 18:42:41 [Thread-2] INFO o.e.j.server.handler.ContextHandler - Stopped o.e.j.s.h.ContextHandler@13d1baf{/,null,UNAVAILABLE,@admin}
20170611 18:42:41 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20170611 18:42:41 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
Do anyone know how to solve the problem?
Customer support service by UserEcho
"Address already in use" means that another application uses one of the ports Ubooquity uses (2202 for the library, 2203 for the admin page).
You have to use other ports (see here for command line options).
By the way, according to your logs, you are using Java 8 (which is a good thing, since Ubooquity does not work with Java 7).
The problem was solved by reverse proxy in the synology DSM6.0 if you saw the error "Reverse proxy prefix is not activated".
Reverse proxy can't apply a hostname for both front page and back page (admin).
The better way is using different hostname to manage Ubooquity.