JUnit in the database?

How do folks out there test Java stored procedures? For 'ordinary' Java code you'd use JUnit. Is this even possible for code within the database? I am involved in the development of utPLSQL, the PL/SQL equivalent of JUnit and I was interested to know if I should look at extending it to do Java or perhaps even work with JUnit..
Chris

I've loaded junit.jar version 3.7 into a Oracle 8i release 8.1.7.2 database -- no problem. But the issue is with the testrunner classes.
Running Junit normally (not in a datbase), the testrunner objects expect to find the user.home property, which tells it the directory in which the junit.properties property file is located. The directory but not the property file exists on my NT machine, so the testrunner is obviously using default values for its properties.
But, in the Oracle database (now in a version 8.1.7.0 release), the list of system properties is significantly truncated, and does not include the user.home property.
I think this is just a little hitch.
I'm guessing that the oracle database reads a local file on startup, and in there, I can create system properties that will be loaded into the OJVM. In the alternative, with appropriate java permissions, I can create the user.home property in the testing code, just before running the suite of tests.
Unfortunately, I don't yet have enough permissions on the 8.1.7.2 database (work). I was unable to install junit.jar on my PC 8.1.7.0 database because of system resources.
In any case, I don't believe there are significant problems in running junit in the database.

Similar Messages

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • Facing problem while changing the database at runtime

    hi everyone,
    Before posting this thread, i have gone through the various posts addressing the problem....but still iam unable to get the solution for this problem.
    The report has been generated in one system, so the database properties (connection string....) are hardcoded in the report file...
    Now when iam trying to change the database, it is still connecting to the system where the report file was created.
    I have tried the changeDatasource() method, but it didnot worked....
    here is the code for changeDatasource() method
    public static void changeDataSource(ReportClientDocument clientDoc,
                    String reportName, String tableName,
                    String username, String password, String connectionURL,
                    String driverName,String jndiName) throws ReportSDKException {
            PropertyBag propertyBag = null;
            IConnectionInfo connectionInfo = null;
            ITable origTable = null;
            ITable newTable = null;
            // Declare variables to hold ConnectionInfo values.
            // Below is the list of values required to switch to use a JDBC/JNDI
            // connection
            String TRUSTED_CONNECTION = "false";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_DATASOURCE_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
            // The next few parameters are optional parameters which you may want to
            // uncomment
            // You may wish to adjust the arguments of the method to pass these
            // values in if necessary
            // String TABLE_NAME_QUALIFIER = "new_table_name";
            // String SERVER_NAME = "new_server_name";
            // String CONNECTION_STRING = "new_connection_string";
            // String DATABASE_NAME = "new_database_name";
            // String URI = "new_URI";
            // Declare variables to hold database User Name and Password values
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            System.out.println("DB_USER_NAME......."+DB_USER_NAME);
            System.out.println("DB_PASSWORD......."+DB_USER_NAME);
            // Obtain collection of tables from this database controller
            if (reportName == null || reportName.equals("")) {
                Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                System.out.println("Tables in reports........"+tables.size());
                for(int i = 0;i < tables.size();i++){
                    origTable = tables.getTable(i);
                    System.out.println("origTable........"+origTable.getQualifiedName());
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable)origTable.clone(true);
                        // We set the Fully qualified name to the Table Alias to keep the
                        // method generic
                        // This workflow may not work in all scenarios and should likely be
                        // customized to work
                        // in the developer's specific situation. The end result of this
                        // statement will be to strip
                        // the existing table of it's db specific identifiers. For example
                        // Xtreme.dbo.Customer becomes just Customer
                        newTable.setQualifiedName(origTable.getQualifiedName());
                        System.out.println("newTable........"+newTable.getQualifiedName());
                        // Change properties that are different from the original datasource
                        // For example, if the table name has changed you will be required
                        // to change it during this routine
                        // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                        // Change connection information properties
                        connectionInfo = newTable.getConnectionInfo();
                        // Set new table connection property attributes
                        propertyBag = new PropertyBag();
                        // Overwrite any existing properties with updated values
                        //propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                        //propertyBag.put("Server Type", SERVER_TYPE);
                        propertyBag.put("Use JDBC", USE_JDBC);
                        propertyBag.put("Database DLL",DATABASE_DLL );
                        propertyBag.put("JNDI Datasource Name",JNDI_DATASOURCE_NAME );
                        propertyBag.put("Connection URL", CONNECTION_URL);
                        propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                        //propertyBag.put("Server Name", SERVER_NAME); //Optional property
                        // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                        // propertyBag.put("URI", URI); //Optional property
                        connectionInfo.setAttributes(propertyBag);
                        // Set database username and password
                        // NOTE: Even if the username and password properties do not change
                        // when switching databases, the
                        // database password is *not* saved in the report and must be set at
                        // runtime if the database is secured.
                        connectionInfo.setKind(ConnectionInfoKind.SQL);
                        connectionInfo.setUserName(DB_USER_NAME);
                        connectionInfo.setPassword(DB_PASSWORD);
                        // Update the table information
                        clientDoc.getDatabaseController().setTableLocation(origTable,newTable);
    Also i tried with replaceConnection() method...........it displayed the report, but with not column names and data
    need help regarding.......
    Edited by: abhishek.c1984 on Jun 25, 2009 10:02 AM

    In the report i have two tables.............so before changing the database properties for each table iam printing their names.
    The names are dispalyed correctly.......but once i set the table location...i.e through the following method..
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    every time i can see only one table i.e. properties are set for the first table ........and each time the properties are being set for the first table only.....i dont no what is happening to the rest of the tables..
    I have posted the method in the above post.....can any one please trace out the problem
    Note: when i comment the following code, i can see all the tables
    clientDoc.getDatabaseController().setTableLocation(tables.getTable(i),newTable);
    when i uncomment it, i can see only first table repeating every time...
    Edited by: abhishek.c1984 on Jun 25, 2009 1:03 PM

  • Exchange 2013 crash after installing CU9, can i use the database on a backup?

    so just installed tried to install CU 9 on Exchange 2013, installed fine and rebooted BSOD problem with ndis.sys, have a backup but dont wanna loose too much mail, can i restore the old backup and copy the databases and logs from the crashed exchange? if it is possible would i need to run some commands afterwards or would it just work?
    This topic first appeared in the Spiceworks Community

    What’s new: June 2015
    Here's a roundup of what's been happening in the world of Office 365 over the last month:
    Office for Android phone is here—The new Word, Excel and PowerPoint apps for Android phone have arrived! Review and edit documents on the go, present from your phone, and quickly find the files you were working on in the office or on your tablet. Access files stored in OneDrive, Dropbox, Google Drive and Box. You can download the apps today, and soon they’ll come preloaded on Samsung, Sony, LG and more Android phones.
    Wunderlist now part of Microsoft—Microsoft recently acquired Wunderlist, the market-leading to-do list app. Known for its ease of use and innovative design, Wunderlist provides an easy way to capture, organize and collaborate on lists and to-dos—for home, school and work. It’s a fantastic app and it’s available on...

  • How to have a multilanguage from the database

    Hi,
    I have an application under jdev 11g.
    I am using the locale and the bundle for the multilanguage.
    My problem is with the data from the database.(i.g. select on choice with the items dynamic from the database)
    Also if i am displaying for example the customer info in af:outputtext i want his name to be displayed in english , arabic and other according to the locale choice
    The Fusion Web guide on specifies the resource bundle issue.
    Any hints, doc or sample regarding this issue.
    Best Regards
    Emile BITAR
    Edited by: ebitar on Jun 11, 2009 8:24 AM

    Hi,
    resource bundles work for labels but not data. If you have such a requirement then you need to add this using a discriminator column when querying it. Say you maintain the display data in multiple languages, then you would have a column that holds the language. The query would then be for the language the user expects. If you have static data - in the select one choice case - you can use
    http://thepeninsulasedge.com/frank_nimphius/2007/09/05/adf-faces-localizing-selectonechoice-labels/
    Frank

  • Oracle 10g - Not able to connect to the Database

    I could not connect to the Database. I found below error when I have run the lsnrctl start
    I would appreciate any help.
    D:\Documents and Settings\Administrator>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 02:49
    :42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.or
    a
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT
    =1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    Listener failed to start. See the error message(s) above...
    ================
    I think the above error has caused the below result
    D:\Documents and Settings\Administrator>net start oracleserviceorcl
    The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    D:\Documents and Settings\Administrator>sqlplus/nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 3 02:46:25 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn sys@orcl as sysdba
    Enter password:
    ERROR:
    ORA-12170: TNS:Connect timeout occurred
    SQL>
    ===========================
    Following is the part of generated log message for the lsnrctl start command
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-MAY-2010 23:44:29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1652
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.51)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    15-MAY-2010 23:44:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    15-MAY-2010 23:44:51 * service_register * orcl * 0
    15-MAY-2010 23:46:10 * service_died * orcl * 12537
    15-MAY-2010 23:46:11 * service_register * orcl * 0
    15-MAY-2010 23:46:14 * service_update * orcl * 0
    15-MAY-2010 23:46:29 * service_update * orcl * 0
    15-MAY-2010 23:46:35 * service_update * orcl * 0
    15-MAY-2010 23:46:41 * service_update * orcl * 0
    15-MAY-2010 23:46:47 * service_update * orcl * 0
    15-MAY-2010 23:47:05 * service_update * orcl * 0
    15-MAY-2010 23:47:33 * service_update * orcl * 0
    15-MAY-2010 23:47:39 * service_update * orcl * 0
    15-MAY-2010 23:47:50 * service_update * orcl * 0
    15-MAY-2010 23:47:58 * service_died * orcl * 12537
    TNS-12547: TNS:lost contact
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-MAY-2010 11:08:17
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=216
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-MAY-2010 12:07:11
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=208
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-MAY-2010 23:19:43
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=224
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-MAY-2010 00:35:39
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=220
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2010 00:02:39
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=224
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-MAY-2010 22:28:28
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=224
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-MAY-2010 02:29:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=228
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-MAY-2010 10:39:02
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=664
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 23-MAY-2010 01:50:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=224
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-MAY-2010 08:58:52
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=416
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 25-MAY-2010 22:48:47
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=196
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 26-MAY-2010 07:17:43
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=764
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-MAY-2010 23:53:01
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=700
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAY-2010 21:35:44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=524
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-MAY-2010 00:44:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=796
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-MAY-2010 11:41:33
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=732
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 31-MAY-2010 01:28:05
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=716
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 00:46:50
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=196
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 02:32:07
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1740
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 02:35:19
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=3488
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 02:43:06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=240
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 02:50:03
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is D:\oracle\product\10.2.0\db_2\network\admin\listener.ora
    Log messages written to D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Trace information written to D:\oracle\product\10.2.0\db_2\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=3104
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.51)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    32-bit Windows Error: 49: Unknown error
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    Thanks,
    Srini

    Thanks again
    Here is the result of the lsnrctl status
    D:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JUN-2010 04:13
    :06
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 03-JUN-2010 03:45:46
    Uptime 0 days 0 hr. 27 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_2\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.2.0\db_2\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.50)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "emp" has 1 instance(s).
    Instance "emp", status READY, has 1 handler(s) for this service...
    Service "empXDB" has 1 instance(s).
    Instance "emp", status READY, has 1 handler(s) for this service...
    Service "emp_XPT" has 1 instance(s).
    Instance "emp", status READY, has 1 handler(s) for this service...
    Service "ora10" has 1 instance(s).
    Instance "ora10", status BLOCKED, has 1 handler(s) for this service...
    Service "ora10_XPT" has 1 instance(s).
    Instance "ora10", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ======================
    Now i have tried sqlplus / as sysdba
    D:\Documents and Settings\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 3 04:15:18 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL>
    =======================
    Then tried to connect to orcl database which has sid also orcl and gave the correct pass word, but still found the same error
    D:\Documents and Settings\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 3 04:15:18 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    SQL> conn sys@orcl as sysdba
    Enter password:
    ERROR:
    ORA-12170: TNS:Connect timeout occurred
    Warning: You are no longer connected to ORACLE.
    SQL>
    Could please let me know what is missing here from my side
    Regards,
    Srini

  • SQL0964C  The transaction log for the database is full

    Hi,
    i am planning to do QAS refresh from PRD system using Client export\import method. i have done export in PRD and the same has been moved to QAS then started imported.
    DB Size:160gb
    DB:DB2 9.7
    os: windows 2008.
    I facing SQL0964C  The transaction log for the database is full issue while client import and regarding this i have raised incident to SAP then they replied to increase some parameter like(LOGPRIMARY,LOGSECOND,LOGFILSIZ) temporarily and revert them back after the import. Based on that i have increased from as below mentioned calculation.
    the filesystem size of /db2/<SID>/log_dir should be greater than LOGFILSIZ*4*(Sum of LOGPRIMARY+LOGSECONDARY) KB
    From:
    Log file size (4KB)                         (LOGFILSIZ) = 60000
    Number of primary log files                (LOGPRIMARY) = 50
    Number of secondary log files               (LOGSECOND) = 100
    Total drive space required: 33GB
    To:
    Log file size (4KB)                         (LOGFILSIZ) = 70000
    Number of primary log files                (LOGPRIMARY) = 60
    Number of secondary log files               (LOGSECOND) = 120
    Total drive space required: 47GB
    But still facing the same issue. Please help me to resolve the ASAP.
    Last error TP log details:
    3 ETW674Xstart import of "R3TRTABUFAGLFLEX08" ...
    4 ETW000   1 entry from FAGLFLEX08 (210) deleted.
    4 ETW000   1 entry for FAGLFLEX08 inserted (210*).
    4 ETW675 end import of "R3TRTABUFAGLFLEX08".
    3 ETW674Xstart import of "R3TRTABUFAGLFLEXA" ...
    4 ETW000  [     dev trc,00000]  Fri Jun 27 02:20:21 2014                                             -774509399  65811.628079
    4 ETW000  [     dev trc,00000]  *** ERROR in DB6Execute[dbdb6.c, 4980] CON = 0 (BEGIN)                    85  65811.628164
    4 ETW000  [     dev trc,00000]  &+     DbSlModifyDB6( SQLExecute ): [IBM][CLI Driver][DB2/NT64] SQL0964C  The transaction log for the database is full. 
    4 ETW000                                                                                                  83  65811.628247
    4 ETW000  [     dev trc,00000]  &+     SQLSTATE=57011 row=1                                                                                             
    4 ETW000                                                                                                  51  65811.628298
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  67  65811.628365
    4 ETW000  [     dev trc,00000]  &+     DELETE FROM "FAGLFLEXA" WHERE "RCLNT" = ?                                                                        
    4 ETW000                                                                                                  62  65811.628427
    4 ETW000  [     dev trc,00000]  &+       cursor type=NO_HOLD, isolation=UR, cc_release=YES, optlevel=5, degree=1, op_type=8, reopt=0                    
    4 ETW000                                                                                                  58  65811.628485
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  53  65811.628538
    4 ETW000  [     dev trc,00000]  &+     Input SQLDA:                                                                                                     
    4 ETW000                                                                                                  52  65811.628590
    4 ETW000  [     dev trc,00000]  &+                        1 CT=WCHAR           T=VARCHAR         L=6     P=9     S=0   
    4 ETW000                                                                                                  49  65811.628639
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  50  65811.628689
    4 ETW000  [     dev trc,00000]  &+     Input data:                                                                                                      
    4 ETW000                                                                                                  49  65811.628738
    4 ETW000  [     dev trc,00000]  &+     row 1:             1 WCHAR           I=6       "210"               34  65811.628772
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  51  65811.628823
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  50  65811.628873
    4 ETW000  [     dev trc,00000]  *** ERROR in DB6Execute[dbdb6.c, 4980] (END)                              27  65811.628900
    4 ETW000  [    dbtran  ,00000]  ***LOG BY4=>sql error -964   performing DEL on table FAGLFLEXA                    
    4 ETW000                                                                                                3428  65811.632328
    4 ETW000  [    dbtran  ,00000]  ***LOG BY0=>SQL0964C  The transaction log for the database is full.  SQLSTATE=57011 row=1
    4 ETW000                                                                                                  46  65811.632374
    4 ETW000  [     dev trc,00000]  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'DEL'                             59  65811.632433
    4 ETW000                         RSLT: {dbsl=99, tran=1}
    4 ETW000                         FHDR: {tab='FAGLFLEXA', fcode=194, mode=2, bpb=0, dbcnt=0, crsr=0,
    4 ETW000                                hold=0, keep=0, xfer=0, pkg=0, upto=0, init:b=0,
    4 ETW000                                init:p=0000000000000000, init:#=0, wa:p=0X00000000020290C0, wa:#=10000}
    4 ETW000  [     dev trc,00000]  dbtran ERROR LOG (hdl_dbsl_error): DbSl 'DEL'                            126  65811.632559
    4 ETW000                         STMT: {stmt:#=0, bndfld:#=1, prop=0, distinct=0,
    4 ETW000                                fld:#=0, alias:p=0000000000000000, fupd:#=0, tab:#=1, where:#=2,
    4 ETW000                                groupby:#=0, having:#=0, order:#=0, primary=0, hint:#=0}
    4 ETW000                         CRSR: {tab='', id=0, hold=0, prop=0, max.in@0=1, fae:blk=0,
    4 ETW000                                con:id=0, con:vndr=7, val=2,
    4 ETW000                                key:#=3, xfer=0, xin:#=0, row:#=0, upto=0, wa:p=0X00000001421A3000}
    2EETW125 SQL error "-964" during "-964" access: "SQL0964C  The transaction log for the database is full.  SQLSTATE=57011 row=1"
    4 ETW690 COMMIT "14208" "-1"
    4 ETW000  [     dev trc,00000]  *** ERROR in DB6Execute[dbdb6.c, 4980] CON = 0 (BEGIN)                 16208  65811.648767
    4 ETW000  [     dev trc,00000]  &+     DbSlModifyDB6( SQLExecute ): [IBM][CLI Driver][DB2/NT64] SQL0964C  The transaction log for the database is full. 
    4 ETW000                                                                                                  75  65811.648842
    4 ETW000  [     dev trc,00000]  &+     SQLSTATE=57011 row=1                                                                                             
    4 ETW000                                                                                                  52  65811.648894
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  51  65811.648945
    4 ETW000  [     dev trc,00000]  &+     INSERT INTO DDLOG (SYSTEMID, TIMESTAMP, NBLENGTH, NOTEBOOK) VALUES (  ? , CHAR(   CURRENT TIMESTAMP - CURRENT TIME
    4 ETW000                                                                                                  50  65811.648995
    4 ETW000  [     dev trc,00000]  &+     ZONE   ), ?, ? )                                                                                                 
    4 ETW000                                                                                                  49  65811.649044
    4 ETW000  [     dev trc,00000]  &+       cursor type=NO_HOLD, isolation=UR, cc_release=YES, optlevel=5, degree=1, op_type=15, reopt=0                   
    4 ETW000                                                                                                  55  65811.649099
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  49  65811.649148
    4 ETW000  [     dev trc,00000]  &+     Input SQLDA:                                                                                                     
    4 ETW000                                                                                                  50  65811.649198
    4 ETW000  [     dev trc,00000]  &+                        1 CT=WCHAR           T=VARCHAR         L=44    P=66    S=0   
    4 ETW000                                                                                                  47  65811.649245
    4 ETW000  [     dev trc,00000]  &+                        2 CT=SHORT           T=SMALLINT        L=2     P=2     S=0   
    4 ETW000                                                                                                  48  65811.649293
    4 ETW000  [     dev trc,00000]  &+                        3 CT=BINARY          T=VARBINARY       L=32000 P=32000 S=0   
    4 ETW000                                                                                                  47  65811.649340
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  50  65811.649390
    4 ETW000  [     dev trc,00000]  &+     Input data:                                                                                                      
    4 ETW000                                                                                                  49  65811.649439
    4 ETW000  [     dev trc,00000]  &+     row 1:             1 WCHAR           I=14      "R3trans"           32  65811.649471
    4 ETW000  [     dev trc,00000]  &+                        2 SHORT           I=2        12744              32  65811.649503
    4 ETW000  [     dev trc,00000]  &+                        3 BINARY          I=12744   00600306003200300030003900300033003300310031003300320036003400390000...
    4 ETW000                                                                                                  64  65811.649567
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  52  65811.649619
    4 ETW000  [     dev trc,00000]  &+                                                                                                                      
    4 ETW000                                                                                                  51  65811.649670
    4 ETW000  [     dev trc,00000]  *** ERROR in DB6Execute[dbdb6.c, 4980] (END)                              28  65811.649698
    4 ETW000  [    dbsyntsp,00000]  ***LOG BY4=>sql error -964   performing SEL on table DDLOG                36  65811.649734
    4 ETW000  [    dbsyntsp,00000]  ***LOG BY0=>SQL0964C  The transaction log for the database is full.  SQLSTATE=57011 row=1
    4 ETW000                                                                                                  46  65811.649780
    4 ETW000  [    dbsync  ,00000]  ***LOG BZY=>unexpected return code 2          calling ins_ddlog           37  65811.649817
    4 ETW000  [     dev trc,00000]  db_syflush (TRUE) failed                                                  26  65811.649843
    4 ETW000  [     dev trc,00000]  db_con_commit received error 1024 in before-commit action, returning 8
    4 ETW000                                                                                                  57  65811.649900
    4 ETW000  [    dbeh.c  ,00000]  *** ERROR => missing return code handler                               1974  65811.651874
    4 ETW000                         caller does not handle code 1024 from dblink#5[321]
    4 ETW000                         ==> calling sap_dext to abort transaction
    2EETW000 sap_dext called with msgnr "900":
    2EETW125 SQL error "-964" during "-964" access: "SQL0964C  The transaction log for the database is full.  SQLSTATE=57011 row=1"
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time   : "20140627022021"
    1 ETP111 exit code           : "12"
    1 ETP199 ######################################
    Regards,
    Rajesh

    Hi Babu,
    I believe you should have taken a restart of your system if log primary are changed.  If so, then increase log primary to 120 and secondary to 80 provide size and space are enough.
    Note 1293475 - DB6: Transaction Log Full
    Note 1308895 - DB6: File System for Transaction Log is Full
    Note: 495297 - DB6: Monitoring transaction log    
    Regards,
    Divyanshu

  • Creating .bat for analyzing the Database.

    Hi Experts,
    I am having a doubt in scheduling database analysis process windows 2003 server.
    Every Sunday, we have to schedule the database analysis. just view the below example
    sysuser login id : testlogin
    sysuser password: demotest
    connection string: demotest
    file - demo.sql is available in d:\
    Now i need to create a .bat file for scheduling purpose.
    in the bat file, i want to connect as sysuser and then execute the above mentioned sql file. please suggest me how to give the syntax for connecting to oracle database as sysuser through a .bat file.
    One more doubt: we have to analyze the database in sysuser mode only or also in local user mode???
    suggest me about this...
    Thanks in Advance.

    oracle recommends generation of statistics using dbms_stats package with
    dbms_jobs package.
    You can use following procedure as sys user
    variable jobno number;
    variable instno number;
    begin
    select instance_number into :instno from v$instance;
    dbms_job.submit(:jobno, 'dbms_stats.GATHER_SCHEMA_STATS(ownname=>'<schema Name>,OPTIONS=>''GATHER'',cascade=>TRUE);', TO_DATE('18-JUN-05--21','DD-MON-YY--HH24'), '(SYSDATE+1)', TRUE, :instno);
    commit;
    end;
    /

  • The Patches on the database

    Hi,
    Just got new project. I have make the patch level in DR and PROD same.
    Prod and DR: 11.1.0.7 CRS and 10.2.0.4 Db ob Linux
    On prod below id the o/p od lsinventory from ASM_HOME:
    Installed Top-level Products (2):
    Oracle Database 11g 11.1.0.6.0
    Oracle Database 11g Patch Set 1 11.1.0.7.0
    There are 2 products installed in this Oracle Home.
    Interim patches (3) :
    Patch 9352179 : applied on Sat Jun 04 00:07:29 EDT 2011
    Unique Patch ID: 12289084
    Created on 1 Apr 2010, 01:07:34 hrs PST8PDT
    Bugs fixed:
    7378322, 9068088, 8348481, 9054253, 6851110, 7206858, 7497788, 8974548
    Patch 9207257 : applied on Fri Jun 03 23:55:56 EDT 2011
    Unique Patch ID: 12058152
    Created on 13 Dec 2009, 11:54:51 hrs PST8PDT
    Bugs fixed:
    9207257
    Patch 7388579 : applied on Fri Jun 03 23:55:52 EDT 2011
    Unique Patch ID: 12058152
    Created on 9 Apr 2009, 04:15:20 hrs PST8PDT
    Bugs fixed:
    7388579
    I am not able get which patch is 9352179 and 7388579 .Looks like ASM patch set. But when check the read me it does not say anything to set the ASM_HOME or something.
    Can anyone let me know how to make it sure.
    Thanks...

    When I run the lsinventory from ASM home I get this info. But when I run the same from DB home I don't see any patch installed, which is making me confuse. Also don't see any entry in the registry$history view. Since these are the database psu patches I should see all thee info.
    The os is red hat Linux 5.4. Also the read me of both the patches does not clarify whether to patch RDBMS home or the ASM home?
    Edited by: myra on Jul 2, 2012 6:51 PM
    Edited by: myra on Jul 2, 2012 6:55 PM

  • Where to find the resolved query sent to the database?

    Verison 4.1.1.00.23
    Hello,
    Where/How do I find the actual query that is sent to the database?  I've enabled Debug on the Dev Toolbar, but I still don't see where the query that is sent to the database is at? I'm hoping to see a view with the page items resolved not what is actually in the page.
    I have a query on a collection and I keep getting a 'SQL command not properly ended' error and I'm not seeing why it's not "properly ended".
    Hope this is clear.
    Let me know if not.
    Thanks,
    Joe

    Tony,
    Thank you for replying.
    There is an update -  The query no longer throws the 'SQL command not properly ended', but now it throws the dreaded 'Missing Right Parenthesis' error.
    The query is:
                APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B (p_collection_name => 'TEAM_EMP',
                                                                p_query => 'SELECT cme_system, tbs_team_id, resource_id,
                    CASE WHEN resource_type = ''C'' THEN ''Consultant'' ELSE ''Employee'' END AS resource_type, role,
                    jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec, forecast_id, project_id,
                    jan_id, feb_id, mar_id, apr_id, may_id, jun_id, jul_id, aug_id, sep_id, oct_id, nov_id, dec_id,
                    resource_name, tbs_forecast_year.last_updated, last_updated_by.last_updated_by, area_id, p.group_id, team_name,start_date, end_date, p.project_name
                    FROM tbs_forecast_year
                    INNER JOIN (SELECT project_id pid, area_id, tbs_projects.group_id, UPPER(project_name) project_name
                                FROM tbs_projects
                                WHERE status IN (''Pipeline'', ''Planned - Partially Funded'', ''Planned'', ''Execution'')) p
                    ON p.pid = project_id
                    LEFT JOIN (SELECT resource_onepass_id, resource_name last_updated_by
                               FROM resources where resource_onepass_id is not null) last_updated_by
                    ON last_updated_by.resource_onepass_id = tbs_forecast_year.last_updated_by
                    LEFT JOIN tbs_teams ON tbs_teams.team_id = tbs_team_id
                    LEFT JOIN (SELECT resources.resource_id rid, resource_name from resources) resources
                    ON rid = resource_id
                    WHERE (jan > 0 OR feb > 0 OR mar > 0 OR apr > 0 OR may > 0 OR jun > 0 OR jul > 0 OR aug > 0 OR sep > 0 OR oct > 0 OR nov > 0 OR dec > 0)
                    AND forecast_type = ''Supply''
                    AND (project_id = '|| :F189_PROJECT_ID ||' OR 0 = '||:F189_PROJECT_ID ||')
                    AND (tbs_team_id IN (SELECT * FROM the(SELECT cast(vc2_list('|| :F189_TEAM_ID ||') as vc2_list_type) FROM dual))
                        OR 0 IN (SELECT * FROM the(SELECT cast(vc2_list('|| :F189_TEAM_ID ||') as vc2_list_type) FROM dual)))
                    AND (resource_id = '|| :F189_RESOURCE_ID ||' OR 0 = '||:F189_RESOURCE_ID ||')
                    AND (team_name like ''%'|| :F189_TEAM_NAME ||'%'' OR '' '' = '' '||:F189_TEAM_NAME ||''')
                    AND (area_id = '|| :F189_AREA_ID ||' OR 0 = '||:F189_AREA_ID ||')
                    AND NOT (0 = '||:F189_RESOURCE_ID ||' AND 0 = '||:F189_AREA_ID ||' AND 0 IN (SELECT * FROM the(SELECT cast(vc2_list('||:F189_TEAM_ID||') as vc2_list_type) from dual))
                    AND 0 = '||:F189_PROJECT_ID ||' AND '' '' like '' %'||:F189_TEAM_NAME ||'%'')
    Line 22 is calling a function to deal with a Multi-Select list that I found https://community.oracle.com/message/3566187#3566187. I've created the TYPE and the function as indicated in that thread. The error is thrown when multiple Team's are selected.
    The exact error is: create_collection_from_query_b Error:ORA-20104: create_collection_from_query ParseErr:ORA-00907: missing right parenthesis
    There are going to be 4 multi-select lists and TEAM_ID is the first.
    :F189_TEAM_ID is an application item that is being populated from a page process.
    If you have a better solution for dealing with Multi-Select lists I would be very interested in hearing it.
    I've tried the replace and the instr methods with no success. Once the Collection is working then I have to modify the query for the page which is using the APEX_ITEM API's, but I haven't gotten this working yet.
    Thanks Tony!
    Joe

  • How to call the database

    I am planning to create a website using adf.So I connected to a database by using jdeveloper.Now I want to call that database in my webpage.Which is the easiest method to call the database in my webpage.Using java code or pl/sql code? I need to compare the given username and password with the database username and password?can anyone help me?

    In the login page ,I need to compare the username and password in the webpage with the database username and password.If it is verified, it should be go to home page.Can you give me the code for this procedure or anyone know ?
    Edited by: mrs on 28 Jun, 2012 10:44 PM

  • Message: "The database structure has been modified" every time I log to SAP

    Hello,
    "The database structure has been modified. In order to resume this process, all open windows will be closed". Every time I log to one of my companies in SAP Business One this message appears.
    I haven't installed any new addons and made no changes in database structure (and any other user hasn't done any changes), but this message appears always when I log to company for the first time (when I try to log on another user or log to another company there is no message). Can anyone help me with this problem?
    Best regards
    Ela Świderska

    Hi Ela Świderska,
    You may check this thread first:
    UDFs disappeared
    Thanks,
    Gordon

  • Closing the database connection after report in a server application

    I searched these forums and the internet for a definitive answer on asking the Crystal SDK for java to close the jdbc connection after it has generated a report.  We have been using the Crystal Report SDK to generate reports within our JEE application, built upon the Spring framework, for the past two years.  It works well, especially if you prepare views in the database for your reports.
    From what I can tell once you have used ReportClientDocument to create your report you all the close() method to release resources associated with report generation, but this does not close the jdbc database connection.
    Further research states that if you are using the CrystalReportViewer you can call the dispose method to close the database connection.  We are not using JSP nor this class, so that does us little good.
    Finally I found a post that one could call ((AdvancedReportDocument)reportClientDocument.getReportSource()).dispose().  This doesn't drop the connection either.
    Each report actually opens 3 connections according to SQL Server.  Each report will reuse the connections it has open, so for 50 reports, theoretically, we could have up to 150 connections.  We explained to our client those connections  remain inactive, however this is unacceptable to our client as they would like to minimize the number of connections left open to their database.
    If anyone can post any further information on this issue, it is much appreciated.

    Yes, another team member found the issue.  Quite embarrassing really I didn't see it.  I was looking for the answer within Crystal's libraries.  It had nothing to do with Crystal.
    The developer who wrote the helper code for using Crystal first opened a connection to the datasource for the live production database and read that connection information for the report. Next he set that connection information in the report template's PropertyBag, then ran the report. The developer however forgot to close the connection he used to look up the connection info, leaving a memory leak and using up all the connections.
    I'm glad you inquired.  I forgot to post the resolution here.

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

Maybe you are looking for

  • PDF is not Merging. Please help me

    Hi  I have a windows applicatoin which is developed using vb.net and i am trying to Attach or Combine 2 pdf's into one . It works for once or twice and after that it will not attach any pdf . The first pdf stays as such. The vb.net code is below. Ple

  • HT201328 Problem with iphone 6 carrier no signal

    Hi.I have a terrible problem.I had a signal but i have been browsing some piratebay sites and ever since i have no service and constant pop ups.i have done everything.restarted,reseted,took out the sim,airplained it but still nothing,what should i do

  • Difficulty in WS_security

    I am using Workshop vesrion 8.1.4. I have coded an application exactly similar to the security.wsse.reqResp.mycompany.MyCompany & security.wsse.reqResp.client.Client in sample directory which comes with Workshop. I am using the exactly the same key s

  • Dynamic Class Loading (RMI)

    Hi, i have my rmi server, implementing objects,stubs and skeleton classes deployed in my Tomcat server and they are stored under the tomcat root folder. In anoather jvm iam trying to load the classes thru the below code. java -Djava.rmi.server.codeba

  • Need for for crm_copy_badi

    When i am creating a follow-up document from transaction crmd_order,i am implementing METHOD activity_h of the BADI crm_copy_badi to transfer the data from ZAT1 TO ZAT2.(Interaction to followup document).  The exporting structure of this method does