Database Connectivity Issue

Host :localhost
Port:1521
SID:orcl
Whenever I try to connect by SQL Developer I get the following Error
ORA12505, TNS Listener does not currently know of SID given in connect descriptor.
My tnsnames.ora file
# tnsnames.ora Network Configuration File: C:\app\ANIRBAN\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
My listener.ora file
# listener.ora Network Configuration File: C:\app\ANIRBAN\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\ANIRBAN\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\ANIRBAN\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\ANIRBAN

2. How to configure the oracle client with the
database server?Actually you configure the database server on the client by adding the service name entry to the tnsnames.ora file.
Check what this entry sould look like in the tnsnames.ora file at the server side, then copy and paste into tnsnames.ora at client side.
If perchance there is no entry for the database at server tnsnames.ora, then check the listener.ora file to obtain this information.

Similar Messages

  • Oc4j and database connections issue (way too many created)

    I seem to be experiencing a serious issue every time someone connects to my application. New connections are made to the database instead of using existing connections (i.e. pooling doesn't seem to work). In my data-sources.xml, the pools are set to have a max-connections of 3, yet when I query the v$sessions view, there are additional sessions created every time the application is hit which has sent it way over the max-connections parameter in the data-sources.xml file. If oc4j is pooling the connections how can this happen? Is there any way of tracking where this is occurring or what could be causing this? (SQLNET.EXPIRE_TIME has been set, database is 10g, oc4j is 101202 and oc4j on linux platform)
    Thanks
    Paul

    Paul,
    According to the documentation for OC4J 10.1.2, if you use the value of the "ejb-location" attribute (from the "data-sources.xml" file) when doing a JNDI lookup of your datasource, then you should be using connection pooling.
    It's probably also an idea to not define a "pooled-location" attribute in your "data-sources.xml" file.
    Also, you can get database connection information via the "Spy" [Web] application. Use the following URL:
    http://oc4jHost:oc4jPort/dmsoc4j/Spy
    Of-course you need to replace "oc4jHost" and "oc4jPort" with the appropriate values. For example if you open your Web browser on the same machine that OC4J is running on, and if you are using the default port, then the URL will be:
    http://localhost:8888/dmsoc4j/Spy
    Good Luck,
    Avi.

  • Need suggestion for a database connection issue in an EJB Application

    Hi Friends,
    I am facing some serious problem in my EJB application. Some times, my application is waiting for unknown reason while it connects to database as executing a stored procedure to get and assign a unique number to a transaction.
    This stored procedure is used to get a unique number from database and update the database with the new unique number which is incremented by previous number.
    During this waiting time, if any other transaction hits my application, then my application assigning same unique number to these 2 transactions.
    But It is not happening always. It is happening very less number of times. What should I take care of the code to not happen this? Can I implement any synchronization kind of thing here?
    If I implement synchronization kind of thing, If the first transaction gets the lock and waits for some time, then I think it will effect for subsequent transactions. Could You please suggest me on this issue?
    Thanks in Advance to All.

    Here is my datasources.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>     
         <bean id="myDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
              <property name="jndiName" value="jdbc/myDS"/>
              <property name="resourceRef" value="false"/>
         </bean>
    </beans>

  • Database connectivity issues since upgrading to 2011

    I have several reports that were created in CR 2008.  Since upgrading to 2011, none of them connect to the SQL server when I try to refresh the data.  The error message says invalid logon.  I can get the reports to refresh if I follow this process:
    1.     Close the report
    2.     Delete connections to the SQL server
    3.     Close CR
    4.     Open CR
    5.     Create a new blank report and connect to the same data source as the failed report
    6.     Open the report that was failing
    7.     Refresh the data
    Everything works at that point.  Once I close CR, next time I access the report I have to go through the entire process again.  Saving the reports after successfully establishing a connection does not fix the issue.  I have reset the data source location from the database menu as well as established new system and file DSNs.  Any help would be greatly appreciated.
    Thank you,
    Darren

    Hi Darren,
    What I meant for version of CR 2011 is to click on Help About... you'll see the version number there.
    Interesting, So if it fails in the ODBC Admin test then of course it's going to fail in CR Designer, CR simply uses what connection info you specify in the DSN or in the file. If you can get the DSN to work non-kerberose then adding that configuration to your File DSN should allow CR to work also.
    Couple of possibilities, Older versions of CR ignored the security configuration, or at least this one test, and it was fixed in CR 2011, or possibly the File DSN needs to have the security type enabled through the connection property. Check MS for help on what the info in the line is to enable it.
    Another possible solution is according to this MS Kbase they recommend that you use Kerberose...
    http://support.microsoft.com/kb/909801
    So the result is, Set Kerberose on the Server or find out how MS will support non-kerberose security client side and see if that works. But because MS recommends using it discuss with your DBA and recommend to all to enable it and use it.
    Thanks again
    Don

  • NW 7.3 Installation - Oracle Database connection issue.

    Dear SDN,
    I am trying to install the SAP NW 7.3 but fail due the connection to oracle database. (My System details : Windows 7, 64 bit, 4gb ram - copyied NW7.3 server for 64 bit)
    I hvae installed the Oracle database and client. I have checked and stated the services, updated the host file, started the database with SQL editor, checked the Oracle Enterprise Manager, all looks fine.
    When I run the Sapinst, it finds the database but unable to process next due to connection error. error message looks like :
    Cannot connect to jaiswal
    Error(s) returned:
    SQL Server does not exist or access denied.
    SOLUTION: Check that you specified the correct name for the database server, that the server is running and you are authorized to log on to it.
    Please advice on the issue.
    Best Regards
    Arun Jaiswal

    Dear Vincent
    I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
    Best Regards
    Arun Jaiswal

  • Crystal report DataBase Connection Issue.

    I am trying to change the connection string of the report file dynamically base on the connection info in the web.config.
    I have connected to the database A while designing  the report if  to change the database dynamically to database B from code behind.
    I have used the following code.
    But getting an error as "DataBase Logon failed".
    may some one help  in resolving this issue ASAP.
    ParameterFields myParams = new ParameterFields();
                            ParameterField myParam = new ParameterField();
                            ParameterDiscreteValue myDiscreteValue = new ParameterDiscreteValue();
                            myParam.ParameterFieldName = "@ID";
                            myParam.ReportName = strreportfile;
                            myDiscreteValue.Value = Convert.ToInt32(Session["ID"]);
                            myParam.CurrentValues.Add(myDiscreteValue);
                            myParams.Add(myParam);
                                               CrystalReportViewer1.EnableDatabaseLogonPrompt = false;
                            CrystalDecisions.Shared.TableLogOnInfo crConnectionInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                            crConnectionInfo.ConnectionInfo.ServerName = ConfigurationManager.AppSettings["ServerName"].ToString();                        crConnectionInfo.ConnectionInfo.DatabaseName = ConfigurationManager.AppSettins["DatabaseName"].ToString();
                            crConnectionInfo.ConnectionInfo.UserID = ConfigurationManager.AppSettings["UserId"].ToString();
    ConfigurationManager.AppSettings("UserID").ToString;
                            crConnectionInfo.ConnectionInfo.Password = ConfigurationManager.AppSettings["password"].ToString();
                            foreach (InternalConnectionInfo conn in objReportDocument.DataSourceConnections)
                                conn.SetConnection(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            CrystalReportViewer1.EnableParameterPrompt = false;
                          objReportDocument.OpenSubreport("test2.rpt");
                         objReportDocument.Subreports[0].SetDatabaseLogon(crConnectionInfo.ConnectionInfo.UserID, crConnectionInfo.ConnectionInfo.Password, crConnectionInfo.ConnectionInfo.ServerName, crConnectionInfo.ConnectionInfo.DatabaseName);
                            for (int index = 0; index <= reportdoc.Database.Tables.Count - 1; index++)
                              reportdoc.Database.Tables[index].ApplyLogOnInfo(crConnectionInfo);
                       CrystalReportViewer1.ParameterFieldInfo = myParams;
                            CrystalReportViewer1.ReportSource = objReportDocument;

    Moved to .NET SDK forums.
    SEARCH here, 100's of posts on how to debug your DB connection problem.
    Good luck
    Don

  • Database Connection Issues!!

    Dear Sir/Madam,
    I have getting some problems regarding connection of database like Msaccess.
    While i added data in database and similarly i created a form and related it. But when i bowse this file and hit the submit button the following errors are shown such as
    And Also Please see the error code
    <%@LANGUAGE="JAVASCRIPT"%>
    <!--#include file="Connections/mycontact.asp" -->
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    var MM_editAction = Request.ServerVariables("SCRIPT_NAME");
    if (Request.QueryString) {
      MM_editAction += "?" + Server.HTMLEncode(Request.QueryString);
    // boolean to abort record edit
    var MM_abortEdit = false;
    // query string to execute
    var MM_editQuery = "";
    %>
    <%
    // *** Insert Record: set variables
    if (String(Request("MM_insert")) == "form1") {
      var MM_editConnection = MM_mycontact_STRING;
      var MM_editTable  = "Table1";
      var MM_editRedirectUrl = "thankyou.asp";
      var MM_fieldsStr = "ID|value|name|value|father_name|value|email|value|phone_no|value";
      var MM_columnsStr = "ID|none,none,NULL|name|',none,''|[father name]|',none,''|email|',none,''|[phone no]|',none,''";
      // create the MM_fields and MM_columns arrays
      var MM_fields = MM_fieldsStr.split("|");
      var MM_columns = MM_columnsStr.split("|");
      // set the form values
      for (var i=0; i+1 < MM_fields.length; i+=2) {
        MM_fields[i+1] = String(Request.Form(MM_fields[i]));
      // append the query string to the redirect URL
      if (MM_editRedirectUrl && Request.QueryString && Request.QueryString.Count > 0) {
        MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + Request.QueryString;
    %>
    <%
    // *** Insert Record: construct a sql insert statement and execute it
    if (String(Request("MM_insert")) != "undefined") {
      // create the sql insert statement
      var MM_tableValues = "", MM_dbValues = "";
      for (var i=0; i+1 < MM_fields.length; i+=2) {
        var formVal = MM_fields[i+1];
        var MM_typesArray = MM_columns[i+1].split(",");
        var delim =    (MM_typesArray[0] != "none") ? MM_typesArray[0] : "";
        var altVal =   (MM_typesArray[1] != "none") ? MM_typesArray[1] : "";
        var emptyVal = (MM_typesArray[2] != "none") ? MM_typesArray[2] : "";
        if (formVal == "" || formVal == "undefined") {
          formVal = emptyVal;
        } else {
          if (altVal != "") {
            formVal = altVal;
          } else if (delim == "'") { // escape quotes
            formVal = "'" + formVal.replace(/'/g,"''") + "'";
          } else {
            formVal = delim + formVal + delim;
        MM_tableValues += ((i != 0) ? "," : "") + MM_columns[i];
        MM_dbValues += ((i != 0) ? "," : "") + formVal;
      MM_editQuery = "insert into " + MM_editTable + " (" + MM_tableValues + ") values (" + MM_dbValues + ")";
      if (!MM_abortEdit) {
        // execute the insert
        var MM_editCmd = Server.CreateObject('ADODB.Command');
      MM_editCmd.ActiveConnection = MM_editConnection;
        MM_editCmd.CommandText = MM_editQuery;
        MM_editCmd.Execute();
        MM_editCmd.ActiveConnection.Close();
        if (MM_editRedirectUrl) {
          Response.Redirect(MM_editRedirectUrl);
    %>
    <html>
    <head>
    <title>mycontactsss</title>
    </head>
    <body>
    <form method="post" action="<%=MM_editAction%>" name="form1">
      <table align="center">
        <tr valign="baseline">
          <td nowrap align="right">ID:</td>
          <td>
            <input type="text" name="ID" value="" size="32">
          </td>
        </tr>
        <tr valign="baseline">
          <td nowrap align="right">Name:</td>
          <td>
            <input type="text" name="name" value="" size="32">
          </td>
        </tr>
        <tr valign="baseline">
          <td nowrap align="right">Father name:</td>
          <td>
            <input type="text" name="father_name" value="" size="32">
          </td>
        </tr>
        <tr valign="baseline">
          <td nowrap align="right">Email:</td>
          <td>
            <input type="text" name="email" value="" size="32">
          </td>
        </tr>
        <tr valign="baseline">
          <td nowrap align="right">Phone no:</td>
          <td>
            <input type="text" name="phone_no" value="" size="32">
          </td>
        </tr>
        <tr valign="baseline">
          <td nowrap align="right"> </td>
          <td>
            <input type="submit" value="submit">
          </td>
        </tr>
      </table>
      <input type="hidden" name="MM_insert" value="form1">
    </form>
    <p> </p>
    </body>
    </html>
    If there is some mistakes in my process of connecting database and its execution please let me know the same..
    thank You.
    Roma

    connection file??? i havent gt ur point,, did u mean in "image file" or in "code"??

  • Please help with database connection issue

    Hi,
    I've created a few connections and pages with a few recodsets on my local computer and am connecting fine with the database. I've uploaded the database via phpmyadmin onto a remote server and uploaded all my pages to the website and have changed the database info, user name and password in the connections folder but when I try to load the file I get a message "no database selected". I've tried various things but no luck. I'm selecting the database name but something is missing. Any help would be appreciated.
    Derek

    A bit more info: Here is the connection script as its defined in Dreamweaver: <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_karen_product = "localhost";
    $database_karen_product = "karen";
    $username_karen_product = "root";
    $password_karen_product = "root";
    $karen_product = mysql_pconnect($hostname_karen_product, $username_karen_product, $password_karen_product) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    Where is says mysql_pconnect, I changed the $hostname_karen_product etc to 'localhost', 'username', 'the password for the database')
    Do i need to do something different at $database_karen_product?
    I'm basically new at this and confused as to how to alter this connection script.
    Thanks
    Derek

  • Oracle database Connectivity issue

    We are using Oracle 11g database with java 1.6
    When i am deploying my application i am getting below error
    09:48:13,604 INFO [STDOUT] SQL Exception occured:
    09:48:13,605 ERROR [STDERR] java.sql.SQLException:
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    09:48:13,607 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.processOCIConnectionPooling(T2CConnection.java:997)
    09:48:13,608 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:239)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
    09:48:13,609 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:60)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.OracleOCIConnection.<init>(OracleOCIConnection.java:44)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.oci.OracleOCIConnection.<init>(OracleOCIConnection.java:36)
    09:48:13,610 ERROR [STDERR] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:49)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:864)
    09:48:13,611 ERROR [STDERR] at oracle.jdbc.pool.OracleOCIConnectionPool.<init>(OracleOCIConnectionPool.java:149)
    09:48:13,614 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:242)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1208)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1108)
    09:48:13,615 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3628)
    09:48:13,616 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3851)
    09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:299)
    09:48:13,616 ERROR [STDERR] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
    09:48:13,617 ERROR [STDERR] at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
    09:48:13,617 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:48:13,618 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:48:13,618 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:48:13,618 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    09:48:13,619 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
    09:48:13,620 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
    09:48:13,620 ERROR [STDERR] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
    This error come when my application is trying to connect to data base
    try {
    proxyPool = new OracleOCIConnectionPool(strUserId ,strPassword, url,poolConfig); // error is coming at this line
    System.out.println("Connection pool created");
    } catch (SQLException sqle) {
    System.out.println("SQL Exception occured:");
    sqle.printStackTrace();
    if(proxyPool != null) {
    proxyPool.close();
    proxyPool = null;
    throw sqle;
    Please help me find resolution of this problem
    Thanks,
    Kumar
    Edited by: 906270 on Jan 9, 2012 3:01 AM

    906270 wrote:
    We are using Oracle 11g database with java 1.6Err...no that is not all you are doing. Looks like a whole bunch of stuff is in there.
    Please help me find resolution of this problemWrite a command line application in java. That means it does NOT run in jboss.
    It should do nothing but connect to oracle with the OCI connection string and report the results.
    Run it on the same box as jboss.
    Run it as the same user as jboss.
    If it succeeds then your problem is jboss or the user.
    If it doesn't then report the exception that that throws. And post the code (using code tags.)

  • Database connection issue using SQLPLUS

    I have a WIN7 Host named DELL-i5 and a WINXP VM named VMXP on VMWARE.
    Now, the host has a Oracle 11g database orders, SID - orders, username - SYSTEM, password - abc123. I have set the listener to be on port 1521 using NETCA.
    The VM has Oracle client 11g.
    The VM is connected as Bridged and host and VM can ping each other.
    Now, when I choose to connect to the database using this command from VM :
    sqlplus SYSTEM/abc123@//DELL-i5:1521/orders
    I get ORA-12170: TNSConenct timeout occurred
    I have tried the following on th Host's SQLPLUS and only this worked
    SYSTEM/abc123@orders
    What do I do ? Thanks
    Edited by: ztech123 on 28-Oct-2010 18:38

    ztech123 wrote:
    I get ORA-12170: TNSConenct timeout occurredFull details of the error from the oerr comand:
    <i>12170, 00000, "TNS:Connect timeout occurred"
    // *Cause:  The server shut down because connection establishment or
    // communication with a client failed to complete within the allotted time
    // interval. This may be a result of network or system delays; or this may
    // indicate that a malicious client is trying to cause a Denial of Service
    // attack on the server.
    // *Action: If the error occurred because of a slow network or system,
    // reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT,
    // SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.
    // If a malicious client is suspected, use the address in sqlnet.log to
    // identify the source and restrict access. Note that logged addresses may
    // not be reliable as they can be forged (e.g. in TCP/IP).</i>
    What do I do ? ThanksYou have tested connectivity via ICMP - so there is a network route between the sender and receiver. However a timeout results when using 1521/tcp for access via SQL*Plus.
    First test connectivity for that port using telnet. On VMXP try the following.
    telnet dell-i5 1521
    Do you get a connection? If not, then it means that despite ICMP reporting connectivity, there is none on 1521/tcp. In that case the culprit could be a firewall.
    If you do get a connection, then try sqlplus next, but without a tnsnames.ora and sqlnet.ora file - e.g.
    sqlnet syste/abc123@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=dell-i5)(PORT=1521)) (CONNECT_DATA= (SID=orders) (SERVER=dedicated)))"
    The idea is to keep the number of configuration files and details to a minimum for testing purposes and to isolate the problem.
    Also check basic stuff like netmasks of both the guest and host operating systems, routing tables and so on.

  • DW in a wamp environment - database connectivity issues

    I'm new to creating dynamic websites. I'm working with The Missing Manual Tutorial and setting up a wamp localhost testing environment. On the last step in setting up the environment, I'm trying to point DW to the MySql database cosmofarmer and the only database that shows up in the window menu is information_schema database (which I cannot find in any file). The database I want to connect to is located in the MySql/data folder (which is the default for MySql), but in DW/databases there's no option to browse to select it. I can see cosmofarmer in phpMyAdmin window. Is there a way to point DW to find the dbases in the MySql default folder? should I put the dbases in different folder, or what will work?
    Any advice appreciated.

    Best way to go is in PHPmyAdmin create a new database for each site you are working on. Then create a new user for your local MySQL and give this user the exact same username and password that you will be using for the live server database for the same site, finally give this user full permissions for the database for this site ONLY.
    Now you can create a DSN for this site with the username and password you created, which will be the same as on the server so you won't have to remember to edit your DSN settings before uploading to the server.
    Hope this helps.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • Jdev 10.1.3 Database connectivity issue

    I have migrated form Jdev 10.1.2 to Jdev 10.1.3.1.and have configured my database setting i.e URL,USER NAME,Password etc in Embedded OC4J sever preferences.
    When I run my application through run button on the menu bar it get connected to the database and application get start properly.but after 10 ro 15 min ,its automatically hitting the database with wrong id or password and my database get locked due to too many wrong hits.It continues hitting the database server with wrong id and password even i terminate the OC4J server forcefully.In order to get the hits block I have to close the Jdev IDE.
    I have checked all the connection settings,user id and password.

    This is a WSDL file from a Web Service provider which we will have to uses as it is.
    Suprisingle the same WSDL file works just fine in Jdev 10.1.2. But Jdev 10.1.2 does not create all the .java files specified by WSDL.
    Jdev 10.1.3 creates all the files but does not work.

  • Oracle Database Connection ISSUE

    Folks,
    I Installed Oracle 8.1.7 database on a RH AS Linux server. Installation is smooth. I am able to start the server and listerner without any errors. I am able to connect through SQL Plus and JDBC Clients. After sometime(10-12 mins) something happens on the server and I am NOT able to connect to the server through JDBC client. But still I am able to connect through SQL Plus from remote machines.
    Does this ring any bells to you guys ? Let me know.
    thx.
    Rajesh.

    Dear Vincent
    I am using the Oracle as database. When I extract the part-1-5 folder for Oracle database and started the run the sapinst under extracted folder > data units > _MSS.
    Best Regards
    Arun Jaiswal

  • Sybase Database connection Issues

    Hi,
    I am new to Java programming and am trying to connect to sybase using jdbc.I want to know the following details:
    1) How can i get the driver information?
    2) How can i get the DB information? (The URL format with port,ip address, etc.,) I have the program and syntax, but i am not able to get these 2 info.
    Thanks in advance for your help.
    Selvi.

    To be honest I have not worked with Sybase.
    There should be an explanation on how to install and configure the Sybase driver in the zip file.
    Your problem is most likely a classpath problem.
    For example with the MySQL driver I had to unzip the files and copy the mysql-connector-java-3.0.6-stable-bin.jar file to the java installation directory C:\j2sdk1.4.1_02\jre\lib\ext.
    rykk

  • Connectivity issue to database.

    DB Version :10.2.0.2
    OS:Sloaris 5.8
    Yesterday the application server couldn't able to connect to the production database for 30 min .When i checked in the alert log ,i got primary unable to ping the standby database
    LGWR: I/O error 3113 archiving log 3 to '*********'
    ORA-01034: ORACLE not available
    PING[ARC1]: Heartbeat failed to connect to standby '*********'. Error is 1034.
    Error 1034 received logging on to the standby
    WARNING: inbound connection timed out (ORA-3136)
    In AWR report it showing log file sync as top wait event
    My production database is in max performance mode
    log_archive_dest_2 = service=********* lgwr async noaffirm net_timeout=10
    The application team told me that at that time some stored procedure was running which used to do some bulk DML . But this stored procedure runs at the same time every day .
    Is this issue is due to primary and standby database connectivity issue causing problem due to wihich the the lgwr of primary unable to write on standby and causing the log file sync to go high.and when i compared it with day before yesterday AWR report same procedure and sql's were executed with out issue at that time.
    iF we change to ARCH will it help.
    log_archive_dest_2 = service=********* ARCH noaffirm net_timeout=10

    user8850066 wrote:
    No it was not down at that time. will Standby DB cause any performance problem to primary if it is down and the primary is in max performance mode.
    As per my knowledge it shouldn't in max performance mode. But not sure what will happen if the lgwr async in max performance.Now your standby database can receive logs from primary?
    Post there your standby and primary database alert.log according this time.

Maybe you are looking for

  • Key Flexfield's Segment List not working as expected

    Greetings. I am having problems using the Segment List attribute of a key flexfield bean. I want to restrict the segments that a user can enter values for. I would like to do this by preferably setting the relevant segments read-only, or alternativel

  • Reinstall info needed

    I have not been able to find the information about the valid number of copies I can make of my Adobe software. I also need information about whether I can uninstall from a Windows OS that's gone quirky on me, restage the laptop and then reinstall to

  • RSB_API_OHS_3RDPARTY_NOTIFY

    Hi Gurus, Has anyone implemented open hub to third party extraction using the APIs provided by SAP? Such as RSB_API_OHS_3RDPARTY_NOTIFY, RSB_API_OHS_REQUEST_SETSTATUS, or RSB_API_OHS_DEST_READ_DATA. I believe these are RFC APIs to be called by the ta

  • Told to ReStart (?)

    I was working in Safari and all of a sudden the screen showed what looked like a grey curtain was drawn from top to bottom. In the center was a message that said "you need to restart your Mac. press the power button and then press again to turn back

  • Ipod shuffle 1st gen

    i wish to find out can i use an ipod nano and a ipod shuffle 1st gen 512mb on 1 computer, as i wish 2 buy my child an ipod