Problem connecting Discoverer plus to Oracle 10g DB

I have a problem connecting Disocverer Plus to DB 10g.
DB 10g is located on a different server than Discoverer. All windows environment. When I enter DB name it gives me ORA-12154 error.
Question – I searched all the documents and it doesn’t say how to configure DB 10g to work with Discoverer. Could some one help me pointing me in a right direction? Do I have to create Data Warehouse or can I connect to the DB directly.
I added Database connection on the DB 10g listener. Do I have to do it on the BI listener as well. So complicated and no guidance.
thanks

In your Discoverer 10g home, navigate to:
$OH/network/admin
configure your tnsnames.ora alias's
or a shortcut... on Oracle BI Discoverer connection string enter:
username
pwd
db string like this (no breaks):
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=yourmachine.domain)(PORT=1523)))(CONNECT_DATA=(SID = vis)))
There is guidance. The Discoverer Configuration Guide
or MetaLink Support notes.
The configuration guide specifically documents common problems
http://download-west.oracle.com/docs/html/B13918_03/tshoot.htm#sthref1287
D.1.4 Discoverer reports the error ORA-12154
OracleBI Discoverer reports error ORA-12154: Could not resolve service name.
Problem
OracleBI Discoverer cannot connect to the database alias specified by the connection details.
Solution
Make sure that:
the database alias is in the tnsnames.ora file on the middle tier
the database alias exists in the tnsnames.ora file on every machine that runs sessions
Hint: If you have SQL*Plus (or any other Oracle product) running on that machine, try connecting to the database with that product.
Hope that helps point you in the right direction.
Regards,
Steve.

