Problem regarding Running Multiple Database in Oracle 9i (9.2.0.1)

I am using Oracle 9i (9.2.0.1) version on Windows 2003 server. My database is ORCL. it is successfully running. Now I have create a new database as TEST, it is successfully created Now I can't connect on that database in sys and system user but i connect my previous database(ORCL) successfully.
message comes as : ORA : 12154, TNS could not resolve service name.
Plz give a solution.

Anil Malkai wrote:
Have you created password file?
can you post
dir %ORACLE_HOME/database
try this as well
set oracle_sid=test
sqlplus sys as sysdba
Anil MAlkaiNot only does it not have anything to do with the listener, it has nothing to do with the password file.
If you haven't looked recently, here is the full description AND ACTION LIST of the OP's error:
stevense> 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.Notice that there are two items which are NOT listed in the above. The first is any reference to the listener. The second is any reference to the password file. If you can't resolve the connect identifier (you can't find the number you are looking for in the telephone directory), then your inability to connect to the database (to place a telephone call) has nothing to do with the listener (the telephone company switchboard) or the password file (the other guy's secretary being willing to accept your call).

Similar Messages

  • HELP: Problem creating a new database in Oracle 9i

    I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
    I reproduce the steps taken by me.
    I have decide the database to be called Mydb. I have made the following directories:
    -- d:\mydb
    -- d:\mydb\data
    -- d:\mydb\control
    -- d:\mydb\log
    -- d:\mydb\bdump
    -- d:\mydb\cdump
    -- d:\mydb\udump
    -- d:\mydb\archive
    -- d:\mydb\pfile
    -- d:\mydb\scripts
    -- d:\mydb\exp
    I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
    -- db_name = mydb
    -- instance_name = mydb
    -- control_files = ("d:\mydb\control\control01.ctl")
    -- background_dump_dest = d:\mydb\bdump
    -- core_dump_dest = d:\mydb\cdump
    -- user_dump_dest = d:\mydb\udump
    -- remote_login_passwordfile = exclusive
    Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
    ifile=d:\mydb\pfile\initmydb.ora
    At DOS prompt, I run the following command:
    set oracle_sid=mydb
    I run the ORAPWD utility to create internal password file at the command prompt.
    d:
    cd \oracle\ora90\database
    orapwd file=pwdmydb.ora password=panther entries=25
    I create a Windows service for the database as follows:
    oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
    I get connected:
    sqlplusw /nolog
    connect sys/change_on_install as sysdba
    startup nomount # pfile=d:\mydb\pfile\initmydb.ora
    create database mydb
    MAXINSTANCES 1
    MAXLOGHISTORY 1
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    datafile 'd:\mydb\data\system.dbf' size 325m REUSE
    AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
    200m reuse
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    default temporary tablespace temptbs
    CHARACTER SET WE8MSWIN1252
    NATIONAL CHARACTER SET AL16UTF16
    logfile group 1 ('d:\mydb\log\log1.log') size 1m,
    group 2 ('d:\mydb\log\log2.log') size 1m,
    group 3 ('d:\mydb\log\log3.log') size 1m;
    Now I get the following error:
    create database mydb
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
    Thanks in anticipation.
    PS

    Hi DENIS,
    I have executed the following commands (which are in a script file),
    1. sqlplus /nolog
    2. connect sys/change_on_install as sysdba
    3. create database ...
    4. ...
    When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
    How to rectify this problem.
    Thanks in advance,
    Kiran

  • Problem in connecting to database using oracle jdbc thin driver

    hi
    i am trying to connect to a database using oracle thin driver.
    i am getting following error:
    java.sql.sqlexception:Io exception: the network adapter could not establish the connection
    Io exception: the network adapter could not establish the connection
    the connection string has the property of using a dedicated server
    for this reason i have put USE_DEDICATED_SERVER=ON in sqlnet.ora file...
    we did not face this problem while connecting to other databases which do not have the property of dedicated server in their connection string in tnsnames.ora file.
    please suggest a solution for this.
    thanks and regards,
    asif

    If you are using the thin driver, sqlnet.ora does not come into play. None of Oracle networking does. That is one of the great things about using the thin driver, no need to have the client installed.
    That error is due to incorrect connection info you are supplying or the machine you are connection from can't ping the machine it is trying to connect to.

  • Errors and Queries regarding manually create database in oracle 9i

    Create database manually with following steps:
    1) Create SID
    C:\> set ORACLE_SID=mynewdb
    2)Create suitable database directories within oracle directory.
    Create folders udump,cdump,bdump within C:\oracle\admin\mynewdb\
    3)Create PFILE
    4)Create a password file using:
    C:\> orapwd file=C:\oracle\ora90\database\PWDmynewdb.ora password=oracle
    5)Create an instance of database
    C:\> oradim -new -sid mynewdb
    6)Start sqlplus:
    C:\> sqlplus\nolog
    7)connect / as sysdba
    8)startup nomount
    9)Run CREATE DATABASE script
    'Database Created' prompt display on screen.
    11) Run two scripts i.e. catalog.sql and catproc.sql
    Following are errors and queries related to database creation. :
    Errors+_
    Following error occur when start database:
    Total System Global Area 336359616 bytes
    Fixed Size 282816 bytes
    Variable Size 234881024 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    For start database I give following command, but it gives me same error:
    STARTUP OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP FORCE OPEN PFILE='c:\ORACLE\ORA90\DATABASE\initmynewdb.ora'
    or
    STARTUP OPEN
    or
    STARTUP FORCE OPEN
    Queries_
    *1)There are one databases in my machine name "orcl"*
    when I give commands
    C:\> connect / as sysdba
    C:\> startup nomount
    When I run "connect / as sysdba", in this which database instance connect?
    how the oracle will know to start mynewdb database instance in nomount? although I am not create database.
    *2) Step "startup nomount". In this, which database started in nomount?*
    *3) There is no reference for PFILE in CREATE DATABASE script. How the oracle will know which is the PFILE for database mynewdb?*
    *4) I create password file, how the oracle will know password file for which database (in this case mynewdb database)? How to map password file with particular database?*
    Thanks and Regards,
    Sachin

    Hi,
    not any thing new from the already given answer. But, i hope this examples gives more clarity.
    Answers below:
    1) ORACLE_SID is the answer
    2) see the output below.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 61785680 bytes
    Fixed Size 730704 bytes
    Variable Size 58720256 bytes
    Database Buffers 2048000 bytes
    Redo Buffers 286720 bytes
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    mytestdB
    SQL>
    SQL> show parameter db_name
    NAME TYPE
    VALUE
    db_name string
    mytestdB
    3) Check environment variables for ORACLE_HOME variable will let you know the location of the PFILE. By default it will be ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    SET command will help you or use widows options.
    In some other cases, the PFILE contains the link to it with IFILE value left in PFILE which should show the location.
    4) Check environment variables for ORACLE_HOME variable will let you know the location of the password file. By default it will be expected in ORACLE_HOME/database (windows), ORACLE_HOME/dbs (LINUX/UNIX).
    Regrds,
    Vasu.

  • Encounter problem when running test.fmx in Oracle form 11g

    I am new to Oracle form 11g and encounter a problem regarding testing the Form Services.
    I have Oracle form 11g (deployment mode) on my app server.  I opened 'Run a form on the web' and clicked 'Run form' to conduct a test with default values suggested by the screen.  Then I got the below screen showing 'An add-on for the website failed to run'.
    Is the problem in relation to IE setting? or is my set up of Oracle form 11g not OK?

    Hi ,
    This community is to discuss Weblogic Server specific issues, you can post this query Forms in for better response in the below link:-
    Oracle Forms (MOSC)
    Regards,
    Prakash.

  • Problem in running Perl script through oracle

    Hi,
    I am facing one problem in perl script.
    " I have one perl script which is interact with sybase database.We have migrated the sybase database to oracle successfully.Now i wanna to change the perl script to interact with oracle database.
    I am using the code like that for interacting the oracle database
    Old Code with sybase database : use DBI::Sybase::GFAS;
    New code with oracle database : Use DBI::oracle::GFAS;
    When i am running the perl script,Its showing the below mentioned error:
    Can't locate DBI/oracle.pm in @INC (@INC contains: C:\oracle\product\10.2.0\db_1
    \perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/MSWin32
    -x86-multi-thread C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib C:\oracle\product
    \10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\site\
    5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-thread
    C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1
    \sysman\admin\scripts C:/Perl/lib C:/Perl/site/lib .) at hello.pl line 4.
    BEGIN failed--compilation aborted at hello.pl line 4.
    Anyone have any idea about this error.
    Thx in advance.

    If you look in the oracle home in the perl\site\5.8.3\lib\MSWin32-x86-multi-thread directory you will see two directories. Once is DBI and one is DBD.
    All you need in your perl program is a line 'use DBI'. It will use DBD automatically as and when required. You can specify the necessary connection information when you issue the DBI->connect statement.
    I have successfully managed to connect to Oracle databases and perform DML using the software installed by default. You don't need to download and install anything else.
    I'm no perl expert so maybe some functionality is missing using the interfaces provided by Oracle but for my needs it has sufficed.
    Hope this helps.

  • Problems in running the servlet in Oracle JDeveloper

    I have problems in running servlets(http servlet) in oracle jDeveloper.
    Heres the code
    package view;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Servlet1 extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>Servlet1</title></head>");
    out.println("<body>");
    out.println("<p>The servlet has received a GET. This is the reply.</p>");
    out.println("</body></html>");
    out.close();
    When Im about to run this code in the IDE it throws a fatal error
    Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/jdevstudio10132/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/config/server.xml.
    07/09/12 21:37:43 Fatal error: server exiting
    does anyone know here whats the problem???

    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Servlet1 extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter(); out.println("<html>"); out.println("<head><title>Servlet1</title></head>");
    out.println("<body>");
    out.println("
    The servlet has received a GET. This is the reply.
    "); out.println("</body></html>");
    out.close();
    When Im about to run this code in the IDE it throws a fatal error Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/jdevstudio10132/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/config/server.xml. 07/09/12 21:37:43
    Fatal error: server exiting does anyone know here whats the problem???

  • Problem with running multiple servlet in same webapplication with tomcat 3

    Hi all,
    I am using Tomcat 3.0 as webserver with jdk1.3, Servlet 2.0,
    Templates for html file and oracle 8i on UNIX platform.
    I have problem with multiple servlet running same webapplication.
    There are two servlet used in my application. 1) GenServlet.class
                   and 2) ServletForPrinting.class
    All of my pages go through GenServlet.class which reads some property files
    and add header and footer in all pages.
    I want reports without header & footer that is not possible through GenServlet in my application.
    So I have used another servlet called ServletForPrinting --- just for reading html file.
    It is as follow:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletForPrinting extends HttpServlet {
    public void service (HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException
    // set content-type header before accessing the Writer
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    File f1 = null;
    String report = null;
    String path = request.getPathInfo();
    try{
    String p = "/var/home/latif/proj/webapps/WEB-INF/classes" + path;
    System.out.println(p);
    f1 = new File(p);
    p = null;
    if (f1.exists()) {
    FileReader fr = new FileReader(f1);
    BufferedReader br = new BufferedReader(fr);
    report = new String();
    while ((report = br.readLine()) != null) {
    out.println(report);
    }catch(Exception e) {
    out.close();
    report = null;
    path = null;
    f1 = null;
    } // end class
    It works fine and display report properly.
    But now Problem is that if report is refreshed many times subsequently,
    WebServer will not take any new change in any of java file used in web-application.
    It works with the previous class only and not with updated one.
    Then I need to touch it. As soon as I touch it, webserver will take updated class file.
    Anybody has any idea regarding these situation?
    Is there any bug in my ServletForPrinting.java ?
    Any solution ????? Please suggest me.
    Suggestion from all are invited. That will help me a lot.
    Thanks in advance
    Deepalee.

    Llisas wrote:
    I solved the problem, I just had to wire the blocks in a sequential way (I still don't know why, but it works).
    Feel free to delete this topic.
    I would strongly suggest at least reading this tutorial to give you an idea of why your fix worked (or maybe only appeared to work).  Myself, I never just throw up my hands and say, "Whatever," and wash my hands of the situation without trying my best to understand just what fixed it.  Guranteed you'll run into the same/similar problem and this time your fix won't work.
    Please do yourself a favor and try to understand why it is working now, and save yourself (or more likely, the next poor dev to work on this project) some heartache.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Running Multiple queries in Oracle 10g Express Edition! Help Me!

    I am new to Oracle 10g Express Edition.
    I used my browser to navigated to http://127.0.0.1:8080/apex
    I saw the database page.. logged in.. went into the SQL section.. now am not able to run two or more queries at the same time.. i have given a screenshot too. Plz.. check it and reply me quickly..
    http://i71.photobucket.com/albums/i149/prasanna7287/546895215.jpg
    Help me plz..
    Prasanna.

    There are two possibilities:
    1) Run the SQL commands, one command at a time;
    2) Create a script of multiple commands, and run the script.
    These are discussed in some detail in the online documentation at http://www.oracle.com/pls/xe102/homepage
    In particular, look at
    http://download-east.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sql.htm#BJEIEIFJ
    Message was edited by:
    Hans Forbrich
    No ... wait ... please do not read the documentation! <g>

  • Problem faced while creating database in oracle 10g

    SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
    1 create database db_test
    2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
    3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
    4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
    5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
    6 undo tablespace testundotbs
    7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
    8 default temporary tablespace test_temptbls
    9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
    10 character set WE8MSWIN1252
    11* national character set AL16UTF16
    12 /
    create database db_test
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
    create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
    ERROR at line 1:
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file
    'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
    Message was edited by:
    user525645

    i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
    my init.ora file
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=db_test
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
    core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
    user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
    # File Configuration
    control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    Message was edited by:
    user525645

  • Not able to work with multiple Databases using  oracle.jdbc.driver.OracleDr

    Hi all,
    I am using the following Oracle Driver in Weblogic 6.1 sp 4
    oracle.jdbc.driver.OracleDriver / jdbc:oracle:thin:
    Driver. I am not able to select rows from two different table, which resides in two different Databases.
    The Exception is :
    SQL Exception Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create connection
    nother pool: MultiTransactionTest
    Start server side stack trace:
    java.sql.SQLException: Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create c
    on from another pool: MultiTransactionTest
    at weblogic.jdbc.jts.Driver.getExistingConnection(Driver.java:288)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:123)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:214)
    at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    Can any one help me to fix this issue?
    -Thanks & Regards,
    Shamil.S

    Shamil S wrote:
    Hi all,
    I am using the following Oracle Driver in Weblogic 6.1 sp 4
    oracle.jdbc.driver.OracleDriver / jdbc:oracle:thin:
    Driver. I am not able to select rows from two different table, which resides in two different Databases.
    The Exception is :
    SQL Exception Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create connection
    nother pool: MultiTransactionTestHi. You can't domultiple DBMSes in one transaction unless you use an XA driver and
    an XA transaction. Your workarounds are:
    1 - Use an XA driver, datasource, and tx
    2 - If you're just reading, you can use non-transactional datasources. Do make sure you
    always close your connections...
    Joe
    >
    Start server side stack trace:
    java.sql.SQLException: Connection has already been created in this tx context for pool named CDPool. Illegal attempt to create c
    on from another pool: MultiTransactionTest
    at weblogic.jdbc.jts.Driver.getExistingConnection(Driver.java:288)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:123)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:214)
    at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace
    Can any one help me to fix this issue?
    -Thanks & Regards,
    Shamil.S

  • Problems with query via Database-Link (Oracle 7.3.4)

    I made the following simple query via database-link.
    select count (*) from [email protected]
    I got the result in about 200 miliseconds.
    Then I4ve tried the following query.
    select * from [email protected]
    It took about 2 hours end ended with an error message "ORA-03113: end-of-file on communication channel"
    So I made another choice
    select * from [email protected] where rownum <=1
    Took about 200 miliseconds.
    So I made the query again an changed only the number of rownums,until I was at rownum <=8
    then it went sleeping again(I've canceled the statement because I didn't want to wait 2 hours again).
    We made the same things from another server with the same database-link on the same remote server
    and we had no problems.
    Any Idea???

    No, network is OK!
    Other links are running, I have also no problems when I connect directly to the remote server.

  • Problem with running bitmap report in Oracle 6i

    Hello,
    I am running a report from a form using run_product in client/server enviroment. And I use the same code in all forms that run reports. In test enviroment, everything works normally. But in customer enviroment there is weird behaviour. Some reports need a lot of time to be executed, and when they are finally finished, report previewer is not maximized as it is in test enviroment. And more important problem is that one report doesn't execute at all. Report background engine is started but report doesn't come out at all.
    Here is code which I use to run reports:
    declare
    izvestaj      varchar2(15);
    pListName varchar2(20) := 'parList';
    dt      varchar2(6) := 'Screen';
    pList      paramlist;
    BEGIN
    izvestaj := 'EBS12';
    begin
    pList := get_parameter_list(pListName);
    if not id_null(pList) then
    destroy_parameter_list(pList);
    end if;
    pList := create_parameter_list(pListName);
    if (not id_null(pList)) then
    add_parameter(pList, 'P_PREDUZECE', text_parameter, to_char(:kontrolni.preduzece_id));
    add_parameter(pList, 'P_PRENOS', text_parameter, to_char(:prenos.id));
    add_parameter(pList, 'P_RAD', text_parameter, :prenos.chk_radnik);
    add_parameter(pList, 'P_LOK', text_parameter, :prenos.chk_lokacija);
    add_parameter(pList, 'P_ZAR', text_parameter, :prenos.chk_isplata);
    add_parameter(pList, 'P_RAS', text_parameter, :prenos.chk_raspored);
    add_parameter(pList, 'P_NAL', text_parameter, :prenos.chk_nalet);
    add_parameter(pList, 'P_BEZ_RAS', text_parameter, :prenos.bez_rasporeda);
    add_parameter(pList, 'P_STATUS', text_parameter, to_char(:prenos.status));
    add_parameter(pList, 'P_RAD_ID', text_parameter, to_char(:prenos.radnik_id));
    add_parameter(pList, 'P_SORT', text_parameter, to_char(:prenos.redosled));
    add_parameter(pList, 'PARAMFORM', text_parameter,'NO');
    add_parameter(pList,'DESTYPE',text_parameter,dt);
    run_product(reports, izvestaj, synchronous, runtime, filesystem, pList, null);
    end if;
    exception
    when others then
    set_alert_property('cfg_error',alert_message_text,'Poziv izveštaja nije uspeo! '||sqlerrm);
    if (alert_button1=show_alert('cfg_error')) then null;
    end if;
    raise form_trigger_failure;           
    end;
    END;
    Is it maybe some enviroment settings problem and if yes, what should I pay attention on?
    Tnx in advance,
    Nati

    Hello,
    When you put a block on a "new stacked canvas" that canvas is generated as a popup canvas. If that popup overlaps with some other generated items (for instance: items in master block) Forms will not show it.
    You can try showing that popup canvas programatically with Show_View('canvas_name') in When-New-Form-Instance and see what happens.
    Dalibor
    P.S. Why do you have to put detail block on a popup canvas? Why don't you simply put it on a "same content canvas"?

  • Problem while running ejb application in Oracle Application Server

    I have created sample ejb application in jdeveloper with ejb 3.1 version,
    i also created jsp page which will invoke ejb client and display result,
    its running perfectly in embeded oc4j server, but while deploying application in
    Oracle application server its is giving below error message
    Javax naming exception: unable to find remote interface., i am confusing please give me sollution .

    Hi Mr.Frank,
    i have created remote interface by importing javax.ejb.Remote,
    my interface name is additionEjb
    and i defined a sample method and in my client i called like below
    additionEjb AdditionEjb = (additionEjb)context.lookup("additionEjb");
    In embeded oc4j server its running perfectly but after deploying to OAS below error throwing
    The exception is : javax.naming.NameNotFoundException: additionEjb not found
    Help me regrding this.

  • Problem regarding running war file in Tomcat 4.1

    i uploaded a war file in Tomcat application manager..
    Running status of application is false ...
    By pressing START in COMMANDS still it shows false in RUNNING ..
    i got error
    FAIL - Application at context path /kannan could not be started...........

    hi
    restart your system and again you deploy in tomcat manager,
    or
    better you place your .war file under webapps and restart ur tomcat server once again ..
    after u c one folder create with ur war file name,
    after u go and access
    thats it..
    i hope it will helps u

