How to connect with the database

Hi
I have oracle instant client instantclient-basic-win32-11.1.0.6.0 and i have oracle database 11g installed on oracle enterprise linux machine, i want to connect to that oracle from windows xp machine. i have oracle instantclient-basic-win32-11.1.0.6.0, which has following files.
vc8
vc71
adrci
adrci
BASIC_README
genezi
genezi
etc.......
when i connect using sqlplus TNS adapter error is coming what to do

Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

Similar Messages

  • How to change a connection with the database in Runtime?

    How to change a connection with the database in Runtime?
    My connection was made using ADF Business component (ApplicationModule).
    ADF Swing.
    JDeveloper Studio 11.1.1.4.0.

    When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
    You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
    For more details, check
    http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
    Thanks,
    Navaneeth

  • Error in connecting with the database

    Hi,
    when i try to connect with the database the following error has occured
    ORA-12504: TNS:listener name was not given the service name in connect data
    solution want

    hi,
    i has the following in my tnsnames.ora file
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.localdomain)
    )

  • Cant change the connection with the database

    its strange... i have 2 databases for same schema with diferent users ...in one i dont have data and the other i have data...... i have created 2 database connection in my connection navigator..... the strange thing is:
    when i change the connection of the application module to the database that doesnt have data and i run the page there are always appear data wich are in my first database.... eventhought i have change the connection... but if i use bussiness component browser to test it .... i dont get data for those views... in fact this is how this should be...... how is this possible ?
    i am using different faces-config.xml files..... is this connection saved in some files and i should change it by hand?

    Hi Me_J,
    Here is the bc4j from one of my application module: <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
       <AppModuleConfigBag>
          <AppModuleConfig name="MyAppModuleLocal">
             <DeployPlatform>LOCAL</DeployPlatform>
             <JDBCDataSource>jdbc/MyConnectionDS</JDBCDataSource>
             <jbo.project>DataModel</jbo.project>
             <AppModuleJndiName>dfly.datamodel.entities.MyAppModule</AppModuleJndiName>
             <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
             <ApplicationName>dfly.datamodel.entities.MyAppModule</ApplicationName>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>You should have something similar. If you have applied security on your application, you could have a "data-sources.xml" file. Assume to have correctly change this file too.
    Instead of using two different connections, i prefer to use only one and changing the parameters when i need to access a different source. You just need to remake and rebuild your project for make your changes effective.
    Hope that help,
    Good luck,
    Tif

  • How to connect with Oracle database in JSF ?

    Hi ,
    am very new to JSF,i want to perform a database connection with an Oracle database through JSf.Is there any special tag as such in struts for DB connectivity in JSF?Can any one help me?

    No.
    A database shouldn't even be reached from inside the view layer. Do it in the controller/business layer, e.g. the backing bean. Read on about JDBC, DAO, DTO. If you're already familiar with that, consider an ORM, like Hibernate.

  • How to connect to the database

    hello, i'm using windows 2000 sp: 4
    i have installed databaseXE 10g and Developer suite 10g (installation: Complete).
    When i run oracle designer or repository administration utility, i can't enter with my database acount > user : system, password: xxxx(database password).
    i try to configure the application with Net Configuration Assistant, creating listeners and service name but i don't understand this procedure.
    can somebody help me connecting to my database?!

    Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

  • Looks like we are running out of the maximum connections IAS 6.0 SP4 can open with the database. Where is the setting and how can we change it?

    We are using IAS 6 SP4. We have 4 kjs engines and we see total 112 jre threads being spawned to database. The code is not able to open connection with the database when we go beyond 60 users (approx)
    Any clues?
    Thanks in advnace
    Sangeeta

    Hi,
    Fine,Its always better to increase the Max pool Size settings to a large value corresponding to KJS's max thread value. Sometimes i had faced problems with Asynchronous database queries eventhough i increased the Max thread value of the Driver to a good maximum value.
    If an application has a very large number of users who access the same data, then Setting the Database Cache's Maximum Connections to a large value will surely help.
    I think its always better to have a clear database connection settings strategy ,considering your Complexity of your Application 'We are using IAS 6 SP4. We have 4 kjs engines and we see total 112 jre threads being spawned to database'.
    Regards,
    T.Raghulan.

  • How can I connect to the database using the Oracle Remote Diagnostic Agent?

    Now I try to study RDA on Windows XP platform,when I run 'rda.cmd',there is a question 'Enter password for 'SYSTEM@'',what is the answer?
    Because I didn't know how to connect to database,there are many error messages - RDA-00510: SQL execution disabled,What can I do?

    Metalink Note:314422.1 to start
    It is asking you to tell how to connect to 'the database that you are investigating' over a network. The answer .... the password for the userid called 'system' in the database specified after the @
    I am confused ... you do not know how to connect to your database?

  • REG: Unable to connect to the database

    Hi All,
    I have installed mdm 7.1 sp06 on one server  with database as SQL on other server, was able to mount the server and running fine but when trying to connect to the database using the user sa, giving the error "Unable to connect to the database server".
    Can any one please help in how to connect to the database on other server?
    Regards,
    Mounika.

    hello,
    What sequence did you follow.
    the normal sequence is to start the data base server first and then the mdm server.
    Kindly take a restart of the servers and check th mds.ini file for the relevant settings for Database connectivity.
    Mostly the restart will solve the problem, if it still doesnt do let me know
    regards,
    Abhishek

  • Error while connectng with the database

    hi,
    I am working with the oracle load testing for web application and now it is using the default database 10g.Then i have installed 11g database in my desktop And also by using oracle application testing suite database configuration i have connected with 11g database also both system are in same network.
    while connecting with the database the following error has occured
    Error opening database '11g'
    Error connecting to the database.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Driver's SQLSetConnectAttr failed
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    solution needed

    hi asif,
    i have configured the tnsnames and listener file with the following
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    orcl =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.103)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    OTM_CONNECTION_DATA_1 =
    (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
              (CONNECT_DATA =
              (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    and listener.ora contains
    # lISTENER.ORA Network Configuration File: /u01/app/oracle1/product/11.1.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle1/product/11.1/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl.localdomain)
    (ORACLE_HOME =/u01/app/oracle1/product/11.1/db_1)
    (SID_NAME = orcl)
    )

  • How can I save a form with database connections with the info w/o requiring the connection again?

    I have a form in LiveCycle ES2 that has an ODBC connection to an Access 2007 database.  The form works great and all the data populates the form just fine, but next I need a way to save the generated form with the data so it can be sent and signed by people who won't (and can't) have a connection to the database.  I am developing on a Windows 7, 64 bit machine and have Adobe Acrobat X Pro, and Adobe Reader X.
    Any help or suggestions would be appreciated.
    Thanks

    Thanks for the quick response.  I tried saving the form as Reader Extended in Acrobat Pro, but if I close the form I saved as extended, it still prompts for the data connection.  Is there some setting in Adobe LiveCycle in the properties that maybe needs to be set?  I have it set as a Dynamic XML Form.  In form properties, there is a tab called data binding, should I have "Allow binding to data not defined by the default data connection" checked?  Wasn't sure what "Add data nodes inside the filtered data hierarchy" would do either.

  • How to create a link to a web page that is connected to the database?

    i am developing a web form in java using Oracle's JDeveloper. i created the form which is connected to the database and now i want to put a link in a page that when clicked it shows the form and populates it if necessary. i have no idea how to do that, can anyone please give me an example or where i can find an example?

    Its really hard to answer this question with this enough information....Which Jdeveloper version? which technology you are using to create this web form ? ADF BC or others
    If 11g then are you aware of Task flows?

  • How can I speed up the connection to the database?

    I am running a JSP application with regular JavaBeans not EJB and connecting to the database through these beans. The connection is set to stay in memory as long as the bean is in session. However when I am running more than 7 sql statements seperatly the execution of the page slows down.
    I have tried using connection pooling but doesn't help much.
    I am not using the JDBC setting in JRUN, I am connecting through the jdbc.odbc drivers provided by the JDK. Basically coded the connection and the connection pool.
    Is there something else that can be done to speed up the execution of the page?
    Thanks in advance

    Thank you all for your input I was trying to work this project to learn JSP so I am not looking at purchasing any drivers right now. That is the reason why I stuck to the JDBC-ODBC Bridge. Are there any other drivers available for MS SQL Servers that are free.
    Jschell,
    That suggests you are taxing the system. It could be >connections. It could also be network, cpu, bus, etc. It >could also be memory, if your app starts swapping to >the hard drive it will get substantially slower.How can i figure out which of the above (i.e. memory, cpu, connections, network) are causing the problem.
    (Presumably you explicitly close your >ResultSets/Statements/Connections when you are >done with them.)You are right about that yes I am closing them at the end of the session, which I think should be after all of the SQL's get executed but I could be wrong it might be openeing a new connection for each SQL which inturn might be the reason for this whole problem. I will take a look into that.
    Thank you all once again.

  • How to connect to the local user database ??

    Hi,
    how can i connect to the local oracle ltie database that is created
    for each individual user (with msql or sqlplus) ?? I created a
    user ms and published an app the user can access. In the oldb40
    directory there is a "ms" directory which contains the database
    for the user ("demoapp.odb"). The DSN Name "ms_demoapp" exists
    and points to the correct directory and file. But how can i
    connect to that database with msql or sqlplus. I tried all
    possible combination of an url string i can think of, but
    nothing did work.
    Any ideas ?? Thanks in Advance.
    ms

    But were you able to connect to the database and make a query on the table you have made through the application. I have tried the todo List example and have seen that the data is stored in a file. But I am not very sure how to query the database using msql. Pls help!
    Thanks in advance,
    Rajiv.

  • How to deal with the situation when the database change into ms-sqlserver ?

    Hi,dear all,
    How to deal with the situation when the database change into ms-sqlserver or other database?
    Now, i want to build a j2ee project with ORACLE ADF bc,but this project may be used in several diffrent databases for example oracle db,ms db,mysql and so on.however,if i have developer this project in jdeveloper and this project connection was config as a oracle database,and then,can this project be reused for other databases espasially including the model codes? if yes,how should i do?
    all who know how to resolve this,tell me pls,thanks.
    bruce Li,
    China
    Message was edited by:
    user526724

    Hi Paulbin,
    Do you want to supply a function-pointer to a DLL so it can call[back] your VI?  Here's how it can be done with .NET, though, that solution requires a C compiler.   A single "VI_to_function-reference" utility could handle all cases where the callback passes no parameters.  Maybe someday somebody will share that dll.
    Did you know that LabVIEW can use Events for some COM-signals change?  See pic.  (Note: DTR is not listed - - )
    Another question is another function's prototype is WORD SetTestType(WORD comHandle, bool type1, bool type2, bool type3),   I tried to use a boolean control and a Boolean to (0,1) node in labVIEW to pass parameters to CLF, I config the bool input value as U8(according to C++ bool type) and U32(according to WIN32 BOOL type), it dose not help, when I execute the VI, LabVIEW will be disappeare, it seems to be closed, I must start it again.
    Could someone has similar experience on this points?
    It's easy to crash LabVIEW misusing CLF - maybe there's another reason for the crash besides bool mis-match(?)  Do you know which "Calling convention" is required?  What type is comHandle? (where does comHandle come from?) 
    Cheers!
    Message Edited by tbd on 03-23-2007 09:34 PM
    Message Edited by tbd on 03-23-2007 09:35 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    evt.jpg ‏7 KB

Maybe you are looking for

  • Dates issue while running ETL in DAC

    Hello all, I am trying to do a load from EBS12 into OBI Applications..everytime there is a task that uses a date, I am getting a date error...I changed the dates in dac..I tryied with runtime or static..I changed the configuration of my date to yyyy-

  • Ipad 4 change video mirroring to videoout

    Hi, I have the lightning to digital adapter. Is it possible to switch between video mirroring and video out on the ipad 4? I don't like to have my screen on while watchning hulu etc on TV. Thanks

  • BPP's for FI

    Hello ,    can anybody pls send bpp's for FI process, especiaaly for AR and AP,  u can send it to my email [email protected] thanks very much.

  • Error 6 in function module RSS_PROGRAM_GENERATE

    Hi friends, While testing the extraction of a hierarchy data source (0CMMT_ITEM_FMCI_PU_HIER) from RSA3, I encountered the above error. I looked into some notes and it was not of much help for me. Please let me know if someone have come across this e

  • Iphone 4S - E Mail issues

    When I send an e mail from my device using my business account, it always appears at the receiving location as my personal e mail account.  I have my business account set as default so not sure why this is happening. Any suggestions??