Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

On mirth startup mirthdb failed to start.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • On mirth startup mirthdb failed to start.

    Hi All,
    Can any body help me with this.
    I am using Mirth 1.6.1 on a Ubuntu 7.04 box with MySQL DB and (mirthdb in derby).


    Any help is greatly appreciated.
    Thank you.

    Steps followed:

    Upon refreshing Channels after deploying the Mirth Admin web application froze. the status bar at the right bottom read 'loading statistics' however the application froze.After closing the window and restarting the mirth server got following in the error log. However upon restarting the machine Mirth started working and this issue could not be reproduced.

    Mirth LOG contents:
    WARN 2008-02-12 18:38:27,750 [Thread-0] org.mortbay.util.ThreadedServer: Failed to start: [email protected]:8443
    WARN 2008-02-12 18:38:27,751 [Thread-0] org.mortbay.util.ThreadedServer: Failed to start: [email protected]:8080
    WARN 2008-02-12 18:38:27,753 [Thread-0] com.webreach.mirth.server.Mirth: Could not start web server.
    org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:686)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185 )
    at javax.net.ssl.SSLServerSocket.<init>(SSLServerSock et.java:106)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.< init>(SSLServerSocketImpl.java:106)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketFactor yImpl.createServerSocket(SSLServerSocketFactoryImp l.java:71)
    at org.mortbay.http.SslListener.newServerSocket(SslLi stener.java:291)
    at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
    at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
    at org.mortbay.http.SocketListener.start(SocketListen er.java:203)
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185 )
    at org.mortbay.util.ThreadedServer.newServerSocket(Th readedServer.java:391)
    at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
    at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
    at org.mortbay.http.SocketListener.start(SocketListen er.java:203)
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    ERROR 2008-02-12 18:38:27,883 [Thread-0] com.webreach.mirth.server.controllers.MessageObjec tController: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    ERROR 2008-02-12 18:38:27,900 [Thread-0] com.webreach.mirth.server.controllers.ChannelStati sticsController: Could not initialize channel statistics.
    ERROR 2008-02-12 18:38:27,919 [Thread-0] com.webreach.mirth.server.controllers.Configuratio nController: could not initialize configuration settings
    com.webreach.mirth.server.controllers.ControllerEx ception: error loading encryption key
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEncryptionKey(ConfigurationControl ler.java:546)
    at com.webreach.mirth.server.controllers.Configuratio nController.initialize(ConfigurationController.jav a:157)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :149)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForObject(GeneralStatement.j ava:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapClientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEncryptionKey(ConfigurationControl ler.java:531)
    ... 3 more
    ERROR 2008-02-12 18:38:27,935 [Thread-0] com.webreach.mirth.server.controllers.MigrationCon troller: Could not initialize migration controller.
    java.lang.Exception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at com.webreach.mirth.server.util.DatabaseUtil.execut eScript(DatabaseUtil.java:131)
    at com.webreach.mirth.server.controllers.MigrationCon troller.migrate(MigrationController.java:143)
    at com.webreach.mirth.server.controllers.MigrationCon troller.initialize(MigrationController.java:101)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :150)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.webreach.mirth.server.util.DatabaseUtil.execut eScript(DatabaseUtil.java:105)
    ... 4 more
    WARN 2008-02-12 18:38:28,403 [Thread-0] com.webreach.mirth.server.controllers.ChannelContr oller: com.webreach.mirth.server.controllers.ControllerEx ception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    ERROR 2008-02-12 18:38:28,415 [Thread-0] com.webreach.mirth.server.controllers.UserControll er: Could not reset user status.
    ERROR 2008-02-12 18:38:28,432 [Thread-0] com.webreach.mirth.server.controllers.Configuratio nController: Could not retrieve latest configuration.
    java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForObject(GeneralStatement.j ava:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapClientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.getLatestConfiguration(ConfigurationCo ntroller.java:458)
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:198)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :158)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    WARN 2008-02-12 18:38:28,435 [Thread-0] com.webreach.mirth.server.Mirth: Could not retrieve latest configuration.
    java.lang.NullPointerException
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:198)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :158)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    WARN 2008-02-12 18:38:28,488 [DefaultQuartzScheduler_Worker-1] com.webreach.mirth.plugins.messagepruner.MessagePr unerService: could not prune message database
    com.webreach.mirth.server.controllers.ControllerEx ception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(ChannelController.java:131)
    at com.webreach.mirth.plugins.messagepruner.MessagePr unerService.execute(MessagePrunerService.java:187)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:2 02)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.java:529)
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForList(GeneralStatement.jav a:123)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(SqlMapExecutorDelegate.java:615)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(SqlMapExecutorDelegate.java:589)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForList(SqlMapSessionImpl.java:118)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForList(SqlMapClientImpl.java:95)
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(ChannelController.java:129)
    ... 3 more


    Upon refreshing Channels after deploying the Mirth Admin web application froze. the status bar at the right bottom read 'loading statistics' however the application froze.After closing the window and restarting the mirth server got following in the error log. However upon restarting the machine Mirth started working.

    Mirth LOG contents:
    WARN 2008-02-12 18:38:27,750 [Thread-0] org.mortbay.util.ThreadedServer: Failed to start: [email protected]:8443
    WARN 2008-02-12 18:38:27,751 [Thread-0] org.mortbay.util.ThreadedServer: Failed to start: [email protected]:8080
    WARN 2008-02-12 18:38:27,753 [Thread-0] com.webreach.mirth.server.Mirth: Could not start web server.
    org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:686)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185 )
    at javax.net.ssl.SSLServerSocket.<init>(SSLServerSock et.java:106)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.< init>(SSLServerSocketImpl.java:106)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketFactor yImpl.createServerSocket(SSLServerSocketFactoryImp l.java:71)
    at org.mortbay.http.SslListener.newServerSocket(SslLi stener.java:291)
    at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
    at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
    at org.mortbay.http.SocketListener.start(SocketListen er.java:203)
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185 )
    at org.mortbay.util.ThreadedServer.newServerSocket(Th readedServer.java:391)
    at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
    at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
    at org.mortbay.http.SocketListener.start(SocketListen er.java:203)
    at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
    at org.mortbay.util.Container.start(Container.java:72 )
    at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    ERROR 2008-02-12 18:38:27,883 [Thread-0] com.webreach.mirth.server.controllers.MessageObjec tController: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    ERROR 2008-02-12 18:38:27,900 [Thread-0] com.webreach.mirth.server.controllers.ChannelStati sticsController: Could not initialize channel statistics.
    ERROR 2008-02-12 18:38:27,919 [Thread-0] com.webreach.mirth.server.controllers.Configuratio nController: could not initialize configuration settings
    com.webreach.mirth.server.controllers.ControllerEx ception: error loading encryption key
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEncryptionKey(ConfigurationControl ler.java:546)
    at com.webreach.mirth.server.controllers.Configuratio nController.initialize(ConfigurationController.jav a:157)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :149)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForObject(GeneralStatement.j ava:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapClientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEncryptionKey(ConfigurationControl ler.java:531)
    ... 3 more
    ERROR 2008-02-12 18:38:27,935 [Thread-0] com.webreach.mirth.server.controllers.MigrationCon troller: Could not initialize migration controller.
    java.lang.Exception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at com.webreach.mirth.server.util.DatabaseUtil.execut eScript(DatabaseUtil.java:131)
    at com.webreach.mirth.server.controllers.MigrationCon troller.migrate(MigrationController.java:143)
    at com.webreach.mirth.server.controllers.MigrationCon troller.initialize(MigrationController.java:101)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :150)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.webreach.mirth.server.util.DatabaseUtil.execut eScript(DatabaseUtil.java:105)
    ... 4 more
    WARN 2008-02-12 18:38:28,403 [Thread-0] com.webreach.mirth.server.controllers.ChannelContr oller: com.webreach.mirth.server.controllers.ControllerEx ception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    ERROR 2008-02-12 18:38:28,415 [Thread-0] com.webreach.mirth.server.controllers.UserControll er: Could not reset user status.
    ERROR 2008-02-12 18:38:28,432 [Thread-0] com.webreach.mirth.server.controllers.Configuratio nController: Could not retrieve latest configuration.
    java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForObject(GeneralStatement.j ava:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(SqlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMapSessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapClientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.getLatestConfiguration(ConfigurationCo ntroller.java:458)
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:198)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :158)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    WARN 2008-02-12 18:38:28,435 [Thread-0] com.webreach.mirth.server.Mirth: Could not retrieve latest configuration.
    java.lang.NullPointerException
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:198)
    at com.webreach.mirth.server.Mirth.startup(Mirth.java :158)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
    WARN 2008-02-12 18:38:28,488 [DefaultQuartzScheduler_Worker-1] com.webreach.mirth.plugins.messagepruner.MessagePr unerService: could not prune message database
    com.webreach.mirth.server.controllers.ControllerEx ception: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(ChannelController.java:131)
    at com.webreach.mirth.plugins.messagepruner.MessagePr unerService.execute(MessagePrunerService.java:187)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:2 02)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run (SimpleThreadPool.java:529)
    Caused by: java.sql.SQLException: Failed to start database '/home/maoperator/Mirth/mirthdb', see the next exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.newEmbedSQLExcepti on(Unknown Source)
    at org.apache.derby.impl.jdbc.Util.generateCsSQLExcep tion(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.newSQLE xception(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver30.getNewEmbedConnecti on(Unknown Source)
    at org.apache.derby.jdbc.InternalDriver.connect(Unkno wn Source)
    at org.apache.derby.jdbc.AutoloadedDriver.connect(Unk nown Source)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSource.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSource.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTransaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnection(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQueryForList(GeneralStatement.jav a:123)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(SqlMapExecutorDelegate.java:615)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(SqlMapExecutorDelegate.java:589)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForList(SqlMapSessionImpl.java:118)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForList(SqlMapClientImpl.java:95)
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(ChannelController.java:129)
    ... 3 more

  • #2
    Re:On mirth startup mirthdb failed to start.

    The firt exception is caused for another app running in the Mirth ports (8080 & 8443).

    The last exception is because there is another mirth running and locking the db.

    Comment


    • #3
      Re:On mirth startup mirthdb failed to start.

      Thank you for a quick response, I really appreciate it!!!

      Does this mean we cannot have multiple users logging in to the Mirth Admin ?
      or this was because the same user was logged in two different machines.

      Thank you once again!

      Comment


      • #4
        Re:On mirth startup mirthdb failed to start.

        No. This means than you can't have more than one Mirth Server using the same Derby database.


        Mirth users connect to a mirth server using the Mirth admin applications, through an HTTP(s) connection.

        Comment


        • #5
          Re:On mirth startup mirthdb failed to start.

          Hey Thank you,

          That clears my doubt.

          Cheers!!!

          Comment

          Working...
          X