Similar Messages

  • SQL*Plus with Oracle 10g Express Edition

    How Can I do to log in using SQL*Plus into Oracle 10g?
    My Schema is: Banco.Global
    My Password is: 111111
    I need to write SET SERVEROUTPUT ON to get answer?
    I opened the Prompt, but i don't know to log in.
    Thanks and my english is not as well as you.

    If i write:
    SQL>connect "Banco.Global"/111111
    a error message is raised: Invalid username/password; logon denied
    but if I log in into Home Page with the same Username and Password, I get to log in.
    There is difference to connect SQL*Plus and the connect with Home Page the Oracle?
    I need to connect with SQL*Plus, because i need to make a test.

  • Strange Problems with Discoverer Plus 10g

    Hello All -
    I'm working an exercise to bring an application online which uses Discoverer Plus 10g as its client. This application is located in an area that I don't have access to, so the symptoms I'll describe have been reported to me by users.
    1) When users log into Discoverer Plus and it launches, it does so with the iconic menu buttons (located below the pull-down menus) disabled and grayed-out. The users are forced to do all operations using the pull-down menus. This is a problem that is consistent across different PCs.
    2) When users do File....Save As.... the "Save Workbook to Database" window opens and the user is unable to modify the filename in the "New name" text field. If the user toggles the "View:" setting at the top of the window, they can then change the filename. This problem has only been reported by 2 users, but it's happening for them consistently.
    3) When a user creates a new report using File....New... the Workbook Wizard opens and all is normal until the "Workbook Wizard - Step 2 of 5: Select Items" page appears. On the items tab, the user activates the pull-down list to select the business area they want to use, and the business area name disappears when the users mouses-over it. So the user must click on the blank business area name to continue. This is a problem that is consistent across different PCs.
    A number of the users' PCs have two Java versions installed on them like this:
    Platform     Product
    1.4     1.5.0_14
    1.5     1.4.2_16
    I had them make sure that 1.5.0_14 is the only one enabled, but that did not remedy any of the above problems.
    At this point I don't know what to try next.
    All help is greatly appreciated.
    Patrick

    Try the 1.4.2_06 java version
    I suggest you remove other java version and stay with just one.
    I do not remember but from some point the java version will use the higher there is and java 1.5 from my experience
    is not working with the discoverer so well.
    Tamir

  • SQL Plus in Oracle 10g XE -

    How can i works in oracle 10g XE using the SQL Plus.
    When I try to connect, show-me and error.

    After installing XE … poke a little in the file system directory where you installed.
    In the “bin” directory you’ll find the “sqlplus” executable. In the “network/admin” directory you’ll find the “tnsnames” file with a service name by the name of “XE” configured.
    So, as long as you hit that tnsnames file and connect with an unlocked user you should be OK.
    sqlplus user/pass@XE
    Potential problem … you have some previous Oracle Client installation and you hit the “tnsnames” file from there … you could add the XE configuration there too. Or use environment variables to switch over to the XE installation.
    Try a “tnsping XE” and see what is says.

  • Problems Installing Discoverer Plus

    I am trying to setup Discoverer Plus, but I am having all kinds of problems. I'm looking for the right forum to help with my problems. Here is what I am doing:
    1. Installed an Oracle 11.2.0 database. This is OK.
    2. Installed WebLogic 10.3.5.0 - Was able to connect to the Admin Server on Port 7001
    3. Tried installed Application Server, the Discoverer portion. For some reason it wouldn't create the user accounts.
    4. Removed all AS homes and created a Discoverer Account using RCU. It would not create the Portal account.
    5. Now when I try to install AS it can't write to the ~rcu directories because of permissions.
    I have uninstalled Weblogic, removing the Middleware home , and cleaning up accounts in the database.
    I will then install WebLogic again. But I am not sure how to proceed afterwards.
    Thanks and if this is the wrong forum, please point to the correct one.
    John

    Pl provide OS and Discoverer versions. Are you following the steps in the Install Guide ? http://download.oracle.com/docs/cd/E17904_01/install.1111/e10421/toc.htm
    HTH
    Srini

  • Problem with Item Labels in ORacle 10g

    Hi,
    We have unchecked the item labels in oracle discoverer 10g. when we create the portlet(after moved server from 10.1.0.2 to 10.1.2), it showing item labels for the discoverer report.
    we dont want item labels to be displayed in portlets.
    Can one any tell us why this occurs?
    Thanks in advance.

    Hello,
    We have unchecked Item Labels (not to display the column names in the cross tab) in Discoverer plus (Tools ----> Options -----> Sheet -----> Show Item Labels).
    And created the discoverer worksheet portlet in Oracle Portal with Options to display the cross tab.
    The Item Labels are displaying in this discoverer worksheet portlet.
    We donot want to display the Item Labels.
    How can i achieve this?
    Thanks,

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Java Connection Pooling issue with Oracle 10g Express Edition

    Hello
    I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
    I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
    Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with the
    matching protocol stack.
    The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
    For e.g.:
    Cache size = 17
    Available Connections = 17
    Cache Limit = 1000
    Active size = 0
    However, if I kill my Tomcat server process and run the application again, it works fine with no error.
    I looked around for possible causes and solutions and all I could find
    was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
    Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
    Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
    Log: Loaded JDBC Driver
    Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
    Error code not handled : 0
    Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS: no appropriate service handler found
    The Connection descriptor used by the client was:
    localhost:1521:xe
    // End of log
    And the Bundled Tomcat server automatically shuts down.
    Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
    E.g.
    Cache size = 18
    Available Connections = 18
    Cache Limit = 1000
    Active size = 0
    Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
    Swetha

    hello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
    try {OracleDataSource ds;
         Connection conn;
      ds = new OracleDataSource();
      ds.setURL("jdbc:oracle:thin:@localhost");
      conn = ds.getConnection("userid","password");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained.  good look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem with JDBC driver for Oracle 10g

    Hi.
    I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
    Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
    It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
    Thanks in anticipation.
    Cheers.
    Jan

    I've successfully accessed a MySQL database via a
    DataSource from a servlet (that uses a DAO). However,
    when I try to do the same with an Oracle 10g
    Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    That's different from a ClassNotFoundException.
    >
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
    of which I downloaded this afternoon as the latest
    driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
    As with the
    MySQL driver, I've placed it in the commons\lib
    folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
    (I've also, of course, made the
    necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
    You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
    Upon examining the ReadMe file at the top of the
    Oracle download page, I found that the
    oracle.jdbc.driver package is now deprecated and all
    references to oracle.jdbc.driver should be replaced
    with oracle.jdbc.
    However, I got a similar error
    message when I tried this modification. Upon
    examining the contents of ojdbc.jar, I found that the
    driver was there and that it was, in fact, still
    oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
    It appears as though the Oracle site has not been
    updated with a driver that matches its latest
    documentation. That often happens with docs.
    However, this does not explain why the
    driver is not even being loacted when it is in the
    correct place. Can anybody shed any light on this?
    Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
    I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
    PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done.

  • User Connections getting increase in Oracle 10g database

    Hi All,
    we have a java application setup in Websphere 6.0 server with Oracle 10g as a back end database.
    Our application server is load balanced by two seperate server.
    We found that there are more number of inactive connections getting established to database from application server.
    Those connections keep on increasing automatically though we closed all the session created through application.
    Is there any specific reason behind this. Currently we are killing those sessions manually.
    Kindly help me in resolving this issue.
    Thanks in advance.
    Regards
    Aruna

    The main reason for this is products like Websphere are stateless, and establish a connection for every statement, execute the statement and close the connection.
    Refrain from setting up connection pooling, either in Websphere or at the database site, and you will keep seeing this.
    As such it is not a database problem. It is a problem of developers who don't know connection pooling.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • Connect form builder to oracle 10g express ?

    Hi ,
    How can i connect form builder 10 to oracle 10g express ?

    error -> ORA -12154That normally means there is some problem with tnsnames.ora :
    $ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $Does
    C:\>tnsping xework ?
    You could also try using "<host name or IP address>/xe" as connection string (database).

  • Problem In Enterprise manager with Oracle 10g AS 10.1.3.1.0

    dear all,
    I installed Oracle Application server 10g (10.1.3.1.0) on REDHAT Enterprise Linux 4 AS Update 4, so evrything done throu installation , but after installing when i try to open EM with browser http://localhost:7778/em not working and appear mesage (The Request URL/em was not found on this server) so i tried with ip-addressand with FQDN but not working, opmnctl service all running successfuy !!! (OC4J ,HTTP all working done - i made restat to all opmn services and the same result!!!!)
    how can i solve this problem????
    Thanks

    Thanks Dear Jacco,
    but i installed only OC4j and HTTP components , so control is working opmnctl working every think and components working good , but the strange in this case when i tried to fine emctl file but its not found !!!! (emctl start iasconsole) in this version of Oracle 10g AS .
    what u think?

  • Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27

    Hi,
    I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
    I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
    I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
    But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
    [Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
    [Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
    [Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
    After some investigations it looks like this is due to the connection of Oracle 10G and php.
    I tried to recompile Apache as the following:
    # cd /usr/src/apache_1.3.xx
    # make clean
    # LIBS=-lpthread ./config.status
    # make
    # make install
    but the issue is the same ...
    How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
    I need to use the oracle.so library to avoid to re-rewrite all my application ...
    Any help much very appreciated !
    Cheers
    Dominique

    You are in unchartered territory. But check the common "gotcha" and
    make sure that all the Oracle environment variables are set in the
    shell that starts Apache. Load the script <?php phpinfo(); ?> in a
    browser and see that whatever variables you need are set in the
    Environment section. See the section "Oracle Environment Variables
    for Connections" in Underground PHP and Oracle Manual
    I suspect it would be beneficial to migrate the PHP code to oci8.
    Check table 16-1 in Underground PHP and Oracle Manual for the mapping
    between 'oracle' and 'oci8' functions.
    -- cj

  • Problem storing Russian Characters in Oracle 10g

    We are facing an issue in one of our sites which is in Russian Language. Whenever data is submitted with Russian Characters it saves it as Question mark(upside down) in the database. Database is not supporting these characters.The character encoding is done in UTF-8 format from the front end.
    This code use to work fine with Oracle 9i database but after the upgradation to Oracle 10g this problem has started occuring. We have not made any changes to the code after the upgradation of the database.
    How can we resolve this and what are the settings that we can do to make this work fine?

    What is your database character set and national character set?
    SELECT *
      FROM v$nls_parameters
    WHERE parameter like '%CHARACTERSET';Are you storing the data in CHAR/ VARCHAR2/ CLOB columns? Or NCHAR/ NVARCHAR2/ NCLOB?
    Justin

  • Connection of java and oracle 10g express edition

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

    hello!!!!!
    I'm new to databases as well as JDBC. I want to know how to connect to oracle 10g express edition with java to create a desktop application.
    Let me know step by step procedure if possible.....
    Also tell me which softwares or drivers other than oracle 10g and jdk1.6 will be required......
    Do i need to keep all the required softwares and drivers in the same folder???
    please give any other information which is required for the connection
    thank you!!!

Maybe you are looking for

  • OBIEE execute stored procedure to load tables before running report

    Hi.. I want to execute a stored procedure to load database tables before running a report in OBIEE . I need to pass 2 parameters to the stored procedure which loads into tables. In the Connection Pool --> Connection Script Tab --> Execute before quer

  • Can Alert run at a specific time ?

    hi everyone I want to design an application for storing appointments. Also, i want from my application to show an alert at a specific day and time. so any one can give me ideas how to implement this ? * I came up with two idea but i don't know if J2M

  • Problems with vista

    I have recently upgraded to vista (fresh install and it went great. even an idiot like me can do it). i have several swf based websites with links in them. they are action scripts like getURL(" http://www.penny-arcade.com/", "_blank"). in XP, these w

  • Java.lang.NullPointerException in RFC Receiver Adapter

    Hi Experts, i have configured SQL Sender Adapter and this works fine, i can see the payload. and at the receiver adapter i have configured RFC Receiver Adapter this is throwing NullPointerException as mentioned below.. can someone help me out to fix

  • Variable list updates in cli with cdb.vs.mod when values have spaces

    Hi - I keep variable lists for composite components in SVN - stored in the same format they're downloaded from the variables settings screen (don't forget to restore the missing semi-colon on the next-to-last line). Then the build scripts run this: