Resolving a Server Name from a TNS Service Name

A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
Many Thanks

tring TNSPING <service>
the outputline contents the HOSTname

Similar Messages

  • Resolving the Server Name from a TNS Service name

    A computer client has an Oracle ODBC connection that is attached to a TNS Service Name "X". The TNS Service Name is running in Server "Y".
    Does anybody know a quick way to resolve the Server Name "Y" from the TNS Service Name "X" ???
    Our current solution is based on opening the file tnsnames.ora, which is normally located in $ORAHOME\network\ADMIN\TNSNAMES.ORA, and by parsing the file resolve the server name. However, we were wondering if there would be a more reliable way to do this. Is there an Oracle API that we can execute? Something like "GetHostName(TNSServiceName)"?
    Many Thanks

    Not that I'm aware of.
    If you were using an Oracle Names server to resolve tnsnames, rather than a tnsnames.ora file, this would be a lot easier. You'd just update the Oracle Names server and all the clients would start pointing at the right machine.
    Justin

  • TNS Service Name

    While I am configuring DNS for Oracle 10g at that time i come to the TNS Service Name
    but as i dnt know what TNS Service means ?? I wanted to know what does it stand for ?
    And also I am seeing three options to select named as below
    EXTPROC_CONNECTION_DATA
    ORACLR_CONNECTION_DATA
    XE
    I also wanted to know the purpose of each above attributes. So please Guide me..!! and know me what it means ?? Thanks in advance

    You can refer this http://www.ispirer.com/wiki/sqlways/users-guide/setting-up-database-connection/oracle/tns-service-name
    TNS service name is used to connect to a database remotely.
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <HOSTNAME>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = prim)
    In the above example, PROD is the NET ORACLE SERVICE NAME(alias name). This is used while connecting to the database from the remote server.
    Host is the hostname where the database resides.
    SERVICE_NAME is the db_unique_name of the database that you are connecting.
    So when connecting to the database remotely, you use
    sqlplus username/<password>@<connection string>
    sqlplus username/<password>@<prod>

  • TNS service name gives preference to connect instance which is in a mount

    OS:HPUX
    Oracle version: 11.1.0.7
    why TNS service name give preference to connect instance which is in a mount mode and dsiaply 'ORA-01033' as mentioned below.
    I wanted to connect only instance which are OPEN(not MOUNT) using connect string and want to know status of all instances using SQL query "select instance_name,status from gv$instance". How can I achive this?
    I have four node rac cluster and four instance, one instance on each node and status of instances are as shown below
    SQL> select instance_name,status from gv$instance;
    INSTANCE_NAME STATUS
    dtrac1 OPEN
    dtrac4 STARTED
    dtrac3 OPEN
    dtrac2 MOUNTED
    I have tried to connect using "dtrac" service name ( details of tnsnames gives below) from any node it gives priority to instance which is mount and shows following error messages
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    Warning: You are no longer connected to ORACLE.
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    SQL> conn system/vcs@dtrac
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress Process ID: 0 Session ID: 834 Serial number: 139
    SQL>
    when I changes dtrac2 instance to either NOMOUNT or OPEN state then connection properly goes to instances which are OPEN state.
    tnsname.ora file:
    ==================
    # tnsnames.ora Network Configuration File: /oracle/db11g/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DTRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    DTRAC4 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac4)
    DTRAC3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac3)
    DTRAC2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac2)
    DTRAC1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dtrac)
    (INSTANCE_NAME = dtrac1)
    LISTENERS_DTRAC =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    LISTENER_DTRAC4 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal08-vip)(PORT = 1521))
    LISTENER_DTRAC3 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal07-vip)(PORT = 1521))
    LISTENER_DTRAC2 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal06-vip)(PORT = 1521))
    LISTENER_DTRAC1 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = slpal05-vip)(PORT = 1521))

    Hi Bjoern
    Thanks again for your input.
    I have some commnet on your input.
    I have started instance in mount mode using sqlplus. But it doesn't make diffrence if I stated using srvctl since service get ready as we started instance either OPEN/MOUNT mode using srvctl or sqlplus.
    As you are saying diffrent way of configuration of service by mentioning preferred and available attributes for instances but its not useful to know instances which are open. Its useful for segregate work to specific nodes by creating diffrent services for diffrent application.
    'crs_stat -t' shows resources online even instance is either nomount/mount/open state. I want to exact state of instance so its not useful for me.
    Below example showing service get READY status even I start instanc with mount option using SRVCTL
    (oracle@slpal06)[~/db11g/network/admin] srvctl stop instance -d dtrac -i dtrac2
    (oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
    LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:10:03
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_SLPAL06
    Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    Start Date 03-JUN-2009 20:38:19
    Uptime 13 days 21 hr. 31 min. 45 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/db11g/network/admin/listener.ora
    Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "dtrac" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtracXDB" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtrac_XPT" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    The command completed successfully
    (oracle@slpal06)[~/db11g/network/admin] srvctl start instance -d dtrac -i dtrac2 -o mount (oracle@slpal06)[~/db11g/network/admin] lsnrctl stat
    LSNRCTL for HPUX: Version 11.1.0.7.0 - Production on 17-JUN-2009 18:11:19
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER_SLPAL06
    Version TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    Start Date 03-JUN-2009 20:38:19
    Uptime 13 days 21 hr. 33 min. 2 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/db11g/network/admin/listener.ora
    Listener Log File /oracle/db11g/diag/tnslsnr/slpal06/listener_slpal06/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.138.26)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.209.137.145)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "dtrac" has 4 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac2", status READY, has 2 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtracXDB" has 3 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    Service "dtrac_XPT" has 4 instance(s).
    Instance "dtrac1", status READY, has 1 handler(s) for this service...
    Instance "dtrac2", status READY, has 2 handler(s) for this service...
    Instance "dtrac3", status READY, has 1 handler(s) for this service...
    Instance "dtrac4", status READY, has 1 handler(s) for this service...
    The command completed successfully
    (oracle@slpal06)[~/db11g/network/admin]

  • How to Serve HTML from a Proxy Service?

    I am trying to serve HTML from a proxy service.
    I set up a Messaging Service with request type = 'None' and response type = 'Text'; with Endpoint URL = '/OSB_Project/Proxy_Services/InfoPingerProxyService.html'.
    In my incoming request pipeline I set an html Transport Header action to define Content-Type = 'text/html'.
    In the response pipeline I replace the body with the html document contents...
    Trouble is, when I access the proxy (via a standard browser GET), I always produce an XML file with an <?xml...?> processing instruction:
    <?xml version="1.0" encoding="UTF-8"?>
    <html>
    Also: the browser always sees an XML response regardless, it seems.
    Any suggestions gratefully accepted.
    Cheers,
    Alph

    More on this.
    I made an "educated guess' that the path should be
    {code}./ctx:transport/ctx:response/tp:headers/http:Content-Type{code}
    But take a look at the following, you will see that the content type IS now text/html, but the XML processing instruction is still there...
    {code}
    :\BIN\wget-1.11.4-1-bin\bin>wget -d http://localhost:7001/Test_Project/ProxySe
    rvice1?q=1
    SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
    syswgetrc = C:\BIN\wget-1.11.4-1-bin/etc/wgetrc
    DEBUG output created by Wget 1.11.4 on Windows-MinGW.
    --2010-09-15 15:33:17-- http://localhost:7001/Test_Project/ProxyService1?q=1
    Resolving localhost... seconds 0.00, 127.0.0.1
    Caching localhost => 127.0.0.1
    Connecting to localhost|127.0.0.1|:7001... seconds 0.00, connected.
    Created socket 268.
    Releasing 0x0063a620 (new refcount 1).
    ---request begin---
    GET /Test_Project/ProxyService1?q=1 HTTP/1.0
    User-Agent: Wget/1.11.4
    Accept: */*
    Host: localhost:7001
    Connection: Keep-Alive
    ---request end---
    HTTP request sent, awaiting response...
    ---response begin---
    HTTP/1.1 200 OK
    Connection: Keep-Alive
    Date: Wed, 15 Sep 2010 05:33:17 GMT
    Content-Length: 61
    Content-Type: text/html; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    ---response end---
    200 OK
    Registered socket 268 for persistent reuse.
    Length: 61 [text/html]
    Saving to: `ProxyService1@q=1'
    100%[=====================================> ] 61 --.-K/s in 0s
    2010-09-15 15:33:17 (1.23 MB/s) - `ProxyService1@q=1' saved [61/61]
    C:\BIN\wget-1.11.4-1-bin\bin>type "ProxyService1@q=1"
    <?xml version="1.0" encoding="UTF-8"?>
    <server>8088</server>
    C:\BIN\wget-1.11.4-1-bin\bin>
    {code}
    (I know that the actual CONTENT [ie "<server>8088</server"] is not really HTML at the moment...this is just intermediate testing content...)
    Back to the issue of how to get rid of that processing instruction...
    The proxy service is configured as a messaging service with request = none and response = text.
    Cheers,
    Alph

  • TNS Service Names

    I am unable to get the ODBC Driver version 8.1.6.4.0 to get a list of TNS Service names from a shared TNSNAMES.ORA file. If I type in the service name and test the connection the test is successfull so I know that the shared file is being used. Is there a way to get the TNS services from a shared tnsnames.ora file to be listed in the pulldown?

    Can future versions of the ODBC driver get the location of the TNS names file from the registry if the TNS_ADMIN value exists for the ORACLE HOME corresponding to the ODBC driver you are using?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
    If I remember correctly, when I implemented the TNS name dropdown, I blindly grab the tnsnames.ora file in the local Oracle home. If the shared file isn't there, I wouldn't expect this to work.
    Justin<HR></BLOCKQUOTE>
    null

  • Oracle8i Start problem - TNS:Service Name Incorrect

    Hi Folks
    My installation of Oracle8i was working fine. I installed webDB today and that was worked fine too.
    But before shutting down the machine I forgot to shutdown the database.
    When I reboot and try to start the database as root thus: ./oracle8i start, I get the following error -
    ORA-12162 TNS:Service name is incorrectly specified.
    Looks like something is wrong with SID or TNSNAMES.
    Could somebody suggest a solution please.
    Thanks.

    For information sake, if someone else comes across the same situation, here is the cause and solution:
    When webDB2.2 is installed it seems to make an entry in the /etc/oratab file for the service name that is provided during installation. Cosequently my 'oratab' file went from:
    ora8i:/../oracle/product/8.1.6:Y
    To:
    *:/../oracle/product/8.1.6:Y
    ora8i:/../oracle/product/webdb22:N
    Hence the problem when 'oratab' is invoked.
    I don't know if webDB is supposed to make this kind of a change.
    I replaced the '*' with 'ora8i' and everything works fine including webDB

  • TNS Service Name selector for ODBC config on W2k shows trash w/ IC 10g

    Hello!
    I'm having some problems with the Instant Client 10g on a Windows 2000 Server SP4 machine. On this machine, I'm trying to setup a ODBC connection and fail, as the "TNS Service Name" list only contains "junk". Please see the screenshot at
    http://server3.pictiger.com/img/613385/computer-games-and-screenshots/w2k-oracle-odbc-tns-service-name-trash.php
    To get so far, I downloaded and unzipped the following files to C:\Oracle\instantclient_10_2:
    * instantclient-basic-win32-10.2.0.2-20060508.zip
    * instantclient-odbc-win32-10.2.0.2-20060508.zip
    * instantclient-sqlplus-win32-10.2.0.2-20060508.zip
    Next, I added some System environment variables:
    * ORACLE_HOME=C:\Oracle\instantclient_10_2
    * TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora
    To PATH, I added (at the end): C:\Oracle\instantclient_10_2. After having done so, I created the file C:\Oracle\instantclient_10_2\network\admin\tnsnames.ora, which contains exactly this (see http://vz6tml.pastebin.ca/211376):
    ORABDE.EUROPE.DELPHIAUTO.NET =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.233.30.8)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orabde.delphi)
        )That's the only file with "tnsname" in its name on the local harddrives of this server.
    After having done all of this, I ran odbc_install and had the server rebooted later in the night.
    This morning, ie. after reboot, I logged on to the system and started the "Data Sources (ODBC)" configuration of Windows 2000. I clicked on "Add" and selected "Oracle in instantclient10-2". Then I expanded the list of the available TNS Service Name entries and see only junk. On a different W2k server, I am able to setup a ODBC connection using the Oracle Instant Client 10g.
    What am I doing wrong, and how do I do it correctly?
    Thanks a lot,
    Alexander

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • 48 character limit on TNS Service Name

    In the Oracle ODBC Driver Configuration Dialogue Box there is a 48 character limit in the TNS Service name file. In my case, I need 56 characters if I use the //HOST:PORT/service_name format. The service_name is the format SID.host. The full TNS service name can get quite long since the host is repeated twice.
    For me a workable workarounds is to use the IP address in the HOST field (but not the service_name). I didn't test, but another workaround I presume is to use a TNS_NAMES.ora file, but that adds complexity to a tool that's supposed to be simple.
    Better yet, Oracle developers need to make the TNS service name field a bit longer (96 chars?).
    Now that it is working I am happy with the concept and usability of the Instant Client.
    Trenton

    Hi!
    I found the error:
    TNS_ADMIN=C:\Oracle\instantclient_10_2\network\admin\tnsnames.oraThat's wrong. The environment variable TNS_ADMIN has to point to the directory containing the tnsnames.ora file; it must not contain the complete path to the tnsnames.ora file.
    After changing TNS_ADMIN to C:\Oracle\instantclient_10_2\network\admin, all is fine.
    Thanks,
    Alexander

  • Host name, port number and service name

    Hi!
    I have a question that will sound easy and stupid, but not for me.
    during the instal of 9iAS.There is a screen ask to provide the host name,port number and service name.
    Did host anme is only the name of my PC?
    and what is the port number?(windows XP)
    what is the format of the service name (orcl)?
    Thanks
    Kamal

    if you used LDW as the connection/service name when you setup this connection to CMS DB, then no further changes to BOE configurations will be needed.
    If you used the service name PO and now it is changes to NEW_PO - then you'll have to update CMS DB connection info in CCM>SIA>Properties>Connection.
    See Admin guide for details.
    p.s.
    BOE services should be stopped while your changes on Oracle side are done and before you change the TNS file and connection info in CCM.

  • TNS-03505: Failed to resolve name while do TNSPING "SERVICE-NAME"

    Dear All,
    I am unable to connect to DB on Windows thru SQLPLUS DB/PWD
    Also, when doing tnsping, it thru below error message- please help
    Used parameter files:
    D:\app\Administrator\product\11.2.0\client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    Regards,
    Anand

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • TNS Service Name is : OracleORACLE_HOMETNSListener and is failing to start

    I think one of my guys has been messing with the configuration of my Oracle 10g server and not being an expert in this I am somewhat bermused !!
    Can anyone tell me where the TNS Service is picking up its name from....as you can see it contains ORACLE_HOME instead of the name of the oracle instance.
    Please help me if you can
    Many Thanks in advance,
    Andy

    I have copied just some of the lines from the entries from yesterday (no entries for today) I hope this will give you enough information :
    24-NOV-2010 09:00:02 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62821)) * establish * BOBJCMS * 0
    24-NOV-2010 09:00:06 * service_update * bobjcms * 0
    24-NOV-2010 09:00:43 * ping * 0
    24-NOV-2010 09:00:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:00:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=62908)) * establish * BOBJCMS * 0
    24-NOV-2010 09:02:19 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=services)(ARGUMENTS=64)(SERVICE=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521))))(VERSION=169870336)) * services * 0
    24-NOV-2010 09:02:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:04:43 * service_update * qci * 0
    24-NOV-2010 09:04:46 * service_update * bobjcms * 0
    24-NOV-2010 09:04:58 * service_update * qci * 0
    24-NOV-2010 09:05:20 * service_update * bobjcms * 0
    24-NOV-2010 09:05:31 * service_update * qci * 0
    24-NOV-2010 09:05:43 * ping * 0
    24-NOV-2010 09:05:43 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=SYSTEM))(COMMAND=status)(ARGUMENTS=64)(SERVICE=(ADDRESS=(PROTOCOL=TCP)(HOST=QCI.euroking.com)(PORT=1521)))(VERSION=169870336)) * status * 0
    24-NOV-2010 09:05:52 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\perl\5.8.3\bin\MSWin32-x64-multi-thread\perl.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63355)) * establish * BOBJCMS * 0
    24-NOV-2010 09:05:59 * service_update * bobjcms * 0
    24-NOV-2010 09:06:01 * service_died * bobjcms * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:01 * service_died * qci * 12547
    TNS-12547: TNS:lost contact
    24-NOV-2010 09:06:03 * (CONNECT_DATA=(SID=BOBJCMS)(CID=(PROGRAM=C:\oracle\product\10g\bin\emagent.exe)(HOST=QCI)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.223)(PORT=63673)) * establish * BOBJCMS * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    and these are from the sqlnet.log :
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=qci.euroking.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=BOBJ_CMS)(SERVER=DEDICATED)(CID=(PROGRAM=C:\oracle\product\10g\jdk\jre\bin\java.exe)(HOST=QCI)(USER=Administrator))))
    VERSION INFORMATION:
         TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 10.2.0.4.0 - Production
    Time: 25-NOV-2010 10:09:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0

  • TNS service name error

    Hi. I faced some problems when I try to create a linkage between 2 DB on 2 different machine. Initially there is a linkage between these DBs, which connect DB A to DB B.
    I can get DB B's data when I logon to DB A.
    Then I want to create another linkage which connect DB B to DB A but failed.
    The sql statement I used to create the linkage is:
    create public database link L_TEST
    connect to DB_B_USER
    using 'DB_B';
    but this error occured:
    ORA-12154: TNS:could not resolve service name
    Please advise. Thank you

    It could be a db_domain problem. Ensure that it is defined the same on both machines. If it is not (and you can't change it) change you db link to include the db_domain in the connect string i.e 'DB_B.world' vice 'DB_B'.

  • How to refer to J2EE library server component from a web service?

    Hi,
    I need help!  I created a web service and it worked fine.  However, I started having problems when I tried to use java classes from my deployable J2EE library server component.  I got the NoClassDefFound error.
    I tried to include the library DC in the Used DC list and put the reference of it in the web service deployment descriptor xml (application.xml and application-j2ee-engine.xml), but it did not work.
    How do I refer and use java classes from my deployable J2EE library at run time from my web service application?  What should I do?
    Thanks,
    Giavinh Pham

    I would like to clarify more about the web service project.  I created a Java DC project and converted it into a web service as the SAP manual instructions.  It worked fine by itself, but I now want to use some of my classes that I deployed as a J2EE library server component. 
    It was compiled and built when I refer to my J2EE library server component DC in the UsedDC.  It was deployed fine as well.  However, it broke when I tested the web service calls.  The class declarations and usage from the J2EE server component could not be found (NoClassDefFound error.) 
    I thought it was because I did not have an application-j2ee-engine.xml in my META-INF folder so I created one and referred to the library in xml as type library and reference 'strong'.  I built and deployed again.  It still did not work. 
    I examined the EAR and noticed that there were two parts of the EAR.  One is the WSAR archive file that contains the META-INF folder from my project and other web service assemblies.  The other part is the META-INF folder generated by the SAP NetWeaver IDE. 
    The strange thing was that SAP NetWeaver IDE generated an application-j2ee-engine.xml without any reference to my J2EE library server component.  However, the nested application-j2ee-engine.xml in the WSAR archive file did contain the info. 
    Since I cannot control the application-j2ee-engine.xml generated by SAP NetWeaver IDE, what should I do?  Is it the cause for my problem?
    Please advice, anyone?
    Giavinh

  • Got account name from ondemand web services, but the name is all ????

    The account name is japanese in ondemand here. I got the account name from ondemand webservice by c#,
    but in web page the display content is all ????????, how to convert it?
    thanks

    you need to set the character encoding while reading the SOAP out put message.
    Dinesh

Maybe you are looking for

  • 2.0.1 dropped audio with Alpine iDA-X200 car stereo

    So after about 20 minutes of playback, the iPhone will 'drop audio' for a brief moment .. enough to be annoying. When the iPhone was running 1.1.4 of the OS, I never had the dropped audio problem. But ever since I 'upgraded' to 2.0(and 2.0.1), the dr

  • Inputting non-visual characters from the shell (command line)

    is it possible to capture user input from the command line (using System.in or any other available method) that contains characters that are not printing characters and are not legal in a java.lang.String? i.e. is it possible to write a program that

  • Netui:form in edit mode

    Hi, I am trying to use netui:form in the JSP of the edit mode like this : <netui:form action="testAction">      <netui:button value="Valider" type="submit"/>      <netui:button value="Annuler" type="reset"/> </netui:form> but I always get the followi

  • Position Mangement Procedure--4001--FX 60A

    Dear All, I am trying to understand how the system is valuing the positions for a Fx Foreard Transactions.The Position Management Procedure is 4001.Step 1:Rate valuation 1000.Step2:Type 7-Swap Accrual Step 3:Type 8:Swap Valuation. Can body Explain me

  • SQU 2005 on a new windows 8 OS...

    I'm not entirely sure what I'm doing... I need to open a pre-existing database on a new computer, but it won't install. The error message says: 'Installation of this product failed because it is not supported on this operating system. For information