FAQ  •  Register  •  Login

Unable to start server on Mac

<<

Krater

Serviio newbie

Posts: 11

Joined: Mon Jan 09, 2012 8:39 pm

Post Mon Jan 09, 2012 8:51 pm

Unable to start server on Mac

Hi
I'm unable to start the server on Snow Leopard, all I get is a window with this message:

"Cannot launch Java application

Uncaught exception in main method:
java.lang.AbstractMethodError:
org.apache.xerces.dom.DeferredAttrNSImpl.getTextContent()Ljava/lang/String;"

And a button to quit.

I've tried versions 0.6.0.1 and 0.6.1 with same results.
I can't find any logs, what can I do?
Thanks in advance,

Krater
<<

WildRushSykes

User avatar

DLNA master

Posts: 290

Joined: Sat Aug 27, 2011 4:38 pm

Location: Eastbourne (UK)

Post Mon Jan 09, 2012 8:54 pm

Re: Unable to start server on Mac

Im not a mac user but have you got java on your machine and is it upto date?
Serviio 1.4.1 - Windows 8.1 Pro x64 with Media Center - HP Pavillion G series - PS3 and 4 - 3TB Drive wih 500+ Bluray MKV Movies

Beta Tester and All Plugins Pack Creator

Image
<<

Krater

Serviio newbie

Posts: 11

Joined: Mon Jan 09, 2012 8:39 pm

Post Mon Jan 09, 2012 9:01 pm

Re: Unable to start server on Mac

Hi
This is the version I have:

java - version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

I think Java on Mac auto-updates with the system, am I correct?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 09, 2012 9:21 pm

Re: Unable to start server on Mac

I have seen this only 2 times in 2 years but still have no idea what that could be... it's a mising library or a wrong version of a library in Java, but how to fix it ?
<<

Krater

Serviio newbie

Posts: 11

Joined: Mon Jan 09, 2012 8:39 pm

Post Mon Jan 09, 2012 11:10 pm

Re: Unable to start server on Mac

Solved!
Just removed an old xerces.jar located in the user.home/Library/Java/Extensions/ folder as stated in:
https://code.google.com/p/alkwarel/issues/detail?id=10
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 10, 2012 10:06 am

Re: Unable to start server on Mac

Thanks, one mystery solved :-)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Tue Jan 10, 2012 10:12 am

Re: Unable to start server on Mac

adding to the wiki for future ref. :)

EDIT: http://wiki.serviio.org/doku.php?id=mac_start_fail
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

wont_start

Serviio newbie

Posts: 7

Joined: Sun Nov 25, 2012 6:19 pm

Post Sun Nov 25, 2012 6:31 pm

Re: Unable to start server on Mac

Hello and sorry for dig out this old thread!

