Check the connection to a remote Oracle database


Hello

I have an application that runs on a server that connects to an Oracle database on another server.  The application uses Java and JNDI to connect, there is no Oracle client installed on the server hosting the application.  The application seems to have been to connect to the database on the other server.  How can I check that the connection to the database still work from the server hosting the application?  Is there a software tool that I use does not require Oracle client must be installed.

Thanks in advance

Alanjo

the connection request is saved in the file listener.log on the DB server

Tags: Database

Similar Questions

  • Using Oracle ODBC connection to a remote Oracle database gateway

    Oracle 11 g 2

    RHEL 6.4

    Someone at - it use the Oracle ODBC gateway to connect to a different Oracle database?  Problems with this configuration?  Where can I get the drivers for Linux ODBC?

    (I know, "why not use a dblink?" -Well that would be against the strategies of enterprise security)

    Thanks for your reply.  What I wanted was 'just' a dblink of 1 db Oracle to another Oracle db w/o the use of the ODBC bridge.

  • Unable to connect to remote oracle database!  Help, please!

    Hi all-

    I am a new user Oracle and you are allowed to access a remote Oracle database, however I have problems with the installation/configuration program! I downloaded the driver Oracle and the Instant Client (11.2.0.2.0) because I need to use Microsoft Access for the data access (the Access database is already configured to the correct Oracle database). I'm under the impression that, to do this, I need to be able to use the ODBC Administrator to get all set up. Note: Im working on Windows XP.

    I have questions:

    -I don't seem to have installed Netca (which seems to be the recommended method to configure a connection). I have manually adjusted the TNSNAMES file. ORA file so it matches the database, but I'm not sure what would be my next step.

    -When I open SqlPlus it wants a username and password, and I tried the default settings and got an error each time. I must first use SqlPlus, or establish a connection via ODBC first?

    -Also: ODBC requires a TNS Service name, and I'm not sure, where this is established; something that would give the database manager?

    I really just do not know how to configure this remote connection! I continue to run with obstacles and really want a reference "step by step" on the way to do it, if there is such a thing. Any help or additional reference material would be appreciated! I ran by the content of the forum, but have not been able to decode the jargon! Thank you very much in advance.

    Marilyn

    MsMonroe wrote:
    Hi Ed-

    I use the Oracle's ODBC driver. I think there may be a problem with the TNSnames file because I tried to add this file as a"Data Source", and he also said that a connection could not be established. What do you mean by the MS implemented? A configuration of Data Source?

    By MS implemented, I was referring to the MS ODBC for Oracle driver, against the Oracle ODBC for Oracle driver.

    The "source of data file' has nothing to do with the tnsnames file. The ODBC Manager retains its DSN definitions in one of three places. "User DSN" is stored in the HKEY_LOCAL_USER registry, the "System DSN" definitions are stored in the HKEY_LOCAL_MACHINE registry and 'FILE DSN"definitions is stored in a file... I don't remember exactly where or what it's name is as I have (when he is forced to deal with odbc) just keep things simple and use "system dsn". But these aren't all the definitions of ODBC, Oracle tnsnames file.

    The link between the ODBC DSN and the tnsnames.ora presents itself as a property of the ODBC definition. Suppose you have this for a tnsnames.ora entry:

    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
        )
      )
    

    Then
    -When you set up your odbc dsn, if you use the MS for Oracle driver, you must specify 'houston' as the 'server '.
    -When you set up your odbc dsn, if you use the Oracle odbc driver, you must specify "houston" as "the TNS Service name".

    >

    Im going to try to post a modified version of the content of my TNSnames.ora file (for some reason any the "content is not allowed ' by the forum), but I would like to get some comments on whether the structure of the content may be the problem.

  • Deploy the adf on glassfish with oracle database server.

    I am trying to create a connection from the pool on glassfish 4 oracle database server.

    but I could not. I was trting to ping and show this error ping Connection Pool failed for audio. Class name is incorrect or classpath is not set to: oracle.jdbc.pool.OracleDataSource

    GlassFish 3.1 is supported, 4.x is not.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

  • Remote Oracle database import table

    We want to create a local copy of a remote Oracle database table, because we will use this table at about 14 locations to update other local tables. The table contains about 1 million records and does not change frequently. We can say that a row has changed in a month, but that's just guessing there is no guarantee.

    The contract synchronization process he uses begins everyday. He gets the new copy of this table, update other tables based on this table and then clean the intermediate table. I want to know how can I copy data this staging table in my local machine. I have following options:

    (1) using the Materialized view, do a full refresh every day before the process starts every day. (we cannot use fash refresh because we cannot change anything on the remote oracle database)

    2) Insert like the select statement, but what happens if the user started two processes at the same time by mistake.

    (3) just join with the remote table in each query, instead of making the local copy.

    (4) use the temporary table and insert as the select statement.

    BANNER

    ----------------------------------------------------------------

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production

    PL/SQL Release 10.2.0.4.0 - Production

    CORE 10.2.0.4.0 Production

    AMT for Linux: release 10.2.0.4.0 - Production

    NLSRTL Version 10.2.0.4.0 - Production

    I suggest also using a synchronization logic to only transfer new data in the remote table.

    If data it does not change often (as you mentioned) then you can copy the table overall once, and after that the transfer only changed using some sort of regular job data.

    This will not work if you have a mechanism to understand when a record has been changed in the table.

    For example, if you have a timestamp column, which is always filled to insert and update you will be able to extract only the difference.

    You will have a brief fight with deleted records but still doable

  • PC to tv connection error "no signal - check the connections and the external device is turned."

    Original title: pc to tv connection

    I have an Acer Espire Vista 32bits. Connect to a Panasonic TC L32x30 HD TV. The TV has a 'PC' marked port that matches one VGA cable. I have the VGA end of the cable is connected to the TV. The other end is connected to the PC Tower via a DVI adapter to the port where was my monitor.
    TV output is set to "PC". I turned on my PC, the Acer (Bios) screen came. He then shows the block scroll bar. Just as Windows is about to light up, cutting signal. I never get to see my office. A message appears on the screen saying "no signal - check the connections and the external device is turned on."
    I had posted before saying that I had problems ranging from VGA to VGA. That's why I bought the DVI adapter to try another solution.
    I hope I made things clear enough for someone to help him.

    Hello Winston M,.
    I actually solved it. Went to the screen and chose. Connection just how I mentioned. second monitor, default Says. I then checked"Extend Desktop to this monitor.
    As I type this, I can see it on my TV screen.
    Thank you for taking the time to answer my question.
    Problem solved
    Ray

  • Optical drive not found. Check the connection of the disk.

    CD/DVD drive has suddenly stopped working.  I noticed when I tried to eject a CD of music. Convenience store initiated and clicked on CD/DVD playback. Read the message of the convenience store: "Windows did not detect an optical disc drive. It can be disconnected or disconnected. Check the connection of the drive, or connect the player. "All connections seem to be good. I tried to restart. Troubleshooting repeated with the same result. Device Manager displays a missing optical drive. Please notify.
    eMachines
    Model: EL1352G
    Processor: AMD Athlon II X 2 220 processor 2.80 GHz

    This looks like a probable hardware failure.  See if the drive is seen in the BIOS.  If this is not the case, replace.

  • DirectX on Windows 8 (64-bit) "your DirectX Runtime is up-to-date. Download and install this file from Microsoft. ""Setup could not download the file. Please try again later or check the connection to the network. »

    So I tried to get this to work at least for a day now, but whenever I try to launch my new game I'm away I kept getting this error: "your DirectX Runtime is up-to-date. Download and install this file from Microsoft. ' When I was re-directed I downloaded, it opens and clicks on agreed and all this things, but after 10 seconds initialization, it gave me this error: "Setup could not download the file. Please try again later or check the connection to the network. " I checked all that nothing seemed to be wrong, I did it again and again and again. So I just went to a solution or any news for DirectX. So far, no luck.

    I am running on DirectX 11 right now, is if there is a new DirectX or am I a jerk, and that is a different problem? I can't understand it.

    Thank you

    Hello

    Try this link... it's a complete Installer for DirectX Runtime June 2010... This is an optional package that use a lot of games...

    http://www.Microsoft.com/en-us/download/confirmation.aspx?ID=8109

    The file is self-extracting, so take note where extract you it to.

    Open the folder, and then double-click DXSETUP...

  • Improving the performance of OLAP in Oracle Database 11

    Hi all

    First of all sorry for a very generic question, lately I been faced with some problems of performance during the generation cubes

    for example we had a problem of low SGA_memory, now we have referred questions to Doc-ID 1464064.1

    to cut short-we have a list of things to look for in advance for OLAP can improve performance?

    similar to the one mentioned in a blog post (improving the performance of OLAP in Oracle Database 10 g Release 1) which is for 10 g

    we ORDM DW, which has the dimension of TIME based with about 10 k records sometimes, that it takes about 20 minutes to build recently its not not building at all throwing error mentioned Doc-ID 1464064.1 I have a wip SR to even SR 3-9620792761

    Similarly, we produced Sun with approximately 9million records sometimes he finished in 4 hours sometimes it ends quite

    I have twice fallen & recreated workspace that helps a little but does not appear inconsistent.

    Pointers would be really useful

    Thank you

    Prateek

    You can update following anonymous pl/sql block and change in your

    specific information for the name of the cube and measure names. You

    can add more steps as you like following the same convention of xml.

    DECLARE

    CLOB xmlCLOB;

    tmp varchar2 (4000);

    BEGIN

    DBMS_LOB.CREATETEMPORARY (xmlCLOB, true);

    DBMS_LOB. Open (xmlCLOB, DBMS_LOB. LOB_READWRITE);

    tmp: ='

    ';

    DBMS_LOB. WriteAppend (xmlCLOB, length (tmp), tmp);

    dbms_cube.import_xml (xmlClob);

    DBMS_LOB. Close (xmlClob);

    END;

  • How know what the largest table of my oracle database?

    How know what the largest table of my oracle database?

    SELECT * FROM
    (
    SELECT
    NOM_SEGMENT,
    SEGMENT_TYPE,
    BYTES/1024/1024 MB
    TABLESPACE_NAME
    Of
    DBA_SEGMENTS
    WHERE
    SEGMENT_TYPE = 'TABLE '.
    ORDER BY DESC 3
    )
    WHERE
    ROWNUM<=>

  • How to check the total memory used by Oracle and user who use more memo

    Hello

    I use oracle 10.2.0.4 on Windows 2003 server SP2 version.

    1. How can I check the "total memory" used by Oracle

    2. which users use more CPU resources.

    Thanks and greetings
    Amit

    Hello

    Oracle EM is the best to identify the use of the processor and memory used by each session.

    In addition, use after query to calculate the memory used by each session of the.

    SELECT to_char (ssn.sid, '9999') | ' - ' || NVL (ssn.username, nvl (bgp.name, 'background')) |
    NVL (Lower (SSN.machine), ins.host_name) "SESSION."
    TO_CHAR (prc.spid, '999999999') ' PID/THREAD. "
    TO_CHAR ((se1.value/1024) / 1024, '999G999G990D00'). "MO" "SIZE."
    TO_CHAR ((se2.value/1024) / 1024, '999G999G990D00'). "MO" 'MAXIMUM SIZE '.
    V $ sesstat se1, v$ sesstat se2, v$ session ssn, v$ bgprocess bgp, v$ process RPC.
    v$ ins instance, v$ statname stat1, v$ statname stat2
    WHERE se1.statistic # = stat1.statistic # and stat1.name = 'pga session in memory.
    AND se2.statistic # = stat2.statistic # and stat2.name = 'pga memory max session'
    AND se1.sid = ssn.sid
    AND se2.sid = ssn.sid
    AND ssn.paddr = bgp.paddr (+)
    AND ssn.paddr = prc.addr (+);

    Kind regards
    Charrier

  • How to check the connection information?

    Hello

    I want to check the connection information to an application. Can anyone suggest how to on this subject?


    Thanks in advance,
    Annie

    Hello Annie,.

    Have you ever looked at the sight APEX_WORKSPACE_ACCESS_LOG? Is it what you need?

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • sqlplus to connect to remote oracle database server

    Hello

    I have the server database oracle 10g on solaris 10 and I usually connect using my account to solaris and run sqlplus on the server itself. This works!

    I downloaded and installed the client instant oracle for solaris 64 and I can launch sqlplus command but I'm confused on what should be the syntax of the command to connect to remote oracle and solaris 10 database server where I have the system account.

    I tried sqlplus help but still I could not correct syntax that may be used to authenticate to the oracle server.

    I tried

    sqlplus user@hostname:1512/SID

    then he asked for password, but when I typed the password and you press on enter, it gave some error

    but he still asked as username so I type user@SID and then prompt password - typed password and it works!

    so I do not understand what should be the correct syntax for that in the first attempt, I'm able to connect.

    If possible, please give the exact command with realworld examples, (I tried with sqlplus - help already)

    Thanks in advance.

    wonder what if I didn't tnsnames.ora on the client machine, how will be the syntax?

    You generally need (or at least strongly want) a file tnsnames.ora on the client machine.

    -You could configure Oracle Internet Directory and allow this product provide TNS alias resolution for the Organization (similar to the DNS configuration for a LAN).
    -Many tools (I have not personally tried SQL * more and it can be dependent on version) allow you to specify the whole TNS alias in the tnsnames.ora file (i.e. everything that follows the abcd.domain.com = entry) but which is extremely heavy for type
    -According to the version of the Oracle file sqlnet.ora, the complexity of your configuration client (that is, if you try to use the more advanced features such as failover), you may be able to use the syntax EZConnect

    sqlplus username/password@host:port:SID/service_name
    

    Where host is the server that the database is running, the port is the port the listener (i.e. 1521 default) listening and SID/service_name is the SID or service name, you are trying to connect to.

    Justin

  • With the help of OBIEE with Oracle Database Express Edition? SOLVED

    I have a customer who wants a quick demo of OBIEE. They sent us as data source csv files. I migrated the Excel files for ease of use, but Excel files seem to have limitations on how I can combine columns, such as the concatenation and formatting.

    I then loaded them in a database Oracle Express Edition, assuming that more "database" functionality would be placed at my disposal. I managed to load in the Administration tool, but the answers gives me the following error when I try to view the results of the Express database:

    ODBC driver returned an error (SQLExecDirectW).
    Error details
    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 17001] Oracle error code: 12154, message: ORA-12154: TNS: could not resolve the connect identifier specified in the call to the OIC OCIServerAttach. [nQSError: 17014] Cannot connect to the Oracle database. (HY000)
    SQL issued: SELECT COURSE_ENROLLMENT. CAMPUS saw_0 FROM BI_DEMO ORDER BY saw_0

    Thanks for any help. This is my first attempt using OBIEE unguided.

    Published by: markstuartnelson on September 29, 2008 17:22

    Check your TNSNAMES file, see if it points to the correct server / db.

    Best regards, John
    http://obiee101.blogspot.com/

  • Configuration of the DBUM connector for an Oracle database more

    Hi, I only configure DBUM connector for Provisioning users for an oracle database. I need the provision to users of other databases on the test and production environment... I use OIM11.1.2.2 and DB version 11 GR 2.

    I duplicate the work using an existing task that is used for the existing work. Create n number of jobs and to provide different it resource for each work and the calendar (see: https://community.oracle.com/message/10594440).

    When I set up my opinion of cannt users DB roles associated with the resource, see only the roles for the 1st set up DB... What is the way to do this task? I have read the document and they talk about copying the files of connector... Is there step with more detailed steps to do this?

    Thanks in advance.

    Check one time how to clone connector

    http://docs.Oracle.com/CD/E21764_01/doc.1111/e14308/conn_mgmt.htm#OMADM4457

Maybe you are looking for

  • Satellite A350-212: Impossible to activate the microphone

    Hello. I have laptop toshiba A350-212 and I have problem w? micro th.I disable audio device after that I can't enable this device again. How l? He's I resolve this problem.

  • Cannot open doc liked numbers in numbers 3.6.1

    Hi community support. Here's the problem for which I can't find a solution or difficulty. I have a doc of numbers created originally in May 2011 (not sure of the version of numbers) that I use to create invoices for tax (Australia) asked for my clien

  • My mouse works differently

    I play Wow and my son pressed some keys on my keyboard to laptop the other night and now my right click mouse does different things to what she was to do?

  • Mail rules

    How can I get the rules apply to electronic mail entering before undesirable classification or any other classification?

  • load cell

    Hello I use NI 9219 with model Honeywell scale 11. The problem is that the voltage for 9219 is 2, 7V while the calibrated for the load cell voltage is 5V. When I connect the two device, I always get the release of Labview, but how can I calibrate the