Java SP's - Initial Load Time!

FYI, We are running Oracle 8.1.7 on HP/UX 11.0 using Java Stored Procedures.
The Java stored procedures work fine (sub-second performance) after being loaded into memory, but the initial load time can be anywhere from 2 to 3 seconds. When you have 30+ Java stored procedures, the initial startup causes table locking and contention that will cause our app to crash.
Rewriting these Java SP's in PL/SQL shows that PL/SQL is immune to this initial load time (to a much lesser degree). Besides rewriting my application to read all of the Java SP's into memory before app startup, is there anything I can do on the Oracle server side to improve (or eliminate) load times for Java Stored Procedures?
Thanks!

Hi Sonja,
maybe you can help me:
I want to map a portal role (     pcd:portal_content/every_user/general/eu_role) to a user. So I use the SAP Provisioning Framework with the Job "SetJavaRole&GroupForUser". But I get following exception:
putNextEntry failed storingSPML.SAPUSER.3010
Exception from Add operation:com.sap.idm.ic.ToPassException: No such objectclass defined
Exception from Modify operation:com.sap.idm.ic.ToPassException: SPML exception: Could not update
user The given id "$FUNCTION.sap_getSPMLRoles(2371!!NEW_UME!!pcd:portal_content/every_user
/general/eu_role)"is not a unique id of a role!
In the "destination" tab of the job I entered the following values:
     SPMLID             SPML.SAPUSER.%MSKEYVALUE%
     assignedroles     $FUNCTION.sap_getSPMLRoles(%MSKEY%!!%$rep.$NAME%!!pcd:portal_content/every_user/general/eu_role)
I have no idea what's wrong in here...
Maybe you or someone else can help me...?!

