Oracle Connection Problems.

I am on Business Objects Crystal Decisions. Trying to run a Crystal XI R2 report through InfoView. It works on Crystal, when I try to run it on InfoView, I get the following error:
loupap04.reportjobserver
Error in File D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\loupap04.reportjobserver\~tmp118c5fc48df52616.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 160 ]
I know I have the right account. I can do all test connections from the server. Help requested.

Hi,
Did you updates the DB logon information in the CMC ...?
If not go to CMC click on folders and then go to the report property,click on the database option and add the DB details and update.
This should work.
Cheers,
Ravichandra K

Similar Messages

  • Oracle Connection Problem TNS

    first of all my name is anthuan greetings to all
    Use Windows 7 x64 (64bits)
    I have a problem with the connection to oracle database 10g express edition, which is the next thing I can not connect to the EMS manager 2010 for oracle, not to ModelRight 3.5.
    already tried by the SQLPLUS and connect perfectly well connected by the manager that brings APEX http. And it's strange to connect with sqlplus and not applications. You turn off the firewall to see if the port was blocked.
    do not know if the problem is in the TNSNAMES.ORA OR OR listener.ora sqlnet.ora, because the check and I think I see it, not if it has something to environment variables with this because there are not very well as configure whether someone can give me would be very grateful for assistance in advance, please help and I have days trying to resolve this.
    PLEASE HELP!!
    the description of each file is:
    ==========================================
    LISTENER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Alienware-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    =========================================
    SQLNET.ORA
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    ================================================
    TNSNAMES.ORA
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = Alienware-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    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)
    )

    ok is this, my OS is in Spanish if they do not understand anything I say
    ==========================================================================
    C:\Users\Alienware>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-MAY-2010 02:39
    :47
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    ESTADO del LISTENER
    Alias LISTENER
    Versi¾n TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Fecha de Inicio 08-MAY-2010 22:13:17
    Tiempo Actividad 0 dÝas 4 hr. 26 min. 33 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Servicio por Defecto XE
    Parßmetros del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Log del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Alienware-PC)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    El servicio "PLSExtProc" tiene 1 instancia(s).
    La instancia "PLSExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
    servicio...
    El servicio "XEXDB" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio.
    El servicio "XE_XPT" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio.
    El servicio "xe" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio.
    El comando ha terminado correctamente
    CLRExtProc, PLSExtProc the state is unknown must be ready not? be so as I change it?
    Edited by: AnthuanVasquez on 05/09/2010 03:49 AM

  • Oracle connection problem - please help

    Hi.
    On my Win2k machine I first installed Oracle Developer 6.0 in C:\ORANT.
    After that I also installed Oracle in C:\ORACLE.
    I always used sqlplus C:\ORACLE\BIN\SQLPLUS.EXE till now. Now I have to
    use Forms builder to complete my homework. The problem is that I can't
    connect to my Oracle database with Forms builder.
    I try to solve my problem by comparing runs of C:\ORACLE\BIN\SQLPLUS.EXE
    with C:\ORANT\BIN\SQLPLUS.EXE (from developer tools). So I execute:
    - sqlplus my_user/my_pass@testconn
    in each directory. In the C:\ORACLE\BIN (using sqlplus that come with
    Oracle database) all works fine, while in C:\ORANT\BIN (using sqlplus
    that come with development tools) I get an error:
    - ORA-12705: invalid or unknown NLS parameter value specified
    I try to fix the problem by editing copying connection data from
    C:\ORACLE\network\ADMIN\tnsnames.ora to
    C:\ORANT\NET80\ADMIN\tnsnames.ora, but this didn't help.
    Can someone help me?
    My tnsnames.ora:
    TESTCONN.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSID)
    [i]Long postings are being truncated to ~1 kB at this time.

    Hi Damir,
    Basically, it's possible the NLS_LANG parameter for your
    database install is invalid or isn't a available default
    value. This is a known problem.
    I didn't any specific about one connection route working
    and the other not, as in your case. However, I did find
    some information on this problem when connecting through
    Developer to a DB install.
    The quick fix is to ensure your client initialisation
    files have the 'NLS_LANGUAGE' parameter commented out.
    If the client doesn't have an "NLS_LANGUAGE" parameter
    entry the client and server use the language parameter
    indicated by the server.
    If that doesn't work (or you want to keep this parameter)
    check the NLS_LANG parameter in the DB using your working
    SQL*Plus connection. Try a default value like:
    AMERICAN_AMERICA.US7ASCII
    Also, you can try this:
    SELECT * FROM sys.v$nls_valid_values;
    Whatever you set for NLS_LANG should exist in the values
    returned for this query, otherwise you'll get the error.
    Unfortunately, resolving NLS_LANG issues is not always
    this easy. If commenting out or changing the parameters
    above still doesn't fix the problem, it is possible you need to reinstall the DB and choose the default language option. How you do this depends on the installer options
    for DB version you are using.
    One last point - I suggest you post your query to the
    Forms & Reports forums here on OTN too. This forum is
    ideally for Designer, rather than Developer questions.
    Hope all this helps.
    Regards,
    Dominic
    Designer Product Management
    Oracle

  • Oracle connecting problem

    Hi,
       Iam installating ecc6.0 in windows and oracle.first i installed oracle10g(\ORACLE\ORACLE\51031678\NT\I386,server.cmd) its installed successfully,after that
    i installed oracle patches(\NT patches\NT\I386) its finished successfully.when iam connecting to oracle iam getting this message:
    SQL*Plus: Release 10.2.0.2.0 - Production on 2nd nov
    Copyright (c) 1982, 2005, Oracle.  All rights reserved
    ERROR:
    ORA-12560: TNS:protocol adapter error
    guide me for same.
    Thanku

    Hi
    If I understood your problem correctly
    You have installed oracle and relevent patches.
    your are trying to sqlplus /nolog and you get error.
    is your lisneter service up?
    Just check and if not running start it.You shall be able to connect .
    Thanks
    Amit

  • Firewall + Oracle connection problem, please help!

    We've written a Java application (GUI) that resides on end user desktop. The tool uses a type 4 driver to connect to Oracle that is nested inside a firewall. The connection fails when trying to login to Oracle from the clients' computers that are not in our network; error says "Invalid protocol error!". Please advise...
    Note- there are no connectivity issues with the tool when running inside the network.
    Thanks,
    KN

    You need to open up the firewall for the selected port and probably the TCP/IP protocol on that port.
    Thomas

  • Oracle connection problem

    I was able to connect to oracle server from client some time back.Now I am getting TNS unable to connect to destination.
    I also tried to start the listener service.But it showed an error "Error 2140:Windows NT internal error".
    Any solutions.

    I was able to connect to oracle server from client some time back.Now I am getting TNS unable to connect to destination.
    I also tried to start the listener service.But it showed an error "Error 2140:Windows NT internal error".
    Any solutions.

  • JSP oracle connection problem on Linux

    I am running tomcat on Red Hat Linux. The JSP display everything on webpage except the data which is retreived from the database. The database is oracle8i on unix platfrom. The same webpage works perfectly fine on windows using apache tomcat. I copied the latest classes111.jar and classes12.jar files in the lib directory of tomcat.
    Can somebody help?

    No, I'm not talking about a compilation problem. That's where Tomcat expects to find them at runtime - that's what counts here.
    I assume you know how to compile your code. ;) - MOD

  • Connection problem to Oracle 11.1.0 on Windows Professional XP (SP2)

    Hello
    I've recently performed default installations for 3 Oracle Databases, into seperate homes on a newly formatted Windows
    Professional XP (SP2) standalone laptop. For all databases Oracle 10.2.0 (rover), Oracle XE (xe) and Oracle 11.1.0 (fido) I
    installed APEX and they worked perfectly.
    I then installed my Wireless O2 Broadband for my internet which uses DHCP
    I am unable to connect to my databases with the wireless broadband connected. I then bring down all databases and turn
    off/disable the Broadband,then restart all databases.
    Using commands
    Set ORACLE_SID=ROVER
    sqlplus system/rover@rover
    Set ORACLE_SID=XE
    sqlplus system/xe@xe
    Set ORACLE_SID=FIDO
    sqlplus system/fido@fido
    Connections are successfull apart from the Oracle 11.1.0 (fido) database with error
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Can anybody identify my connection problem to Oracle 11.1.0 (fido) database by reviewing my listener.ora, tnsnames.ora and
    other configuration files below.
    Many thanks in advance
    Regards
    Ade
    tnsping results
    ===============
    C:\>tnsping rover
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localho
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rover)))
    OK (10 msec)
    C:\>tnsping xe
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bascilic
    o)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (30 msec)
    C:\>tnsping fido
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1523)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = fido)))
    OK (20 msec)
    lsnrctl stat - results
    ======================
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 17-OCT-2009 15:54:12
    Uptime 0 days 0 hr. 32 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\11.1.0\db_fido\network\admin\listener.ora
    Listener Log File c:\oracle\product\11.1.0\diag\tnslsnr\bascilico\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1523ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bascilico)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    General configuration - Environment variables
    =============================================
    PATH =
    C:\oracle\product\11.1.0\db_fido\bin;C:\oracle\product\10.2.0\db_rover\bin;C:\oracle\oraclexe\app\oracle\product\10.2.0\serve
    r\bin;C:\oracle\ohs\bin;C:\oracle\ohs\jlib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI
    Technologies\ATI Control Panel
    TNS_ADMIN = C:\oracle\tns
    C:\oracle\tns\tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    Oracle 10.2.0 listener.ora
    ==========================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_rover)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Oracle 10.2.0 tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Oracle XE listener.ora
    ======================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    DEFAULT_SERVICE_LISTENER = (XE)
    Oracle XE tnsnames.ora
    ======================
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    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)
    Oracle 11.1.0 listener.ora
    ==========================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    Oracle 11.1.0 tnsnames.ora
    ==========================
    LISTENER_FIDO =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    )

    For static registration you need to update the 3 listener.ora files.
    Exemple:
    SID_LIST_LISTENER_FIDO =
      (SID_LIST =
        (SID_DESC
          (ORACLE_HOME = <Oracle Home path>)
          (SID_NAME=FIDO)
    )

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Oracle Tomcat Connection Problem

    Dear all,
    We have Oracle as the back end and Java-Jsp-Struts as the front end for our project.For the last few days we are facing a strange problem and although we tried a lot we were not able to find even the cause of the problem
    We have Oracle server and Webserver running on seperate machine. As this is a webbased solution , clients can take the pages by putting the URL in the browser. The problem is that the connection to the database is lost sometimes and we need to restart our apache tomcat service to get the connection again. Once it is restarted the pages work fine for sometime and after sometime the problem comes again. Sometimes the problem occures frequently and sometimes rarely.
    Please help us as we tried a lot to troubleshoot but failed.
    Whenever we are loosing connection, the database or listener seem to have no problem as they are running perfectly fine. Is there something that should be done in Tomcat for oracle connections? Or if multiple users are accessing the database at the same time is there something to do sothat the webserver is able to handle these multiple connections and update operations?
    The error messages that we get are:
    The network adapter could not establish the connection
    or The TNS Listener could not resolve the SID given in the connection descriptor
    If the error is the second one then sometimes it will vanish after sometime even without restarting thr tomcat service . But for the first one we must restart the service
    All suggessions are welcome.
    Regards,
    Cochu.

    Hi,
    Thanks for your valuable suggession, but when I
    tried to ping from webserver to db server, it was
    pinging all the time and I am sure that the LAN
    Connection is alright.
    Regards,
    Cochu.No, the fact that Oracle works at all says that your network connection between servers is not the problem.
    When you say "connection to Oracle", it sounds like you literally mean a single connection to Oracle. You open the connection on startup, so if it's stale or lost or dropped you have to restart the web app. Is this true?
    If it is, your solution is to use a database connection pool and rewrite the database code in such a way that you get a fresh connection out of the pool when request comes in, use it, and immediately close it in the same scope, returning it to the pool. Scope should be within a single transaction in a single method. You should keep a connection open only for as long as you need it for a request.
    %

  • DB Connection Problem: Redhat 4.1-Oracle 10.2-Apache 2.0.54-PHP 5.0.4

    Hi I have all the above running on a single Redhat server
    Apache starts fine
    PHP config page shows fine on Apache with OCI module loaded
    sqlplus scott/tiger@tnsentry> connects fine
    sqlplus scott/tiger@//<ip>/<service> connects fine
    ... but PHP will just not connect to the db
    I've tried
    oci_connect("scott","tiger","<service>")
    OCILogin("scott","tiger","<service>")
    OCILogin("scott","tiger","//<ip>:<port>/<service>")
    OCILogin("scott","tiger","(CONNECTION=(....))")
    and all I can ever get are ORA-12154 and ORA-12514 errors
    eg the following line....
    if ($c=OCILogon("scott","tiger", "//<ip>:<port>/<service>")) { echo "Successfully connected to Oracle.\n"; oci_close($c); } else { echo "Oracle Connect Error "; print_r(oci_error()); }
    gives me....
    Oracle Connect Error Array ( => 12514 [message] => Error while trying to retrieve text for error ORA-12514 [offset] => 0 [sqltext] => )
    I've set ORACLE_HOME and ORACLE_SID prior to starting apache
    I've tried putenv("ORACLE_HOME=<oracle home path>") in PHP prior to OCILogon
    but nothing seems to work and I'm tearing my hair out
    One thing to note is that "root" owns apache and "oracle"owns the oracle software so not sure whether this might be a problem and whether it's recommended not to do this?
    If anyone can help me with this I would really be grateful - thanks very much in advance!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi there MartynC
    Just wanted to let you know that I screwed up - as usual, the simplest of errors.... I created a script around apachectl to start apache and prior to the apachectl start line I inserted
    ORACLE_HOME=<my oracle home>; export ORACLE_HOME
    ...only I mistyped <my oracle home> so apache wasn't finding it
    I've corrected that, restarted Apache and now PHP, Apache and Oracle are working fine!
    Thanks very much for your offer of help (the only consolation I can take is that possibly this will someone reading this will take note and double check the dumb stuff and save themselves a lot of time and heartache)
    Also I should note for anyone interested that my Linux installation is actually Centos 4.1 (a Redhat "clone")

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • Is there any problem about 10I oracle connect to 9I oracle  in BW

    we want to know about
    creating a new source system on BW in AIX pointing to an Oracle
    database, bw oracle use 10i database , connect to
    9idatabase(Windows) to get data for BW,
    can you tell me how 10I oracle connect to 9I oracle ??
    is there any problem about 10I oracle connect to 9I oracle ??If
    there exit problem ,how to deal with it ??
    Thank you
    ALLEN ZHOU

    Hi
    You may face some problem in BASIS side especially if one version is Open SQL and other in Old SQL
    Regards
    N Ganesh

  • Connection Problem When Using Oracle Developer Tools for Visual Studio

    I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
    I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
    Microsoft Visual Studio
    ORA-12170: TNS:Connect timeout occurred
    OK
    ---------------------------

    I solved the problem.
    This is what I did for the benefit of the embryonic newbe like me.
    On the Add Connection Dialog
    1.     For Data source name I selected Local Database
    2.     I clicked on the specific User Name and I typed SYSTEM
    3.     For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
    4.     For Role, I selected Default
    5.     Connection Name, I selected Local Database
    6.     Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
    a.     On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
    b.     On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
    c.     Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect.

Maybe you are looking for

  • RFC Source data not filled correctly

    Hi All, I am facing a typical problem. I have created a RFC to File scenario and I am running the ABAP program to call the RFC with the following values: field1(type Char 14; value:'aaaaaa')                   --> Field1 (string) filed2(type Char 15;

  • Af:panelAccordion expand mouse click on lable

    Hello I tried different approaches to expand item of panelAccordion when clicking on it's label but no luck by now. First I tried with clientListener on the <af:showDetailItem> <af:panelAccordion ... > <af:showDetailItem ... > <af:clientListener meth

  • How to check internet connection available or not in adobe flash builder 4.6

    Hi Can you please help me for the above query. Thanks In Advance.

  • Unable to view attachment​s

    I am unable to view attachments emailed to my Curve.  Info messages pops up and says, "More request cannot be completed.  Service book information not found."  What the heck does that mean.  I've looked at every icon and menue and submenu, I do not k

  • Manually editing NetworkConfig.xml for multi-site VPN

    I'm designing a network comprised of on-premise, Azure East US VNet and Azure North Central US VNet. East will be my production VNet and North Central will be backup/dev. I want them routed together as well and accessible via on premise-VPN with RRAS