I have the same issue here with snow leopard. ive tried it to fix through the serviiowiki but the path described in the wiki has no xerces.jar in the folder extensions :(

my system is a imac 21,5" version 12,1 in the smallest configuration. Snow leopard and all updates are installed even the possible updates for java on SL.

I hope you can help me!


greetz


btw sorry for my bad english but it is not my motherlanguage
<<

wont_start

Serviio newbie

Posts: 7

Joined: Sun Nov 25, 2012 6:19 pm

Post Thu Nov 29, 2012 5:56 pm

Re: Unable to start server on Mac

Nobody who can help? :(
<<

Nick009

Serviio newbie

Posts: 6

Joined: Thu Jun 06, 2013 3:35 pm

Post Thu Jun 06, 2013 3:38 pm

Re: Unable to start server on Mac

I am having the same problem, I don't have the xerces file either, these are the have files I have in the library/extensions/java folder

activation.jar
bcmail-jdk15-143.jar
bcprov-jdk15-143.jar
jaxb-api.jar
jaxb-impl.jar
jsr173_1.0_api.jar
KeyStoreBE.jar
log4j-1.2.15.jar
mail.jar
slf4j-api-1.5.8.jar
slf4j-log4j12-1.5.8.jar
tools.jar

my error message says

Uncaught exception in main method: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

any ideas?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jun 06, 2013 3:52 pm

Re: Unable to start server on Mac

Remove

slf4j-api-1.5.8.jar
slf4j-log4j12-1.5.8.jar

from that folder (or make backup of those)
<<

Nick009

Serviio newbie

Posts: 6

Joined: Thu Jun 06, 2013 3:35 pm

Post Fri Jun 07, 2013 2:10 am

Re: Unable to start server on Mac

thanks Zip, that seems to have worked.

thank you very much!!

now I just need to work out the next steps to get it going with my Synology diskstation.

Thanks again!!
<<

JunJun

Serviio newbie

Posts: 18

Joined: Sun May 20, 2012 8:57 am

Post Mon Jun 24, 2013 7:16 pm

Re: Unable to start server on Mac

Well, I don't know it this is the same thing...
I had Serviio 1.2.1 working perfectly on my mac (Leopard).
But now I upgraded my OsX to Snow Leopard 10.6.8 and I can't open Serviio anymore !!!
I double click and nothing happens... :( :(
If I check home user/Library, I don't see any Java folder...
If I check Serviio "Show Package Contents", there is a Resources / Java Folder with a lot of jar files.

Any suggestion ??
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 8:21 pm

Re: Unable to start server on Mac

post the log file
<<

JunJun

Serviio newbie

Posts: 18

Joined: Sun May 20, 2012 8:57 am

Post Mon Jun 24, 2013 8:33 pm

Re: Unable to start server on Mac

Do you mean the content of the Serviio.log file ?
Here it is :

2013-06-24 19:47:39,971 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:47:44,972 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:47:49,972 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:47:54,973 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:47:59,974 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:48:04,974 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 19:48:09,842 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.FileNotFoundException: http://gdata.youtube.com/feeds/api/play ... vEVBeO?v=2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
at org.serviio.util.HttpClient.retrieveBinaryFileFromURL(HttpClient.java:72)
at org.serviio.library.online.feed.FeedParser.parseFeedStream(FeedParser.java:115)
at org.serviio.library.online.feed.FeedParser.parse(FeedParser.java:90)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:169)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)

and it repeats about every minute up to :


2013-06-24 22:26:50,076 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:26:55,077 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:00,078 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:05,078 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:10,079 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:15,080 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:20,080 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:25,081 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:30,082 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:35,082 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:40,083 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:45,084 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-24 22:27:49,050 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.FileNotFoundException: http://gdata.youtube.com/feeds/api/play ... vEVBeO?v=2
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
at org.serviio.util.HttpClient.retrieveBinaryFileFromURL(HttpClient.java:72)
at org.serviio.library.online.feed.FeedParser.parseFeedStream(FeedParser.java:115)
at org.serviio.library.online.feed.FeedParser.parse(FeedParser.java:90)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:169)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
2013-06-24 22:27:50,084 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 11:24 pm

Re: Unable to start server on Mac

Looks like this problem: viewtopic.php?f=5&t=11027
<<

JunJun

Serviio newbie

Posts: 18

Joined: Sun May 20, 2012 8:57 am

Post Tue Jun 25, 2013 8:11 am

Re: Unable to start server on Mac

Thanks !
well, actually I just realized that Serviio is running on my TV, though the Serviio icon doesn't appear in the task bar.... that's why I thought it didn't start.
I don't know why it doesn't appear in the task bar like it used to be ...
And how can I quit the app now ? it doesn't even appear in the 'force to quit' window. By turning down the Mac ?

And if I can see all the playlists and contents on TV, I can't play any file. I have those little squares on the top right corner...
<<

JunJun

Serviio newbie

Posts: 18

Joined: Sun May 20, 2012 8:57 am

Post Sun Jul 07, 2013 11:42 am

Re: Unable to start server on Mac

So, when I launch Serviio, the icon jumps in the dock then disappear... Is it normal ?
The application seems to run as I can see menus and lists on my TV and the Serviio Console says the server is running.

No way to turn off the app since I can't see it in the dock, nor in the 'Force to Quit' menu....
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jul 07, 2013 5:23 pm

Re: Unable to start server on Mac

It seems to have started happening with latest Java update. You can still stop the server via the task menu icon right-click menu.

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.