FAQ  •  Register  •  Login

Console won't Launch

<<

jgasparine

Serviio newbie

Posts: 6

Joined: Thu Mar 15, 2012 10:41 pm

Post Tue Aug 07, 2012 1:54 am

Console won't Launch

I have downloaded 'serviio-1.0-win-setup.exe' with intentions to install the console on Computer A. The server already runs on Computer B.

When launching the installer on Computer A, and prompted to 'Select Components to Install', I select 'Common Files' and 'Serviio Console' only (I uncheck the box for 'Serviio Server'). The install completes, and I launch the executable for Serviio Console. Nothing happens.

Computer A is running Windows 7 x64 Home Premium
I have tried uninstalling all previous versions of Java and Serviio, and manually installing Java 6u33 x64 before attempting to re-install Serviio per the steps described above. I have also tried this re-install sequence with Java 7u5 x64.

None of the above have resulted in the Console launching.

Everything runs fine on Computer B, which is a WinXP x32 machine.

Thoughts? This is driving me nuts...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Aug 07, 2012 8:55 am

Re: Console won't Launch

Is there any log created on the machine B? Did you set the console for remote access?
<<

jgasparine

Serviio newbie

Posts: 6

Joined: Thu Mar 15, 2012 10:41 pm

Post Tue Aug 07, 2012 11:43 am

Re: Console won't Launch

Here is what is in the Serviio log on Machine A:

  Code:
2012-08-06 21:56:15,552 INFO  [ServiioConsole] Starting Serviio Console
2012-08-06 21:56:15,646 INFO  [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-08-06 21:56:26,020 WARN  [ServiioConsole] Cannot connect to the server to get DB initialization info
2012-08-06 21:56:36,125 WARN  [ServiioConsole] Cannot connect to server: Connection Error (1000) - Connection refused: connect
2012-08-06 21:56:36,126 ERROR [ServiioConsole] Unexpected exception occured: null
java.lang.NullPointerException
   at org.serviio.console.ServiioConsole.setupConsoleSettings(ServiioConsole.java:120)
   at org.serviio.console.ServiioConsole.main(ServiioConsole.java:103)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
   at com.exe4j.runtime.WinLauncher.main(Unknown Source)
2012-08-06 21:56:36,130 INFO  [ServiioConsole] Leaving Serviio Console
2012-08-06 21:57:11,910 INFO  [ServiioConsole] Starting Serviio Console
2012-08-06 21:57:12,038 INFO  [ServiioConsole] Connecting to Serviio REST on localhost:23423
2012-08-06 21:57:22,323 WARN  [ServiioConsole] Cannot connect to the server to get DB initialization info
2012-08-06 21:57:27,065 INFO  [ServiioConsole] Leaving Serviio Console


I cannot find anything of note in the Windows logs. I did not look into the Machine B logs because I don't think Machine A ever made contact with Machine B.

To answer your second question, I have not set the console for remote access. This is because I cannot seem to locate find the following files in the Serviio directory/subdirectories: "ServiioService.exe.vmoption" and/or "serviio.bat".

I have my folder permissions set to show all hidden files, so I don't quite understand why they aren't appearing in the installation directory.

Short of Supplying you a series of screenshots, my installation directory looks like this:

Serviio
    bin (contains serviioconsole.exe only)
    lib (contains a variety of jar files only)
    log (only contains serviio.txt)

Thoughts?
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Aug 07, 2012 12:09 pm

Re: Console won't Launch

You want to look for ServiioConsole.exe.vmoptions in the bin directory, if it isn't there, create it and add

  Code:
-Dserviio.remoteHost=IP_ADDRESS_OF_COMPUTER_B
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

jgasparine

Serviio newbie

Posts: 6

Joined: Thu Mar 15, 2012 10:41 pm

Post Tue Aug 07, 2012 10:23 pm

Re: Console won't Launch

Creating the ServiioConsole.exe.vmoptions file was the missing piece!

Thanks Will!

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 67 guests

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