FAQ  •  Register  •  Login

NAS4FREE - serviio 1.3 possible bug???

<<

dboy

Serviio lover

Posts: 51

Joined: Sat Nov 13, 2010 11:20 pm

Post Sat Aug 24, 2013 9:07 am

NAS4FREE - serviio 1.3 possible bug???

I try to install serviio 1.3 on a nas4free system jail on a amd64 system with 4GB RAM.

Earlier versions of serviio are reported to install and run as installed using the instructions
here http://forums.nas4free.org/viewtopic.php?f=79&t=4502

After configuring a jail, compiling ffmpeg1 and java, and trying to start serviio I get the following error
  Code:
root@serviio:/usr/local/etc/rc.d # ./serviio start
Starting serviio.
root@serviio:/usr/local/etc/rc.d # Exception in thread "main" java.lang.NoClassDefFoundError: org/serviio/restui/ServiioWrapper
Caused by: java.lang.ClassNotFoundException: org.serviio.restui.ServiioWrapper
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.serviio.restui.ServiioWrapper. Program will exit.

root@serviio:/usr/local/etc/rc.d #


One suspicion by fsbruva at the nas4free forum is that it could be a bug introduced with serviio 1.3.
I doubt there is a problem with java. The error you are getting is that there is a missing class definition within the serviio restUI. That means a programming error within serviio that java can't deal with. Maybe try an earlier version of serviio?

this post is at the end of the thread linked above.

Some info about the ffmpeg1 and java installation in the jail below.

  Code:
root@serviio:/ # ffmpeg1
ffmpeg version 1.2.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 19 2013 23:22:49 with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]
  configuration: --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --enable-libfaac --disable-libfdk-aac --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --disable-libgsm --enable-iconv --enable-libmp3lame --disable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --enable-libopencv --disable-libo  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

  Code:
root@serviio:/ # java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b27)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
<<

dboy

Serviio lover

Posts: 51

Joined: Sat Nov 13, 2010 11:20 pm

Post Mon Aug 26, 2013 10:24 am

Re: NAS4FREE - serviio 1.3 possible bug???

Zip,

I would really appreciate you view on this.
Do you suspect it to be the java installation, serviio 1.3 or something else?

Regards
<<

raulfg3

Serviio newbie

Posts: 11

Joined: Sun Nov 25, 2012 7:49 am

Post Wed Sep 04, 2013 11:30 am

Re: NAS4FREE - serviio 1.3 possible bug???

is a problem with Java WebGUI console, use HTML console instead: viewtopic.php?f=17&t=2427&p=64570&hilit=nas4free#p69214
<<

dboy

Serviio lover

Posts: 51

Joined: Sat Nov 13, 2010 11:20 pm

Post Wed Sep 04, 2013 1:23 pm

Re: NAS4FREE - serviio 1.3 possible bug???

Zip,

The system is a nas4free box (freebsd based NAS), so no GUI at all, just a text only console.

I was just trying to start the server end of serviio after the initial installation. After it has sucessfully started I will try to axess it using the java console app, the html console or the android consol app.

But, I am not there yet, Serviio seem to halt during start up with the error messages I quoted earlier.

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 9 guests

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