UMS won't start on Mavericks

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

Thanks for trying!
- The command did not return anything
- I don't have a /System/Java/Library/Extensions folder...
- In the /Library/Java/Extensions folder, I have a slf4j link to "/usr/local/xuggler/share/java/jars/slf4j-api.jar"

When I tryed to delete both the slf4j and the link, it did not help to start UMS. I then tried the java launcher of UMS and got the following:

Code: Select all

/Applications/Universal\ Media\ Server.app/Contents/MacOS/JavaAppLauncher ; exit;
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Library/Internet%20Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext/logback-classic.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/xuggler/share/java/jars/logback-classic.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Applications/Universal%20Media%20Server.app/Contents/Java/ums-4.0.3-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
	at net.pms.PMS.<clinit>(PMS.java:91)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 19 more
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/spi/LoggerFactoryBinder
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
	at net.pms.PMS.<clinit>(PMS.java:91)
Caused by: java.lang.ClassNotFoundException: org.slf4j.spi.LoggerFactoryBinder
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 19 more
logout

[Process completed]
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS won't start on Mavericks

Post by Optimus_prime »

Ok, lets try this. Reinstall the latest java, try if you could getting the JDK not the JRE.
Plus grab the latest UMS for Java 8 and try again.
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

Ok I will try, but I copied the slf4j file back to its folder since it is necessary for another software... will that be a problem?
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

Just tried:
I installed java 8 jdk

Code: Select all

java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
I also installed the latest UMS for java 8. It still does not start and the java launcher still gives me:

Code: Select all

/Applications/Universal\ Media\ Server.app/Contents/MacOS/JavaAppLauncher ; exit;
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
	at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
	at org.apache.commons.configuration.AbstractFileConfiguration.setFileName(AbstractFileConfiguration.java:588)
	at org.apache.commons.configuration.AbstractFileConfiguration.setFile(AbstractFileConfiguration.java:663)
	at org.apache.commons.configuration.AbstractFileConfiguration.setPath(AbstractFileConfiguration.java:694)
	at net.pms.configuration.PmsConfiguration.<init>(PmsConfiguration.java:494)
	at net.pms.configuration.PmsConfiguration.<init>(PmsConfiguration.java:454)
	at net.pms.PMS.main(PMS.java:1116)
logout

[Process completed]
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS won't start on Mavericks

Post by Optimus_prime »

Ok I will try, but I copied the slf4j file back to its folder since it is necessary for another software... will that be a problem?
Shouldn't be, what software uses a different version?
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

The software using it is Xuggler. In fact, all 4 items that I have in the /Library/Java/Extensions folder are links to jar files located in a subfolder of this application...
User avatar
Optimus_prime
Posts: 678
Joined: Fri Jun 01, 2012 6:39 pm
Location: Sydney, Australia

Re: UMS won't start on Mavericks

Post by Optimus_prime »

Hmm, give me a few days and i'll try come up with something to fix this :)
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

....so? Any news? :roll:
duocycle
Posts: 4
Joined: Tue Oct 14, 2014 6:26 am

Re: UMS won't start on Mavericks

Post by duocycle »

Want to chime in and say I'm having the same issue.

Tried with Java6 and Java7, with newest UMS as well as earlier versions.
After install I go to open the application and there's no GUI. Just Universal Media Server in the top bar and nothing else.

PS3 Media Server opens without any issue.
mendoza_no
Posts: 12
Joined: Tue Aug 26, 2014 7:59 am

Re: UMS won't start on Mavericks

Post by mendoza_no »

Hmm, it might be a bit different in my case because I can't open PMS either...
Post Reply