IfsFileSystem constructor hangs on 9.2 database

I have two identical IFS schemas, one in a 9.0.1 database, one in a 9.2.0 database. I run this code in java against both. It works fine for the 9.0.1 database, but hangs on the constructor for the 9.2 database.
Help!
try {
myIFS = new IfsFileSystem("system", <password>, "IfsDefault", "ifssys");
catch (IfsException ifsNotSmiling) {
throw new FatalException(ifsNotSmiling, toString());

Does it actually hang (freeze up) or does it throw an exception? In the latter case, please provide the stack trace.

Similar Messages

  • Java Export hangs at 'Export Java Database Content' phase

    Hi All -
    As part of system refresh activities,we are doing Java Export from our Production system(PE1) & we will use that export to import it in our Qulaity system(QE1).So while doing Java Export,the export gets stucks/hangs at 'Export Java Database Content" phase which is the last phase in Java Export steps.We have been doing this task since many years  & we did not encounter this kind of issue ever.There are no errors or at least warnings in the logs like sapinst_dev.log,jload.log,jload.java.log,sapinst.log etc.Our environment details are as below
    EP -6.0
    OS - AIX 5.3,64 BIT
    DB - DB2 UDB
    SAPINST version - 642
    Java version is below
    pe1adm> java -fullversion
    java full version "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20100918 (SR13 FP6)"
    Please note with the SAPINST we are using currently, the exports of remaining systems in EP & other solutions like ECC,CR,SRM,XI,BI are successfull.We are having this issue only in PE1.Looks like some bug in code.So request the experts in this forum to please take a look at it & provide me with solution if any of you have faced the similar situation.
    Thanks & regards,
    Nagendra.

    Thank you for your reply Subhash.The below is the last entry in jload.log.It is at EP_ATTR_HEADERS.While doing the Java export,we asked our DBA to monitor to find out any errors at DB side.He monitored and said that no deadlocks or no infinite loops are found.Also he said that he cannot create index for that too because it is trying to do select *.In our first 2 or 3 attempts it used to hang at CA_PRODUCTS meta data exported,CA_PROPERTY meta data exported.Now here.Our DBA said that EP_ATTR_HEADERS has 1.4M rows.We tried to bounce the entire system also,but no luck.We have the same issue.Peculiar thing is we dont see any errors or warnings in the logs.
    23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
    INFO: EP_ATTR_DEFS exported (6 rows)
    23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
    INFO: EP_ATTR_HEADERS meta data exported
    Please let me know if you need any further info in resolving this issue.
    Thanks & regards,
    Nagendra.

  • TOAD hangs, for the new Database

    Hi,
    My database version is:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    My TOAD version is:
    Version 10.1.1.8
    We created a new database A and created a user schema.
    When I login to the schema in TOAD and leave the session idle (even if I dont run any query) for a while and come back to it, TOAD gets hanged.
    I get no error message or anything, it just hangs and I have to do alt+ctrl+del and end task everytime.
    This does not happen with another database B.
    So I assume this is not a TOAD problem.
    Please advice where the problem lies.
    Thanks!!
    Edited by: 934451 on Nov 7, 2012 8:16 AM
    Edited by: 934451 on Nov 7, 2012 8:28 AM

    934451 wrote:
    Hi,
    My database version is:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    My TOAD version is:
    Version 10.1.1.8
    We created a new database A and created a user schema.
    When I login to the schema in TOAD and leave the session idle (even if I dont run any query) for a while and come back to it, TOAD gets hanged.
    I get no error message or anything, it just hangs and I have to do alt+ctrl+del and end task everytime.
    This does not happen with another database B.
    So I assume this is not a TOAD problem.Do both database A & B reside on the same DB Server?

  • [SLVD] MySQL Query Browser (1.2.12) hangs when changing schma/database

    After a rather big upgrade yesterday (see paste below) I have got a problem with MySQL query browser which is found in package mysql-gui-tools. Everything else seems to be okay, but after upgrading mysql-gui-tools from 5.0r12-3 to 5.0r14-1 (..and now, after another update, its at 5.0r14-2) it is no longer able to refresh schema/databases. Every time I try to change/refresh schema in the schema menu to the right the program hangs and I have to kill it. A refresh icon appears as normal to the left of the schema I'm trying to refresh, but that icon too has frozen. I am however able to execute normal SELECT queries etc if I write the full "path" to the table in the SQL query, but when I try a USE query the same thing happens.
    I have done some searching on the Internet about this and found this thread to be interesting. Too bad it's from July 2007..
    I tried to downgrade to the old version of query browser, but then I got this problem:
    /usr/bin/mysql-query-browser-bin: error while loading shared libraries: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
    ..So I guess theres a dependency problem here with the old version.
    Has anyone else got any problem with the MySQL Query Browser after upgrade or has any ideas for a solution?
    Log from pacman:
    [2009-04-12 13:52] synchronizing package lists
    [2009-04-12 13:52] starting full system upgrade
    [2009-04-12 13:55] upgraded xf86-input-evdev (2.1.2-1 -> 2.2.1-1)
    [2009-04-12 13:55] upgraded xorg-server (1.5.3-5 -> 1.6.0-3)
    [2009-04-12 13:56] synchronizing package lists
    [2009-04-12 13:56] starting full system upgrade
    [2009-04-12 13:56] upgraded glib2 (2.20.0-1 -> 2.20.1-1)
    [2009-04-12 13:56] upgraded libcap (1.10-2 -> 2.16-3)
    [2009-04-12 13:56] upgraded avahi (0.6.24-1 -> 0.6.24-3)
    [2009-04-12 13:56] upgraded cdrkit (1.1.9-1 -> 1.1.9-2)
    [2009-04-12 13:56]
    [2009-04-12 13:56] >>> Deluge's daemon is running with the "deluge" user. The default download directory is /srv/deluge/
    [2009-04-12 13:56]
    [2009-04-12 13:56] upgraded deluge (1.1.5-1 -> 1.1.6-3)
    [2009-04-12 13:56] upgraded jack-audio-connection-kit (0.109.2-2 -> 0.116.2-1)
    [2009-04-12 13:56] upgraded gstreamer0.10-bad-plugins (0.10.11-2 -> 0.10.11-3)
    [2009-04-12 13:56] upgraded hdparm (9.12-1 -> 9.14-1)
    [2009-04-12 13:56] upgraded iptables (1.4.2-1 -> 1.4.3.1-1)
    [2009-04-12 13:56] upgraded kbproto (1.0.3-1 -> 1.0.3-2)
    [2009-04-12 13:57] upgraded kdelibs (4.2.2-3 -> 4.2.2-4)
    [2009-04-12 13:57] upgraded kernel26-firmware (2.6.28-1 -> 2.6.29-1)
    [2009-04-12 13:59] >>> Updating module dependencies. Please wait ...
    [2009-04-12 13:59] >>> MKINITCPIO SETUP
    [2009-04-12 13:59] >>> ----------------
    [2009-04-12 13:59] >>> If you use LVM2, Encrypted root or software RAID,
    [2009-04-12 13:59] >>> Ensure you enable support in /etc/mkinitcpio.conf .
    [2009-04-12 13:59] >>> More information about mkinitcpio setup can be found here:
    [2009-04-12 13:59] >>> http://wiki.archlinux.org/index.php/Mkinitcpio
    [2009-04-12 13:59]
    [2009-04-12 13:59] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2009-04-12 13:59] ==> Building image "default"
    [2009-04-12 13:59] ==> Running command: /sbin/mkinitcpio -k 2.6.29-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
    [2009-04-12 13:59] :: Begin dry run
    [2009-04-12 13:59] :: Parsing hook [base]
    [2009-04-12 13:59] :: Parsing hook [udev]
    [2009-04-12 13:59] :: Parsing hook [autodetect]
    [2009-04-12 13:59] :: Parsing hook [pata]
    [2009-04-12 13:59] :: Parsing hook [scsi]
    [2009-04-12 13:59] :: Parsing hook [sata]
    [2009-04-12 13:59] :: Parsing hook [usbinput]
    [2009-04-12 13:59] :: Parsing hook [keymap]
    [2009-04-12 13:59] :: Parsing hook [filesystems]
    [2009-04-12 13:59] :: Generating module dependencies
    [2009-04-12 13:59] :: Generating image '/boot/kernel26.img'...SUCCESS
    [2009-04-12 13:59] ==> SUCCESS
    [2009-04-12 13:59] ==> Building image "fallback"
    [2009-04-12 13:59] ==> Running command: /sbin/mkinitcpio -k 2.6.29-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
    [2009-04-12 13:59] :: Begin dry run
    [2009-04-12 13:59] :: Parsing hook [base]
    [2009-04-12 13:59] :: Parsing hook [udev]
    [2009-04-12 13:59] :: Parsing hook [pata]
    [2009-04-12 13:59] :: Parsing hook [scsi]
    [2009-04-12 13:59] :: Parsing hook [sata]
    [2009-04-12 13:59] :: Parsing hook [usbinput]
    [2009-04-12 13:59] :: Parsing hook [keymap]
    [2009-04-12 13:59] :: Parsing hook [filesystems]
    [2009-04-12 13:59] :: Generating module dependencies
    [2009-04-12 14:00] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS
    [2009-04-12 14:00] ==> SUCCESS
    [2009-04-12 14:00] upgraded kernel26 (2.6.28.8-1 -> 2.6.29.1-3)
    [2009-04-12 14:00] upgraded klibc-udev (140-1 -> 141-1)
    [2009-04-12 14:00] upgraded libavc1394 (0.5.3-1 -> 0.5.3-2)
    [2009-04-12 14:00] upgraded libcddb (1.3.0-3 -> 1.3.2-1)
    [2009-04-12 14:00] upgraded libdatrie (0.1.2-1 -> 0.2.1-1)
    [2009-04-12 14:00] upgraded libdrm (2.3.1-3 -> 2.4.9-1)
    [2009-04-12 14:00] upgraded libdvdread (0.9.7-1 -> 0.9.7-2)
    [2009-04-12 14:00] upgraded libfontenc (1.0.4-1 -> 1.0.4-2)
    [2009-04-12 14:00] upgraded libid3tag (0.15.1b-2 -> 0.15.1b-3)
    [2009-04-12 14:00] upgraded libmatroska (0.8.1-1 -> 0.8.1-2)
    [2009-04-12 14:00] upgraded libmpd (0.16.1-1 -> 0.18.0-1)
    [2009-04-12 14:00] upgraded libmysqlclient (5.0.77-1 -> 5.1.33-1)
    [2009-04-12 14:00] upgraded libogg (1.1.3-1 -> 1.1.3-2)
    [2009-04-12 14:00] upgraded libsamplerate (0.1.6-1 -> 0.1.7-1)
    [2009-04-12 14:00] upgraded libthai (0.1.9-1 -> 0.1.11-1)
    [2009-04-12 14:00] upgraded libx11 (1.2-1 -> 1.2.1-1)
    [2009-04-12 14:00] installed libftdi (0.15-1)
    [2009-04-12 14:00] upgraded lirc-utils (0.8.4-1 -> 0.8.5pre2-1)
    [2009-04-12 14:00] upgraded m4 (1.4.12-1 -> 1.4.13-1)
    [2009-04-12 14:00] upgraded man-db (2.5.4-2 -> 2.5.5-1)
    [2009-04-12 14:00] upgraded man-pages (3.19-1 -> 3.20-1)
    [2009-04-12 14:00] upgraded nvidia-utils (180.29-3 -> 180.44-1)
    [2009-04-12 14:00] installed dri2proto (1.99.3-1)
    [2009-04-12 14:01] upgraded mesa (7.2-1 -> 7.4-1)
    [2009-04-12 14:01] upgraded mpfr (2.3.2-2 -> 2.4.1-1)
    [2009-04-12 14:01] upgraded mpg123 (1.7.1-4 -> 1.7.2-1)
    [2009-04-12 14:01] upgraded mysql-clients (5.0.77-1 -> 5.1.33-1)
    [2009-04-12 14:01] upgraded mysql (5.0.77-3 -> 5.1.33-1)
    [2009-04-12 14:01] upgraded mysql-gui-tools (5.0r12-3 -> 5.0r14-1)
    [2009-04-12 14:01] In order to use the new nvidia module, exit Xserver and unload it manually.
    [2009-04-12 14:01] upgraded nvidia (180.29-3 -> 180.44-1)
    [2009-04-12 14:01] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
    [2009-04-12 14:01] upgraded pacman-mirrorlist (20090108-1 -> 20090405-1)
    [2009-04-12 14:01] upgraded pango (1.24.0-1 -> 1.24.0-2)
    [2009-04-12 14:01] upgraded php (5.2.9-2 -> 5.2.9-3)
    [2009-04-12 14:01] upgraded pm-utils (1.2.4-3 -> 1.2.5-1)
    [2009-04-12 14:01] installed perl-xyne-common (0.01-5)
    [2009-04-12 14:01] installed perl-html-tagset (3.20-1)
    [2009-04-12 14:01] installed perl-html-parser (3.60-1)
    [2009-04-12 14:01] installed perl-libwww (5.825-1)
    [2009-04-12 14:01] installed perl-xyne-arch (0.03-5)
    [2009-04-12 14:01] ######################
    [2009-04-12 14:01] ## IMPORTANT NOTICE ##
    [2009-04-12 14:01] ######################
    [2009-04-12 14:01] Powerpill options and configuration file syntax have changed with
    [2009-04-12 14:01] version 16.0. Please remove old configuration files and use the
    [2009-04-12 14:01] default configuration file at /etc/powerpill.conf as a template for new
    [2009-04-12 14:01] ones. Please see the man page for information on the command-line options.
    [2009-04-12 14:01] upgraded powerpill (15.12-1 -> 16.0-5)
    [2009-04-12 14:01] upgraded python-numpy (1.2.1-4 -> 1.3.0-1)
    [2009-04-12 14:02] upgraded qt (4.5.0-3 -> 4.5.0-4)
    [2009-04-12 14:02] upgraded qt3 (3.3.8-9 -> 3.3.8-10)
    [2009-04-12 14:02] upgraded redland (1.0.8-1 -> 1.0.8-3)
    [2009-04-12 14:02] upgraded tdb (3.3.1-1 -> 3.3.3-1)
    [2009-04-12 14:02] upgraded smbclient (3.3.1-1 -> 3.3.3-1)
    [2009-04-12 14:02] upgraded subversion (1.6.0-2 -> 1.6.1-2)
    [2009-04-12 14:02] upgraded syslog-ng (3.0.1-4 -> 3.0.1-6)
    [2009-04-12 14:02] upgraded tzdata (2009d-1 -> 2009e-1)
    [2009-04-12 14:02] upgraded udev (140-2 -> 141-1)
    [2009-04-12 14:02] upgraded xf86-input-keyboard (1.3.2-1 -> 1.3.2-2)
    [2009-04-12 14:02] upgraded xf86-input-mouse (1.3.0-1 -> 1.4.0-2)
    [2009-04-12 14:02] upgraded xf86-video-vesa (2.1.0-1 -> 2.2.0-1)
    [2009-04-12 14:02] upgraded xfce4-mpc-plugin (0.3.3-2 -> 0.3.3-3)
    [2009-04-12 14:02] upgraded xorg-server-utils (7.4-3 -> 7.4-4)
    [2009-04-12 14:02] upgraded xorg-utils (7.4-2 -> 7.4-3)
    Last edited by siaco (2009-04-14 21:42:10)

    I found the error on this. In the current PGKBUILD found in AUR, the patch mysql-gui-tools.chema_change_freeze_bug.patch is no longer applied.
    I downloaded all related files to this package and built it myself now, with some changes to PGKBUILD and the mysql-gui-tools.chema_change_freeze_bug.patch. It works again :-)
    New PGKBUILD:
    # $Id: PKGBUILD,v 1.14 2009/04/12 11:52:45 dsa Exp $
    # Maintainer: Douglas Soares de Andrade <[email protected]>
    # Contributor: Vinay S Shastry <[email protected]>
    pkgname=mysql-gui-tools
    pkgver=5.0r14
    pkgrel=2
    arch=('i686' 'x86_64')
    pkgdesc="Set of programs to manage and interact with a MySQL server."
    url="http://www.mysql.com/products/tools/"
    license=('GPL')
    source=(http://mirrors.uol.com.br/pub/mysql/Downloads/MySQLGUITools/$pkgname-$pkgver.tar.gz
    bad-char.patch
    mysql-gui-tools-sigc_2.1.1_api_fixes.diff
    mysql-gui-tools-5.0_p12-deprecated-gtk+-api.patch
    mysql-gui-tools-gcc43.patch
    mysql-gui-tools.chema_change_freeze_bug.patch)
    depends=('gtkmm' 'gtkhtml' 'libmysqlclient' 'pcre')
    replaces=('mysql-administrator' 'mysql-query-browser')
    conflicts=('mysql-administrator' 'mysql-query-browser')
    provides=('mysql-gui-common' 'mysql-administrator' 'mysql-query-browser')
    makedepends=('pkgconfig' 'lua' 'libxml2' 'libgnomeprint')
    options=('!makeflags')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    # Patch from mysql.com to fix the freeze when selecting a schema
    patch -p1 < ../mysql-gui-tools.chema_change_freeze_bug.patch || return 1
    # Patch to make 5.0r14 compile
    patch -Np1 < $startdir/src/bad-char.patch
    patch -Np1 < $startdir/src/mysql-gui-tools-sigc_2.1.1_api_fixes.diff
    patch -Np1 < $startdir/src/mysql-gui-tools-gcc43.patch
    patch -Np0 < $startdir/src/mysql-gui-tools-5.0_p12-deprecated-gtk+-api.patch
    cd $startdir/src/$pkgname-$pkgver/common
    sh autogen.sh
    ./configure --prefix=/usr --datarootdir=/usr/share --with-gtkhtml=libgtkhtml-3.14 || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    cd ..
    cp -R common mysql-gui-common
    cd $startdir/src/$pkgname-$pkgver/administrator
    sh autogen.sh
    ./configure --prefix=/usr --datarootdir=/usr/share --with-gtkhtml=libgtkhtml-3.14 || return 1
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    cd $startdir/src/$pkgname-$pkgver/query-browser
    sh autogen.sh
    ./configure --prefix=/usr --datarootdir=/usr/share --with-gtkhtml=libgtkhtml-3.14 || return 1
    make CFLAGS="${CFLAGS} -D_GNU_SOURCE" || return 1
    make DESTDIR=$startdir/pkg install || return 1
    #cd $startdir/src/$pkgname-$pkgver/mysql-workbench
    #patch -p1 < ../../mysql-gui-tools-5.0_p12-workbench-lua.patch
    #./configure --prefix=/usr --with-gtkhtml=libgtkhtml-3.14 || return 1
    #make || return 1
    #make DESTDIR=$startdir/pkg install
    # Some adjusts to make mysql-workbench run
    #cd $startdir/pkg/usr/bin
    #mv mysql-workbench mysql-wb
    #mv mysql-workbench-bin mysql-wb-bin
    #install -m755 $startdir/src/mysql-workbench.sh mysql-workbench
    #rm -rf $startdir/pkg/usr/lib/
    # Fixed startup scripts
    install -m755 $startdir/mysql-administrator $pkgdir/usr/bin
    install -m755 $startdir/mysql-query-browser $pkgdir/usr/bin
    md5sums=('b8efefbf20b7264c8f3afd34424467d7'
    '4279c75bb5e6c2bfcb16c98817d55b80'
    '4625629385142862cd01d37f814d5e80'
    '33205d45329ab4fa4096b6b298a60b2c'
    '1368384dac87bc0a64adb774ab2e6cbd'
    '2ff840932405f7a6a6863f633a639fe9')
    New mysql-gui-tools.chema_change_freeze_bug.patch: (only changes to paths in file. Don't know if this was really needed, but I belive so.)
    diff -ruN mysql-gui-tools-5.0r11.ORIG/query-browser/source/linux/MQQueryDispatcher.cc mysql-gui-tools-5.0r11/query-browser/source/linux/MQQueryDispatcher.cc
    --- mysql-gui-tools-5.0r11.ORIG/query-browser/source/linux/MQQueryDispatcher.cc 2007-02-21 01:31:19.000000000 +0000
    +++ mysql-gui-tools-5.0r11/query-browser/source/linux/MQQueryDispatcher.cc 2007-11-09 15:31:38.000000000 +0000
    @@ -558,8 +558,8 @@
    Gtk::Main::instance()->run();
    - while(!req->is_complete())
    +// while(!req->is_complete())
    +// ;
    return sps;
    I hope this helps anyone else who needs to fix this!

  • Oracle 11g Install hangs when "creating clon database"

    hi, i'm new with all this stuff, i'm trying to install oracle 11g on a windows 2003 standard edition and the installation hangs in this point:
    http://img233.imageshack.us/img233/1458/installni7.jpg
    it's almost an hour and it's stuck in 45% when trying to create clon database in "Creating and starting oracle instance".
    I checked the log file but it says nothing weird, just that everything went well and a "restore" was made.
    what can i do?
    thanks!!!

    If someone still needs an answer to this:
    I had a similar problem with 10g. If you use certain special characters in the password for the database during its creation, some script will hang forever at 45% of the database creation. Just use a plain password without special characters. At the end of the database creation you can change all passwords. At that stage you can use special characters without any problem.
    I don't know if this is the same in 11g, but it sounds very similar.
    JD

  • OMW hangs on mapping some databases

    Hello:
    I am migrating about 20 databases from MS SQL 6.5 to Oracle
    8.0.5. 15 of the databased migrate flawlessly, but 5 of them
    hang on OMW during the mapping phase. I have to "End Task" the
    program to get it to stop. I have played with the source model
    by trying several variations of removing some tables, indexes,
    etc. I can get the mapping to work when I remove all ot the
    tables... but that is not too helpful.
    I am using:
    OMW 1.2.1.0.0
    MS SQL 6.5
    Oracle 8.0.5 on NT for the repository DB (same machine as the
    migration tool)
    Target DB Oracle 8.0.5 on Unix, but I do not get that far...
    Any ideas?
    TIA,
    ~Sean
    null

    15 out of 20 is not bad :-) but our goal is 20 out of 20.
    Please email a schema dump of one of the troublesome DB's to
    [email protected] and development will investigate.
    Donal
    null

  • Facing error while performing hang analysis in RAC database.

    Hi,
    We have been performing hang analysis in one of our RAC databases. While doing this we faced the below error after executing the systemstate command.
    SQL> oradebug -g all dump systemstate 266
    Error 601 encountered by local DIAG [ospid=11984]
    Error 601 encountered by remote DIAG [ospid=25384][instance=2]
    Error 601 encountered by remote DIAG [ospid=688][instance=3]
    Please help us to troubleshoot this and guide us on how to proceed.
    Database version is as follows.
    11.1.0.7
    OS version is as follows,
    $ uname -a
    SunOS isdtarhp001 5.10 Generic_144488-06 sun4v sparc SUNW,T5240
    $ isainfo -vk
    64-bit sparcv9 kernel modules

    Hi..
    Check the note # SAP Note 1121978
    SAP Note 1121978 - Recommended settings to improve peformance risk analysis.
    Check for the following...
    CONFIGTOOL>SERVER>MANAGERS>THREADMANAGER
    ChangeThreadCountStep =50
    InitialThreadCount= 100
    MaxThreadCount =200
    MinThreadCount =50
    Regards
    Gangadhar

  • Workflow builder Hanges on saving to Database

    hi friends ....
    I am using workflow 2.5......while i was done with everything....................i choose File ->save as -> database .....then i have given username and password with connect string.....
    I am connecting to Oracle R12 with Apps account.......
    After I pressed OK button...it just hangs out.......for 10 minutes....and then I have to go to task manager and kill its process
    but when I connect to database for opening a file.....it is connecting without any errors.....
    please help me....how to save ,,in database without this ??

    Do not use the builder to save directly to the database, specially if your workflow definition becomes large. Instead, save the file locally and ftp it to the server and use WFLOAD to upload it into the database. It is much faster.
    Check the WF Administrator guide on how to use it, but here it is anyway:
    The Workflow Definitions Loader program is located on your server in the bin subdirectory of the Oracle Home directory structure
    Run the program from your operating system prompt as follows (replacing <username/password@database> with the username, password and Oracle Net connect string or alias to your database):
    To apply a seed data upgrade to a database from an input file, type:
    wfload <username/password@database> <input_file>
    To upload process definitions from an input file to a database, type:
    wfload –u <username/password@database> <input_file>
    For instance
    WFLOAD -u owf_mgr/<password> MYWFDEF.wft.
    Regards,
    Alejandro

  • Application hangs during accessing transactional database.

    Hi! Here is minimazed test which creates a database with secondary index, fills it with some records and then starts two threads. One thread adds records, another thread deletes records. The problem is that threads hangs with the following backtraces:
    (dbx) thread t@2
    Current function is __db_pthread_mutex_lock
    204 RET_SET((pthread_cond_wait(
    t@2 (l@2) stopped in ___lwp_cond_wait at 0xfffffd7ffee6e8ea
    0xfffffd7ffee6e8ea: ___lwp_cond_wait+0x000a: jae ___lwp_cond_wait+0x18 [ 0xfffffd7ffee6e8f8, .+0xe ]
    (dbx) where
    current thread: t@2
    [1] ___lwp_cond_wait(0xfffffd7ffeb88620, 0xfffffd7ffeb88608, 0x0, 0x0, 0xfffffd7ffeb88608, 0xfffffd7ffeb9dfb8), at 0xfffffd7ffee6e8ea
    [2] __lwp_cond_wait(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee574ec
    =>[3] __db_pthread_mutex_lock(dbenv = 0x41c7f0, mutex = 118U), line 204 in "mut_pthread.c"
    [4] __lock_get_internal(lt = 0x420f90, locker = 2147484656U, flags = 0, obj = 0x424eb0, lock_mode = DB_LOCK_WRITE, timeout = 0, lock = 0xfffffd7ffe9fd760), line 808 in "lock.c"
    [5] __lock_vec(dbenv = 0x41c7f0, locker = 2147484656U, flags = 0, list = 0xfffffd7ffe9fd748, nlist = 2, elistp = 0xfffffd7ffe9fd740), line 116 in "lock.c"
    [6] __db_lget(dbc = 0x424df0, action = 2, pgno = 5U, mode = DB_LOCK_WRITE, lkflags = 0, lockp = 0xfffffd7ffe9fd8d8), line 1006 in "db_meta.c"
    [7] __bam_search(dbc = 0x424df0, root_pgno = 1U, key = 0xfffffd7ffe9fdc68, flags = 1410U, slevel = 1, recnop = (nil), exactp = 0xfffffd7ffe9fda6c), line 489 in "bt_search.c"
    [8] __bam_c_search(dbc = 0x424df0, root_pgno = 0, key = 0xfffffd7ffe9fdc68, flags = 25U, exactp = 0xfffffd7ffe9fda6c), line 2479 in "bt_cursor.c"
    [9] __bam_c_get(dbc = 0x424df0, key = 0xfffffd7ffe9fdc68, data = 0xfffffd7ffe9fdce0, flags = 25U, pgnop = 0xfffffd7ffe9fdb34), line 953 in "bt_cursor.c"
    [10] __db_c_get(dbc_arg = 0x42f6f0, key = 0xfffffd7ffe9fdc68, data = 0xfffffd7ffe9fdce0, flags = 25U), line 689 in "db_cam.c"
    [11] __db_c_put(dbc_arg = 0x424460, key = 0xfffffd7ffe9fdf28, data = 0xfffffd7ffe9fdf00, flags = 20U), line 1327 in "db_cam.c"
    [12] __db_put(dbp = 0x41d070, txn = 0x423f30, key = 0xfffffd7ffe9fdf28, data = 0xfffffd7ffe9fdf00, flags = 20U), line 380 in "db_am.c"
    [13] __db_put_pp(dbp = 0x41d070, txn = 0x423f30, key = 0xfffffd7ffe9fdf28, data = 0xfffffd7ffe9fdf00, flags = 20U), line 1500 in "db_iface.c"
    [14] Db::put(this = 0x41c708, txnid = (nil), key = 0xfffffd7ffe9fdf28, value = 0xfffffd7ffe9fdf00, flags = 20U), line 340 in "cxx_db.cpp"
    [15] Storage::put(this = 0x41c690, key = 2003, data = 2003), line 114 in "bdb_put_del_hang.cpp"
    [16] reading_thread_func(arg = (nil)), line 161 in "bdb_put_del_hang.cpp"
    [17] thrsetup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee6b40b
    [18] lwpstart(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee6b640
    (dbx) thread t@3
    Current function is __db_pthread_mutex_lock
    204 RET_SET((pthread_cond_wait(
    t@3 (l@3) stopped in ___lwp_cond_wait at 0xfffffd7ffee6e8ea
    0xfffffd7ffee6e8ea: ___lwp_cond_wait+0x000a: jae ___lwp_cond_wait+0x18 [ 0xfffffd7ffee6e8f8, .+0xe ]
    (dbx) where
    current thread: t@3
    [1] ___lwp_cond_wait(0xfffffd7ffeb88668, 0xfffffd7ffeb88650, 0x0, 0x0, 0xfffffd7ffeb88650, 0xfffffd7ffeb9dfb8), at 0xfffffd7ffee6e8ea
    [2] __lwp_cond_wait(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee574ec
    =>[3] __db_pthread_mutex_lock(dbenv = 0x41c7f0, mutex = 119U), line 204 in "mut_pthread.c"
    [4] __lock_get_internal(lt = 0x420f90, locker = 2147484655U, flags = 0, obj = 0x424b80, lock_mode = DB_LOCK_WRITE, timeout = 0, lock = 0xfffffd7ffe7fd7d0), line 808 in "lock.c"
    [5] __lock_vec(dbenv = 0x41c7f0, locker = 2147484655U, flags = 0, list = 0xfffffd7ffe7fd7b8, nlist = 2, elistp = 0xfffffd7ffe7fd7b0), line 116 in "lock.c"
    [6] __db_lget(dbc = 0x424ac0, action = 2, pgno = 5U, mode = DB_LOCK_WRITE, lkflags = 0, lockp = 0xfffffd7ffe7fd948), line 1006 in "db_meta.c"
    [7] __bam_search(dbc = 0x424ac0, root_pgno = 1U, key = 0xfffffd7ffe7fdc48, flags = 1410U, slevel = 1, recnop = (nil), exactp = 0xfffffd7ffe7fdadc), line 489 in "bt_search.c"
    [8] __bam_c_search(dbc = 0x424ac0, root_pgno = 0, key = 0xfffffd7ffe7fdc48, flags = 8U, exactp = 0xfffffd7ffe7fdadc), line 2479 in "bt_cursor.c"
    [9] __bam_c_get(dbc = 0x424ac0, key = 0xfffffd7ffe7fdc48, data = 0xfffffd7ffe7fdc70, flags = 8U, pgnop = 0xfffffd7ffe7fdba4), line 871 in "bt_cursor.c"
    [10] __db_c_get(dbc_arg = 0x424790, key = 0xfffffd7ffe7fdc48, data = 0xfffffd7ffe7fdc70, flags = 8U), line 689 in "db_cam.c"
    [11] __db_c_del_primary(dbc = 0x425120), line 2249 in "db_cam.c"
    [12] __db_c_del(dbc = 0x425120, flags = 0), line 285 in "db_cam.c"
    [13] __db_del(dbp = 0x41d070, txn = 0x42f5d0, key = 0xfffffd7ffe7fdf30, flags = 0), line 492 in "db_am.c"
    [14] __db_del_pp(dbp = 0x41d070, txn = 0x42f5d0, key = 0xfffffd7ffe7fdf30, flags = 0), line 485 in "db_iface.c"
    [15] Db::del(this = 0x41c708, txnid = (nil), key = 0xfffffd7ffe7fdf30, flags = 0), line 226 in "cxx_db.cpp"
    [16] Storage::del(this = 0x41c690, key = 501), line 131 in "bdb_put_del_hang.cpp"
    [17] writing_thread_func(arg = (nil)), line 173 in "bdb_put_del_hang.cpp"
    [18] thrsetup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee6b40b
    [19] lwpstart(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffee6b640
    Looks like some problems with locking, because if I set_lk_detect(DB_LOCK_DEFAULT) some methods fails with DB_LOCK_DEADLOCK, but i do not understand where is raise condition, because both threads calls just a single operations. Can anybody explain the problem?
    Here is soruce code:
    #include <set>
    #include "pthread.h"
    #include "bdb/db_cxx.h"
    static const char *__THIS_FILE__ = __FILE__;
    class Storage
    private:
    DbEnv m_bdbEnv;
    Db m_bdbLongKeys, m_bdbLongKeysSec;
    static void bdb_error_call( const DbEnv dbEnv, const char errpfx, const char *msg )
    printf( "%s\n", msg );
    static int bdb_sec_callback( Db secondary, const Dbt pkey, const Dbt pdata, Dbt skey )
    skey->set_data( pdata->get_data() );
    skey->set_size( pdata->get_size() );
    return 0;
    public:
    Storage( void )
    : m_bdbEnv( DB_CXX_NO_EXCEPTIONS ),
    m_bdbLongKeys( &m_bdbEnv, DB_CXX_NO_EXCEPTIONS ),
    m_bdbLongKeysSec( &m_bdbEnv, DB_CXX_NO_EXCEPTIONS )
    int open( const char *storageURL )
    m_bdbEnv.set_errcall( bdb_error_call );
    static const u_int32_t envFlags =
    DB_CREATE | /* create if not exists */
    DB_INIT_MPOOL | /* memory pool */
    DB_INIT_LOCK | /* locking */
    DB_INIT_LOG | /* recovery */
    DB_INIT_TXN | /* transactions */
    DB_THREAD;
    int error = m_bdbEnv.open( storageURL, envFlags, 0 );
    if (error != 0)
    m_bdbEnv.err( error, "DbEnv::open() failed." );
    return -1;
    static const u_int32_t dbFlags =
    DB_CREATE | /* create if not exists */
    DB_AUTO_COMMIT | /* auto commit */
    DB_THREAD;
    m_bdbLongKeys.set_errcall( bdb_error_call );
    error = m_bdbLongKeys.open( NULL, "longKeys.db", NULL, DB_BTREE, dbFlags, 0 );
    if (error != 0)
    m_bdbLongKeys.err( error, "Db::open() failed." );
    return -1;
    m_bdbLongKeysSec.set_errcall( bdb_error_call );
    m_bdbLongKeysSec.set_flags( DB_DUP | DB_DUPSORT );
    if (error != 0)
    m_bdbLongKeysSec.err( error, "Db::set_flags() failed (%s:%d).",
    __THIS_FILE__, __LINE__ );
    return -1;
    error = m_bdbLongKeysSec.open( NULL, "longKeys-sec.db", NULL, DB_BTREE, dbFlags, 0 );
    if (error != 0)
    m_bdbLongKeysSec.err( error, "Db::open() failed (%s:%d).",
    __THIS_FILE__, __LINE__ );
    return -1;
    error = m_bdbLongKeys.associate( NULL, &m_bdbLongKeysSec, bdb_sec_callback, DB_AUTO_COMMIT );
    if (error != 0)
    m_bdbLongKeys.err( error, "Db::associate() failed (%s:%d).",
    __THIS_FILE__, __LINE__ );
    return -1;
    return 0;
    int close( void )
    m_bdbLongKeysSec.close(0);
    m_bdbLongKeys.close(0);
    m_bdbEnv.close(0);
    return 0;
    int put( long key, long data )
    Dbt dbtKey, dbtData;
    dbtKey.set_data( (void*) &key );
    dbtKey.set_size( sizeof(key) );
    dbtData.set_data( (void*) &data );
    dbtData.set_size( sizeof(data) );
    int error = m_bdbLongKeys.put( NULL, &dbtKey, &dbtData, DB_NOOVERWRITE );
    if (error != 0)
    m_bdbLongKeys.err( error, "Db::put() failed (%s:%d)", __THIS_FILE__, __LINE__ );
    return -1;
    return 0;
    int del( long key )
    Dbt dbtKey;
    dbtKey.set_data( (void*) &key );
    dbtKey.set_size( sizeof(key) );
    int error = m_bdbLongKeys.del( NULL, &dbtKey, 0 );
    if (error != 0)
    m_bdbLongKeys.err( error, "Db::del() failed (%s:%d)", __THIS_FILE__, __LINE__ );
    return -1; }
    return 0;
    Storage *g_storage = NULL;
    static long g_numberTotal = 1000;
    static long g_numberToRead = g_numberTotal/2;
    static std::set<long> g_toRead;
    static std::set<long> g_toWrite;
    extern "C" void reading_thread_func( void arg );
    extern "C" void writing_thread_func( void arg );
    void reading_thread_func( void arg )
    std::set<long>::const_iterator it = g_toRead.begin();
    std::set<long>::const_iterator it_end = g_toRead.end();
    for (int j = 2*g_numberTotal+1; it != it_end; ++it) {
    ++j;
    if (g_storage->put(j, j) != 0)
    printf( "put() failed (%s:%d).\n", __THIS_FILE__, __LINE__ );
    return NULL;
    void writing_thread_func( void arg )
    std::set<long>::const_iterator it = g_toWrite.begin();
    std::set<long>::const_iterator it_end = g_toWrite.end();
    for (; it != it_end; it++) {
    if (g_storage->del(*it) == 0)
    printf( "Deleted key %d\n", *it );
    else
    printf( "Failed to delete key %d\n", *it );
    return NULL;
    int main( int argc, char *argv[] )
    pthread_t read_tid, write_tid;
    if (g_numberToRead > g_numberTotal)
    return 1;
    g_storage = new Storage;
    if (g_storage->open("test_storage") != 0)
    return 3;
    for (int i = 0; i < g_numberTotal; ++i) {
    if (g_storage->put(i, i) != 0)
    std::cout << "Failed to add key '" << i << "'" << std::endl;
    if (i <= g_numberToRead)
    g_toRead.insert(i);
    else
    g_toWrite.insert(i);
    pthread_create( &read_tid, NULL, reading_thread_func, NULL );
    pthread_create( &write_tid, NULL, writing_thread_func, NULL );
    pthread_join( read_tid, NULL );
    pthread_join( write_tid, NULL );
    if (g_storage != NULL) {
    g_storage->close();
    delete g_storage;
    return 0;
    }

    Hi,
    Thank you for you answer, but I still not happywith
    it.
    I attentively read the documents you providedbefore
    posted the message on the forum. Ok. Let me explain again.
    I could enclose these calls in each owntransaction
    (and I tried it, but had the same result) but itdoes
    not make a sence if DB_AUTO_COMMIT flag wasspecified
    for the Db::open()Using transaction does not necessarily eliminate the
    chance of deadlock. Practically any application that
    uses locking may deadlock. Can you post here the
    example in which you are trying it transactionally?
    And maybe I will try to correct it.The example is in the my first message. It would be nice if you could suggest a good solution to workaround the deadlock.
    There is only ONE OPERATION from the BerkeleyDBAPI
    point of view in each thread under the transaction
    and I would expect that the one single Db::put()or
    Db::del() can not cause the deadlock. Why it
    happens?Because "With the exception of the Queue access
    method, the Berkeley DB access methods do page-level
    locking." (Locking granularity:
    http://www.oracle.com/technology/documentation/berkele
    y-db/db/ref/lock/page.html)
    The only solution I see now is use
    DbEnv::set_lk_detect() and handle the
    DB_LOCK_DEADLOCK error code on each DB operationand
    retry the operation on the deadlock, but it is the
    last thing I would like to use.
    The conclusion:
    - why single API call of Db::put() or Db::del()under
    transaction made in the same time cause adeadlock?
    Because both of them will require write locks on the
    same page.
    "The first component of the infrastructure, deadlock
    detection, is not so much a requirement specific to
    transaction-protected applications, but instead is
    necessary for almost all applications in which more
    than a single thread of control will be accessing the
    database at one time. Even when Berkeley DB
    automatically handles database locking, it is
    normally possible for deadlock to occur. Because the
    underlying database access methods may update
    multiple pages during a single Berkeley DB API call,
    deadlock is possible even when threads of control are
    making only single update calls into the database."
    (Deadlock detection:
    http://www.oracle.com/technology/documentation/berkele
    y-db/db/ref/transapp/deadlock.html)
    Please let me know if this time I was clear enough.
    Bogdan Coman

  • 10g on XP: hangs when creating custom database

    Hi
    When installing 10g on Windows XP SP2, I'm successful if I choose the software only. If I try to create the custom database with the Oracle database assistent, the oui stops after 2% with:
    - ORA-00604: error occured at recursive SQL level 1
    - ORA-02248: invalid option for ALTER SESSION
    I've already installed a 10g client, with which I can connect to another Oracle server without problem.
    Any idea, why this happens?

    Review the thread given below it talks about changing couple of oracle registry values as a fix...
    Re: Cant create a new db with dbca on WinXP Pro
    Good luck!
    -Ramesh

  • Sqlplus hangs when connecting to database after applying patch 10.2.0.4

    Hi, I applied the patchset 10.2.0.4 and CPU January 2010 on my 10g database. my server is a windows 2003 x64 with a specif user (oradb)
    When I tried to logon to the database, it took 15 minutes for a normal user to logon and every request is almost as long.
    if I log as SYSDBA everything looks fine.
    I don't see anything relevant in the alert_log or listener.log
    The only thing unusual that I can see is from the view v$session_wait. It looks that there is 26 to 28 processes that are connected with timeout status, the database that I have in lab runs with 11-16 processes.
    Can somebody tell me what can I look for ?
    Thank you

    I use the listener both locally and on remote console but it's always the same behavior :
    cmd> sqlplus sys@production as sysdba // Connect without a glitch
    cmd> sqlplus user1@production // Connect after 15 minutes
    There's nothing in the alert_production.log and listener.log
    Actually, any user that has the SYSDBA privilege is able to connect without any issue. I tried the same thing with test
    cmd> sqlplus test1@production as sysdba
    Edited by: APQ on Jan 17, 2010 8:11 PM

  • Oracle forms 6i hangs while connection to database

    Hi,
    We are runing oracle forms 6i with patch 17 on windows xp and windows 7 with oracle database 10g(10.2.0.4) 64bits on window 2003 64bits every thing is fine but sometime all of the sudden connection get stuck and unable to get access to database but other application work fine which are using 10g clients software this happen often not every day only solution is to restart the DB's I try to rise SR but didn't get proper answer from them any help is greatly appriciated...
    Regards,
    user622720

    If you have already opened a SR with support which lacks of progress, there is only one right thing to do: Escalate the SR and/or change the severity of your SR! Read Note 199389.1 how to escalate Service Requests. Also I'd bring the database on the latest Patchlevel (10.2.0.5) with the latest CPU/PSU Patches and see if the error reproduces.
    cheers

  • AIA Service Constructor hanging

    I am attempting to use the AIA Service Contructor extension for JDeveloper 11g but any attempt at going through the wizard does not finish. Anyone else seen something similar?

    Hi,
    Which version of SOA you are using?
    Can you please update the Service Constructor on your Jdev with the latest.
    Regards,
    Narayana

  • Hang in initializing database in RedHat Linux 7.0

    I could successfully install oracle 8.1.6 in RedHat Linux7.0. Although it installed oracle software it hang when creating a database ( Actually in initializing the Database )It doesn't give any error message.

    I could successfully install oracle 8.1.6 in RedHat Linux7.0. Although it installed oracle software it hang when creating a database ( Actually in initializing the Database )It doesn't give any error message.

  • RunInstaller hangs on Oracle Database Configuration Assistant

    Hi all,
    Since 3 hours, the runInstaller seems to hang on the Oracle Database Configuration Assistant. Even though i click on stop, it still continue...
    How can i know if it does anything ? Must i kill the process and run again the runInstaller at the beginning ?
    Thanks for help!

    Now i come through the step :
    - Oracle net Configuartion Assistant OK
    - Oracle Database configuration Assistant failed with no reason
    - Agent Configuration Assistant OK
    - Starting httpServer failed with
    Syntax error on line 92 of /db1/app/oracle/product/9.2.0/sqlplus/admin/isqlplus.conf:
    FastCgiServer: redefinition of a previously defined FastCGI server "/db1/app/oracle/product/9.2.0/bin/isqlplus"
    /db1/app/oracle/product/9.2.0/Apache/Apache/bin/apachectl start: httpd could not be started
    I'd like to know what to do to re-install the Oracle Database configuration Assistant ?
    Thanks for help

Maybe you are looking for