FAQ  •  Register  •  Login

Serviio Windows Service Randomly stops

<<

DevXen

Streaming enthusiast

Posts: 20

Joined: Sat Sep 28, 2013 7:57 am

Post Tue Oct 29, 2013 10:47 pm

Serviio Windows Service Randomly stops

So the Serviio Service in windows 7. on THIS PC. keeps stopping. from in a few hours, to a few days. I just now tried to open the console with an error 500 and it said to check the log.. this was in the log, so I assume, it was part of the issue.. Serviio on my other PC works, and runs just fine.. i just updated Java on this PC.. and just updated all the windows updates, but this problem has been going on for several weeks.. anyone have any idea on how i can fix it?


  Code:
2013-10-29 16:41:26,925 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.Driver20.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   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.renderer.dao.RendererDAOImpl.findByIPAddress(RendererDAOImpl.java:144)
   at org.serviio.renderer.RendererManager.getStoredRendererByIPAddress(RendererManager.java:226)
   at org.serviio.renderer.RendererManager.rendererHasAccess(RendererManager.java:235)
   at org.serviio.upnp.webserver.AbstractRequestHandler.callerHasAccess(AbstractRequestHandler.java:148)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:77)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)
Caused by: java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 28 more
Caused by: java.lang.NullPointerException
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown Source)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown Source)
   at org.apache.derby.impl.store.raw.xact.Xact.openContainer(Unknown Source)
   at org.apache.derby.impl.store.access.conglomerate.OpenConglomerate.init(Unknown Source)
   at org.apache.derby.impl.store.access.heap.Heap.open(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndexMinion(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndex(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.locateSchemaRow(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.initDefaultSchemaDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.initialize(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.setupConnection(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.startTransaction(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.checkUserIsNotARole(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.checkUserCredentials(Unknown Source)
   ... 22 more
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 30, 2013 9:22 pm

Re: Serviio Windows Service Randomly stops

Weird, looks like the database engine has problems accessing the database files. Check the drive, access rights, etc where Serviio is installed.
<<

DevXen

Streaming enthusiast

Posts: 20

Joined: Sat Sep 28, 2013 7:57 am

Post Thu Oct 31, 2013 5:47 am

Re: Serviio Windows Service Randomly stops

zip wrote:Weird, looks like the database engine has problems accessing the database files. Check the drive, access rights, etc where Serviio is installed.



Yeah it's the C Drive, and has full access to the drive..
odd with this error, if i restarted the console it would open. but have no folders listed.

but if I closed it. stopped the windows Service for Serviio. then restarted it. opened up the console. they were there, and it all worked.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 12 guests

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