Excel crashes during the extraction of data using webutil - if size 500 kb >

Dear all,

I use form oracle (Forms [32 bit] Version 10.1.2.0.2 (Production)) on Windows server 2003 and configured webutil(Version 1.0.0). I m using this webutil to open excel file form oracle using CLIENT_OLE2. everything works fine if the size of the file is small.however, when data are large (i.e. If excel file size is superior the 500Ko) webutil stop extracting data and excel to hang himself. In fact, at first data are extracted very fast (until the excel file 200 kb) but little by little extraction speed of data to excel file decreases and stops in the end that the size of the file reaches 500 KB excel please help its urgent.

Kind regards

Manoj Rajput

I understand your desire to use Excel, however, when you transfer large amounts of data like this, WebUtil is not the best tool for the job.  Since you survived "fetch data in Excel through webutil (CLient_ole2)" you force your customers to wait a long time while your form for read/write in Excel.  A more effective method would be to use a directory that is shared between your database file systems and Application Server and the database allows you to export your data to a file: separation by comma (.csv) in the shared directory.  Then use WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT () method of WebUtil to transfer the file to the client computer.  If you want to automatically open the file for the user, you can then use the CLIENT_HOST() of WebUtil method to open the file using its default display.  In this case, the typical Viewer for .csv files is Excel.  It is a much faster method that always uses Excel and I think that your users would be extremely satisfied with the much faster processing speed.

Craig...

Tags: Oracle Development

