User Tools

Site Tools


mac_start_fail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mac_start_fail [2012/01/10 10:20]
cerberus created
mac_start_fail [2013/01/21 18:32] (current)
slaute change title
Line 1: Line 1:
-====== How To Fix Serviio Failing to Start on Snow leopard OSx ======+====== How to fix failure to start Serviio in Mac OS X ======
  
  
-In some rare cases serviio will fails to start on Snow leopard OSx with one of the following errors.+In some rare cases serviio will fail to start on Mac OS X. 
 + 
 +===== xerces.jar ===== 
 + 
 +When the following errors are reported:
  
 <code> <code>
Line 17: Line 21:
 <code> <code>
 "Cannot launch Java application "Cannot launch Java application
- 
 Uncaught exception in main method: Uncaught exception in main method:
 java.lang.AbstractMethodError: java.lang.AbstractMethodError:
 org.apache.xerces.dom.DeferredAttrNSImpl.getTextContent()Ljava/lang/String;"</code> org.apache.xerces.dom.DeferredAttrNSImpl.getTextContent()Ljava/lang/String;"</code>
  
-this can easily be solved by deleting the follow file.+removing the following file solved the problem:
  
-<code>xerces.jar</code> +<code>~/Library/Java/Extensions/xerces.jar</code> 
 + 
 +===== fmjdbc.jar ===== 
 + 
 +It has also been reported the same problem with the error: 
 + 
 +<code> 
 +2013-01-20 21:28:39,740 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true 
 +java.sql.SQLException: No suitable driver found for jdbc:derby:db;create=true 
 +   at java.sql.DriverManager.getConnection(DriverManager.java:602) 
 +   at java.sql.DriverManager.getConnection(DriverManager.java:207) 
 +   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186) 
 +   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123) 
 +   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149) 
 +   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:66) 
 +   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:59) 
 +   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49) 
 +   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:57) 
 +   at org.serviio.MediaServer.main(MediaServer.java:110) 
 +   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 +   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
 +   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
 +   at java.lang.reflect.Method.invoke(Method.java:597) 
 +   at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) 
 +   at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) 
 +   at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) 
 +2013-01-20 21:28:41,745 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null 
 +java.lang.NullPointerException 
 +   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50) 
 +   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:57) 
 +   at org.serviio.MediaServer.main(MediaServer.java:110) 
 +   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 +   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
 +   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
 +   at java.lang.reflect.Method.invoke(Method.java:597) 
 +   at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) 
 +   at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) 
 +   at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)</code>
  
-located in the +In this case, it was solved by removing the file:
  
-<code>user.home/Library/Java/Extensions/ </code>+<code>~/Library/Java/Extensions/fmjdbc.jar</code>
mac_start_fail.1326190835.txt.gz · Last modified: 2012/01/10 10:20 by cerberus