Announcement

Collapse
No announcement yet.

Error while deploying the channel

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

  • Error while deploying the channel

    Hello,
    I am trying to deploy the channel that is using SQL Server 2008 but I am getting the following error while deploying the channel.

    Here is my connection information:

    globalChannelMap.put("url", "jdbc:jtds:sqlserver:/serveraddress/databasename");
    globalChannelMap.put("username", "username");
    globalChannelMap.put("password", "pwd");

    Version: I am using the 2.0.1.5164 mirth version.

    [2012-09-10 16:21:23,298] ERROR (com.mirth.connect.connectors.jdbc.JdbcConnector:3 08): Failed to disconnect: null
    java.lang.NullPointerException
    at com.mirth.connect.connectors.jdbc.JdbcConnector.sh utdownDataSource(JdbcConnector.java:450)
    at com.mirth.connect.connectors.jdbc.JdbcConnector.do Disconnect(JdbcConnector.java:466)
    at org.mule.providers.AbstractConnector.disconnect(Ab stractConnector.java:801)
    at org.mule.providers.AbstractConnector.stopConnector (AbstractConnector.java:306)
    at org.mule.providers.AbstractConnector.doDispose(Abs tractConnector.java:613)
    at org.mule.providers.AbstractConnector.dispose(Abstr actConnector.java:331)
    at org.mule.MuleManager.unregisterConnector(MuleManag er.java:508)
    at com.mirth.connect.server.controllers.MuleEngineCon troller.unregisterConnectors(MuleEngineController. java:778)
    at com.mirth.connect.server.controllers.MuleEngineCon troller.unregisterChannel(MuleEngineController.jav a:752)
    at com.mirth.connect.server.controllers.MuleEngineCon troller.undeployChannels(MuleEngineController.java :267)
    at com.mirth.connect.server.controllers.MuleEngineCon troller.deployChannels(MuleEngineController.java:1 84)
    at com.mirth.connect.server.servlets.EngineServlet.do Post(EngineServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:615)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:688)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:428)
    at org.mortbay.jetty.servlet.ServletHandler.dispatch( ServletHandler.java:677)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:568)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1530)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1482)
    at org.mortbay.http.HttpServer.service(HttpServer.jav a:909)
    at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:820)

    Please, any information is helpful.

    Thank you

  • #2
    Bonjour
    you have to replace the servername,database, user and paswword by yours
    WD

    Comment


    • #3
      For exemple :
      DatabaseConnectionFactory.createDatabaseConnection ('oracle.jdbc.driver.OracleDriver','jdbcracle:thin:@mydatabase:1565:instance','myuser','my pass');

      Larry57500

      Comment

      Working...
      X