Problem adding a JDBC datasource

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Problem adding a JDBC datasource

    I am trying to add a datasrource via Jrun admin and i keep getting the
    following errors

    Failed to connect to pubs [No such binding: pubs]. Please check to see if the
    database is accessible and examine the JRun server log to determine why the
    data source failed to start.

    I am trying to connect to the pubs database on SQL server 2000. In sql server
    i have a login for sa and a password which i am using to connect to the
    dataource, but these don't seem to work. I have had a look at the log file and
    this is the error pasted below.

    Can anyone please help me? Thanks


    03/10 21:46:22 error Encountered the following error while initializing
    JDBCPool: {0}
    java.sql.SQLException: SQLException while attempting to connect:
    java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]Error establishing
    socket to host and port: 127.0.0.1:1433. Reason: Connection refused: connect
    at jrun.sql.pool.JDBCPool.createPhysicalConnection(JD BCPool.java:644)
    at jrun.sql.pool.JDBCPool.create(JDBCPool.java:560)
    at jrun.sql.pool.JDBCPool.create(JDBCPool.java:551)
    at jrunx.pool.ObjectPool.checkOut(ObjectPool.java:242 )
    at jrunx.pool.ObjectPool.init(ObjectPool.java:73)
    at jrun.sql.pool.JDBCPool.init(JDBCPool.java:166)
    at jrun.sql.pool.JDBCPool.<init>(JDBCPool.java:89)
    at jrun.sql.pool.JDBCManager.createPool(JDBCManager.j ava:53)
    at jrun.sql.management.DataSourceService.start(DataSo urceService.java:75)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unkno wn Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1628)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1523)
    at
    jrun.deployment.resource.ResourceDeployer.startDat aSources(ResourceDeployer.java
    :225)
    at jrun.deployment.resource.ResourceDeployer.start(Re sourceDeployer.java:84)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unkno wn Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1628)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1523)
    at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAd apter.java:705)
    at
    jrunx.kernel.JRunServiceDeployer.invokeOnServices( JRunServiceDeployer.java:460)
    at
    jrunx.kernel.JRunServiceDeployer.startServices(JRu nServiceDeployer.java:312)
    at
    jrunx.kernel.JRunServiceDeployer.startLifecycle(JR unServiceDeployer.java:260)
    at
    jrunx.kernel.JRunServiceDeployer.deployServices(JR unServiceDeployer.java:87)
    at jrunx.kernel.DeploymentService.loadServices(Deploy mentService.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1628)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBea nServerImpl.java:1523)
    at jrunx.kernel.JRun.startServer(JRun.java:575)
    at jrunx.kernel.JRun.<init>(JRun.java:493)
    at jrunx.kernel.JRun$1.run(JRun.java:346)
    at java.security.AccessController.doPrivileged(Native Method)
    at jrunx.kernel.JRun.start(JRun.java:343)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.jav
    a:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at jrunx.kernel.JRun.invoke(JRun.java:180)
    at jrunx.kernel.JRun.main(JRun.java:168)


    zubair Guest

  2. Similar Questions and Discussions

    1. adding mysql datasource in CF administrator
      Hello, I'm having a problem adding a mysql datasource using the cf administrator. My problem is that I don't know what to put in the "Database"...
    2. Adding Datasource Property
      I need help with how to add a DataSource property to a composite control and then how to assign that property to the datasource of a datagrid. ...
    3. Adding a dynamic textbox control to a datagrid with Datatable datasource
      Hi, I have a datagrid, and I want to bind this to a datatable, and I would like to have textbox controls and one button control. The problem...
    4. Filemaker JDBC problem - Please help
      I have a database called: "test.fm" I have two text fields: "name1" and "city" I made one record: name1 = rich city = winnipeg The following...
    5. PLEASE HELP! Odd DB2 - JDBC problem
      Could some DB2 Guru please help me? I am trying to interface Weblogic and DB2. I have done similar things before with Oracle, but now my previous...
  3. #2

    Default Re: Problem adding a JDBC datasource

    "Connection refused:" error can often be caused by firewall(s) are blocking access to the database. Make sure your firewall(s) allow access to the database/port.
    mxstu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139