Maybe you are looking for

  • SAPinst error during phase Create DB statistics (sapcheck)

    Hello all, I am currently installing an SAP ERP 6.0 EhP4/NW7.01 Java system when I enncountered this error during the phase Create Database Statistics. Error says BR0801I BRCONNECT 7.00 (40) BR0805I Start of BRCONNECT processing: cefukrjh.sta 2011-05

  • Oracle 6i Report Output Japanese Characters to XML on UNIX?

    I have a 6i report which reads text from the database and outputs everything to XML. There is now a requirement for it to handle Japanese characters. I was able to do this successfully in Windows by changing my NLS_LANG to UTF8 and changing the field

  • Conditionally Setting Bind Variables

    I need help conditionally setting some bind variables so I don't have to hard code some values. However, I get errors when I try to do this. I might just be going about it the wrong way. This is my code so far: DECLARE        first_offset varchar2(3)

  • To add custom field in MIRO in SAP ECC 6.0

    Hi All, I am using ECC 6.0 version of SAP. I want to add a custom field inside the DISPLAY tab on the MIRO screen. Please give me any pointers for any USER EXIT or OSS note for MIRO screen so that we can add a custom field under the display tab on th

  • Search crashes

    OracleJSP: oracle.jsp.provider.JspCompileException: Errors compiling:/u01/app/oracle/product/IAS904/j2ee/OC4J_Portal/application-deployments/wwwotn/wwwotn/persistence/_pages//_searchotnerr.java Line # Error 219 [jsp src:line #:498] cannot resolve sym