Doctor Jekyll and Mr. Hyde Question for ADF

Hi all,
I have the following problem.
Below there are two codes that works fine but with these error.
The code in CASE 1 if the RowSet is more large it throws an OutOfMemoryException.
The code in CASE 2 work fine but it stop the resetting of
Application Module until i kill the session by killing the browser instance.
The code in CASE 2 (with -Djbo.debugoutput=console param) shows the following log:
(all ok) .....
06/01/18 09:31:15 [3189] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
06/01/18 09:31:15 [3190] ViewObjectImpl.mDefaultMaxActiveNodes is 30
06/01/18 09:31:15 [3191] Default locking mode changed to: optimistic
06/01/18 09:31:15 [3192] Resetting AM=AppModule
now still in wait until i kill session.
After i kill session by killing the browser instance continue with the normal log
06/01/18 09:31:58 [3193] Application Module failover is enabled
06/01/18 09:31:58 [3194] Getting a connection for internal use...
06/01/18 09:31:58 [3195] Creating internal connection...
06/01/18 09:31:58 [3196] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
06/01/18 09:31:58 [3197] <AM MomVer="0">
<cd/>
<TXN Def="1" New="0" Lok="2"/>
Can anyone help me to resolve this impasse?
Thanks
Alessandro
[in bold the difference code]
CASE 1:
OutputStreamWriter out_tmp = new OutputStreamWriter(new FileOutputStream(fileName, true));
int numTotRows = vo.getRowCount();
String[] attachFile = new String[numTotRows+1];
Row currRow = vo.getRowSet().first();
for (int rowIndex = 1; rowIndex <= numTotRows; rowIndex++) {
for (int attrIndex = 0; attrIndex < vo.getAttributeCount(); attrIndex++) {
if ((currRow.getAttribute(attrIndex) != null)) {
if (attachFile[rowIndex] == null) {
attachFile[rowIndex] = currRow.getAttribute(attrIndex).toString().trim() + "|";
} else {
attachFile[rowIndex] = attachFile[rowIndex] + currRow.getAttribute(attrIndex).toString().trim() + "|";
} // END - for (int attrIndex = 0; attrIndex < vo.getAttributeCount(); attrIndex++)
currRow = vo.getRowSet().next();
} // END - for (int rowIndex = 1; rowIndex <= numTotRows; rowIndex++)
for (int i = 0; i < attachFile.length; i++) {
out_tmp.write(attachFile);
out_tmp.flush();
out_tmp.close();
CASE 2:
OutputStreamWriter out_tmp = new OutputStreamWriter(new FileOutputStream(fileName, true));
int numTotRows = vo.getRowCount();
String[] attachFile = new String[] {""};
Row currRow = vo.getRowSet().first();
for (int rowIndex = 1; rowIndex <= numTotRows; rowIndex++) {
for (int attrIndex = 0; attrIndex < vo.getAttributeCount(); attrIndex++) {
if ((currRow.getAttribute(attrIndex) != null)) {
attachFile[0] = attachFile[0] + currRow.getAttribute(attrIndex).toString().trim() + "|";
} // END - for (int attrIndex = 0; attrIndex < vo.getAttributeCount(); attrIndex++)
[b]for (int i = 0; i < attachFile.length; i++) {
out_tmp.write(attachFile);
out_tmp.flush();
attachFile = new String[] {""};
currRow = vo.getRowSet().next();
} // END - for (int rowIndex = 1; rowIndex <= numTotRows; rowIndex++)
out_tmp.flush();
out_tmp.close();

Hi,
there is someone with an idea?
I'm very desperate!
Thanks
Alessandro

Similar Messages

  • Facts and Figures - A Question for the Forum Mods

    A bit of a daft question for which I am sure the Forum Mods can provide an answer.
    How many folks were registered on the old forum and how many on the new one?
    I just want to put something BT Chairman Sir Michael Rake wrote to BT shareholders this month into context.
    "To forbid us anything is to make us have a mind for it."
    -- Michel de Montaigne, Essays, 1559

    Naughty naughty General - they dont do "daft" on this forum, you should know that.  
    "You may well think that, I'm afraid I could'nt possibly comment"
    Francis Urqhuart, who was never known by his initials to his friends. 
    AQ.
    "Welcome to Royston Vasey - You'll never leave."

  • GL AND AR datasource and data targets - question for BI 7.0

    Folks,
    It has been sometime I did GL, AP and wanted to know if this still holds good
    GL Balance : Extract via 0FI_GL_6 and load it to 0FIGL_C01 with or whihout an ODS OFIGL_O06.
    GL Line itms: Extract via 0FI_GL_4 and load to ODS 0FIGL_O02.
    Similiarly use AP_6 and AP_4 Data sources for Accounts Payable. I am assuming GL and AP Data sources are coupled.
    Now has anything changed in BI 7.0 or because of ECC5 or ECC6.
    For All the above I did not see any transformation BI Content I only still see 3.x flow.
    whats up with 0FIGL_C10  and 0FI_GL_10 ?.
    At the end of the day I only need GL balance and their line items. So what should I use ?.
    thanks
    Gman

    Hi GMAN,
    1) GL and AP datasources extract from 2 different sets of OLTP tables. They are NOT coupled
        from BW extraction pointof view....But In R3...when a financial posting is made to a GL
        account....a related posting made into AP tables......
    2) In GL or AP functionality nothing has changed due to:  BI 7.0 or because of ECC5 or ECC6.
    3) In the new Business Content Release...."SAP NW 7.0 BI Content Add-on 3 SP06"....
        SAP gave new cubes, ODS etc....
    New Business Content link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
    Good luck, BB

  • Questions for ADF Faces

    I have been following this forum for about a year now and thought I should raise some questions regarding current ADF Faces state.
    With the recent donation to Apache, is Oracle going to continue roll out enhancements and is there going to be an ADF.Next?
    A good place to demonstrate commitment is by having a dedicated ADF Faces and BC forum (preferable built using it too!).
    There are several third party vendors that offer key JSF based UI components (AJAX based table, input, menus, drag and drop, etc.. ), are there any plans to incorporate these into the ADF Faces component library?
    Finally, has anyone deployed ADF based application in production? If you have a success story you would like to share, I have a case of beer with your name on it. Shoot me a hello at [email protected] See you at OOW.
    -Wes

    Oracle is still developing ADF Faces - but now we are doing it together with Apache on the trinidad project.
    In addition Oracle is building an AJAX based rendering kit on top of the components - you can see a demo of these new components if you'll check the replay of Thomas's Kurian keynote at this year's Javaone.
    http://webcast-west.sun.com/ramgen/archives/06D00627/06D00627_03_300.rm
    If you want an ADF Faces forum - you can use the apache forum.
    We rather keep a unified forum for all things related to JDeveloper and ADF, since there are many questions that cross the boundries between topics, and since it makes it easier for us to only need to monitor a single forum.
    And yes there are ADF Faces based applications out there in production, and some of them are even on the Internet.
    https://wwws.gen.lacapitale.com/CoteWebAuto/faces/pages/webepIntr.jspx
    and
    http://at.sparinvest.com/sparinvest/faces/portal/home/start.jsp
    For example.

  • Asmlib and oracleasm permission question for 11gr2 RAC install

    Dear All,
    I am trying to install 11G RAC on 2 oracle linux 6 machines (it is 2 virtual machines but I hope the principle applied).
    I use asmlib package to create sharable disk.
    I encounter a lot of user/group permission issue, so I decide to use oracle:oinstall to install my grid software.
    Here are my questions:
    1. when run oracleasm configuration -iDefault user to own the driver interface []: oracle
    Default group to own the driver interface []: dba <<<<<<<<<< what group should I use? I see people use oinstall, dba...
    2. after mounting /dev/oracleasm directory by using /usr/sbin/oracleasm init, what directory permission should I set?
    it is root:root after mount.
    I tried to run installer for grid, if I don't change /dev/oracleasm to 766, the ASM disks don't even show up.
    Any suggestions?

    969880 wrote:
    1. when run oracleasm configuration -iDefault user to own the driver interface []: oracle
    Default group to own the driver interface []: dba <<<<<<<<<< what group should I use? I see people use oinstall, dba...
    2. after mounting /dev/oracleasm directory by using /usr/sbin/oracleasm init, what directory permission should I set?
    it is root:root after mount.
    I tried to run installer for grid, if I don't change /dev/oracleasm to 766, the ASM disks don't even show up. Hi,
    If you are using single user for grid and database I would set oinstall as the group owner.
    You don't need to set permission on /dev/oracleasm.. asmlib will take care of it
    Have a read http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDECEBGH for more information.
    Hope it helps
    Cheers

  • Need objective sql and pl/sql question for preparing interview

    Hey buddy please help me, now I am preparing interview of sql and pl/sql where asking objective question, so I need online site for preparing interview, your suggestion would be greatly appreciated.

    Have you tried searching using one of the many Internet search engines?
    I expect that there are many kinds of sites out there that may cater to you.
    The only other recommendation I would have would be to review the documentation at http://tahiti.oracle.com. Probably the SQL Language Reference, PL/SQL Reference, Application Developer's Guide, and Concept's Guide.

  • HT5312 i live in a country who hasn`t apple store ! i forggot my secururt questions of my app id !! i cant call, and under security question for anwser in my apple id,ther is not a link, what should am i do now ?

    hi friends.
    ilive in a country who has not apple store.
    i cant make a call and give my phone number to apple support team !
    my apple id has been created 3 years ago and i cant remember my securuty questions
    anwsers !
    unforetunatly,ther is not a link for reset under 2 seurity anwsers blank cell.
    what can i do ? plz help me ....

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • Delta and Full Load question for cube and ODS

    Hi all,
    I need to push full load from Delta ODS.
    I have process chain.... in which the steps are like below,
    1. R/3 extractor for ODS1 (delta)
    2. ODS1 to ODS2 (delta)
    3. ODS2 to Cube ---> needs to be full load
    Now when i run process chain by further processing automatically ODS2 does init/delta for Cube.
    How can i make it possible for full load ??
    can any one guide anything in this ?
    Thanks,
    KS

    Hi,
    1. R/3 extractor for ODS1 (delta) :  This is OK, normally you can put the Delta InfoPack in Process Chian
    2. ODS1 to ODS2 (delta): It automatically flow from ODS1 to ODS2 (you need to select Update Data automaticall in the Targets at the time of ODS creation)
    3. ODS2 to Cube ---> needs to be full load  :
    This you create a Update rules from ODS1 to Cube then Create InfoPackage in between ODS2 and Cube then do full loads. You can delete the data in the CUbe before the load ann dthen do Full load to Cube.
    Note: In ODS2 don't select Upadate Data autmaticlly to Data Targets
    Thanks
    Reddy
    Edited by: Surendra Reddy on Nov 21, 2008 1:57 PM

  • Power Supply and Graphics Card Question for HP Pavilion a6432p

    Hello!
    I have the HP Pavilion a6342p, and I'm wanting to install an NVIDIA Graphics Card either 512MB or 1GB. However, I'm not sure what is the power supply to this model (most graphics cards are saying 300-350W supply required). 
    Can anyone tell me what is the power supply to this model, and what would be a good graphics card model to look at to upgrade my graphics card to with this model? I believe the expansion slots are PCI-Express, but I'm not sure on the power supply so I can get the right graphics card.
    Thanks!
    Nathan

    Quote
    Originally posted by thegrommit
    That 9100 doesn't even have a fan, correct?  It should have no problem running on that motherboard with that PSU.
    Also, the links in my sig may prove useful.
    [edit] err, the 9100 is an integrated video chipset.  Are you sure that's the correct number?
    No the 9100 is not just an integrated video chipset and is available in both AGP & PCI form.
    The Antec is a good PSU but I would recommend getting something better such as the OCZ or Enermax as they have a higher +12v rail amp.

  • A question for the rtexprvalue attribute of the tag

    I'm using struts tag , and get some question for tag. In my jsp file. the code like this:
    <html:hidden property="param1" value="<%=id%>otherwords"/>
    note: I add some word after the express
    when i run the jsp file, out of my thought, the result is :
    <input type="hidden" name="param1" value="<%=id%>otherwords">I think the right result is:
    I assign the id value is "2"
    <input type="hidden" name="param1" value="2otherwords">but i erase the "otherwords" in the express, the result is right!!!
    <input type="hidden" name="param1" value="2">not
    <input type="hidden" name="param1" value="<%=id%>">What' the error?
    Does the express must be closed in "<%=" and "%>"? Any titles mention it?
    Many thanks.
    Richard Jin

    not sure why it wont work, but I think this will work
    <html:hidden property="param1"><%=id%>otherwords</html:hidden>

  • Technical documentation for ADF projects - how to and best practices

    Hi,
    I have a question how to create technical documentation for ADF project expecialy ADF BC and ADF Faces. Is there any tool or JDev plugin for that purpose? What informations should contains documentation for that project, any principles ?Has anybody any experienece. Are there something like documentation best practices for ADF projects? E.g. how to create documentation for bussiness components.
    Kuba

    I'm not sure there is "best practices" but some of the things that can help people understand are:
    An ADF BC diagram - this will describe all your ADF BC objects - just drag your components into a new empty diagram
    A JSF page flow - to show how pages are called.
    Java class diagram - for Java code that is not in the above two
    One more thing to consider - since ADF BC, JSF page flow and JSPX pages are all XML based - you could write XSL files that will actually transform them into any type of documentation you want.

  • Looking for ADF detailed API and Components Docs

    Hi Gurus! I am trying some hands on with the tutorial application (http://www.oracle.com/technology/obe/ADF_tutorial_1013/index.htm) with JDeveloper 10.1.33.
    For developing new ADF application, I was trying to find ADF related documentation, but I was only able to find the documentation for ADF 11G (http://www.oracle.com/technology/products/adf/index.html). This page does not have any API doc, or component details.
    Now my question is, if I am using JDeveloper 10.1.3.3, which version of ADF I am using? For that version, where do I get complete documentation - ADF API docs, ADF Ui components docs etc.
    Suppose, in the tutorial application, classes like
    oracle.binding.BindingContainer, oracle.jbo.uicli.binding.JUCtrlValueBindingRef etc. are used. Where do I find complete API reference doc.
    Also where can I find ADF UI components(PanelPage, PanelBox etc.) detailed docs and their usages.
    Also, please point me to any other useful ADF related documentation/tutorial, if you know.
    Thanks

    For most of the pages on the JDev site you'll find a link to older product versions toward the end of the page.
    For example on the ADF Faces page there is a link at the end titled: Oracle ADF Faces Components 10.1.3 Information
    Which will take you here: http://www.oracle.com/technology/products/adf/adffaces/adffaces1013.html
    Where you can find the tag and API doc for ADF Faces.
    There is indeed a little problem with getting to the ADF Developer Guide for 10.1.3 in an easy way.
    In any case the book is here:
    http://download.oracle.com/docs/html/B25947_01/toc.htm

  • Why isn't there a TechNet forum for ADFS yet? They have been forwarding questions to the "Project Geneva" forum for years now.

    Why isn't there a TechNet forum for ADFS yet? They have been forwarding questions to the "Project Geneva" forum for years now.
    It would be nice if there was IT Pro specific forum. The MSDN Geneva forum has people who have programming questions for WIF in addition to people trying to get ADFS and Web App Proxy setup.
    WHY?

    Given the growing importance of Office 365 and the role of ADFS in some of the larger deployments, that may happen. Someday.
    It is somewhat arbitrary.
    AD DS, AD CS, AD FS, and AD RMS are all considered components of Active Directory.
    I suppose that's what the AD stands for...
    Yet, most ADCS questions are posted and answered in the Technet Security forum.
    ADFS questions are often referred to Project Geneva.
    Directory Services has its own forum.
    Group Policy has its own forum.
    +++
    If you look in "related threads", someone asked a question precisely about ADCS:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/f6abf662-7927-4f72-91db-433c95eddcc8/why-isnt-there-a-forum-dedicated-to-certificate-services?forum=winserversecurity
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • My ipod wont let me buy apps etc... keeps saying this is the first time this device has been used and to sign in and answer security questions. I have had this account for years but cant remember the answer to the security questions. How can i fix it?

    My iPod touch wont let me buy anything, i've beem using this account for a couple of years and now it says that this is the first ime this id has been used on my device... it's not.... and to sign in and answer security questions. i cant remember the answers to the questions. How can i fix this without making a new account and losing all my stuff???

    From a Kappy  post
    The Three Best Alternatives for Security Questions and Rescue Mail
       1. Use Apple's Express Lane.
    Go to https://expresslane.apple.com ; click 'See all products and services' at the
    bottom of the page. In the next page click 'More Products and Services, then
    'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
    ID security questions' and click 'Continue'. Please be patient waiting for the return
    phone call. It will come in time depending on how heavily the servers are being hit.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • I have a new email address and my old email keeps coming up on icloud when trying to update apps and i don't know the password or security questions for the old email. I can sign in with my apple id which is tied to another email but not itunes how to fix

    I have an apple id and it has my current email attached to it. however when i go to update apps it's asking for the password for an old email. I no longer have the old email and can't use it. when I go to icloud on my ipad it asks for the password for old email. it doesn't allow me to change the old email to current. when i go to reset it i can't remember the password or security questions for the old email so it doesn't let me go any further. How do I fix this? Do i need to call apple support?

    I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
    The old email address no longer exists - I haven't used it in a year probably and I no longer have the account.  I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there.  On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back.  Every 2 seconds I am asked to log in using the old non-existent email.  The device is currently useless.
    The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
    Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option?

Maybe you are looking for

  • How to set SubmitButtonBean's attribute in Java

    I want create <submitButton name="Buttom's name" ctrl:event="push"/> in Java: SubmitButtonBean button = new SubmitButtonBean("Buttom's name"); and I need set attribute "ctrl:event". I tried this: oracle.cabo.ui.AttributeKey event = AttributeKey.getAt

  • Interactive elements in indesign

    Hi all, I create tender documents for my company, often involving a requirement for a digital version as well. In iDeisgn I want to spruce up the contents a little with interactivity. Very simple just a button to goto each section of the PDF. I build

  • Oracle and Sql Server Physical Schema

    Hi Forumer, I am new to the ODI, and trying to use it for few of the POCs. I know that the ODI supports mulitple types of technologies like Oracle, MS SQL Server, etc. quite well. My requirements are something like this: I have two same application d

  • Enabling "Delete a Database" option in DBCA

    Hi, I want to delete my database using DBCA, i know i can directly drop the database , since i have tried all options to enable the option of "+Delete a Database+" but guess need right process...i have also tried by stopping all oracle services ..but

  • After data transfered (ALE/IDoc), the data in one of the segment IS GARBAGE

    Hi Experts, I have posted data through ALE/IDoc. I am checking the posted data. in one of the segment the address, street name, name.....etc are looks like "±±¾©»ÝµÂºÀÊ˿Ƽ¼·¢Õ¹ÓÐÏÞ¹«Ë¾"...these are garbage charecters. If I set it ot "Traditionally C