Similar Messages

  • Reduce Flex application initial loading time

    Comparing to HTML, Flex's initial load time is very long. How
    to reduce the initial loading time to the level that is
    comparable to HTML's loading time for the page content? Any
    best practice or rules to follow?

    Ok, OK! What's the specs?
    How long is the load time? Please don't say "very long".
    Let's see the spec. Oh, and can you give me a load time for the
    mythologocal HTML page in question, just so I can compare?
    I gotta tell ya, I sometimes take a nap when I'm loading half
    the ASP pages I stumble across nowadays.
    Here's a page from the Los Angeles times--html--- coming in @
    6-7 seconds.
    http://latimesblogs.latimes.com/lanow/2009/02/los-angeles-pay.html
    Another example: from CNN.com, coming in at about 10-11
    seconds. Unbelievable.
    http://www.cnn.com/video/#/video/showbiz/2009/02/03/wynter.simpson.scientology.cnn
    I've got a 350Kb Flex app using RSLs which loads in about 5
    seconds. I'm kicking @ss compared to a lot of professional web
    sites out there. Think that's too slow? Compared to what???

  • Slow initial load time - URGENT

    I created some business component forms in jdeveloper 3.2.3. For some reason, it takes 15 seconds to load any of the forms for the first time (afterwards, it only takes 2 seconds). I get the same timings regardless of the number of rowsets I use.
    It takes 15 secs for a screen with 1 rowset and for a screen with 5 rowsets. It also is slow running in jdeveloper and in production.
    That is unacceptable for my end users (they are ready to reject the project because of it).
    If I remove the jbInit call from the program, the load time goes down to 5 secs (which would probably be acceptable), but then I lose the navigation.
    Is there any way to speed up the initial load?
    TIA.

    If this is a wizard generated form, was there any modification made ?. The jbInit
    code by default sets up the InfoProducer objects. The ApplicationModule is then
    created and queries executed when the publisSession method is called on the SessionInfo
    object. This publishSession by default happens after the jbInit code. I would imagine
    the publishSession method to take more time in comparision to jbInit code which
    typically instantiates the UI elements and creates your form. Is there any other
    setup that happens in jbinit ?.
    If I remove the jbInit call from the program, the load time goes down to 5 secs
    (which would probably be acceptable), but then I lose the navigation. Could you provide more info., on what you mean by navigation ?. Is is the setup of
    the navigation bar and menu you are referring to ?.
    HTH,
    Sathish

  • Powerview report initial loading time from Sharepoint bottle neck for almost 5 seconds

    I would like to ask:
    Beside the SQL Server CU10 patch update and sharepoint component update, is there some work around we can do to booze the initial load of 5 second performance bottle neck for Powerview connection?
    e.g. run some schedule job to keep connection with power view service?

    Hi Johnny,
    If we render a Power View report that uses a PowerPivot workbook as its data source, slow performance might occur while the report is rendered. To work around this issue, we can refer to the following methods:
    Reduce the complexity and number of sheets within the PowerPivot workbook.
    Limit the number of Excel sheets and the complexity of what is located on them.
    Limit the number of items on the Power View report.
    Besides, I recommend you refer to the following article to troubleshoot Power View report performance issue:
    http://blogs.msdn.com/b/psssql/archive/2013/07/29/tracking-down-power-view-performance-problems.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Photoshop CC 2014 unusual long initial loading time.

    Never had this problem with Photoshop CS6.
    OSX Yosemite
    Macbook Pro Retina 2013
    Just bought CC last night, every time I open Photoshop CC, the app works fine for a few second (before the welcome screen popup) then goes into a 45sec - 1min loading, the mouse pointer changes to the rainbow spinner during the period of time and Photoshop isnt responding to any input. After the loading is done, the welcome screen pops open and everything is fine again...its very strange and frustrating.
    This is all happening without opening any image files, just trying to run PS itself.
    Any ideas?

    As you can see from the crash details, your AMD video card driver is crashing.
    You need to update your video card driver from AMD's website (not Microsoft or a system builder).

  • Can this html code be changed to speed up the image load time?

    I found some html that creates a auto running slide show. I've got three images (small image sizes) but it is slow to start up when the page is first opened. http://web.me.com/phelpssculpture/Site/test.html this is the escaped code:
    <center><img id='imageholder' src='' ></img></center>
    <script type='text/javascript'>
    images = new Array();
    images.push('http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/royalprpage.jpg');
    images.push('http://web.me.com/phelpssculpture/Docs/Lovetest.jpg');
    var image_index = 0;
    function rotateImage() {
    if (image_index == images.length - 1) { image_index = 0 } else { image_index++ }
    document.getElementById('imageholder').src = images[image_index];
    setInterval('rotateImage()', 5000);
    </script>
    I have a page: http://web.me.com/phelpssculpture/Site/Resume.html
    that has a rollover image (from OldToad) that has two images about the same file size and located in the same folder on my iDisk as the other slide show images but it seems to load instantly.
    this is the escaped code:
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    loadImage1 = new Image();
    loadImage1.src="http://web.me.com/phelpssculpture/Docs/typewriterprpage.jpg";
    staticImage1 = new Image();
    staticImage1.src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg";
    // End -->
    </script>
    <a href="http://web.mac.com/phelpssculpture/Site/royal.html" onmouseover="image1.src=loadImage1.src;" onmouseout="image1.src=staticImage1.src;">
    <img name="image1" src="http://web.me.com/phelpssculpture/Docs/royalprpage.jpg" border=0></a>
    Does anyone know if it's possible to improve the html of the slideshow snippet to speed up the initial load time?
    Thanks, David

    Ethmoid:
    There are seven different pages: http://web.me.com/phelpssculpture/Site/movieroyal_davidphelps.html
    Each link is directed to a different page.
    I created the basic layout on one page and then duplicated the page six times.
    the links are in one text box ( that's why they're lined up well ) and each individual word is activated as a link. I changed the background color of the forward tab to match the color of the main shape and used the send forward or send backward command to get the tabs to look right on each page.
    The only problem with the words being in a single text box is that explorer doesn't render the spacing correctly and they fall off their respective tabs. When I get time I will put each word in it's own text box ( it's not that hard to align them ) so it will render properly in explorer.
    Sincerely, David Phelps

  • ? regarding firewire 800 load time

    Hi all. I recently purchased a new imac i5 27" and at the same time purchased a G-Force 3TB Hard Drive. I keep my iphoto library and itunes library on the external drive and have encountered what I consider an annoyance but am unsure if it is normal or not. I have itunes and iphoto set to automatically open when my computer is restarted, as both libraries are on the external drive neither itunes or iphoto can load unless the external drive is fully operation and on the desktop once OS X has loaded.
    When using either of the G-Force's Firewire 800 ports to connect to the iMac it takes 12-15 seconds for the G-Force hard drive icon to load onto the desktop once OS X has loaded. Of course by this time iTunes & iPhoto have both attempted to load and can not as the G-Force hard drive still hasn't loaded. However if I use the G-Force's USB 2.0 to connect to the iMac the external had drive is always loaded by the time the desktop comes up and this of course negates the problem I have been having with the initial load of itunes and iPhoto.
    Is it par for the course that Firewire 800 takes longer to startup? It would seem counter intuitive to me but I don't have much experience with it? Or perhaps it's just this particular external hard drive (or it's FW 800 ports) that is causing the long initial load time, however that wouldn't explain why when using USB 2.0 on the hard drive I don't have this problem.
    The bottom line is that for the meantime I will have to use USB 2.0 as I really like to have itunes & iPhoto open at launch. I can't say I'm loving the G-Force 3TB as this is my second unit, the first returned due to long read/write times, so perhaps not all Firewire 800 drives take so long to load? Any insight would be appreciated. Thx

    Is it par for the course that Firewire 800 takes longer to startup?
    No.
    I have a 1.0TB external drive connected via FW800. I've partitioned it into three volumes. On booting or restarting, when the desktop is first displayed all three volumes are displayed with it. No delays at all.
    The delay you experience could well be something peculiar to your drive.

  • ADF Table load time

    this.getCmSubscriberNewView1().executeEmptyRowSet();
    Hi,
    JDeveloper 11.1.1.3.0v
    I have 6 tables in my jspx page and before loading the page. I am calling the AM method to clear the previous data by the below code.
    this.getCmSubsw1().executeEmptyRowSet();
    Now my issue is, even though I call this executeEmptyRowSet, table is taking long time to load. I dont want any execution of my VO object's at the time of page load.
    All I want is, when ever user clicks on search button, these vo's should get executed and load the data.
    Please let me know how to achieve this.
    Thanks.

    Hi,
    beside that there seems to be something with your query when the initial load time takes ages, you can set the refresh condition on the iterator in the PageDef file to not query the data. For example, set the refresh condition to a managed bean attribute which returns false by default. Then, when the user clicks a button to query the table, set the attribute to "true". Make sure the managed bean is in viewScope so that when you navigate away from the page to then come back, it does show empty again
    Frank

  • Jive Forums Load Time

    Hi,
    We have installed Jive Forums on our NW 7 SPS 14 portal and, for the most part, it is fine. We do have an occasional issue in that the initial load time can be over 40 seconds for the application to appear. Subsequent loads are fine. Sadly, there is no consistency across which server this happens or to which user (often it is less than 3 seconds). This happens in both our clustered production and non-clustered development environments.
    Anybody got any pointers as to where to look next?
    Neil.

    Well I just timed it:
    56 seconds from hitting the reply button until an edit postion..
    I append I screenshot I made after 10 seconds:
    see attachment
    This stays the same while the status bar of Firefox 2.0 says: Connecting with forums.ni.com and waitn for forums.ni.com
    Ton
    Message Edited by TonP on 01-27-2007 08:49 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    LoadTime.PNG ‏45 KB

  • After Upgrade BI Initial load is taking much time

    Dear Friends,
    We had BW 3.5 on  Windows 2003(32 bit) & SQL 2000.
    I upgraded it to BI 7.01 (EHP1 SR1) with Windows 2003(64bit),SQL 2005 & completed all followup activities.
    Now when we are doing initial load it is taking long time. Please do let me know your inputs as soon as possible.
    Regards,
    Sunil Maurya.

    Hi ,
    I created the thread under netweaver forum.
    But still I'll check & try create it in correct forum.
    Regards,
    Sunil Maurya

  • I recently upgraded to 10.6.7 and Safari 5.05. Safari now has a long load time when you initially boot it up and when selecting a new tab. Other than that it works fine. What can I do ?

    I recently upgraded to 10.6.7 and Safari 5.05. Safari now has a long load time when you initially boot it up and when selecting a new tab. Other than that it works fine. What can I do ?

    Check Safari / Preferences - Extensions. If you have any installed, turn that off, relaunch Safari.
    If it's not Extensions, check for third party Safari add ons.
    http://support.apple.com/kb/TS3230?viewlocale=en_US

  • Time-out in 0CRM_SRV_IBASE_ATTR initial load from CRM5.0

    Hi All,
    we are facing the following problem.
    On our staging system an initial load of the 0CRM_SRV_IBASE_ATTR extraction times out in the source system. Strange thing is that this same extraction does work in our development system...
    When i start the infopackage with the same parameters as in the dev system (in background,  PSA and datatargets parralel, datas default data transfer settings) and check the source system, the job is running in background on dev, but as dialog on staging!!
    Does anybody know how we can solve this issue?
    Kind regards
    Immanuel

    Hi,
    In which system ur chking in?
    In BI system it occupies dialog only, but in R/3 system it shuld go in BKGD....
    So chk in R/3 system, if still in R/3 it runs in dialog once chk the USERNAME on which the job in running whether he was permitted to run in BKGD...here i mean chk the permissions for tht user...
    As said u can chk with BASIS....
    rgds,
    Edited by: Krishna Rao on May 13, 2009 2:11 PM

  • Loading time of splash screen verus initial siena created splash screen

    Hi everyone,
    I have a load issue on windows surface RT device with a seina app.  I need some insight on trying to decrease load time.  This new app has about 2000 images and growing and each image is optimized to be about 20 kb.  This app is for reference
    when training in specific disciplines.  The source is an excel file and the images are downloaded locally when published.
    I have two splash screens, the initial splash screen that loads via the default html webpage of the app.  The other is a siena screen visual that I call an extended splash screen with the usual timer and rating control. The extended splash screen set
    for 2 seconds loads the default settings to be used every time the app loads.  The settings are saved to file when the user changes the configuration.  This all works are designed.
    The app loads within 5-7 seconds on a laptop but takes between 25 - 30 seconds to load on the surface device.  I know the initial surface is somewhat slow device but I have tweaked the surface to squeeze every cpu cycle I can during the testing and
    analysis stage. 
    The initial default splash screen takes about 17 - 21 seconds to load.  I have tried tweaking as much as possible by removing some visuals on the extended splash screen down to 3, picture, timer, rating.  I don't think the extended splash
    screen is the issue as this part loads within 7-9 seconds to load.  
    Can someone explain or provide some insight on the load process during the initial phase on the splash screen, like is the app loading the source data from excel, initializing all the scripts, loading itself into memory, etc... This will allow me to build
    more efficient apps with siena. 
    Thanks,
    William

    Hi
    I cant really give you an technical insight on the load process, but I have noticed that if I have multiple timers and or gallery's (15 +) (I suspect more timers that gallery's) in my app load time was very slow on ARM devices.
    Again not sure if this applies to your app but might help point you towards the issue.
    Ronan

  • How do I invoke an ActionListener on a page when the page initially loads?

    How do I invoke an ActionListener on a page when the page initially loads?
    Page 1: A user clicks on a h:commandButton and is navigated to Page 2.
    Page 2: When the page loads and goes through RESTORE_VIEW, APPLY_REQUESTS and RENDER_RESPONSE, I need to call an ActionListener in the managed bean for Page 2.
    However, if the user comes in from any other page than Page 1, the ActionListener cannot be invoked intially when the page loads. The user has a choice to click on the h:commandButton on Page2 to invoke the ActionListener.
    What is an example of invoking a method with the ActionListener signature in Java code?
    Where would I put the code to invoke the ActionListener, in a beforePhase or afterPhase, constructor?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Interesting. You're right. It doesn't happen when I click away from this site and then return. Maybe I'm barking up the wrong tree. Maybe it's the specific website I was thinking of and not Firefox. Unfortunately, I have to use that site all the time for work. I'll try contacting their webmaster. Thanks for your help.

  • How can i reduce applet loading time?

    I have recently begun converting a gui application to an applet. The problem i have is the loading time of the applet which can be several minutes.
    The gui has a progress bar which tracks the loading of the classes, images and sounds etc, once this is up and running the loading time is fairly short, however it takes forever for the gui to actually begin to display.
    The code for the classes is only about 150K altogether, there seems to a period of long modem inactivity once the applet is initialized before the gui is displayed.
    How can i reduce the time it takes for the applet to initialize before the gui is displayed, otherwise users will thing nothing is happening and not bother loading it.
    the applet is currently at http://www.winnieinternet.com/games/startrade2095/applet/startrade2095.htm
    if you need a demo of the problem, although the applet is still work in progress.
    Many thanks in advance for any help
    W.Coleman
    www.winnieinternet.com

    Some suggestions could be:
    1. Bundle all classes and resource files in a jar file.
    2. Try to preload the heavier files (e.g. sound files) in a background thread, instead of init() method. See an example for this in Sun's Java tutorial, under the trail 'Sound'.

Maybe you are looking for

  • Why does FM Core keep stopping?

    I am also getting the message "FM Core has been stopped. Please start it from the System pref. pane and then relaunch InDesign." My Mac was new a year ago, and this just recently started. (Mac OS 10.6.6) I am using Suitcase Fusion 3, and have restart

  • HT204053 how do i update from OS X 10.5.8 to Mountain Lion?

    How do I update fro OS X 10.5.5 to Mountain Lion?

  • Notes vanished

    So my professor forced us to download his crappily put together PDF textbook. I was really upset until I realized I could take notes with the Acrobat Reader (albeit clumsily). I went to open the program on my Kindle Fire and noticed that all the note

  • Does Adobe have a helpline?

    I cannot find a helpline number... is there one??  I am in Australia, having terrible trouble with InDesignCC which is crashing as soon as I try to make a new doc... have uninstalled twice ... still crashing on third dowload: painful!!

  • Number Generation for GR

    Hi all.. Is there any user exist to generate document numbers(based on plant) for GR creation instead of standard numbers. Thanks in advance, Regards, Sweeeeeeeeeeethaa