Similar Questions

  • Oracle Instance crashes during the allocation of channels using the Oracle database backup Service

    I am running Oracle Version 11.2.0.3 on a 64 bit Windows Server 2008 SP 2 OS.  Today when I tried to allocate a channel for 'SBT_TAPE' my instance has crashed.  Everyone knows this?

    Set ORACLE_HOME=D:\app\oracle\product\11.2.0\dbhome_1\

    Set ORACLE_SID = CNFCRAC1

    Set SBT_LIBRARY=D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll

    Set OPC_PFILE=D:\app\oracle\product\11.2.0\dbhome_1\database\opccnfcrac1.ora

    RMAN > Connect target

    RMAN > run {}

    allocate channel t1 'SBT_TAPE' device type

    PARMS ' SBT_LIBRARY=D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll, ENV=OPC_PFILE=D:\app\oracle\product\11.2.0\dbhome_1\database\opccnfcrac1.ora)';

    }

    Windows Event Viewer:

    The failing application name: ORACLE. EXE, version 11.2.0.3

    Module failed name: oraopc.dll, version 12.1.0.0

    Exception code: 0xc0000005

    Offset: 0x00000000000249af

    ID of the process failed: 0 x 1510

    Failed application start tiem: 0x01d0eb098ecd2d2f

    The failing application path: d:\app\oracle\product\11.2.0\dbhome_1\bin\ORACLE. EXE

    Flaws Path E-mail: D:\app\oracle\product\11.2.0\dbhome_1\BIN\oraopc.dll

    I made sure that the PATH environment variable has the following entry.  D:\app\oracle\product\11.2.0\dbhome_1\BIN

    RAC1 Table of contents alerts journal:

    Fri Sep 11 09:04:23 2015

    Thread 1 Advanced to record the sequence 11277 (switch LGWR)

    Currently Journal # 3 seq # 11277 mem # 0: +REDO/cnfcrac/onlinelog/group_3.258.824214591

    Fri Sep 11 09:04:31 2015

    Archived journal 23067 extra for each sequence 1 11276 0x82a6e611 dest ID thread entry 1:

    Fri Sep 11 09:06:20 2015

    Reconfiguration began (old Inc. 16, new Inc. 18)

    List of instances:

    1 (myinst: 1)

    Fri Sep 11 09:06:44 2015

    Global Resource Directory frozen

    * death detected instance - invalid domain 0 = TRUE

    Restored communication channels

    Diffuse master hash resource bitmaps

    Blocks of non-local process cleaned

    Fri Sep 11 09:06:44 2015

    LMS 0: GCS shadows cancelled 0 1 closed, 0 Xw survived

    Fri Sep 11 09:06:44 2015

    Shadows GCS LMS 1: 1 cancelled, 1 closed, 0 Xw survived

    Set of master node info

    Subject to all requests for remote enqueue

    DWN-cvts replayed, questionable VALBLKs

    All enqueues grant awarded

    Post SMON start 1 IR pass

    Fri Sep 11 09:06:46 2015

    Instance recovery: looking for dead threads

    Beginning of thread 1 instance recovery

    Subject to all requests for remote-cache GCS

    Post SMON start 1 IR pass

    Fix write in SCM resources

    Contents of the journal of alerts 2 RAC

    Fri Sep 11 08:57:47 2015

    Archived journal 23064 extra for each sequence 2 11793 0x82a6e611 dest ID thread entry 1:

    Fri Sep 11 09:06:42 2015

    Starting ORACLE instance (normal)

    LICENSE_MAX_SESSION = 0

    LICENSE_SESSIONS_WARNING = 0

    Monitoring of normal startup parameters... I looked in the CRS, ORAAGENT, OCTSSD, and CRSD marbles, but I can't find anything that stands out as to what caused the end of abnomal, another of the communication between the two bodies has not responded within the specified time.

    -Jen

    Hi Jen,

    There is a known issue with Windows module. We are working on fixing it and the new module should be available soon. I'll update as soon as we release the fixed module.

    Sridhar

  • Satellite Pro A110 crashes during the transfer of the large data in LAN

    Hello

    My Satellite Pro A110 crashes during the transfer of the large data in LAN. The network driver is a Realtek RTL8139/810 x Family Fast Ethernet NIC I've been looking through this forum and found some wire whit exactly the same problem, saying that the solution is to update Realtek lan set up in BIOS, not the computer BIOS, but I can't find any link to download the necessary upgrade file. Can anyone tell me please where to find this upgrade file or send it to me directly?

    Thanks in advance

    Is - this transfer of data in the company where you work? Do you want to download data from the server, or how to understand this? How to understand what you mean under big data?

    Have you tried downloading data on the Internet? For example, if you try to download some trailer HD (more than 200 MB)?

  • Firefox Version 27 Action Menu error in Reporting Services. An error has occurred with the extraction of data.

    Hello, since I've updated for Firefox 27.0.1 on Windows 7, I have a problem with Reporting Services on a Sharepoint site. It is a site of Sharepoint 2010 with SQL Server Reporting Services 2012 Sharepoint integrated mode. I was already on Firefox version 26 and didn't meet with this problem.

    When a report is opened and you use the Actions link on the Reporting Services toolbar, I get the following error messages.

    An error has occurred with the extraction of data. Please, refresh the page and try again.

    I tried updating to the beta version of Firefox 28 but the same error occurs. I see that someone else is having the same problem here. http://SharePoint-community.NET/forum/topics/reporting-service-and-Firefox-27

    Any help would be appreciated. Thank you!

    Ryan

    Firefox version 28.0 has corrected this problem. Thank you!

  • STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt and recovery XP says error during the extraction process. Details of error: path not found___

    My friend turned on their laptop packard Bell recently and had the following problem. Windows XP screen loads but is then followed by a blue screen that says STOP: c0000221 {Bad Image Checksum}. The image rpcrt.dll is possibly corrupt. The header checksum does not match the checksum calculated.

    I can't the laptop to go further. I have accessed the Microsoft recovery Panel and try a non-destructive recovery as there are some precious photos that need backup. However, when you select 'no profile' to begin the recovery, I get the message:

    Error during the extraction process. Details of error: path not found

    I'm a bit of a novice when it comes to this sort of thing, but if someone can provide step by step help giving rise to lose photos, I'd be willing to give it a try. I also have XP Home Edition disk that came with the laptop but has never been opened. Any help would be appreciated. Thank you

    You hear your message said something about rpcrt4.dll?  It is important to relay the exact message you see.

    Please provide additional information on your system:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a CD/DVD drive work?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    You use some CD to access this Panel of Microsoft recovery where this "no profile" option is?  I don't know what all this means if it isn't some CD shipped with your system, in which case, I would use it for a coaster instead of something to fix your system.

    If the c:\windows\system32\rpcrt4.dll file is missing or afflicted, you do not start in the last good known Configuration.

    You also will not start in any kind of Mode safe no more.

    Even if you could boot mode safe, you would find that sfc/scannow does not work in Mode without failure in all cases (never).  If you try it, you'll see a message like this:

    Windows file protection could not initiate a scan of protected system files.

    The specific error code is 0x000006ba [the RPC server is unavailable.].

    Failed to start the RPC mode server safe either.

    I can't recreate your error exactly, but it is easy to replace the rpcrt4.dll file.  Looks like you have a working CD drive, so put yourself a Hiren boot CD and when you started on this, you can copy your precious files to a USB device for safety.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    You need to rename or replace the rpcrt4.dll file which is in c:\windows\system32 and replace it with one you will find the backup copies.

    There should be a backup copy of rpcrt4.dll already on your system, here or here:

    c:\Windows\System32\dllcache

    c:\windows\ServicePackFiles\i386

    When you get the Hiren's CD's, you can use to replace the missing or suspicious file.  If you need help with that, first get the Hiren's boot CD made and start over, then we can continue.

    Do you have a Hiren BootCD you can download here:

    http://www.hirensbootcd.NET/

    On the left, click on download, scroll down, choose the latest version, the download link is a little hard to see.  It is at the bottom of the page, above the drop for older versions and looks like this (click this component to download the ZIP file):

    Direct HTTP mirror + Torrent, Torrent Magnet

    Click the "Live HTTP Mirror" link to start the download and save the ZIP file on your desktop of somewhere that you can remember.

    The ZIP file is large, so the download will take probably some time to complete.  Then unzip the download to extract the Hirens.BootCD.ISO file that will be used to create your new bootable CD.

    Create a bootable CD. ISO file is not the same as simply copying the. File ISO onto a blank CD.  You must use software that includes how to burn a. ISO to a CD to create a bootable CD.

    File ZIP the Hiren is the file BurnToCD.cmd that you can double-click to launch it.  The BurnToCD.cmd will use the file BurnCDCC.exe to burn the. ISO file onto a blank CD using your existing CD burner.  You can also use your own burning software as long as your software is able to create a bootable CD. ISO file.  More modern burning programs can create a bootable CD. ISO image.  Create a CD from an ISO image bootable is not the same as just the file on a CD burning.

    If you need a simple and CD burning, this is a free software popular software:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your new bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.

    These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When starting on the Hiren's CD, you will see a menu of options.  Choose Mini XP.  It will appear while Windows is loading and you will be presented with a desktop computer that has the look and feel of the interface of Windows Explorer, you are already accustomed to using.

    Using the Mini XP, you can access Internet, maneuvering around your system, search for files, copy files, replace the files and run the scans for malware, edit the text files (like the c:\boot.ini) etc.

    There are dozens of free and useful tools included in the CD that can be used to repair your system or copy your important personal files on another device (like a USB device or an external drive) in the case where you just give up and decide to reinstall your XP (I hope that you will not make this decision)

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • Windows 8 crashed during the last update, now wants to save and may not do.

    Windows 8 crashed during the last update. Stuck at 30% for more than 4 hours before I finally pressed the power button to restart the system. Windows 8 Pro with Media Center now says system build 9200 at the bottom right of the screen.

    Whenever I try to activate Windows 8, it cannot connect. When you use the command prompt Windows + R and slui 3 with my purchased serial number I get Code 0 x 80070424. Description: The specified service does not exist as an installed service.

    Hello

    This error can appear if your firewall settings prevent Windows to complete the online activation process. To resolve this problem, you can activate Windows by phone instead.

    1. Enter in the right edge of the screen and then click on Search.
      (If you use a mouse, point to the upper right of the screen, move the pointer of the mouse down and then click find.)
    2. Type SLUI 04 in the search box, type or click on applicationsand then tap or click SLUI 04.
    3. Follow the instructions on the screen.

    Hope this helps

  • Equium A60 crashed during the update of the Bios

    Hello, can someone tell me if this can be repaired. IHAVE an A60 Equium that crashed during the update of the BIOS, now he died nothing lights up.
    Thanks in advance

    I presume that the BIOS chip is damaged. In this case, you can do anything to make it work again. Just approved can help.

    The problem is that the repair can be quite expensive. Check it out. If selling Yes the laptop on eBay and... you know what I mean. :(

  • I don't like to upgrade Windows XP to Windows 7, because I'm blue screen/crash during the upgrade but the upgrade Windows XP to Windows Vista does not crash during the upgrade!

    I have my computer to another, here my specs:

    Intel Core 2 Duo
    Hard drive 500 GB
    2 GB OF RAM
    DVD player
    Floppy Disk
    The operating system that is running Genuine Windows XP Professional Service Pack 3 and just upgraded Windows 7 (but I know before upgrading Windows 7) and keep the blue screen / Crash when upgrading to Windows 7. but the upgrade Windows XP to Windows Vista is not blue screen/crash during the upgrade.
    Is anyone to upgrade from earlier version of Windows to Windows 7 without crashing and spending fortune?

    Hello

    1 did you change on your computer before this problem?

    2. What is the blue stop screen error message?

    3. When you receive a blue screen during the upgrade?

    You can follow the suggestions and then check.

    Method 1

    Disconnect external devices connected to the computer?

    Method 2

    You can read the article and then check.

    Upgrade Windows XP to Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/help/upgrading-from-Windows-XP-to-Windows-7

    See also:

    Windows 7 Upgrade and Migration Guide

    http://TechNet.Microsoft.com/en-us/library/dd446674 (v = ws.10) .aspx

  • during the extraction of 2 discs have been mixed, how to separate them?

    During the extraction of the files of course 2 discs were mixed my library.  How can you separate them?

    Hello

    -You have any third party burning / ripping software on your computer?
    -How exactly these two discs are mixed together?

    Check if Windows Media Player database help reconstruction.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-sound/media-library-is-corrupted/1dd3982a-7122-4bc9-B667-79b60c237734

    See also:

    Rip music: frequently asked questions

  • Not able to change the plan of the quality during the inspection of reception using the task of ACEM.

    Hi all

    I am not able to change the plan of the quality during the inspection of reception using the task of ACEM.

    Please suggest what to do on the priority.

    Thank you and best regards,

    Piyush Kudawalee

    Hello

    If you use functions much jump, then you must add a new plan of the quality in the settings of jumps.

    Please go to the root of quality > process lots Skip parameters > application process of Skip lot number attached to the elements > go to settings to jump > add plan new collection...

    This will show you the two quality LIMM and Oracle plans. You can add as many plans as you want and can restrict their in asigning to specific jump lot.

    The quality plan is failing because there can be only plan quality attached to jump a lot.

    NOTE: Please indicate the post as helpful or answered if the update has really helped you. This would also bring the wire to the logical conclusion and will be useful for viewers.

    Thank you

    GHG

  • My mac crashes during the installation of the cs6. I have to turn off the mac. Now, I can't reinstall or uninstall cs6. He said the Installer failed to initialize.

    My mac crashes during the installation of the cs6. I have to turn off the mac. Now, I can't reinstall or uninstall cs6. He said the Installer failed to initialize.

    If you have not yet installed any Adobe application, try step below and check.

    Step 1

    (1) right-click on the icon in the Finder, then select 'Go - To' folder.
    (2) you will get a text box, type in the following command and then press the 'return '. ( "Don't miss ~ symbol" )

    ~/Library

    It will open the folder of the user's library.

    (3) then navigate to Application Support > Adobe.

    Open the Adobe folder and rename the OOBE, OOBE old and AAMUpdater to old AAMUpdater.

    Step 2

    (1) right-click on the icon in the Finder, then select 'Go - To' folder.
    (2) you will get a text box, type in the following command and then press the 'return '.

    / Library

    It will open the folder System Library.

    (3) then navigate to Application Support > Adobe.

    Open the Adobe folder and rename the folder Caps Caps-old and young OOBE to centenarians, OOBE Adobe Application Manager of Adobe Application Manager.


    Step 3)

    Basket of Adobe Application Manager of Applications > utilities.

    Step 4) [same step again]

    Click on the link below and download Adobe Application Manager and install the same:

    http://download.Adobe.com/pub/Adobe/creativesuite/CC/Mac/ApplicationManager9.0_all.dmg

    Once installation is complete, niche is going disappear, and then open the Application folder and locate the icon to launch Adobe Application manager, double-click it and update.

    Once the update is complete.

    Restart the computer once and try to install CS 6.

  • Is it possible to ignore some accounts during the loading of data

    Hi, I have a rules file that I use to load the data.

    I want to ignore some accounts (only for now 112123, 123453, 546567) during my loading of data.

    is there a way to do... ?

    Thanks in advance

    Check by using a rules file to perform operations on documents, fields, and data

    Rejecting Records

    You can specify which fields Essbase ignores defining criteria of rejection. Rejection criteria are string and number conditions, when met by one or more fields of a record, causes Essbase refuse registration. You can set one or more criteria of rejection. If any field in the record meets the criteria of rejection, Essbase loads the record. For example, to dismiss the actual data from a data source and load only the budget data, create a rejection criterion for rejecting the records where the first field is real.

    Concerning

    Celvin Kattookaran

  • Premiere Pro CC 14 crashing during the import, export

    I'm in first Pro CC 2014.0 on Windows 7 Pro

    Processor: Intel Core i7-4770 GPU @3. 40 GHZ

    RAM: 24 GB

    GFX card: Intel HD 4600 graphics card

    Mercury reading - No.

    No 3rd party extension, just not the first

    The program worked fine until yesterday when I was trying to make a few simple changes of some sequences of GoPro together and first began to freeze and crash when the rendering and exporting. I thought it was a problem with the images, so I tried to import videos from my Canon XA20, I used earlier in the day, I knew that worked and now the first crashes when I try to import and move it to the timeline. I uninstalled and reinstalled the first and the problem has not been corrected. Here are two sets of error messages I've seen in the case of newspapers.

    Log name: Application

    Source: Application error

    Date: 17/09/2014 14:14:01

    Event ID: 1000

    Task category: (100)

    Level: error

    Keywords: Classic

    User: n/a

    Computer: NMI-0302

    Description:

    Name of the failing application: Adobe first Pro.exe, version: 8.0.1.21, time stamp: 0x53c7b17f

    Name of the failed module: devenum.dll, version: 6.6.7600.16385, time stamp: 0x4a5bded7

    Exception code: 0xc0000005

    Offset: 0x00000000000016a0

    ID of the process failed: 0x10a0

    Start time of application vulnerabilities: 0x01cfd2a302bdec9a

    The failing application path: C:\Program Files\Adobe\Adobe Premiere Pro 2014\Adobe first Pro.exe CC

    Path of the failing module: C:\Windows\system32\devenum.dll

    Report ID: 65f70bf3-3e96-11e4-8d5f-e03f49165c57

    The event XML:

    " < event xmlns =" http://schemas.Microsoft.com/win/2004/08/events/event "> "

    <>System

    < name of the provider = 'Error of Application' / >

    < qualifiers EventID = '0' > 1000 < / EventID >

    < niv.2 > < / level >

    < task > 100 < / task >

    < Keywords > 0 x 80000000000000 < / keywords >

    < TimeCreated SystemTime = "' 09 - 2014-17 T 18: 14:01.000000000Z" / > "

    < EventRecordID > 12818 < / EventRecordID >

    Application of < channel > < / Channel >

    < computer > NMI-0302 < / computer >

    < security / >

    < / system >

    < EventData >

    < data > Adobe first Pro.exe < / data >

    < data > 8.0.1.21 < / data >

    < data > 53c7b17f < / data >

    devenum.dll < data > < / data >

    < data > 6.6.7600.16385 < / data >

    < data > 4a5bded7 < / data >

    c0000005 < data > < / data >

    00000000000016a 0 < data > < / data >

    a 10-0 < data > < / data >

    < data > 01cfd2a302bdec9a < / data >

    < data > C:\Program Files\Adobe\Adobe Premiere Pro 2014\Adobe first Pro.exe CC < / data >

    C:\Windows\system32\devenum.dll < data > < / data >

    < data > 65f70bf3-3e96-11e4-8d5f-e03f49165c57 < / data >

    < / EventData >

    < / event >

    ---------and-----------------

    Log name: Application

    Source: Application error

    Date: 17/09/2014 14:25:51

    Event ID: 1000

    Task category: (100)

    Level: error

    Keywords: Classic

    User: n/a

    Computer: NMI-0302

    Description:

    Name of the failing application: Adobe first Pro.exe, version: 8.0.1.21, time stamp: 0x53c7b17f

    The failed module name: IntelOpenCL64.dll, version: 1.1.0.1005, time stamp: 0x52e04aa1

    Exception code: 0xc0000005

    Offset: 0x00000000000416a0

    ID of the process failed: 0x12d4

    Start time of application vulnerabilities: 0x01cfd2a4c42ce017

    The failing application path: C:\Program Files\Adobe\Adobe Premiere Pro 2014\Adobe first Pro.exe CC

    Path of the failing module: C:\Windows\system32\IntelOpenCL64.dll

    Report ID: 0d0d3a2e-3e98-11e4-8d5f-e03f49165c57

    The event XML:

    " < event xmlns =" http://schemas.Microsoft.com/win/2004/08/events/event "> "

    <>System

    < name of the provider = 'Error of Application' / >

    < qualifiers EventID = '0' > 1000 < / EventID >

    < niv.2 > < / level >

    < task > 100 < / task >

    < Keywords > 0 x 80000000000000 < / keywords >

    < TimeCreated SystemTime = "' 09 - 2014-17 T 18: 25:51.000000000Z" / > "

    < EventRecordID > 12820 < / EventRecordID >

    Application of < channel > < / Channel >

    < computer > NMI-0302 < / computer >

    < security / >

    < / system >

    < EventData >

    < data > Adobe first Pro.exe < / data >

    < data > 8.0.1.21 < / data >

    < data > 53c7b17f < / data >

    < Data > IntelOpenCL64.dll < / data >

    < data > 1.1.0.1005 < / data >

    < data > 52e04aa1 < / data >

    c0000005 < data > < / data >

    00000000000416a 0 < data > < / data >

    < data > 12d 4 < / data >

    < data > 01cfd2a4c42ce017 < / data >

    < data > C:\Program Files\Adobe\Adobe Premiere Pro 2014\Adobe first Pro.exe CC < / data >

    < Data > C:\Windows\system32\IntelOpenCL64.dll < / data >

    < data > 0d0d3a2e-3e98-11e4-8d5f-e03f49165c57 < / data >

    < / EventData >

    < / event >.

    Any help would be greatly appreciated this aggravating problem!

    Thank you!!

    Dan

    Hello

    Try resetting preferences.

    go to documents folder-adobe - 7.0

    Rename old 7.0

    Once we reset the preferences, you loose you presets custom and shortcuts keyboard if you have created a.

    Thank you

    Arjun

  • Need help for managed bean - to the values of the extraction of data loading of jsf is

    Hello
    in the construction of managed bean, I wrote code to extract values from database.

    but for each action (such as button clicks, drop-down list changes etc...) this constructor is called I don't want.

    I tried to over come this using beforePhase event of the jsf. but sometimes it doesn't property.

    Someone please help me to retrieve the values of data base loading of jsf is.

    Thank you
    Veera

    Veera
    If you want to execute a method in a method beforePhase only once (when loading the page) then you can check the expression #{adfFacesContext.initialRender} before running all you want.

    import javax.el.ELContext;
    import javax.el.ExpressionFactory;
    import javax.el.ValueExpression;
    import javax.faces.application.Application;
    import javax.faces.context.FacesContext;
    import javax.faces.event.PhaseEvent;
    
    public class Test {
    
        public boolean isInitialrender() {
            FacesContext fctx = FacesContext.getCurrentInstance();
            Application application = fctx.getApplication();
            ExpressionFactory expressionFactory =
                application.getExpressionFactory();
            ELContext context = fctx.getELContext();
            ValueExpression createValueExpression =
                expressionFactory.createValueExpression(context,
                                                        "#{adfFacesContext.initialRender}",
                                                        Object.class);
            Boolean isInitialrender =
                (Boolean)createValueExpression.getValue(context);
            return isInitialrender;
    
        }
    
        public void beforePhaseMethod(PhaseEvent phaseEvent) {
            // Add event code here...
            if (isInitialrender()) {
                System.out.println("This statement is shown once... when the page is loaded");
            }
        }
    }
    
  • BONES of Sierra crashing to the LOGIN screen while using the service of mission control.

    After Sierra OS upgrade my MacBook Pro hangs on login screen every time I have used the function of mission control.

    Hey hernj103,

    Thank you for using communities of Apple Support. I can see your post after upgrading to Mac OS Sierra that reboots your MacBook Pro, if you use mission control. There could be a number of reasons that could cause this and I want to help you have a reliable working Mac, so I'm here to help! If you have not already done, you want to make sure that you have a backup of your data and you can use the option in the link below:

    Use Time Machine to back up or restore your Mac

    Once your data is secure, you'll want to test this function in Mode safe mode and see if you get the same effect. Safe mode (sometimes called secure boot) is a way to start up your Mac so that it performs certain checks and prevents certain software from loading automatically or opening. Also, it verifies your startup disk and trying to fix problems if necessary directory and delete font caches, hiding the kernel and other files of the system cache. The following link can show you how to start your MacBook Pro in Mode safe.

    Try safe mode if your Mac does not end commissioning

    If you continue to have problems after the safe boot mode, let know us and we can continue to solve the problems there.

    See you soon.

Maybe you are looking for