FAQ  •  Register  •  Login

[Solved] StartUP Problem : Cannot connect to serviio ser ...

<<

DonTV

Serviio newbie

Posts: 6

Joined: Wed Dec 24, 2014 8:39 pm

Post Fri Dec 26, 2014 10:04 pm

[Solved] StartUP Problem : Cannot connect to serviio ser ...

"cannot connect to serviio server it does not seem to be running "

Win 8.1 Pro, Java 8 rel 25 ....

Derby Log

Fri Dec 26 19:38:11 UYST 2014 Thread[main,5,main] Cleanup action starting
ERROR XBM0X: Supplied territory description 'es_419' is invalid, expecting ln[_CO[_variant]]
ln=lower-case two-letter ISO-639 language code, CO=upper-case two-letter ISO-3166 country codes, see java.util.Locale.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.staticGetLocaleFromString(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.setLocale(Unknown Source)
at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)

Serviio Log

...
2014-12-26 18:49:25,455 INFO [WebServer] Socket buffer set to 65535 bytes
2014-12-26 18:49:25,456 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2014-12-26 18:49:25,483 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2014-12-26 18:49:25,483 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2014-12-26 18:49:25,492 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2014-12-26 18:49:25,502 INFO [DatabaseManager] Using DERBY database language
2014-12-26 18:49:25,698 WARN [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to create database 'db', see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)

....

Both log files are partial ... I have full, but I think this is enough to view the problem.

Thanks in advance.

PD. I see several post with problems like this ... I must said I have a SSD and this problems occurs in manually activation (I released from boot init).
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 28, 2014 6:46 pm

Re: StartUP Problem : Cannot connect to serviio ser ...

What is your OS Locale?
<<

DonTV

Serviio newbie

Posts: 6

Joined: Wed Dec 24, 2014 8:39 pm

Post Sun Dec 28, 2014 6:57 pm

Re: StartUP Problem : Cannot connect to serviio ser ...

zip wrote:What is your OS Locale?

The OS of my PC where Serviio not start is Windows 8.1 Pro like I said in my post.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 28, 2014 7:06 pm

Re: StartUP Problem : Cannot connect to serviio ser ...

Yes - but what is the localization settings? Eg English, Czech, French, ...

It looks like the database that Serviio uses doesn't support 'es_419' locale code. https://issues.apache.org/jira/browse/DERBY-6696

We could try to override that setting just for Serviio (not sure if it will work, but we can try)

Add these 2 lines to your ServiioService.exe.vmoptions file and restart the service (or PC)

  Code:
-Duser.language=es
-Duser.country=ES
<<

DonTV

Serviio newbie

Posts: 6

Joined: Wed Dec 24, 2014 8:39 pm

Post Sun Dec 28, 2014 8:08 pm

Re: StartUP Problem : Cannot connect to serviio ser ...

zip wrote:Yes - but what is the localization settings? Eg English, Czech, French, ...

It looks like the database that Serviio uses doesn't support 'es_419' locale code. https://issues.apache.org/jira/browse/DERBY-6696

We could try to override that setting just for Serviio (not sure if it will work, but we can try)

Add these 2 lines to your ServiioService.exe.vmoptions file and restart the service (or PC)

  Code:
-Duser.language=es
-Duser.country=ES


SOLVED

With your tip

I have my SO in Spanish and Java also in Spanish.

Thanks for your help.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 58 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.