In memory application using set_cachesize!!!

set_cachesize 1GB
DB_SYSTEM_MEM is used
only logic name of database is used
"ipcs -m" shows 1GB used in shared memory
can I create an in memory application without using set_catchsize?
does it possible to control the cache size at runtime?

269f0e65-9669-4d4e-87a3-5a144d0a5733 wrote:
can I create an in memory application without using set_catchsize?
set_cachesize has nothing to do with creating an in-memory application or not. It configures the size of the cache ( http://docs.oracle.com/cd/E17076_03/html/programmer_reference/general_am_conf.html#am_conf_cachesize ), which is in memory. In order to learn how to create an in-memory application, please read: http://docs.oracle.com/cd/E17076_03/html/programmer_reference/program_ram.html
269f0e65-9669-4d4e-87a3-5a144d0a5733 wrote:
does it possible to control the cache size at runtime?
Yes, by using DB_ENV->set_cachesize(). The supplied size will be rounded to the nearest multiple of the region size and may not be larger than the maximum size configured with DB_ENV->set_cache_max().
DB_ENV->set_cachesize - http://docs.oracle.com/cd/E17076_03/html/api_reference/C/envset_cachesize.html
Bogdan

Similar Messages

  • Memory leakage in Swing application using hash table to retrive data

    Hi I have developed one application using swing , I am using hashtable to retrieve data from database . but that cause me problem my size of application increases automatically for every click in the application.I think memory leakage is there.
    would anybody help me to remove this error

    Hi I have developed one application using swing , I am using hashtable to retrieve data from database . but that cause me problem my size of application increases automatically for every click in the application.I think memory leakage is there.
    would anybody help me to remove this error

  • How to clear memory in MVC when exiting from application using BACK ?

    Hi Friends ,
                I am using the JavaScript back function to exit from my application to the calling page . My BSP application is stateful and MVC based . I am calling my application using the SYSTEM application sample pages for session management - session_single_frame.htm & session_default_frame.htm .
    I am observing that if i run my application in Portal whenever i hit back ..i do return to the calling page but again if i come to my BSP application the old data is seen . If i do the testing outside portal environs it is cleared ..i believe as the session close popup is seen and executes completely .But within portal as the popups are not enabled may be the session clean up is not happening .
    How can I overcome the situation . i dont want to exit as i want the user a way to go back to the calling page directly .
    Appreciate your help in advance.

    it could be because of the caching property of the BSP iview.
    set "Allow Client-Side Caching" of BSP iview to "NO" and try.
    Regards
    Raja

  • Modify getting_started example_c code to an In-Memory application

    I am learning Berkeley DB In-Memory Application. I use
    db-4.7.25/examples_c as a base code and made a simply modifications. Please see
    below. It appears that something I missed or I don't understand how to
    write an In-Memory Application with Berkeley DB. It would be very
    appreciated if you could point me where I missed and what I did wrong.
    gettingstarted_common.c:
    /* Opens a database */
    int
    open_database(DB **dbpp, const char *file_name,
    const char program_name, FILE error_file_pointer,
    int is_secondary)
    DB dbp;    / For convenience */
    u_int32_t open_flags;
    int ret;
    /* Initialize the DB handle */
    ret = db_create(&dbp, NULL, 0);
    if (ret != 0) {
    fprintf(error_file_pointer, "%s: %s\n", program_name,
    db_strerror(ret));
    return (ret);
    /* set the cache size here */
    ret = dbp->set_cachesize(dbp,
    0, /* 0 gigabytes */
    10 * 1024 * 1024, /* 10 megabytes */
    1); /* create 1 cashe, all memory will
    * be allocated contigously */
    if (ret != 0){
    dbp->err(dbp, ret, "Database open failed");
    return (ret);
    /* Point to the memory malloc'd by db_create() */
    *dbpp = dbp;
    /* Set up error handling for this database */
    dbp->set_errfile(dbp, error_file_pointer);
    dbp->set_errpfx(dbp, program_name);
    * If this is a secondary database, then we want to allow
    * sorted duplicates.
    if (is_secondary) {
    ret = dbp->set_flags(dbp, DB_DUPSORT);
    if (ret != 0) {
    dbp->err(dbp, ret, "Attempt to set DUPSORT flags failed.",
    file_name);
    return (ret);
    /* Set the open flags */
    open_flags = DB_CREATE; /* Allow database creation */
    /* Now open the database */
    ret = dbp->open(dbp, /* Pointer to the database */
    NULL, /* Txn pointer */
    NULL, /* File name */
    file_name, /* Logical db name */
    DB_BTREE, /* Database type (using btree) */
    open_flags, /* Open flags */
    0); /* File mode. Using defaults */
    if (ret != 0) {
    dbp->err(dbp, ret, "Database '%s' open failed.", file_name);
    return (ret);
    return (0);
    /* opens all databases */
    int
    databases_setup(STOCK_DBS my_stock, const char program_name,
    FILE *error_file_pointer)
    int ret;
    const char *db_vendor = "in_mem_vendor";
    const char *db_inventory = "in_mem_inventory";
    const char *db_itemname = "in_mem_itemname";
    /* Open the vendor database */
    ret = open_database(&(my_stock->vendor_dbp),
    // my_stock->vendor_db_name,
    db_vendor,
    program_name, error_file_pointer,
    PRIMARY_DB);
    if (ret != 0)
    * Error reporting is handled in open_database() so just return
    * the return code.
    return (ret);
    /* Open the inventory database */
    ret = open_database(&(my_stock->inventory_dbp),
    // my_stock->inventory_db_name,
    db_inventory,
    program_name, error_file_pointer,
    PRIMARY_DB);
    if (ret != 0)
    * Error reporting is handled in open_database() so just return
    * the return code.
    return (ret);
    * Open the itemname secondary database. This is used to
    * index the product names found in the inventory
    * database.
    ret = open_database(&(my_stock->itemname_sdbp),
    // my_stock->itemname_db_name,
    db_itemname,
    program_name, error_file_pointer,
    SECONDARY_DB);
    if (ret != 0)
    * Error reporting is handled in open_database() so just return
    * the return code.
    return (0);
    * Associate the itemname db with its primary db
    * (inventory db).
    my_stock->inventory_dbp->associate(
    my_stock->inventory_dbp, /* Primary db */
    NULL, /* txn id */
    my_stock->itemname_sdbp, /* Secondary db */
    get_item_name, /* Secondary key creator */
    0); /* Flags */
    printf("databases opened successfully\n");
    return (0);
    example_database_load.c:
    * Loads the contents of vendors.txt and inventory.txt into
    * Berkeley DB databases. Also causes the itemname secondary
    * database to be created and loaded.
    int
    main(int argc, char *argv[])
    STOCK_DBS my_stock;
    int ch, ret;
    size_t size;
    char basename, inventory_file, *vendor_file;
    /* Initialize the STOCK_DBS struct */
    initialize_stockdbs(&my_stock);
    /* Initialize the base path. */
    basename = "./";
    /* Parse the command line arguments */
    while ((ch = getopt(argc, argv, "b:h:")) != EOF)
    switch (ch) {
    case 'h':
    if (optarg[strlen(optarg)-1] != '/' &&
    optarg[strlen(optarg)-1] != '\\')
    return (usage());
    my_stock.db_home_dir = optarg;
    break;
    case 'b':
    if (basename[strlen(basename)-1] != '/' &&
    basename[strlen(basename)-1] != '\\')
    return (usage());
    basename = optarg;
    break;
    case '?':
    default:
    return (usage());
    /* Identify the files that will hold our databases */
    // set_db_filenames(&my_stock);
    /* Find our input files */
    size = strlen(basename) + strlen(INVENTORY_FILE) + 1;
    inventory_file = malloc(size);
    snprintf(inventory_file, size, "%s%s", basename, INVENTORY_FILE);
    size = strlen(basename) + strlen(VENDORS_FILE) + 1;
    vendor_file = malloc(size);
    snprintf(vendor_file, size, "%s%s", basename, VENDORS_FILE);
    /* Open all databases */
    ret = databases_setup(&my_stock, "example_database_load", stderr);
    if (ret) {
    fprintf(stderr, "Error opening databases\n");
    databases_close(&my_stock);
    return (ret);
    ret = load_vendors_database(my_stock, vendor_file);
    if (ret) {
    fprintf(stderr, "Error loading vendors database.\n");
    databases_close(&my_stock);
    return (ret);
    ret = load_inventory_database(my_stock, inventory_file);
    if (ret) {
    fprintf(stderr, "Error loading inventory database.\n");
    databases_close(&my_stock);
    return (ret);
    /* close our environment and databases */
    databases_close(&my_stock);
    printf("Done loading databases.\n");
    return (ret);
    example_database_read.c:
    * Searches for a inventory item based on that item's name. The search is
    * performed using the item name secondary database. Displays all
    * inventory items that use the specified name, as well as the vendor
    * associated with that inventory item.
    * If no item name is provided, then all inventory items are displayed.
    int
    main(int argc, char *argv[])
    STOCK_DBS my_stock;
    int ch, ret;
    char *itemname;
    /* Initialize the STOCK_DBS struct */
    initialize_stockdbs(&my_stock);
    /* Parse the command line arguments */
    itemname = NULL;
    while ((ch = getopt(argc, argv, "h:i:?")) != EOF)
    switch (ch) {
    case 'h':
    if (optarg[strlen(optarg)-1] != '/' &&
    optarg[strlen(optarg)-1] != '\\')
    return (usage());
    my_stock.db_home_dir = optarg;
    break;
    case 'i':
    itemname = optarg;
    break;
    case '?':
    default:
    return (usage());
    /* Identify the files that hold our databases */
    // set_db_filenames(&my_stock);
    /* Open all databases */
    ret = databases_setup(&my_stock, "example_database_read", stderr);
    if (ret != 0) {
    fprintf(stderr, "Error opening databases\n");
    databases_close(&my_stock);
    return (ret);
    if (itemname == NULL)
    ret = show_all_records(&my_stock);
    else
    ret = show_records(&my_stock, itemname);
    /* close our databases */
    databases_close(&my_stock);
    return (ret);
    Run test results:
    [user@localhost in_memory]$ ls
    build_command.txt example_database_read.c gettingstarted_common.h load vendors.txt
    example_database_load.c example_database_read.o gettingstarted_common.o makefile
    example_database_load.o gettingstarted_common.c inventory.txt read
    [user@localhost in_memory]$ ./load
    databases opened successfully
    databases closed.
    Done loading databases.
    [user@localhost in_memory]$ ls
    build_command.txt example_database_read.c gettingstarted_common.h load vendors.txt
    example_database_load.c example_database_read.o gettingstarted_common.o makefile
    example_database_load.o gettingstarted_common.c inventory.txt read
    [user@localhost in_memory]$ ./read -i "Zulu Nut"
    databases opened successfully
    No records found for 'Zulu Nut'
    databases closed.
    [user@localhost in_memory]$ ./read
    databases opened successfully
    databases closed.

    Hello. This behavior looks correct to me, could you please specify what you were expecting to see?
    load creates an in-memory database because you don't specify a file name, and that database is lost when load finishes. If you want a database to persist after a program exits, it needs to be written to disk.
    Ben Schmeckpeper

  • Reclaiming memory when using concurrent data store

    Hello,
    I use the concurrent data store in my python application and I'm noticing that
    the system memory usage increases and is never freed when the application
    is done. The following python code is a unit test that simulates my app's workload:
    ##########BEGIN PYTHON CODE##################
    """TestCases for multi-threaded access to a DB.
    #import gc
    #gc.enable()
    #gc.set_debug(gc.DEBUG_LEAK)
    import os
    import sys
    import time
    import errno
    import shutil
    import tempfile
    from pprint import pprint
    from random import random
    try:
        True, False
    except NameError:
        True = 1
        False = 0
    DASH = '-'
    try:
        from threading import Thread, currentThread
        have_threads = True
    except ImportError:
        have_threads = False
    import unittest
    verbose = 1
    from bsddb import db, dbutils
    class BaseThreadedTestCase(unittest.TestCase):
        dbtype       = db.DB_UNKNOWN  # must be set in derived class
        dbopenflags  = 0
        dbsetflags   = 0
        envflags     = 0
        def setUp(self):
            if verbose:
                dbutils._deadlock_VerboseFile = sys.stdout
            homeDir = os.path.join(os.path.dirname(sys.argv[0]), 'db_home')
            self.homeDir = homeDir
            try:
                os.mkdir(homeDir)
            except OSError, e:
                if e.errno <> errno.EEXIST: raise
            self.env = db.DBEnv()
            self.setEnvOpts()
            self.env.open(homeDir, self.envflags | db.DB_CREATE)
            self.filename = self.__class__.__name__ + '.db'
            self.d = db.DB(self.env)
            if self.dbsetflags:
                self.d.set_flags(self.dbsetflags)
            self.d.open(self.filename, self.dbtype, self.dbopenflags|db.DB_CREATE)
        def tearDown(self):
            self.d.close()
            self.env.close()
            del self.d
            del self.env
            #shutil.rmtree(self.homeDir)
            #print "\nGARBAGE:"
            #gc.collect()
            #print "\nGARBAGE OBJECTS:"
            #for x in gc.garbage:
            #    s = str(x)
            #    print type(x),"\n ", s
        def setEnvOpts(self):
            pass
        def makeData(self, key):
            return DASH.join([key] * 5)
    class ConcurrentDataStoreBase(BaseThreadedTestCase):
        dbopenflags = db.DB_THREAD
        envflags    = db.DB_THREAD | db.DB_INIT_CDB | db.DB_INIT_MPOOL
        readers     = 0 # derived class should set
        writers     = 0
        records     = 1000
        def test01_1WriterMultiReaders(self):
            if verbose:
                print '\n', '-=' * 30
                print "Running %s.test01_1WriterMultiReaders..." % \
                      self.__class__.__name__
            threads = []
            for x in range(self.writers):
                wt = Thread(target = self.writerThread,
                            args = (self.d, self.records, x),
                            name = 'writer %d' % x,
                            )#verbose = verbose)
                threads.append(wt)
            for x in range(self.readers):
                rt = Thread(target = self.readerThread,
                            args = (self.d, x),
                            name = 'reader %d' % x,
                            )#verbose = verbose)
                threads.append(rt)
            for t in threads:
                t.start()
            for t in threads:
                t.join()
        def writerThread(self, d, howMany, writerNum):
            #time.sleep(0.01 * writerNum + 0.01)
            name = currentThread().getName()
            start = howMany * writerNum
            stop = howMany * (writerNum + 1) - 1
            if verbose:
                print "%s: creating records %d - %d" % (name, start, stop)
            for x in range(start, stop):
                key = '%04d' % x
                #dbutils.DeadlockWrap(d.put, key, self.makeData(key),
                #                     max_retries=12)
                d.put(key, self.makeData(key))
                if verbose and x % 100 == 0:
                    print "%s: records %d - %d finished" % (name, start, x)
            if verbose:
                print "%s: finished creating records" % name
    ##         # Each write-cursor will be exclusive, the only one that can update the DB...
    ##         if verbose: print "%s: deleting a few records" % name
    ##         c = d.cursor(flags = db.DB_WRITECURSOR)
    ##         for x in range(10):
    ##             key = int(random() * howMany) + start
    ##             key = '%04d' % key
    ##             if d.has_key(key):
    ##                 c.set(key)
    ##                 c.delete()
    ##         c.close()
            if verbose:
                print "%s: thread finished" % name
            d.sync()
            del d
        def readerThread(self, d, readerNum):
            time.sleep(0.01 * readerNum)
            name = currentThread().getName()
            for loop in range(5):
                c = d.cursor()
                count = 0
                rec = c.first()
                while rec:
                    count += 1
                    key, data = rec
                    self.assertEqual(self.makeData(key), data)
                    rec = c.next()
                if verbose:
                    print "%s: found %d records" % (name, count)
                c.close()
                time.sleep(0.05)
            if verbose:
                print "%s: thread finished" % name
            del d
        def setEnvOpts(self):
            #print "Setting cache size:", self.env.set_cachesize(0, 2000)
            pass
    class BTreeConcurrentDataStore(ConcurrentDataStoreBase):
        dbtype  = db.DB_BTREE
        writers = 10
        readers = 100
        records = 100000
    def test_suite():
        suite = unittest.TestSuite()
        if have_threads:
            suite.addTest(unittest.makeSuite(BTreeConcurrentDataStore))
        else:
            print "Threads not available, skipping thread tests."
        return suite
    if __name__ == '__main__':
        unittest.main(defaultTest='test_suite')
        #print "\nGARBAGE:"
        #gc.collect()
        #print "\nGARBAGE OBJECTS:"
        #for x in gc.garbage:
        #    s = str(x)
        #    print type(x),"\n ", s
    ##########END PYTHON CODE##################Using the linux command 'top' prior to and during the execution of
    the python script above, I noticed that a considerable amount of memory
    is used up and never reclaimed when it ends.If you delete the db_home,
    however, the memory is reclaimed.
    Am I conjuring up the bsddb concurrent db store incorrectly somehow?
    I'm using python 2.5.1 and the builtin bsddb module.
    Thanks,
    Gerald
    Message was edited by:
    user590005
    Message was edited by:
    user590005

    I think I am seeing what you are reporing, but I need to check further into
    the reason for this.
    Running your program and monitoring with Top/vmstat before/after the test, and
    after deleting db_home is:
    BEFORE RUNNING PYTHON TEST:
    ++++++++++++++++++++++++++
    top - 17:00:17 up 7:00, 6 users, load average: 0.07, 0.38, 0.45
    Tasks: 111 total, 1 running, 109 sleeping, 0 stopped, 1 zombie
    Cpu(s): 3.6% us, 0.7% sy, 0.0% ni, 95.5% id, 0.0% wa, 0.2% hi, 0.0% si
    Mem: 1545196k total, 1407100k used, 138096k freeTerminal, 20700k buffers
    Swap: 2040212k total, 168k used, 2040044k free, 935936k cached
    [swhitman@swhitman-lnx python]$ vmstat
    procs -----------memory---------- ---swap-- -----io---- system ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    1 0 160 247096 20860 833604 0 0 31 22 527 675 7 1 91 1
    AFTER RUNNING PYTHON TEST:
    ++++++++++++++++++++++++++
    top - 17:02:00 up 7:02, 6 users, load average: 2.58, 1.36, 0.80
    Tasks: 111 total, 1 running, 109 sleeping, 0 stopped, 1 zombie
    Cpu(s): 3.7% us, 0.5% sy, 0.0% ni, 95.8% id, 0.0% wa, 0.0% hi, 0.0% si
    Mem: 1545196k total, 1508156k used, 37040k free, 20948k buffers
    Swap: 2040212k total, 168k used, 2040044k free, 1035788k cached
    [swhitman@swhitman-lnx python]$ vmstat
    procs -----------memory---------- ---swap-- -----io---- system ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 160 143312 21120 935784 0 0 31 25 527 719 7 1 91 1
    AFTER RUNNING PYTHON TEST & DB_HOME IS DELETED:
    ++++++++++++++++++++++++++++++++++++++++++++++
    But I think DB_ENV->close
    top - 17:02:48 up 7:02, 6 users, load average: 1.22, 1.17, 0.76
    Tasks: 111 total, 1 running, 109 sleeping, 0 stopped, 1 zombie
    Cpu(s): 8.8% us, 0.5% sy, 0.0% ni, 90.5% id, 0.0% wa, 0.2% hi, 0.0% si
    Mem: 1545196k total, 1405236k used, 139960k free, 21044k buffers
    Swap: 2040212k total, 168k used, 2040044k free, 934032k cached
    [swhitman@swhitman-lnx python]$ vmstat
    procs -----------memory---------- ---swap-- -----io---- system ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    1 0 160 246208 21132 833852 0 0 31 25 527 719 7 1 91 1
    So the Top/vmstat Memory Usage Summary is:
    before test after test after rm db_home/*
    Top 1407100k 1508156k 1405236k
    mem used
    vmstat
    free/cache 247096/833604 143312/935784 246208/833852

  • Error while Creating a basic portal application using JDeveloper

    Hi,
    I am trying to build a portal application using the following tutorial on JDeveloper 11.1.1.5.0 on Windows XP.
    [http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC|http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC]
    I have configured all the prereqs for this tutorial. When i run the application, following message appears on the log file.
    Target Portal.jpr is not runnable, using default target index.html.
    and the webpage contains following error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +10.4.5 404 Not Found+
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    Following is the WLS log for the application run.
    +[12:53:24 PM] ---- Deployment started. ----+
    +[12:53:24 PM] Target platform is (Weblogic 10.3).+
    +[12:53:24 PM] Retrieving existing application information+
    +[12:53:24 PM] Running dependency analysis...+
    +[12:53:24 PM] Deploying 3 profiles...+
    +[12:53:28 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[12:53:31 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[12:53:35 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[12:53:35 PM] Deploying Application...+
    +<Jul 25, 2011 12:53:44 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 12:53:53 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<EclipseLinkLogger> <basicLog> 2011-07-25 12:54:27.409--ServerSession(28900695)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[12:54:48 PM] Application Deployed Successfully.+
    +[12:54:48 PM] Elapsed time for deployment: 1 minute, 24 seconds+
    +[12:54:48 PM] ---- Deployment finished. ----+
    Run startup time: 84155 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Logger> <error> ServletContainerAdapter manager not initialized correctly.+
    +[Application termination requested.  Undeploying application NTSL_PORTAL.]+
    +[01:04:42 PM] ---- Deployment started. ----+
    +[01:04:42 PM] Target platform is (Weblogic 10.3).+
    +[01:04:42 PM] Undeploying Application...+
    +<Jul 25, 2011 1:04:42 PM GMT+05:00> <Warning> <Deployer> <BEA-149085> <No application version was specified for application 'NTSL_PORTAL'. The undeploy operation will be performed against the currently active version 'V2.0'.>+
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<BPELConnectionUtil> <getWorklistConnections> The Worklist service does not have a ConnectionName configuration entry in adf-config.xml that maps to a BPELConnection in connections.xml, therefore the Worklist service was not configured for this application.+
    +<NotificationSenderFactory> <getSender> Notification sender is not configured+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +[01:04:48 PM] Application Undeployed Successfully.+
    +[01:04:48 PM] Elapsed time for deployment: 6 seconds+
    +[01:04:48 PM] ---- Deployment finished. ----+
    +[Application NTSL_PORTAL stopped and undeployed from Server Instance IntegratedWebLogicServer]+
    +[Running application NTSL_PORTAL on Server Instance IntegratedWebLogicServer...]+
    +[01:05:40 PM] ---- Deployment started. ----+
    +[01:05:40 PM] Target platform is (Weblogic 10.3).+
    +[01:05:40 PM] Retrieving existing application information+
    +[01:05:40 PM] Running dependency analysis...+
    +[01:05:41 PM] Deploying 3 profiles...+
    +[01:05:42 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[01:05:44 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[01:05:47 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[01:05:47 PM] Deploying Application...+
    +<Jul 25, 2011 1:05:52 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>+
    +<Jul 25, 2011 1:06:01 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<EclipseLinkLogger> <basicLog> 2011-07-25 13:06:36.117--ServerSession(28713857)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[01:06:54 PM] Application Deployed Successfully.+
    +[01:06:54 PM] Elapsed time for deployment: 1 minute, 14 seconds+
    +[01:06:54 PM] ---- Deployment finished. ----+
    Run startup time: 73985 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Jul 25, 2011 1:11:04 PM GMT+05:00> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DeploymentTaskSummaryPage&DeploymentTaskSummaryPortlethandle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DADTR-0%2CType%3DDeploymentTaskRuntime%2CDeployerRuntime%3DDeployerRuntime%22%29.>+

    The below message comes when you don't specify any default file for your webcenter portal application and this should not be any problem.
    Target Portal.jpr is not runnable, using default target index.html.
    Can you answer to my questions:
    1. Did you just created a new wcp application in jdev and ran it with out doing any changes? If you have done what are the changes?
    2. How did you ran your application? (right clicking a particular page or right clicking your portal project and selected "run" option?

  • Error while deploying application using enterprise manager website and dcmctl

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container. We are planning for deployment in few days to go it live. Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Are there any mandatory patches to be applied after installing 9ias Rel2?
    Thanks
    Srinath

    Try to fragment the 'ear' in less than 64k blocks or don't transmit as long raw.
    Please let me know if this works.

  • Auto-update of 2120 startup application using compact flash

    Just getting started with a 2120, but have one "tricky" question.  I want to have my executable run off the controller's memory, not the compact flash; however I also want the executable to check for software updates on a compact flash card.  In other words, if there is a compact flash card present when the app (controller) starts, and the executable on it appears correct (size, name check), then copy the file to that controller's startup folder to replace the existing app...  The executable would bypass normal operation at that point, provide LED feedback to alert the user to reset the controller (& remove card), and "voilà"!  We have an almost automatic compact-flash updatable, self-starting application...
    Question(s):
    - do I need to worry about whether I'm building the app to the controller's memory, to compact flash, or locally (to later copy onto compact flash)?
    - are there any issues with having a program copy an update over itself in this way (different types of memory, when used, etc...)? Alternative would be to have a 2-stage app: 1 checks for update, launches the 2nd if no update (single app would be cleaner)
    - am I missing anything else?
    Thanks,
    Phil

    Hi!
      If I understand correctly... You can do following steps:
       - you develop your application for cFP2120, and download it to cFP's C: disk, then you can copy it to a compact flash. I am referring to a "developing" cFP2120.
       - in field, you have another cFP2120, running an application that you created before, and you insert compact flash with new exe.  You reboot controller.
       - the resident application checks for updates, and find it on CF card.  This boot application copies executable from CF to C: disk, (maybe better if you use .par extentions until opy does not finish!).
       - You manually (or programmatically) reboot controller with new application.
       This was my idea, but, because of customer doesn't asked me to proceed in implementing it, so I stopped, but I'm always interested in knowing if this can work.
       Some problems with this may be the coerence of libraries.....  Please, if you find this way succesful, let me know....
       Another possible solution is to use the "open VI reference" method, but I am not used with it.....
       Hope I wasn't too confusing
    graziano

  • Possible deadlocks with in-memory database using Java

    I've written a completely in-memory database using the Java API on BDB 4.6 and 4.7 for Windows and Linux (x86). The completely in-memory database means the database content and logs are entirely in-memory and the overflow pages will not be written to a disk file.
    The database environment and the database are configured to be transactional. All database access methods are specified to be auto-commit by setting the transaction argument to null. The environment is configured to be multi-threaded (which is the default when using the Java API).
    When run with a single-threaded client, the application works correctly on both Windows and Linux for BDB 4.6 and 4.7.
    When run with a multi-thread client that uses two thread for the database access, I run into a deadlock inside the call to the Database.delete method about half the time.
    I am assuming that in the "auto-commit" mode, a deadlock should not be possible.
    Any reported problems with using Java with in-memory database?
    Thanks.
    Hisur

    Hi Hisur,
    If you are using transactions and multiple threads, you will have to deal with deadlock. In this particular case, it's likely that a delete is causing two btree pages to be merged (called a "reverse split"). Auto-commit makes no difference in this case -- the application must retry the operation.
    Regards,
    Michael Cahill, Oracle.

  • Many problems of memory, when using the workbench - LC 8.2

    Hello,
    I have many problems memory, when using the workbench.
    When a try to add a component in the workbench, I get an outOfMemoreException in the log file. There is an error message in a popup in the workbench.
    My configuration:
    Hardware: Intel Core 2 Quad - Q9550 - 2.83 Ghz - 4Go of RAM - 32 bits (this is a new workstation computer).
    Software: Windows XP pro service pack 3.
    JBoss for Adobe LiveCycle ES - Jboss Livecycle version 8.2 with SP2 of LiveCycle ES and Workbench.
    MySQL for Adobe LiveCycle ES
    Here is my workbench.ini file - the beginning:
    -vmargs
    -Xms128M
    -Xmx512M
    -XX:MinHeapFreeRatio=40
    -XX:MaxPermSize=512M
    Here is my log file from the workbench.
    !SESSION 2009-05-20 14:44:12.435 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CH
    Framework arguments:  #Product Runtime Configuration File
    Command-line arguments:  -os win32 -ws win32 -arch x86 #Product Runtime Configuration File
    !ENTRY com.adobe.ide.singlesignon 1 1 2009-05-20 14:44:13.638
    !MESSAGE LiveCycle Workbench ES version '8.2.1.2'
    !ENTRY org.eclipse.ui 4 4 2009-05-20 14:44:14.700
    !MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.ui.edit.text.gotoLastEditPosition
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-05-20 14:44:34.746
    !MESSAGE failed to retrieve list of components
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:125)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.invoke(ComponentRegis tryClient.java:373)
        at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.getComponents(Compone ntRegistryClient.java:63)
        at com.adobe.dsc.contentprovider.MixedRegistryContentProvider$RegistryRootEntry.getChildren( MixedRegistryContentProvider.java:150)
        at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.getChildren(MixedRegistryConte ntProvider.java:575)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1166)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 574)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:54 3)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedState(AbstractTreeViewer.java:220 1)
        at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.userLoggedIn(MixedRegistryCont entProvider.java:619)
        at com.adobe.ide.singlesignon.LoginChangeProgressMonitor.run(Unknown Source)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
        at com.adobe.ide.singlesignon.IDESession.notifyListenersOfLogin(Unknown Source)
        at com.adobe.ide.singlesignon.IDESession.localLogin(Unknown Source)
        at com.adobe.ide.singlesignon.IDESession.access$000(Unknown Source)
        at com.adobe.ide.singlesignon.IDESession$1.run(Unknown Source)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:3763)
        at com.adobe.ide.singlesignon.IDESession.login(Unknown Source)
        at com.adobe.common.ui.controls.LoginInfoPanel$1.widgetSelected(LoginInfoPanel.java:63)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
        at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:923)
        at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794)
        at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
        at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
        at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1851)
        at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:124)
        at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1807)
        at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:3587)
        at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:773)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3280)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.lcide.rcp.Application.run(Unknown Source)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: java.lang.OutOfMemoryError: Java heap space; nested exception is:
        java.lang.OutOfMemoryError: Java heap space
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
        at org.apache.axis.client.Call.invoke(Call.java:2748)
        at org.apache.axis.client.Call.invoke(Call.java:2424)
        at org.apache.axis.client.Call.invoke(Call.java:2347)
        at org.apache.axis.client.Call.invoke(Call.java:1804)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:123)
        ... 68 more
    !ENTRY com.adobe.ide.singlesignon 1 1 2009-05-20 14:44:37.871
    !MESSAGE User 'administrator' logged in to server 'Livecycle ES - localhost' (hostname: 'localhost')
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-05-20 14:44:56.792
    !MESSAGE failed to retrieve list of components
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:125)
        at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
        at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
        at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.invoke(ComponentRegis tryClient.java:373)
        at com.adobe.idp.dsc.registry.component.client.ComponentRegistryClient.getComponents(Compone ntRegistryClient.java:63)
        at com.adobe.dsc.contentprovider.MixedRegistryContentProvider$RegistryRootEntry.getChildren( MixedRegistryContentProvider.java:150)
        at com.adobe.dsc.contentprovider.MixedRegistryContentProvider.getChildren(MixedRegistryConte ntProvider.java:575)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1166)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:768)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 574)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:54 3)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:728)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:705)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
        at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:125 1)
        at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1263)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:181)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
        at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:6343)
        at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794)
        at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
        at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
        at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1851)
        at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1321)
        at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5203)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3279)
        at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4783)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.lcide.rcp.Application.run(Unknown Source)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: java.lang.OutOfMemoryError: Java heap space; nested exception is:
        java.lang.OutOfMemoryError: Java heap space
        at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
        at org.apache.axis.client.Call.invoke(Call.java:2748)
        at org.apache.axis.client.Call.invoke(Call.java:2424)
        at org.apache.axis.client.Call.invoke(Call.java:2347)
        at org.apache.axis.client.Call.invoke(Call.java:1804)
        at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:123)
        ... 54 more
    Please, can you tell me if you have met thist problem. How didi you solve it ?
    Thank you in advance.
    ECI

    Hello,
    I did what you told:
    - the mysql Jar version was already the  mysql-connector-java-5.1.6-bin.jar (may be due to update SP2),
    - I changed to adobe-ds.xml file,
    - I tried to launch the workbench with -Xmx512m in the command line.
    Here is the result:
    1- the launch of the workbench isa bit faster.
    2- when I try to login with the administrator account, it takes a long while. Then I get an error: I can not logon to the livecycle ES server from the workbench. The message is "Authentication for user administrator on server ... failed, please retry".
    In my log file, I get the following.
    eclipse.buildId=unknown
    java.version=1.5.0_12
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CH
    Framework arguments:  #Product Runtime Configuration File -Xmx512m
    Command-line arguments:  -os win32 -ws win32 -arch x86 #Product Runtime Configuration File -Xmx512m
    !ENTRY com.adobe.ide.singlesignon 1 1 2009-05-25 15:17:37.780
    !MESSAGE LiveCycle Workbench ES version '8.2.1.2'
    !ENTRY org.eclipse.ui 4 4 2009-05-25 15:17:38.827
    !MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.ui.edit.text.gotoLastEditPosition
    !ENTRY com.adobe.ide.singlesignon 4 4 2009-05-25 15:19:26.874
    !MESSAGE login failed
    I also got another error message - with another configuration when triying to launch the workbench with JRE 1.6.0.12 (I hoped for better performance when replacing the JRE folder) :
    !ENTRY com.adobe.ide.singlesignon 4 4 2009-05-25 15:02:46.942
    !MESSAGE login failed
    !STACK 0
    com.adobe.ide.singlesignon.exceptions.IDEServerError: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.ide.singlesignon.utils.DSInstance.authenticate(Unknown Source)
    Caused by: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.throwExceptionHandler(So apAxisDispatcher.java:207)
    Caused by: (404)/soap/sdk
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    I also tried to to logon after renaming the folder JRE under: C:\Program Files\Adobe\LiveCycle ES\Workbench ES\Workbench . In order to use my default JRE which is 1.5.0-12.
    On the whole, I still get so errors and I can not logon.
    Do you have any suggestion ?
    Thank you for taking some time to reply.
    What I am tried to do is to added a HelloComponent.jar fronm a tutorial:
    http://www.adobe.com/devnet/livecycle/articles/dsc_development.html
    My final  goal is to developp a ECM Connector.
    Thank you
    Regards
    eci

  • Error while trying to deploy the application using Enterprise manager website

    Hi,
    I am trying to deploy a huge ear file using enterprise manager website of Oracle 9iAs Rel 2.
    The deployment fails with the following error.
    Deployment failed: Nested exception Root Cause: null; nested exception is: java.lang.OutOfMemoryError. null; nested exception is: java.lang.OutOfMemoryError
    We are able to deploy the same ear file using stand-alone container.
    We are planning for deployment in few days to go it live.
    Pls suggest what could be the problem.
    Hardware Used:-
    DellServer Intel P3 dual processor 1.2GHz
    1GB RAM
    2GB virtual memory,
    40GB free hard-drive.
    Apart from 9ias enterprise edition, this system has Oracle database also on it. But the database is not being used at all by anyone.
    No other software is installed on the system
    Software:-
    Windows 2000 Server sp2
    Oracle 9ias Release 2 Enterprise Edition (Installed J2EE and Webcache)
    Oracle 8i Database 8.1.6.0.0
    Size of application:-
    130 EJBs (107 CMP + remaining Session Beans)
    1700 JSPs
    3 servlets
    Packaged properly into jar,war,ear structure.
    the size of ear file is about 13MB.
    Thanks
    Srinath

    Hi,
    I tried using dcmctl but still got the following error.
    Oracle 8i database is running but noone is using it except that this application uses it.
    Pls help
    D:\oraJ2EE\dcm\bin>dcmctl deployapplication -f d:\oraJ2ee\j2ee\elink\applications\advecto.ear -
    a myapp
    ADMN-300075
    D:\oraJ2EE\dcm\bin>dcmctl getError -v -d
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:null; nested exception is:
    java.lang.OutOfMemoryError
    Nested exception
    Root Cause: null; nested exception is:
    java.lang.OutOfMemoryError
    java.rmi.RemoteException: null; nested exception is:
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Thanks
    Srinath

  • N95 8GB Mass Memory in use error

    Hiya
    I have a N95 8GB and when I try to connect it to my PC I get the error message that the mass memory is in use by another application.
    I have stopped all running applications. (there where none)
    Done a factory soft reset.
    No difference. Still cant conect the phone in Data transfer mode.
    Any suggestions of a help ful nature woild be nice.
    Thanks

    hi
    i am also having the same probelm. whenever i conect my mobile to pc using data transfer mode. i get this message
    unable to start data transfer mode. mass memory in use please close some applcations
    now i have checked ther is no application running in the background
    also when i try to open the help file on moible. it says memory full. please close some applications and try again
    anyone knows the solution to this problem
    thanks 

  • What about session memory when using BEA Weblogic connection pooling?

    Hi,
    consider a web application, allowing database connections via a BEA Weblogic 8.1 application server. The app-server is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?
    2) Does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    If (1) is true, than what about the session memory of Oracle sessions? I understand, that things like package global variables are beeing stored in this session private memory. If (1) is true, the PL/SQL programmer has the same situation, as with programming an Oracle databas in "shared server" mode, that is, he should not use package global variables etc.
    Thankful for any ideas...
    Message was edited by:
    Xenofon

    Xenofon Grigoriadis wrote:
    Hi,
    consider a web application, using BEA between client and an Oracle Database (v9i). BEA is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app beeing served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?no.
    2) Or does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    Reading "Configuring and Using WebLogic JDBC" from weblogic8.1 documentation, I read:
    "... Your application "borrows" a connection from the pool, uses it, then returns it to the pool by closing it...."
    What do you mean by returning the connection by closing it? Tbe server will either return the connection to the pool or close it...When application code does typical jdbc code, it obtains
    a connection via a WebLogic DataSource, which reserves an
    unused pooled connection and passes it (transparently wrapped)
    to the application. The application uses it, and then closes
    it. WebLogic intercepts the close() call via the wrapper, and
    puts the DBMS connection back into the WebLogic pool.
    The reason, why I as an Oracle programmer ask this is, because every session (=connection)
    in Oracle has its own dedicate, private memory for things like global PL/SQL variables.
    Now I want to figure out, if you have to careful in programming your databases, when
    one Oracle session (=connection) is serving many weblogic requests.It is serving many requests, but always serially. Do note however, that we
    also transparently cache/pool prepared and callable statements with the
    connection so repeat uses of the connection will be able to get already-made
    statements when they call prepareStatement() and prepareCall(). These
    long-lived statements will each require a DBMS-side cursor.
    >
    Thankful for any ideas or practical experience...
    Message was edited by:
    mk637Joe

  • Cannot attach data store shared-memory segment using JDBC (TT0837) 11.2.1.5

    Hi,
    I found the thread Cannot attach data store shared-memory segment using JDBC (TT0837) but it can't help me out.
    I encounter this issue in Windows XP, and application gets connection from jboss data source.
    url=jdbc:timesten:direct:dsn=test;uid=test;pwd=test;OraclePWD=test
    username=test
    password=test
    Error information:
    java.sql.SQLException: [TimesTen][TimesTen 11.2.1.5.0 ODBC Driver][TimesTen]TT0837: Cannot attach data store
    shared-memory segment, error 8 -- file "db.c", lineno 9818, procedure "sbDbConnect"
    at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3295)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3444)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3409)
    at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:813)
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1807)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:303)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:159)
    I am confused that if I use jdbc, there is no such error.
    Connection conn = DriverManager.getConnection("url", "username", "password");
    Regards,
    Nesta

    I think error 8 is
    net helpmsg 8
    Not enough storage is available to process this command.
    If I'm wrong I'm happy to be corrected. If you reduce the PermSize and TempSize of the datastore (just as a test) does this allow JBOSS to load it?
    You don't say whether this is 32bit or 64bit Windows. If it's the former, the following information may be helpful.
    "Windows manages virtual memory differently than all other OSes. The way Windows sets up memory for DLLs guarantees that the virtual address space of each process is badly fragmented. Other OSes avoid this by densely packing shared libraries.
    A TimesTen database is represented as a single contiguous shared segment. So for an application to connect to a database of size n, there must be n bytes of unused contiguous virtual memory in the application's process. Because of the way Windows manages DLLs this is sometimes challenging. You can easily get into a situation where simple applications that use few DLLs (such as ttIsql) can access a database fine, but complicated apps that use many DLLs can not.
    As a practical matter this means that TimesTen direct-mode in Windows 32-bit is challenging to use for those with complex applications. For large C/C++ applications one can usually "rebase" DLLs to reduce fragmentation. But for Java based applications this is more challenging.
    You can use tools like the free "Process Explorer" to see the used address ranges in your process.
    Naturally, 64-bit Windows basically resolves these issues by providing a dramatically larger set of addresses."

  • Memory leak using repeater tag

    Hi,
    I am trying to show a report that has 33113 rows using a repeater tag, but i get the following error: "An error has occurred: java.lang.OutOfMemoryError".
    I am using the pageFlow to bind a ArrayList that already contains the rows.
    Any ideas?
    Thanks a lot.

    Link to Microsoft Connect issue
    https://connect.microsoft.com/VisualStudio/feedback/details/1045459/memory-leak-using-windows-accessibility-tools-microsoft-narrator-windows-speech-recognition-with-net-applications
    Link to Microsoft Community post
    http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/memory-leak-using-windows-accessibility-tools/8b32a81c-f828-415c-aec8-34e3106f9cb0?tm=1420469245606

Maybe you are looking for

  • Help me...my aperture3 library is in error

    This is warning while reopening Aperture 3 after crash : There was an error opening the database for the library "/Volumes/myjob/Aperture_Library/....

  • Contacts/ Yahoo account duplicating

    Hi, So my problem is that when trying to sync all my contacts (2 yahoo addresses, and an Icloud), only 1 of my yahoo accounts duplicates my contacts- heres the catch though- when checking my actual yahoo account online, there are no duplicates, & whe

  • Selection profile field in COOIS transaction to use in custom program

    I need to use the field selection profile in the transaction COOIS in a custom report .How can we do that ?

  • Color management accross two printers.

    Hi, We have two printers at work, one Epson Stylas Photo R1800 and one HP DesignJet Z2100. They want the colors to match across both printers for printing photographs, and do not want to use any RIP software. I have tried - getting the application to

  • Buzzing in external audio when charging

    I have a fairly loud buzzing sound coming through my external audio when my MBP (mid 2010) is charging. I've tried switching speakers and headphones, outlets, between the two and three pronged chargers, and between individual chargers themselves. Not