JdbcSQLException:
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
JdbcSQLException:
Hi guys, i installed UMS 6.0.0-a1 on my fedora 23. After that I using the guide at this link http://mikeshoup.com/2014/11/30/univers ... -centos-7/to autostart UMS with systemd. UMS start normally and i can use it via web browser but when i trie to connect using psvita or another dlna render the log is filled with the following messages:
DEBUG 2015-12-19 19:13:41.663 [New I/O worker #2] got exception in findindb org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working director
y is not allowed in the database URL "jdbc:h2:database/movieDB". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-190]
I don't find any setting to fix this problem.
Can you help me ?
My java version is java-1.8.0-openjdk-1.8.0.65-13.b17.fc23.x86_64
DEBUG 2015-12-19 19:13:41.663 [New I/O worker #2] got exception in findindb org.h2.jdbc.JdbcSQLException: A file path that is implicitly relative to the current working director
y is not allowed in the database URL "jdbc:h2:database/movieDB". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-190]
I don't find any setting to fix this problem.
Can you help me ?
My java version is java-1.8.0-openjdk-1.8.0.65-13.b17.fc23.x86_64
Re: JdbcSQLException:
another info from the debug.log
DEBUG 2015-12-19 19:18:59.386 [main] Using database URL: jdbc:h2:/opt/ums-6.0.0-a1/database/medias
INFO 2015-12-19 19:18:59.386 [main] Using database located at: /opt/ums-6.0.0-a1/database
The path seems to be absolute ...
DEBUG 2015-12-19 19:18:59.386 [main] Using database URL: jdbc:h2:/opt/ums-6.0.0-a1/database/medias
INFO 2015-12-19 19:18:59.386 [main] Using database located at: /opt/ums-6.0.0-a1/database
The path seems to be absolute ...

-
- Posts: 1
- Joined: Thu Dec 24, 2015 12:42 am
Re: JdbcSQLException:
Try the oracle java, also the guide's firewall config is incomplete:
iptables -A INPUT -i ethX -s 0.0.0.0/32 -d 224.0.0.1/32 -p igmp -j ACCEPT
iptables -A INPUT -i ethX -d 239.0.0.0/8 -p igmp -j ACCEPT
i did the gas-axe version with firewalld
firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p igmp -j ACCEPT
but YMMV - if the above does work try disabling the firewall
iptables -A INPUT -i ethX -s 0.0.0.0/32 -d 224.0.0.1/32 -p igmp -j ACCEPT
iptables -A INPUT -i ethX -d 239.0.0.0/8 -p igmp -j ACCEPT
i did the gas-axe version with firewalld
firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p igmp -j ACCEPT
but YMMV - if the above does work try disabling the firewall