Do 'temporary' EJB exist to avoid writing database?

          Hello, I have a kind of entity EJB which has short-life (it is created, stored
          in the database for 5 minutes, and then deleted).
          Furthermore, the persistence of this EJB is not important (in case of system crash
          there would not be any problem loosing these data). I am only storing it in the
          database because it is the only way I know so that multiple session EJB can share
          it in a cluster.
          Does Weblogic provide any other 'in memory' representation of the EJB so that
          it can be replicated in every cluster server without having to write it and therefore
          delete it from the database (avoiding both database operations)?
          Maybe 'something' which is not an entity EJB itself but another data structure?
          Thanks for your time,
          David
          

          Hello, I have a kind of entity EJB which has short-life (it is created, stored
          in the database for 5 minutes, and then deleted).
          Furthermore, the persistence of this EJB is not important (in case of system crash
          there would not be any problem loosing these data). I am only storing it in the
          database because it is the only way I know so that multiple session EJB can share
          it in a cluster.
          Does Weblogic provide any other 'in memory' representation of the EJB so that
          it can be replicated in every cluster server without having to write it and therefore
          delete it from the database (avoiding both database operations)?
          Maybe 'something' which is not an entity EJB itself but another data structure?
          Thanks for your time,
          David
          

Similar Messages

  • Ensure temporary files exist on the standby database

    Hi,
    in a datagurd configuration (10g R2 on Windows) how to Ensure temporary files exist on the standby database that match the temporary files on the primary database ?
    Many thanks.

    setting the retention target doesnt mean that the unnecessary flashback logs get deleted automatically, its just a threshold, that has to be guaranteed
    the database works like "ok i can fulfill the desired flashback retention target with the current flashback logs, but there are some (a lot of) extra free space left in the FRA (db_recovery_file_dest_size = 100 GB), so lets just continue writing flashback logs, meaning that you will be able to flashback to an even earlier time/SCN if you wish"
    once the FRA gets full, and something else needs the space in the FRA (archivelog, newer flashback log, etc), THEN the old flashback logs will be deleted
    if it really annoys you, you can force the deletion of flashback logs by setting the db_recovery_file_dest_size parameter temporarily to a lower value (not too low, check before how much space is really needed in there), then the database will delete the unnecessary files from there - then set it back to its original value

  • To avoid writing database code in the front end

    Hello,
    I am working on a database application using 10g database as backend and dotnet as front end. I wish to execute only oracle stored procedure for all the select (to avoid hard parse and use of bind variable), DDL and DML operations; just to avoid writing database code in the front end. Can anyone please give me a little examples of :
    1.Select query's output to be return as resultset by stored procedure.
    2.DML example by stored procedure.
    3.Any DDL example by stored procedure.
    using scott.emp, so that i would just call the stored procedure, rather than giving select,DML and/or DDL commands in the front end. Even though i have read in the documentation, but a clear cut examples will help me to get into clear concept as well.
    Thanks & Regards
    Girish Sharma

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle db

    I am using Livecycle 8.2 running on JBOSS. I get this error in server log
    2013-07-25 13:48:33,809 ERROR [com.adobe.idp.config.AdobePreferenceFactory] UserM:GENERIC_ERROR: [Thread Hashcode: 5001776] Problem with system root| [com.adobe.idp.storeprovider.jdbc.DBStoreFactory] errorCode:12293 errorCodeHEX:0x3005 message:The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle database.
    2013-07-25 13:48:33,809 INFO  [STDOUT] java.lang.RuntimeException: The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle database.null
    Also not able to login using Administrator password. Assuming above error is the cause. Please any help is appreciated. Thnks.

    Is this observed on a running server or have you made any changes to LC server or database after which this error is seen?
    --Santosh

  • TimeZone.getDefault().getID() does not exist in your Oracle database table V$TIMEZONE_NAMES???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed many ADF applications in this version itself by setting time zone as -Duser.timezone="+05:30" and all were running fine.
    But Jdeveloper got crashed so i reinstalled the same version but now none of the applications are running.
    Its showing error as below:
    oracle.jbo.JboException: JBO-29112: The time zone 'GMT+05:30' defined in adf-config.xml or TimeZone.getDefault().getID() does not exist in your Oracle database table V$TIMEZONE_NAMES. Please set an available time zone in your TZ environment variable or user.timezone Java system property.
    What to do now?
    how will i know wat time zone should be set?
    please help the needful...
    Thanks.

    Check if www.jobinesh.com/2010/12/why-do-i-get-oraclejbojboexception-jbo.html helps.
    Timo

  • How to create a variance on data that exists iIn only one database column

    How to create a variance on data that exists iIn only one database column?
    I'm trying to create a calculation to show the difference between the budgets for two different years in a Discoverer crosstab query.
    I'm using the lag function to repeat the value of a column for the current year and the year before.

    Lag and lead seems to be the only choice and they work excellent. Checkout the new 10g Database features. There is new SQL modal clause which might give additional and powerful analytics but in this case lag and lead should be sufficient.
    regards
    http://www.infocaptor.com/workbook-dump.php

  • How can i check if a procedure exists in a certain database version

    So today i became really frustrated after noticing that the Oracle SQL version on some computer I needed to work on was 10.1. The problem with that was that I needed a procedure called "xmlserialize". I browsed the documentation for it, but I didn't see anything like "since 11.0" or something similar.
    So.. how can I see what is the first Oracle SQL version that supported some procedure?
    For example, when I check a class definition for Java, I consult the javadoc :
    http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html
    and there there's a field called "Since". For BigInteger ( it's just an example ), it says "Since: JDK1.1", so I know that if I'm using a JDK version earlier that 1.1, I won't have that class.
    Is there some similar information for Oracle procedures/ functions/ features/ etc?

    >
    Let me be more explicit. I've searched for xmlserialize function.
    The only place on the website that holds information regarding this function is this page:
    >
    To paraphrase sybrand - that's utter nonsense. I have never found only one reference to anything on the web.
    Your question subject is
    >
    how can i check if a procedure exists in a certain database version
    >
    And since you said you were using 10.1 I searched for
    >
    oracle 10.1 xmlserialize
    >
    And the very first link on the search results is
    >
    What's New In Oracle XML DB?
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14259/whatsnew.htm
    >
    That link is for the XML Db Dev Guide for 10g Release 2
    Would you like to guess what you find if you search for xmlserialize?
    Right on the very first page is this
    >
    Oracle Database 10g Release 2 (10.2) New Features in Oracle XML DB
    SQL/XML Standard Compliance (SQL:2005 Standard Part 14)
    Support for the developing SQL/XML standard has been extended. The following SQL functions have been added: XMLPI, XMLComment, XMLRoot, XMLSerialize, XMLCDATA, and XMLParse. Escaping of identifiers has also been updated, in accordance with a change to the SQL/XML standard. See "Generating XML Using SQL Functions".
    >
    Did you notice the second sentence? I removed the clutter to make it easier to see.
    >
    The following SQL functions have been added: . . .XMLSerialize. . .
    >
    Fnding information can't get any easier than that.

  • Install APEX to work on existing Oracle 10g R1 database

    I want to use APEX on an existing Oracle 10g R1 database. If I install it normally with the program downloaded from your site, it installs its own database that you use.
    How can I set / install it to use the existing database instead of its own database?
    Elsie Pretorius

    Hi guys,
    Thanks for the info and input. Is there anybody have sucessfully done this. Most of the info that out there, the README in the patchset all pointing to upgrading the OCS, not installing the OCS on top of an existing 10g AS and DB. I'm thinking installing the OCS R2, and then patching and upgrade it to 9.0.4.2 or 4.3 and then point or move it to the existing 10AS and DB. This is where I'm quit blur at the moment.
    Anyway thank for all the info.
    Regards
    Din

  • Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD

    Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD on a Windows 2008 server.

    The global query block list is a feature that prevents attacks on your network by blocking DNS queries for specific host names.  This feature has caused the DNS server to fail a query with error code NAME ERROR for wpad.contoso.com. even though data
    for this DNS name exisits in the DNS database.  Other queries in all locally authoritative zones for other names that begin with labels in the block list will also fail, but no event will be logged when further queries are blocked until the DNS server
    service on this computer is restarted.

  • I am trying to copy and paste a series of numbers from numbers to pages but I keep getting a red triangle indicating formula error. Is there a way a way to open pasting options to copy just the value to avoid writing every single number??! Thanks..

    I am trying to copy and paste a series of numbers that were calculated in a numbers spreadsheet to a document on pages but I keep getting a red triangle indicating a formula error. Is there a way to open pasting options to copy just the value to avoid writing every single number??! Thanks..

    Hi Jess'D,
    Have you tried Menu>Edit>Paste Formula Results?
    quinn

  • OSA error 'SOCAT does not exist in any attached database'

    I'm connect Oracle Sales Analyzer(OSA11i) and then get the following error message which prevents us from opening the database in OSA.
    "Error opening in database, the following error occurred in Express. SOCAT does not exist in any attached database"
    Could you please help me to solve my problem?
    Thanks& Regards.

    SOCAT (or Source catalog) controls the behavior of application and is a two-dimensional variable in the SERVER database. Find the name and location of your "SERVER" database and then try to find out why it is not being attached by your osa session.
    An example of OSA database naming convention is:
    SATURN.db - Catalog Database
    MSATURN.db - Master or Public database
    DSATURN.db - Server Database
    PSATURN.db - Personal Database

  • Some tables Not existing in Siebel OLTP Database

    Hi,
    I have run the execution plan in DAC for Siebel Pricing analytics, But an error ocurred that two tables : S_ETL_PRD_REL & S_ETL_PRD_ATTR do not exist in the source database.
    My Siebel source Db is Mssql server and Target is Oracle.
    So, Can anyone help me out with this issue .
    Do i need to create table manually or is there some other way out to handle this?
    plz help.
    thanx in advance.
    cheers!!!
    Edited by: Nikhil.S on Jul 7, 2011 6:38 AM

    You need to create those tables:
    c:\OracleBI\dwrep\Bin>ddlimp /u siebel /p siebel /c odbc_oltp /g sse_role /f c:\oraclebi\dwrep\ddl_oltp.ctl /l \oraclebi\dwrep\ddl_oltp.log
    Regards

  • Opening existing file for writing

    Hey how do I open an existing file for writing. For example I want to just add one more line to a file after it has been closed but I don't have the reference to the FileWriter / BufferedWriter object. So I have to tell the directory maybe but how do I open it and start writing to it at the end.
    Thanks.

    You just create a new File Object<br>
    File f = new File("c:/foo.txt");<br><br>
    Then you can read or write to that file with FileReader or FileWriter<br>
    FileWriter fw = new FileWriter(f);<br>
    fw.write();<br><br>
    If you want to append sth. to a file I would recommend RandoAccessFile<br>
    RandomAccesFile raf = new RandomAccesFile(f, "rw")<br>
    Now you can get the length of the file and set the pointer to the end <br>
    raf.seek(raf.length());

  • Avoiding writing same function twice

    Hello,
    I want to avoid writing XMLSocket.prototype.onData = function(msg) twice.
    The msg static data are sent only at the first time.  It includes data for populating combo.  Depening on the combo selection, different set of data from msg are displayed.
    mySocket = new XMLSocket();
    mySocket.connect("127.0.0.1", 9999);
    System.security.loadPolicyFile("http://localhost/sockets/flash_policy.php");
    mySocket.onConnect = function(success) {
        if (success) {
            msgArea.htmlText += "<b>Server connection established!</b>";
            mySocket.send("connected"+"\n");
        } else {
            msgArea.htmlText += "<b>Not Connected</b>";
    mySocket.onClose = function() {
        msgArea.htmlText += "<b>Server connection lost</b>";
    //for displaying static data
    XMLSocket.prototype.onData = function(msg) {
        //trace(msg);
        arr = msg.split("&");
        textHeadline.htmlText += arr[0];
            comboBox(arr);   
    function displayData(combo_id)
    XMLSocket.prototype.onData = function(msg) {
        arr = msg.split("&");
        textA.htmlText += arr[1];   
        textB.htmlText += arr[2];
    function comboBox(arr)
      //combo code
      //selected combo id is sent to displayData
       displayData(combo_id);
    Thanks

    I have been thinking along the lines of what Wayne said.
    Can I initialise the Assistant by calling it outside the loop, but with a True constant on the 'stop' input, and then run the rest of the function as normal? Would I not get the error about 'resource is reserved ' or in use or whatever it is?
    Stephen : I have tried troubleshooting by stepping through the execution, but I find it doesn't run accurately. Since the function stops recording when a succession of near-identical points are detected (when the piston stops), if I run it in 'highlight execution' mode it will get 5000 points each for retract and extend (assistant is set to 1k buffer size, 5 successive similar points stops the execution). 
    I will fool around with setting up the function before the loop, until someone gives more suggestions.

  • Could not allocate space for object temporary system object: ... in database 'tempdb' because the 'PRIMARY' filegroup is full.

    Using SQL Server 2008 R2. Tempdb resides on disks W and X
    both of those are 250 GB each. Nothing else resides on these disks. The recovery mode for tempdb is set to Simple and is split in 8 files and one log file. Each of the tempdb file is set for auto growth by 128 MB and max size is unlimited. The log file is
    set for auto growth by 10% and max size unlimited. 
    I get the following error at least once a week while running an ETL:
    [SQLSTATE 01003] (Message 8153) Could not allocate space for object '<temporary system object: 335532118192937>' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup,
    adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. [SQLSTATE 42000] (Error 50000). The step failed.
    I have to then shrink the tempdb log and files to create space on the disks.
    What is a permanent solution to this problem, I don't want my ETL to break due to TempDB diskspace full.
    Thanks in advance. 

    Hi,
    Permanent solution would be finding out query which is causing tempdb log file to grow out of proportion and fill it and I would like you to take help of below article
    Troubleshooting out of space issue in Tempdb
    Please change Autogrowth value for Log file from 10 % to may be 100 M. This is just a tentative value you need to study
    growth of tempdb to reach to correct value. You kept 128 MB autogrowth for tempdb data file is this value tentative or you just put it.
    Below article can be referred for tempdb details
    Working with tempdb
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

Maybe you are looking for