Announcement

Collapse
No announcement yet.

Mirthdb not Starting after stop with Task Mgr

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

  • Mirthdb not Starting after stop with Task Mgr

    I am unable to login to Admi application. This was after I had changed the Admin Password and tested communication. I had a use Task Manager to shut down Admin application because it appeared "hung". I then re-started server and tried to start Admin application. In the server log window I have the following:

    WARN 2007-05-07 10:25:21,000 [Thread-0] org.mortbay.util.ThreadedServer: Failed
    to start: [email protected]:8443
    WARN 2007-05-07 10:25:21,000 [Thread-0] org.mortbay.util.ThreadedServer: Failed
    to start: [email protected]:8080
    WARN 2007-05-07 10:25:21,000 [Thread-0] com.webreach.mirth.server.Mirth: Could
    not start web server.
    org.mortbay.util.MultiException[java.net.BindException: Address already in use:
    JVM_Bind, java.net.BindException: Address already in use: JVM_Bind]
    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:243)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:83)
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at javax.net.ssl.SSLServerSocket.<init>(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.< init>(Unknown Sourc
    e)
    at com.sun.net.ssl.internal.ssl.SSLServerSocketFactor yImpl.createServerS
    ocket(Unknown Source)
    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:243)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:83)
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.mortbay.util.ThreadedServer.newServerSocket(Th readedServer.java:3
    91)
    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:243)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:83)
    ERROR 2007-05-07 10:25:21,171 [Thread-0] com.webreach.mirth.server.controllers.C
    onfigurationController: could not initialize configuration settings
    com.webreach.mirth.server.controllers.ControllerEx ception: error loading encrypt
    ion key
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEnc
    ryptionKey(ConfigurationController.java:324)
    at com.webreach.mirth.server.controllers.Configuratio nController.initial
    ize(ConfigurationController.java:98)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:84)
    Caused by: java.sql.SQLException: Failed to start database 'mirthdb', see the ne
    xt exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.g etSQLException(Unkn
    own 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 So
    urce)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Sourc
    e)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver40.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(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSourc
    e.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSourc
    e.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTr
    ansaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnecti
    on(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQu
    eryForObject(GeneralStatement.java:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(S
    qlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(S
    qlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMap
    SessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMap
    SessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapC
    lientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.loadEnc
    ryptionKey(ConfigurationController.java:309)
    ... 2 more
    Caused by: java.sql.SQLException: Failed to start database 'mirthdb', see the ne
    xt exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknow
    n Source)
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.w rapArgsForTransport
    AcrossDRDA(Unknown Source)
    ... 27 more
    WARN 2007-05-07 10:25:21,203 [Thread-0] com.webreach.mirth.server.controllers.C
    hannelController: com.webreach.mirth.server.controllers.ControllerEx ception: jav
    a.sql.SQLException: Failed to start database 'mirthdb', see the next exception f
    or details.
    WARN 2007-05-07 10:25:21,218 [DatabasePruner] com.webreach.mirth.server.util.Da
    tabasePruner: could not prune database
    com.webreach.mirth.server.controllers.ControllerEx ception: java.sql.SQLException
    : Failed to start database 'mirthdb', see the next exception for details.
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(Ch
    annelController.java:96)
    at com.webreach.mirth.server.util.DatabasePruner.prun eDatabase(DatabaseP
    runer.java:67)
    at com.webreach.mirth.server.util.DatabasePruner.run( DatabasePruner.java
    :53)
    Caused by: java.sql.SQLException: Failed to start database 'mirthdb', see the ne
    xt exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.g etSQLException(Unkn
    own 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 So
    urce)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Sourc
    e)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver40.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(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSourc
    e.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSourc
    e.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTr
    ansaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnecti
    on(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQu
    eryForList(GeneralStatement.java:123)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(Sql
    MapExecutorDelegate.java:615)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForList(Sql
    MapExecutorDelegate.java:589)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForList(SqlMapSe
    ssionImpl.java:118)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForList(SqlMapCli
    entImpl.java:95)
    at com.webreach.mirth.server.controllers.ChannelContr oller.getChannel(Ch
    annelController.java:94)
    ... 2 more
    Caused by: java.sql.SQLException: Failed to start database 'mirthdb', see the ne
    xt exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknow
    n Source)
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.w rapArgsForTransport
    AcrossDRDA(Unknown Source)
    ... 26 more
    ERROR 2007-05-07 10:25:21,234 [Thread-0] com.webreach.mirth.server.controllers.C
    onfigurationController: Could not retrieve latest configuration.
    java.sql.SQLException: Failed to start database 'mirthdb', see the next exceptio
    n for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.g etSQLException(Unkn
    own 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 So
    urce)
    at org.apache.derby.impl.jdbc.EmbedConnection.bootDat abase(Unknown Sourc
    e)
    at org.apache.derby.impl.jdbc.EmbedConnection.<init>( Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection30.<init >(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection40.<init >(Unknown Source)
    at org.apache.derby.jdbc.Driver40.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(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at com.ibatis.common.jdbc.SimpleDataSource.popConnect ion(SimpleDataSourc
    e.java:580)
    at com.ibatis.common.jdbc.SimpleDataSource.getConnect ion(SimpleDataSourc
    e.java:222)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.init(JdbcTr
    ansaction.java:48)
    at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTran saction.getConnecti
    on(JdbcTransaction.java:89)
    at com.ibatis.sqlmap.engine.mapping.statement.General Statement.executeQu
    eryForObject(GeneralStatement.java:104)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(S
    qlMapExecutorDelegate.java:566)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelega te.queryForObject(S
    qlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMap
    SessionImpl.java:106)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.qu eryForObject(SqlMap
    SessionImpl.java:110)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.que ryForObject(SqlMapC
    lientImpl.java:87)
    at com.webreach.mirth.server.controllers.Configuratio nController.getLate
    stConfiguration(ConfigurationController.java:249)
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:156)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:96)
    Caused by: java.sql.SQLException: Failed to start database 'mirthdb', see the ne
    xt exception for details.
    at org.apache.derby.impl.jdbc.SQLExceptionFactory.get SQLException(Unknow
    n Source)
    at org.apache.derby.impl.jdbc.SQLExceptionFactory40.w rapArgsForTransport
    AcrossDRDA(Unknown Source)
    ... 27 more
    Exception in thread "Thread-0" java.lang.NullPointerException
    at com.webreach.mirth.server.Mirth.startMule(Mirth.ja va:156)
    at com.webreach.mirth.server.Mirth.run(Mirth.java:96)


    When this happened to me last week. I did an uninstall and reinstall but from above it looks like something needs to be "cleared", Is there any easier way?

    Thanks.

  • #2
    Re:Mirthdb not Starting after stop with Task Mgr

    org.mortbay.util.MultiException[java.net.BindException: Address already in use:
    JVM_Bind, java.net.BindException: Address already in use: JVM_Bind]

    something is already running on port 8080 (perhaps mirth), perhaps you installed mirth as a service in which case you can choose to simply start Mirth administrator if the server is indeed already running, otherwise you need to find out what is on port 8080

    Comment


    • #3
      Re:Mirthdb not Starting after stop with Task Mgr

      I stopped the Server and found the Mirth Service running. I then stopped the service and re-started the Server. No errors were reported. I again tried to login as Admin/admin and Admin/mypassword and it still failed to log me in. No errors in Log window, just the one in login box telling me to make sure server is running.

      This has happened to me several times ove the past week and an uninstall/reinstall fixes the problem. I do not believe this has anything to do with Port 8080. I am proceeding with an unistall/re-install.

      Comment


      • #4
        Re:Mirthdb not Starting after stop with Task Mgr

        Can you access to http://localhost:8080/ ?

        Comment


        • #5
          Re:Mirthdb not Starting after stop with Task Mgr

          If you want to find out what is using localhost:8080 in the Win envirn,
          1. open a command window - Start/Run/cmd, strike enter

          2. in the cmd window, enter "netstat - ano", without the quotes, strike enter
          -you will be presented with a list of Active Connections
          find the local address:8080 and look across the columns to find the the PID entry.

          3. return to the command line and enter "tasklist /svc", without the quotes, strike enter

          4. the list generated will include a PID column from which you can match up what you found in step 2.

          This will let you know what you are bumping into...

          Comment

          Working...
          X