Webutil - variable bean initialisation time

Hi
I have a 10g web form which checks a registry value to determine whether to allow access to another screen or not.
The read_registry is done on form startup and is therefore in a timer. The problem I have is that it seems that the time webutil takes to initialise and become available seems to vary.
It seems to take longer if it is the first time java has run since the pc started or if the pc is a low spec.
Has anybody else faced similar problem? Is there a tight way to know when webutil is ready and available for use? It would be great to have a when-webutil-available trigger
thanks
paul

Hello,
Maybe this comes from the HIDE parameter. Actually, the bean area have to be shown (so its visible property must be true and the canvas must be displayed) to be taken into account.
Francois

Similar Messages

  • Stateless Bean - scope of instance variable in EJB Timer call back function

    Hi,
    I would like to know on the scope of an instance variable of a Stateless Bean object,
    when used in a EJB Timer call back.Let me explain this in more detail below.
    I have a requirement to use a EJB Timer.
    For this, I have created a stateless object since Timer creation needs to be done
    from a stateless bean. I have a member variable "count" of the stateless bean class.
    In the timer call back(ejbTimeout), I am able to use this count variable during
    each time of the call back, and the value of this variable is also updated properly.
    I have a few queries with respect to the above behaviour:
    1) Does stateless bean object not get destroyed once the Timer is created from the Bean?
    2) If the Bean object is not destroyed, then when does the bean object get destroyed?
    3) If both (1) and (2) are not true, then can anyone explain on how the above behaviour is possible?
    Thanks in advance,
    Ulrich

    Hi Ulrich,
    The ejb timer is associated with the stateless session bean component, not with a particular bean instance. There is no formal relationship between the bean instance that called createTimer() and the bean instance on which the timer callback happens. If they're the same in your test run that's just a coincidence and not something your application should be depending on.
    In the stateless session bean model, the container can create and destroy stateless session bean instances at any time. The container is free to pick any stateless session bean instance to service any client invocation or timer callback. If you need to pass context into a timer callback, one way to do it is via the timer "info" object. However, the info object is immutable so it wouldn't be a good match for a counter. You could of course always just use a database for any necessary coordinated state.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Webutil-- oracle.forms.webutil.browserFunctions bean not found

    hi friends,
    im in great trouble
    i got assignment from company and its very urgent
    i want to change coffee cup of browser window...i m trying to use webutil, i have done following things
    1.I have developer suit 9.0.4
    2.I have Jinitiator1.3.1.17
    3.download and unzip webutil_106 in forms90 folder
    4.adding frmwebutil.jar in forms90_BUILDER_CLASSPATH
    5.Create single virtual directory in orion web.xml and in forms90.config file
    6.add frmwebutil.jar in formsweb.cfg and replace webutil.htm files e.g bashtml,basehtmljinitiater,basehtmljpi.
    7.webutil entries in envirmnent file
    8.attatch liabray webutill.pll with my form,
    9. open webutil.olb and copy it into object group
    10.create timer at when new_form_instance
    11.on timer expiratation using following code
         if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
                                            WebUtil_SeparateFrame.SetTitle('DTS');
                                            webUtil_SeparateFrame.SetIcon('execute.gif');
    and restart oc4j
    but problem is still comming when timer expire i got following message
    oracle.forms.webutil.browserFunctions bean not found
    plz anyone help if im missing any step or doing something wrong
    thanks

    hi friends,
    im in great trouble
    i got assignment from company and its very urgent
    i want to change coffee cup of browser window...i m trying to use webutil, i have done following things
    1.I have developer suit 9.0.4
    2.I have Jinitiator1.3.1.17
    3.download and unzip webutil_106 in forms90 folder
    4.adding frmwebutil.jar in forms90_BUILDER_CLASSPATH
    5.Create single virtual directory in orion web.xml and in forms90.config file
    6.add frmwebutil.jar in formsweb.cfg and replace webutil.htm files e.g bashtml,basehtmljinitiater,basehtmljpi.
    7.webutil entries in envirmnent file
    8.attatch liabray webutill.pll with my form,
    9. open webutil.olb and copy it into object group
    10.create timer at when new_form_instance
    11.on timer expiratation using following code
         if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
                                            WebUtil_SeparateFrame.SetTitle('DTS');
                                            webUtil_SeparateFrame.SetIcon('execute.gif');
    and restart oc4j
    but problem is still comming when timer expire i got following message
    oracle.forms.webutil.browserFunctions bean not found
    plz anyone help if im missing any step or doing something wrong
    thanks

  • Load a variable at run time

    I have the following code to load in some images and
    display/move them:
    this.createClassObject(mx.controls.Loader, "myLoader", 1);
    this.createClassObject(mx.controls.Loader, "myLoader2", 2);
    this.createClassObject(mx.controls.Loader, "myLoader3", 3);
    this.createClassObject(mx.controls.Loader, "myLoader4", 4);
    this.createClassObject(mx.controls.Loader, "myLoader5", 5);
    myLoader.scaleContent = false;
    myLoader2.scaleContent = false;
    myLoader3.scaleContent = false;
    myLoader4.scaleContent = false;
    myLoader5.scaleContent = false;
    var images:Array = ["
    http://www.mysite.com/images/image_01.jpg",
    http://www.mysite.com/images/image_01.jpg",
    http://www.mysite.com/images/image_01.jpg",
    http://www.mysite.com/images/image_01.jpg",
    http://www.mysite.com/images/image_01.jpg"
    myLoader.contentPath = images[0];
    myLoader._x = 0;
    myLoader._y = 0;
    myLoader2.contentPath = images[1];
    myLoader2._x = 320;
    myLoader2._y = 0;
    myLoader3.contentPath = images[2];
    myLoader3._x = 640;
    myLoader3._y = 0;
    myLoader4.contentPath = images[3];
    myLoader4._x = 960;
    myLoader4._y = 0;
    myLoader5.contentPath = images[4];
    myLoader5._x = 1280;
    myLoader5._y = 0;
    This works great, but what I'm wondering is, can I load in
    the images array variable at run time from an external file so I
    could edit that file on the server in order to change images,
    without having to re-publish the flash file? Thanks for any help.
    Bob

    Adrian,
    Have a look at: http://www.oracle.com/technology/products/database/htmldb/howtos/howto_create_upload_spreadsheet_form.html
    It's not 100% what you're looking for (as it requires you to cut & paste from the spreadsheet), but it may do what you're after.
    Thanks,
    - Scott -

  • Exporting DI batch to BAT and set DI parameter/variable at run time

    Hi All,
    We are looking to call DI batch job externally and pass parameter/variable at run time.
    We tried exporting DI batch to a bat file and setting substitution parameters during export.
    In the exported .bat file, it references a .txt file which shows the name of the substitution paramemters but the value of the parameters are encrypted.
    Does anyone know how to pass parameter/variable to a DI batch job at run time externally?
    Thanks,
    Bobby

    I tried out this method and I have some additional issues.
    1. if we use the BOE scheduler the text parameter file is using a specific naming convention that is not clearly documented. it is like : -GV"$VAR=ENCRYPTEDVALUE;"... trying to modify it with a clear value like -GV"$VAR=MYVALUE;" was simply ignored by the scheduler... seems also that BOE did not sent any scheduling request to the DI Job Launcher...
    What is the proper convention please?
    2.Is there a better way to enter this parameter than editing the TXT file. Most of the BOE InfoView users are not allowed to modify or store documents.. This is not very convenient if they cannot enter simply the parameter values in a let say more confortable way...
    Thank you and cheers

  • Bind variables at run time

    We have a view object with LOV, this LOV has a bind variable. How can we set this bind variable at run time through this view object?

    Hi bara,
    1. Wat you ve to do is create a transient attribute in the child entity.
    2. Create an association between master and child.
    3. The value should be a groovy expression such that it refers the field in master table which needs to be passed to the LOV.
    4. Add the transient attribute in ViewObject also.
    4. Use ViewAccessors and map the transient attribute to the bind variable in the List View Object
    Regds,
    Srinidhi

  • Access variables within a timer

    How can I access variables within a timer?
    I mean variables, that I can use in another class that extends applet i.e.?

    The Code can be compiled now with the Java Compiler.
    But the image won't move on the screen.
    import java.applet.*;
    import java.awt.*;
    import java.util.*;
    public class ChangingApplet extends Applet {
      private Image EricsBild;
      private int x,y;
      private TimerTask update;
      public void start() {
      EricsBild = getImage(getCodeBase(), "heuschrecke.gif");
      x=5;y=5;
        update = new TimerTask() {
          public void run() {
            if (x<300) x++;
            if (y<200) y++;
            if (x>3) x--;
            if (y>2) y--;
            repaint();
        Timer t = new Timer(false);
        t.schedule(update, 1000, 1000);
      public void stop() {
        update.cancel();
      public void paint(Graphics g) {
        g.drawImage(EricsBild,x,y,this);
    }

  • Fixed and Variable set up times CIFing

    Hi All,
    We would like to CIF both Fixed Set up time (say 30min independent of the previous phase / operation) and Variable Set up time
    ( which comes through the assigning of Set up group in R/3 recipe and set up matrix maintenance in APO).
    When I try to CIF, only the set up phase which has got the set up group assignment (ie., the variable set up phase) gets
    transferred. How to transfer both the fixed and variable set up simultaneously.
    Master Data used - Master Recipe in R/3 / PDS in APO
    TIA
    Regards

    Hello
    You can get the report by using the  report painter, no development will be required.
    Regards
    Madhav

  • Formula  variable  replacemnt path    time    as the dimension

    formula  variable  replacemnt path    time  as the dimension  then  what  are the changes in my report in quary designer

    Try to be clearer in your question, and I guess you'll have some help.

  • Change Bex Variable Value every time refresh query!

    I'm looking for solution at this problem:
    1) I've create a formula variable
    2) I've assign to this variable a value in EXIT_SAPLRRS0_001 (step 2)
    3) When run my query it's OK but the value of my variable is static!!
    The problem is to change variable value every time the user change a filter like when do "Select Filter Value"...
    How can I do this?

    I know step 2 and this step is usefull for the first valorization of variable
    but, for example, if I run the query with initial filter and after, in the navigation, I restrict the filter using "Keep Filter Value" on a single value of one characteristic the system doesn't execute the SAP EXIT and variable is the same of the first initial value...
    I need a SAP EXIT or anything like it for change Formula Variable Value every time I change any filter during the query navigation.

  • Display for variable amount of time?

    Any thoughts on how I might accomplish the following:
    I need to be able to display a graphic (or video) for a variable amount of time in captivate.  This will be for a quiz type slide.  The user will only have a limited amount of time to view a graphic, and then must answer a question.  The graphic will only be displayed for fractions of a second ie. 1/16 to a half second.  The user must be able to adjust the time, so that they can go from slow transitions to faster transitions (for training purposes).
    My initial thoughts were:
    Is there a me
    1) Collect and set a variable in Captivate for the time to wait (user selects at run time), pass that variables value to a flash object and play the content for the specified length of time on the Captivate slide.
    or
    2) Create a new question type widget and define the widget parameters (time to display, image file to use, etc..), but will I be able to change a parameter at run time to allow the user to define the length of time to display???
    or
    3) Create the whole quiz in Flash, then tackle transmiting the quiz score/interactions back to captivate?  I don't have eLearning suite, so I dont have the question extras as well.
    I would prefer to do as much in captivate for speed and I am most familiar with it.  I would prefer to do as little in Flash as possible since I don't know it as well.
    Suggestions???

    Sorry I lost part of the post:
    Is there a method in Captivate to wait a period of time, and if so just set a conditional loop to show an object, wait the time, and then hide?  I am figuring that there is not, so my three other plans of attack...

  • Webutil - java bean not found issue when openning the form another time

    Hello,
    I have a form which uses webutil and is called from another form (using CALL_FORM), the code runs from the when-window-activated trigger and it works well.
    But after the form closes (EXIT_FORM), and then called again (CALL_FORM(...,HIDE) it shows a message that the file java bean was not found....
    can someone help?

    Hello,
    Maybe this comes from the HIDE parameter. Actually, the bean area have to be shown (so its visible property must be true and the canvas must be displayed) to be taken into account.
    Francois

  • Webutil, syslib files one time download to client

    The below are the contents from webutil.cfg file. My question is do these syslib files need to be downloaded to the client, even if we are just using client_get_file_name, client_text_io routines of webutil?
    As per the notes on the webuitl.cfg file, only certain integration operations require this one time download , it doesnt say that all integration operations require the one time download.
    Thanks in advance.
    # 2. Installation Options
    # WebUtil needs to download some files to the client in order to perform
    # certain integration operations such as OLE or Registry Access
    # These files are downloaded the first time that you access one of the
    # functions than needs them
    # You have to define the location of these files on the server
    # Details
    # syslib.location: The vitual path to the directory holding the
    # the webutil library files on the server side
    # this must either be an absolute URL or a url
    # URL that is relative to the documentbase
    # syslib.<os>.<package>.<n>: The name(s) of the libraries required for particular
    # webutil beans
    # The format of this is name|size|version|showDownloadDialog
    # multiple libraries can be downloaded per package but
    # ensure that the <n> values are consecutive and start at 1
    install.syslib.location=/webutil
    ## Do not change the following lines unless instructed to do so
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    ## But you can add your own libraries in here
    #install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
    install.syslib.0.user.1=ffisamp.dll|40960|1.0|true

    Grant Ronald
    Thanks for the reply, I really appreciated it. Can you clarify on the below 2
    1.Can I comment out the entire Installation Options as I'm using just client_get_file_name and client_text_io ?
    2.Can you please give me a link to a document or a metalink document reference where it goes into detail about syslib.install libraries and what they are used for , whey are need for and vice versa ?
    Thanks in advance.

  • Transient variables non initialised........

    Hi everyone,
    I have two transient variables that is causing me problems. In my jsp page I have an entry form with a persist entity button..... The entry form does not have the two transient variables.
    Below the form is a table that will display all the records entered by the user.The table coluns comprises of the two transient variables but when i persist these two fields are not filled . I have to click on the table ( as if the table is refreshed to have the variables).
    In fact for the display of the tables below I have written in my session bean a method that will retrieve all the records by the user for the current week and set the values for the two transient variables .
    My question is how can i fill the transient variables in the table when i persist that is on submit.
    I am using Ejb 3.0....
    Please help me ...
    Regards Lutchumaya

    Hi Frank,
    here is the code from which i generate the table .... The PPR all is set as you told me...
    But how I can change my method in my session facade please help me . Here is my method
    /** <code>select object (o) from TrpStimeReports o where o.trpSemployees = :emp and o.weekNumber = :weeknum</code> */
    public List<TrpStimeReports> getEmpTrp(Object emp, Object weeknum) {
    // return em.createNamedQuery("getEmpTrp").setParameter("emp", emp).setParameter("weeknum", weeknum).getResultList();
    Calendar cal = Calendar.getInstance();
    if(weeknum == null){
    weeknum = cal.get(Calendar.WEEK_OF_YEAR);
    //Get the project assigned to the user
    List userpro = getUserProjects(((TrpSemployees) emp).getUsername());
    TrpSprojects pro = null;
    TrpStask taskuser = null;
    Long taskid = null;
    //Get the user task list for that user
    List usertas = getUserTasks(((TrpSemployees) emp).getUsername());
    //List of the time report for that user for the current week
    List trprepo = em.createNamedQuery("getEmpTrp").setParameter("emp", emp).setParameter("weeknum", weeknum).getResultList();
    //proid to store the id of the project
    Long proid = null;
    //Here am setting the values for the transient variables that are in my TrpStimeReports class
    for(Iterator itertrp = trprepo.iterator();itertrp.hasNext();){
    TrpStimeReports repo = (TrpStimeReports) itertrp.next();
    TrpSprojects prochange = getProjectForAssignment(repo.getProjectId());
    repo.setProjectName(prochange.getProjectName());
    String taskname =((TrpStask) getTaskById(repo.getTaskId())).getTaskName();
    repo.setTaskName(taskname);
    return trprepo;
    Thank you for your reply
    Regards
    Lutchumaya

  • How to default bind variable using session variable at run time

    Hi All,
    I have a requirement where all VO queries (multiple VOs) produce only records that meet a certain value.
    For example, I have three tables with 3 VOs and each of them has a one-to-many relationship to another table (let's call it ref table and this table has a field called release). One of the 3 VOs is a parent/master table, and the other two are child tables. I created a VO for master table that linked to the ref table and created a view criteria using the release (use bind variable) field from the ref table. The other child tables have their own VO that has view criteria that also linked to ref table using the release field.
    On the UI page, I created a query component and a table from the master table VO. I also dropped the child table VOs in a tabbed panel which partial triggered by the master table. When I ran a query for a 'release' (hint: ref table value), the table for master table was filled the correct records that meet the criteria. Unfortunately, the child tables were not correct due to the query didn't use the bind variable that filter only records for the same 'release' value as the master table.
    The question is how do I 'default' or dynamically set the bind variable on the child tables based on the selection criteria from the query component. I am thinking to set a session variable from the query and use it in the bind variable in the child table, but not sure how to do it.
    Any suggestion how to do it or better solution to achieve the same effect?

    Hi,
    How about creating a custom AMImpl method, that takes parameters as required, and set the bind variables for all the desired VOs and perform executeQuery on them.
    You could expose this as client interface, and then use the method as parameter form.
    Check this thread for ex.
    Re: Setting Attribute in View Object through Managed Bean
    -Arun

Maybe you are looking for