Tns name for oracle 9i

Hi all,
I have installed 9i on my laptop, n configured tns entry as follows. But getting an error while connecting " TNS could not resolve the service name"
Please help.
abhi.oracle=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = abhi.oracle)
abhi.oracle was the database file name i gave while installing 9i database.
Please let me know what should be the service name for the tns entry???
Using Scott/tiger as username n pwd.
Thanks

I commented the line in the sqlnet.ora nw it looks like this :
# SQLNET.ORA Network Configuration File: C:\oracle\ora92
\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# names.default_domain = abhi.oracle
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
and tns entry as
abhi.oracle=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = abhi.oracle)
and log in with
scott/[email protected]
but still getting this error " TNS could not resolve service name"
Please explain me how the service name is related to sqlnet.ora or any thing else that i hv configured during installation??
do i need to change my tns entry ??

Similar Messages

  • What are the userid,password, and host name for oracle 9i?

    HI Guys.
    I am a research student at the University and the I recently downloaded Oracle 9i for my research. But the problems is also with seting it up. Please could you show me the userid, password, and host name for oracle 9i.
    Thanks in advance for your cooperations.
    Malinga R
    [email protected]

    I believe that starting with 9.2, you have to specify different passwords when you install (can't be the default).
    Justin

  • How to create a DSN (Data Source Name) for "Oracle 10g XE" on SUSE 10??

    Hii Friends,
    I am new Linux user.I installed SUSE Linux 10.2. I am planning to do my project on Linux with J2EE,Oracle technologies. I installed Oracle 10g Express Edition. But unfortunately i have no provider name for oracle in the Providers List in SUSE/Gnome Desktop/System/Data Access points/ dsn list. I am unable to understand what actually happened. Should i install any other libraries, or Odbc drivers (I mean aren't they not given by Oracle XE Setup, as in MS Windows XP) ? Any one please help me. I need this immediately.
    Waiting for a reply,
    Mahidhar Chaluvadi
    CS Engg. Student
    Vizag.

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

  • ID parameter name for oracle.apps.ar.hz.CustomerProfile.update BE

    Dear All,
    I am not able to find ID parameter name for oracle.apps.ar.hz.CustomerProfile.update businees event.
    TIA.

    Hi Hameed;
    lose your thread here as changing thread status to answered and move it to Forum Home » E-Business Suite » EBS General Discussion
    Regard
    Helios

  • How to change IP, Hostname and domain name for Oracle Application R12

    Hi,
    I'm new to Oracle, we used to have one production and one test server for Oracle Application R12, but the test server was corrupted, so we decided to clone production server and create a new test server, after cloning and creation of test server, how should we do to change IP address, hostname and domain name for test server?
    Our production and test server environment is:
    Linux Enterprise AS 2.6.9
    Application module: E-Business Suite Treasury only
    Your advice will be much appreciated.
    Regards,
    Kenneth
    Edited by: 850209 on Apr 7, 2011 5:37 PM

    850209 wrote:
    Hi,
    There are few tnsnames.ora and listener.ora files in the system, how to know which one are effective? If I change tnsnames.ora hostname entry, do I need to change listerner.ora file also?
    Thanks.
    Regard,
    Kenneth.tnsnames.ora is used only by client processes. listner.ora is used only to configure the listener, and that is a server side issue only. In addition, the listener can start without any listener.ora at all, using all default values. See my discussion of tns issues at edstevensdba.wordpress.com
    If you are using dbcontrol, you will most likely need to reconfigure it, using the emca utility.

  • How to setup JNDI Name for Oracle Apps adapter?

    Hello,
    I am learning Oracle SOA 11g and trying to do some tutorial on Oracle Application Adapter.  I know how to configure JNDI for DBadapter and I did that successfully. I followed same steps to create New JNDI for Oracle Apps Adapter.
    1. I Created new data source using Path Services->Data Sources -> New Genric Data Source. Connection to database was successful and created new JNDI Name: jdbc/PKDTAPPS.
    2. Then Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> New and created JNDI Name eis/Apps/PKDTAPPS.
    However I did not find newly created JNDI Name in step 2 under Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> javax.resource.cci.ConnectionFactory.
    Please let me know if am I following correct steps to create new Oracle Apps Adapter JNDI Name or not.
    Since above approch did not work I created new JNDI for DBAdapter with same database connection details. And then latter on use that JNDI Name while creating Oracle Application Adapter in JDeveloper composite. And it allowed me to access Oracel Apps open interface. However while deploying the application it gave me following error.
    <Feb 16, 2015 10:50:59 AM CST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on AdminServer: [JCABinding]
    [adapter-Apps-101-JournalImport.InsertJournal/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.apps.AppsTableWriteInteractionSpec: Cannot locate Java class
    oracle.tip.adapter.apps.AppsTableWriteInteractionSpec..>
    Since I have no past experience kindly suggest me what is right way to do this.
    Thanks,
    Shri

    Hi shri,
    Can you check the targets of oracle apps adapter that is it deployed on both cluster and admin server both.
    Deployment-> OracleApps Adapter-> Targets
    Regards,
    Anshul

  • Whats are the connectors downloadable names for Oracle ERP and HRMS?

    Hi,
    I tried to download connector for Oracle ERP and HRMS. But there is not connectors for the same. Am looking at wrong place?
    Can someone give me downloadable links for Oracle ERP and HRMS!!
    Thanks,
    murli

    Oracle is rearranging the download page again.
    Go here: http://www.oracle.com/technology/software/products/ias/htdocs/connectors.html
    for connectors.
    Best regards
    -Martin

  • Dynamic column name for Oracle Server Procedure

    hello,
    May be it's not a right place for my question, but I hope that some of you can help me.
    I have source table A that has data of the same kind in 62 fields, let's say employee count for 62 departments. I do some processing with these counts(sum(emp_count) of the same departments for different locations) and store these counts in the variables EC1, EC2, EC3 .. EC62.
    Then I need to insert them into my table that has very simple structure let's say table B (dept_no Number(3),
    emp_count Number(6))
    I want to do a loop and use dynamic colunm EMP_COUNT, something like this:
    FOR k in 1..62 LOOP
    EMP_COUNT := 'EC'&#0124; &#0124;k;
    IF EMP_COUNT <> O THEN
    insert into B
    VALUES ( K , EMP_COUNT);
    END IF;
    END LOOP;
    I understand that I need to take a Value of my dynamic colunm EMP_COUNT. Is it possible to do in Oracle Server Procedure? Any idea?
    Any help will be apreciated.
    null

    After having worked in other environments where you can manipulate data records with postitional parameters, Oracle can be frustrating because it demands the explicit use of field names in DML/Select statements. A way around this is to use DBMS_SQL or Dynamic Sql. I have used DBMS_SQL to create and execute dynamic statements with great success. Since you are creating, compiling, and running a dynamic block every time you execute your procedure, this is not recommended except in the rare instances when there is no better way around it.
    Oracle8i introduces native dynamic SQL, an alternative to DBMS_SQL. Using native dynamic SQL, you can place dynamic SQL statements directly into PL/SQL blocks.
    In most situations, native dynamic SQL can replace DBMS_SQL. Native dynamic SQL is easier to use and performs better than DBMS_SQL.
    Example of Dynamic SQL<------------------------
    BEGIN
    -- bulk fetch the list of office locations
    SELECT location BULK COLLECT INTO loc_array
    FROM offices;
    -- for each location, give a raise to employees with the given 'job'
    FOR i IN loc_array.first..loc_array.last LOOP
    dml_str := 'UPDATE emp_' &#0124; &#0124; loc_array(i)
    &#0124; &#0124; ' SET sal = sal * (1+(:raise_percent/100))'
    &#0124; &#0124; ' WHERE job = :job_title';
    EXECUTE IMMEDIATE dml_str USING raise_percent, job;
    END LOOP;
    Look for more information on dynamic SQL by
    searching for DBMS_SQL.
    Good Luck
    null

  • How to specify dataschema name for oracle data source?

    hi all,
    I've a following problem:
    we have specified 2 Oracle dataschemas into a one Oracle SID, choosing of dataschema depends on user login name. So, if I use SQL/Plus then I successful connect with proeprietary database schema, and when I specify this user in "data-sources.xml" for datasource definition, however connection estabished with a default dataschema.
    And so question: how can I choose proeprietary database schema defined in one Oracle SID? There is any settings for this purpose in data-sources.xml?
    thanx in advance,
    Val.

    sorry, it works! was my error.

  • Non-Geeky name for "Oracle SQL Developer"

    At my work place people (mostly non-developers) are using MS-Query to access Oracle database to query and analyses data.
    I asked them to use "Oracle SQL Developer", then their response is "It may be complicated, and we are not Developer".
    Current name implies user need to be developer, and need to know SQL etc.
    Cant we have a non-geeky name?
    "SQL Server Management Studio", "MS-Query", "DBDesigner", "TOAD" all sounds non-geeky.
    May be "Oracle Data Studio" is better.

    It has been named "Raptor" before it became SQL-Developer. Just rename the link for your co-workers if they think they cannot use a tool because of its name.
    Regards
    Marcus

  • Need to know base table and base column name for Oracle view columns

    I am trying to load metadata for some views and that requires me to know what the final table and column name would be corresponding to the view column.
    For example, if I have a view x_v that is select a,b from x_v2; and x_v2 is a view that is select a,b,c from x;
    I need to get the following information.
    View View Col Base Table Base Col
    X_V A X A
    X_V B X B
    and so on.
    Is it possible to get this programmatically using any SYS schema tables or Dependency tables?
    I tried an indirect approach wherein I lock tables using LOCK TABLE or FOR UPDATE OF. But I'm not too sure if I can go down to the level of individual view columns.
    Can you help me with this?

    Thanks. I was looking at some indirect approaches.
    I came up with this script that does it faster than dependencies but thats just for tables and not column mapping.
    declare
    cursor bt(cp_sid number) is
    select u.name uname, o.name oname
    from sys.obj$ o, sys.user$ u
    where o.obj# in (select id1
    from v$lock
    where sid=cp_sid)
    and u.user# =o.owner#;
    cursor c_sid is
    select sid
    from v$session
    where audsid =userenv('sessionid');
    l_sid number;
    l_view varchar2(100):= 'PER_PEOPLE_V';
    l_schema varchar2(10):= 'APPS';
    begin
    open c_sid;
    fetch c_sid into l_sid;
    close c_sid;
    dbms_output.put_line('SID: '||l_sid);
    execute immediate 'lock table '||l_schema||'.'||l_view||' in row share mode nowait';
    for i in bt(l_sid) loop
    dbms_output.put_line(i.uname||'.'||i.oname);
    execute immediate 'alter table '||i.uname||'.'||i.oname||' disable table lock';
    execute immediate 'alter table '||i.uname||'.'||i.oname||' enable table lock';
    end loop;
    end;
    It basically uses locks on views to verify locks on the base tables.
    Just wondering, can we use FOR UPDATE OF statements to get to the columns?

  • Alias name for Oracle E-Business Suite URL on R12.1.3

    Hello Friends
    Please advise on this below requests
    We are on Fresh install of R12.1.3 and we are able to accessing Oracle Apps Front page using url " *http://server20.apps.org:8010*"
    Is it possible to create a Alias name to this url like http://testserver:8020" instead of "*server20*" we would like to use "*testserver*"
    Appreciate your support on this
    Regards
    VSH

    We are on Fresh install of R12.1.3 and we are able to accessing Oracle Apps Front page using url " *http://server20.apps.org:8010*"
    Is it possible to create a Alias name to this url like http://testserver:8020" instead of "*server20*" we would like to use "*testserver*"
    Appreciate your support on thisDo you mean you need to keep the original hostname, domain name and port number and use a different URL to access the application? If yes, then this has to be done at the network level (contact your network team) to add an entry at the DNS server.
    Thanks,
    Hussein

  • API / INTERFACE name for Oracle Time and Labor

    Hi,
    Which API / INTERFACE is used to load data into the following tables of Oracle Time and Labor?
    HXC_AP_DETAIL_LINKS
    HXC_APP_PERIOD_SUMMARY
    HXC_LATEST_DETAILS
    HXC_TC_AP_LINKS
    HXC_TIME_ATTRIBUTE_USAGES
    HXC_TIME_ATTRIBUTES
    HXC_TIME_BUILDING_BLOCKS
    HXC_TIMECARD_SUMMARY
    HXC_TRANSACTIONS
    Regards,
    Abhinaya M

    Check the Responsibility Integrated SOA Gateway to see all the APIs under OTL.

  • How can i install a ODBC for Oracle in Win 98

    I had install Oracle 8 and JDK1.3 but i cant create a ODBC driver for Oracle
    What have i to do now??
    With best regards
    Trong Van Ho

    Note that ODBC has nothing at all to do with Java or the JDK. There's a similar protocol, JDBC, that you use to connect to a database in Java. Just want to make sure that we're both talking about the same thing.
    If you have installed the Oracle client, you need to
    - Create a new TNS name for the database you want to connect to. The Net8 Assistant should help you do this.
    - Create a new ODBC DSN (Data Source Name) via the ODBC Data Source Administrator utility.
    Justin

  • Listeners &Tns enries for 11gr2 rac active duplications

    can any one please post how to make my listeners and tns names for 11gr2 rac active duplication.
    it is a 2 node RAC with ASM.
    Edited by: 939922 on Jul 2, 2012 6:05 AM

    refer:-
    http://www.visi.com/~mseberg/active_database_duplicating.html
    http://www.oracle-base.com/articles/11g/duplicate-database-using-rman-11gr2.php
    http://aprakash.wordpress.com/2011/01/24/duplicate-database-using-from-active-database-clause-11gr2/
    http://www.oracle.com/us/solutions/sap/asm-bestpractices-304655.pdf

Maybe you are looking for

  • What's the Best Way to Create/View a VCF?

    Hello Everyone, I'm new to iCloud. All I want to do is get my contacts to display on my computer. A text file, loaded into Outlook, an Excel doc, whatever. So I went to iCloud, logged in, clicked Contacts... awesome, it's all there. I love it. Then I

  • N97 application manager issue- Nokia Bots???

    Dear All, I'm not able to view installed applications from the applications manager. The screen goes off for a few seconds and goes back to the root menu. This issue seems to have cropped up ever since i installed the Nokia Bots. Has anyone else expe

  • Uploading from MS project ERROR

    HI, I am getting following error while uploading from MS project to PS. Please correct me where I may be wrong. CJ033 The WBS elements do not exist. Reg Zinni

  • HELP!!! PLEASE CANT ACCESS STORE

    i have 3 users with 1 administrator and the other 2 with parental control. All of the songs that me and my kids put into our ipods are in the itunes of one of the standard users with parental control. I cant access store from that user or the other s

  • Reader won't stay open, closes after 1 or 2 seconds

    Can't tell you which version I have because it closes before I can check. I am 64bit windows 7. these are not email attachments they are regular .pdf files.  I also can't just open the software from the start menu. It disappears seconds after it open