title: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor DB Error
body: <p>i installed oracle weblogic server and couldent configure it, when i tried to set the connections some errors occured.</p>
  
  <p>i could trace out there is some issue with the database connection.</p>
  
  <p>i have installed it on a single lenovo-pc, with windows professional x64.</p>
  
  <p>IN WEB LOGIC SERVER:</p>
  
  <p>i have given the jdbc name as "cmdemo" and the jndi name as "jdbc/cmdemo".</p>
  
  <p>i have selected the oracle's driver as "(Thin) Instance Connections: Version: 9:0.1 and later".</p>
  
  <p>i have selected the Supports Global Transactions options with one-phase commit in transaction options.</p>
  
  <p>in the connection properties i gave database Name as "cmdemo", host name - "lenovo-pc", port - "1521", Db user name - "exp" Db Password - "exp".</p>
  
  <p>when i try to "test configuration", the following error message is prompted...</p>
  
  <p>Error Message:
  Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor <pre><br/>oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)<br/>oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)<br/>oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)<br/>oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:480)<br/>oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:413)<br/>oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:508)<br/>oracle.jdbc.driver.T4CConnection.(T4CConnection.java:203)<br/>oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)<br/>oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:705)<br/>com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)<br/>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)<br/>...</pre></p>
  
  <p>a solution for this will be a big favour...</p>
  
  <p>regards,</p>
  
  <p>Syed Hidayat</p>