Creating progress bar in oracle forms 6i

Hii
I have a push-button (pb_submit)
when when_button_pressed trigger fired...I have a database main procedure to be called.
inside that procedure i am calling 25 procedures.
and all 25 Procedures will be executed sequencially.
I want to use a Progress bar...
so that user will get to know hw much % completed
if main procedure(total 25 procedures inside) is completed successfully then progress bar should show 100%
like wise if 1 procedure completed then 4 %
             if 2 procedure completed then 8 %
total 25 procedure completed then 100%
how to implement this logic.
and if in between 1 procedure failed then progress bar should stop at that incident.
and it should start from dat instant only if again that failed procedure run successfully.
should i post my codes here.ok...here is the codes written in the button(when_button_pressed trigger)
DECLARE
  l_Last_Record      NUMBER  := 0  ;
  l_Prg_Process_Id    NUMBER     ;
  l_Prg_Process_Id_1  NUMBER     ;
  l_Prg_Id       VARCHAR2(15)  ;
  l_Alert_Result    VARCHAR2(1)   ;
  l_Validation_Msg   VARCHAR2(500) ;
  l_Path        VARCHAR2(240) ;
  File_Name       VARCHAR2(250) ;
  l_file_exists     BOOLEAN       ;
  l_file_len        NUMBER     ;
  l_blocksize       BINARY_INTEGER;
  o_Status       VARCHAR2(1)  ;
  o_User_Selection_Ca1 VARCHAR2(1)  ;
  o_User_Selection_Ca2 VARCHAR2(1)  ;
  o_User_Selection_Ca3 VARCHAR2(1)  ;
  CURSOR C_Validation IS
  SELECT Cpv_Validation_Type     ,
         Cpv_Validation_Input    ,
         Cpv_Validation_Action  ,
         Cpv_Validation_Active_Flag
  FROM   Config_Process_Validation
  WHERE  Cpv_Program_Id = l_Prg_Id
  AND   Nvl(Cpv_Validation_Active_Flag, 'N') = 'Y'
  ORDER BY Cpv_Validation_Sequence;
BEGIN
SELECT RV_HIGH_VALUE
INTO   l_Path
FROM   CG_REF_CODES
WHERE  Rv_Domain    = 'DERV_DATA_FILES'
AND   Rv_Low_Value = 'DRV_FILES';
Go_Block('Process');
  Last_Record;
  l_Last_Record := :System.Cursor_Record; 
  First_Record;
  FOR i IN 1 .. l_Last_Record
  LOOP
  Go_Record(i);
  l_Prg_Id := :Prog_Id;
  IF NVL(:Process.Cb_Select,'N') = 'Y' THEN
   :Query.Current_Status := 'Current Process: ' || :Process.Prog_Desc;
   Synchronize;
   --Validate if program is already in running mode or already completed
   SELECT NVL(MAX(DECODE(Prg_Status, 'R', 999999999, 'C', Prg_Process_Id)), 0)
   INTO   l_Prg_Process_Id
   FROM   Program_Status,
       Parameter_Master
   WHERE  Prg_Dt      = Pam_Curr_Dt
   AND    Prg_Cmp_Id  = l_Prg_Id
   AND    Prg_Exm_Id  IN ('ALL', :Query.Exchange)
   AND    Prg_Status  IN ('R', 'C');
   IF l_Prg_Process_Id = 999999999 THEN
     P_Show_Alert(l_Prg_Id||' Process is already running.','A',l_Alert_Result);
    --RAISE Form_Trigger_Failure;
   ELSIF l_Prg_Process_Id > 0 AND :Execution_Flag <> 'M' THEN
    P_Show_Alert(l_Prg_Id||' Process already run. It can not run twice. ','A',l_Alert_Result);
    RAISE Form_Trigger_Failure;
   END IF;
   --Validate mandataory process, process specific validation and message
   FOR i IN C_Validation
   LOOP
    IF i.Cpv_Validation_Type = 'MANDATORY' AND i.Cpv_Validation_Active_Flag = 'Y' THEN
       SELECT Count(1)
       INTO   l_Prg_Process_Id_1
       FROM   Program_Status,
           Parameter_Master
     WHERE  Prg_Dt      = Pam_Curr_Dt
     AND    Prg_Cmp_Id  = i.Cpv_Validation_Input
     AND    Prg_Exm_Id  IN ('ALL', :Query.Exchange)
     AND    Prg_Status  = 'C'
     AND    Prg_Process_Id IN (SELECT MAX(Prg_Process_Id)
                  FROM   Program_Status,
                      Parameter_Master
                  WHERE  Prg_Dt      = Pam_Curr_Dt
                  AND    Prg_Cmp_Id  = i.Cpv_Validation_Input
                  AND    Prg_Exm_Id  IN ('ALL',:Query.Exchange)
                  AND    Prg_Status  = 'C');
     IF l_Prg_Process_Id_1 = 0 THEN
      P_Show_Alert(i.Cpv_Validation_Input||' Mandatory Process NOT completed successfully.','A',l_Alert_Result);
      RAISE Form_Trigger_Failure;
     END IF;
    ELSIF i.Cpv_Validation_Type = 'MESSAGE' THEN
     P_Show_Alert(i.Cpv_Validation_Input, i.Cpv_Validation_Action, l_Alert_Result);
     IF l_Alert_Result = 'N' THEN
      RAISE Form_Trigger_Failure;
     END IF;
    ELSE   
     --- OTHER PROCESS SPECIFIC VALIDATION
     l_Validation_Msg := Null;
     Pkg_Process_Automation.P_Pre_Process_Validation(l_Prg_Id,
                             :Query.Exchange,
                             :Query.Segment,
                             i.Cpv_Validation_Type,
                             l_Validation_Msg);
     IF l_Validation_Msg IS NOT NULL THEN
      P_Show_Alert(l_Validation_Msg,i.Cpv_Validation_Action,l_Alert_Result);
      IF l_Alert_Result = 'N' THEN
       RAISE Form_Trigger_Failure;
      END IF;
     END IF;  
    END IF; 
   END LOOP;
   --Validating whether file exists or not
   IF :Process.File_Input_Format IS NOT NULL THEN
    Pkg_Process_Automation.P_Gen_File_Name(:Process.File_Input_Format,
                        :Query.Exchange,
                        :Query.Segment,
                        File_Name);
    Utl_File.FGetAttr(
     location    => l_Path,
     filename    => File_Name,
     fexists     => l_file_exists,
     file_length => l_file_len,
     block_size  => l_blocksize);
    IF NOT l_File_Exists THEN
     --MESSAGE('The file does not exist.');
     P_Show_Alert('The file does not exist.','A',l_Alert_Result);
     RAISE Form_Trigger_Failure;
    END IF;
   END IF;
   Set_Application_Property(Cursor_Style, 'BUSY');
   SET_ITEM_INSTANCE_PROPERTY('Process.Status', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'VA_YELLOW');
   :Process.Status := 'R';
   Synchronize;
   IF l_Prg_Id = 'DTMBCORP' THEN
    P_Show_Alert('Do you want to do Final Settlement Corporate Action ?(Y/N)','I',l_Alert_Result);
    o_User_Selection_Ca1 := l_Alert_Result;
    P_Show_Alert('Enable Round-To-Tick ? (Y/N)','I',l_Alert_Result);
    o_User_Selection_Ca2 := l_Alert_Result;
    --P_Show_Alert('Do you want to Rollback ? (Y/N)','I',l_Alert_Result);
    --o_User_Selection_Ca3 := l_Alert_Result;
   END IF;
   ----   Calling of Main Procedure
   Pkg_Process_Automation.P_Run_Process(l_Prg_Id,
                      :Query.Exchange,
                      :Query.Segment,
                      :Query.Entity_Id,
                      File_Name,
                      o_User_Selection_Ca1,
                      o_User_Selection_Ca2,
                      o_User_Selection_Ca3,
                      o_Status);
   IF l_Prg_Id = 'DTMBCORP' THEN
    P_Show_Alert('Do you want to Rollback (Y/N)','I',l_Alert_Result);
    o_User_Selection_Ca3 := l_Alert_Result;
    Pkg_Process_Automation.P_Run_Process(l_Prg_Id,
                        :Query.Exchange,
                        :Query.Segment,
                        :Query.Entity_Id,
                        File_Name,
                        o_User_Selection_Ca1,
                        o_User_Selection_Ca2,
                        o_User_Selection_Ca3,
                        o_Status);
   END IF;                 
   Set_Application_Property(Cursor_Style, 'DEFAULT');                  
   Message(o_Status);
   Message(o_Status);
   IF o_Status = 'Y' THEN
    :Process.Status := 'C';
    SET_ITEM_INSTANCE_PROPERTY('Process.Status', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'VA_GREEN');
   ELSE
    :Process.Status := 'E';
    SET_ITEM_INSTANCE_PROPERTY('Process.Status', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'VA_RED');
   END IF;
   SELECT Prg_Log_File
   INTO   :Process.Log_File
   FROM   Program_Status ,
          Parameter_Master
     WHERE  Prg_cmp_id = l_Prg_Id
     AND    Prg_dt     = Pam_Curr_Dt
      AND   (Prg_Cmp_Id,Prg_Strt_Time)  IN (SELECT   Prg_Cmp_Id,max(Prg_Strt_Time) 
                               FROM   Program_Status b,
                                                    Parameter_Master
                                             WHERE  Prg_Cmp_Id =  l_Prg_Id
                               AND    Prg_Dt     =  Pam_Curr_Dt
                                              GROUP BY Prg_Cmp_Id);
   Synchronize;
   Set_Application_Property(Cursor_Style, 'DEFAULT');   
  END IF;
END LOOP;
:Query.Current_Status := '';
Synchronize;
EXCEPTION
  WHEN OTHERS THEN
  :Query.Current_Status := 'Error found';
  Set_Application_Property(Cursor_Style, 'DEFAULT');
  MESSAGE(sqlerrm );
  --MESSAGE(sqlerrm );
  Synchronize;
END;
inside p_run_process there are other 25 database procedures.
help me !!!

Create a procedure as like,
PROCEDURE show_progress(x number) IS
y number;
BEGIN
  set_item_property('PART_DISP',VISIBLE,PROPERTY_TRUE);
  set_item_property('PART_DISP',WIDTH,x);
  set_item_property('PART_DISP',VISIBLE,PROPERTY_TRUE);
END;
PART_DISP is a display_item.
After completion of each procedures call the above procedure like,
cntr:=cntr+1;
show_progress(round(cntr/25*287,0));
synchronize;
where cntr is a counter it will be incremented 1 to 25, the constant value 287 is the maximum width of PART_DISP (you can change for your need).
The local variable cntr's initial value is 0 and maximum value is 25.    
cntr                   part_disp          % of progress
1
11.48
4
2
22.96
8
3
34.44
12
4
45.92
16
5
57.4
20
6
68.88
24
7
80.36
28
8
91.84
32
9
103.32
36
11
126.28
44
12
137.76
48
13
149.24
52
14
160.72
56
15
172.2
60
16
183.68
64
17
195.16
68
18
206.64
72
19
218.12
76
20
229.6
80
21
241.08
84
22
252.56
88
23
264.04
92
24
275.52
96
25
287
100
Hope this will help.

Similar Messages

  • Running Progress Bar in orcale forms

    Hello Experts,               I am using oracle weblogic 10.3.5 and oracle forms 11g at windows 7.I have need to display a progress bar.Upon finishing the progress bar There should be call a program unit procedure in oracle forms. thank You regards aaditya.

    Hi Aaditya,
    Please read the following discussion, I think its helpful to you.
    Re: creating progress bar in oracle forms 6i

  • How to create progress bar?

    pls,can anyone tell me? how to create progress bar?
    thanks,
    screen410099

    it is well documented how to create progressbars on page 173 in Solutions.pdf
    also you can find sample code in InDesign SDK\sources\sdksamples
    Regards
    Bartek

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • Problem in creating progress bar in form6i

    dear all
    how are you?
    i created a progress bar but i face a problem.
    in the when button pressed trigger i write this
    declare
    cursor MY_cur is
    select col1,col2,col3
    from base_table;
    vWIDTH number :=0;
    vSTEP NUMBER := 0;
    begin
    SELECT COUNT(1)
    INTO vROWS
    FROM base_table;
    vSTEP := 300 / vCOUNT;
    show_view('progress_bar_stack');
    for i in MY_cur is
    loop
    insert int my_tab(c1,c2,c3)
    values(i.col1,i.col2,i.col3);
    set_item_property('progree_item',width,width+vSTEP);
    synchronize;
    end loop;
    end;
    I ASK IS THIS A GOOD WAY TO CREATE A PROGRESS BAR OR NOT . AND IS THERE ANOTHE WAY TO CREATE A PROGRESS OTHER THAN THIS.
    PLEASE IF YOU HAVE A WAY , WRITE IT .
    TAREK FATHI
    2005 05 31

    my way of implementig a progress bar is:
    window wn_pbar with canvas cn_pbar and a button bt_pbar. The Button has a width of 1 pixel and max 300.
    now I have a procedure pbar.init (P_<wn-name>, P_<max-value>) which writes a window-header in the wn_pbar and a max-value in a package-variable.
    another function named pbar.next (P_<value> DEFAULT 1) increments an internal variable act-value. This act-value is initially 0 and can increment to max-value. The act-value/max-value is the percentage of the width of the button. e.g. 1200/2000 means 60% -> 60% of width 300 = 180 width for the button.
    another procedure pbar.destroy deletes the variables, closes the window wn_pbar and goes back to the item, where the focus was before the pbar started.
    with this steps you can easily group these objects in a objectgroup and inherit it to all forms you need a pbar. the sourcecode is still in a library pbar.pll which you have to attach.
    it looks like your functionality, but you can use it anywhere you need it.
    try it
    Gerd
    PS: This is a very useful method for forms client/server. In the web you have to check, that the button not refreshes to open.... the more network-roundtrips, the fewer performance...

  • How to Create Progress Bar in SAP

    Hi!
            I need to know how to create a progress bar in Sap Business One with VB.Net to Show  a Scheduling Status.

    Hi Parag,
    The code you need to create a progress bar is:
    Dim Progress as Integer
    Dim oProgressBar As SAPbouiCOM.ProgressBar
    oProgressBar = oApplication.StatusBar.CreateProgressBar("YOUR_TEXT", oRecordset.RecordCount, True)
    oProgressBar.Text = "YOUR_TEXT"
    and for each record:
    Progress += 1
    oProgressBar.Value = Progress
    When all is finished
    oProgressBar.Stop()
    Regards,
    vanesa

  • Error at Creat asinstance When installing oracle forms 11g on linux

    Hello all experts!!!,
    i am installing oracle weblogic forms 11g on linux platform and i am getting error at Create as instance step.
    components selected :--
    forms ,reports,form builder report builder enterprise manager
    OS Platform :-- Oracle Enterprise Linux 5.3 and also same error on Fedora Core 13
    i have also Oracle Database 11g R2 installed on same machine.
    the log says :---
    [2010-09-13T12:55:38.831+05:30] [as] [ERROR] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] [[
    oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:678)
    at oracle.as.config.impl.RuntimeServiceConnection.deployIfNecessary(RuntimeServiceConnection.java:192)
    at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:92)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:525)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:215)
    at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
    at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
    at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.config.utl.DeployerException: NonJ2EEManagement Applicationdeployment failed.
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:95)
    at oracle.as.config.utl.Deployer.deploy(Deployer.java:52)
    at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:219)
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:670)
    ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:93)
    ... 24 more
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.Deployer.run(Deployer.java:72)
    ... 29 more
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:541)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    ... 29 more
    [2010-09-13T12:55:38.838+05:30] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] Exit code from OPMNAdmin : 0
    [2010-09-13T12:55:38.844+05:30] [as] [ERROR] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] [[
    oracle.as.provisioning.engine.CfgWorkflowException
    at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:178)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:525)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:215)
    at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
    at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
    at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error creating ASInstance asinst_1.
    Cause:
    An internal operation has failed: Unable to validate NonJ2EEManagement Application deployment on admin server.
    Action:
    See logs for more details.
    at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:317)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
    ... 17 more
    Caused by: oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:678)
    at oracle.as.config.impl.RuntimeServiceConnection.deployIfNecessary(RuntimeServiceConnection.java:192)
    at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:92)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
    ... 18 more
    Caused by: oracle.as.config.utl.DeployerException: NonJ2EEManagement Applicationdeployment failed.
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:95)
    at oracle.as.config.utl.Deployer.deploy(Deployer.java:52)
    at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:219)
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:670)
    ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:93)
    ... 24 more
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.Deployer.run(Deployer.java:72)
    ... 29 more
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:541)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    ... 29 more
    weblogic server installation is perfect no errors at all.
    i also got the errors i got during installation ( im_emagent.mk and while running command gcc) . but thanks to OTN Forums i had managed to find out a fix. but on this error only solution i got is
    TRY WINDOWS . but what about linux then? is there any solution on this error?
    i am not much used to front-end ( java i mean). i am Oracle DBA Actually n want to install n try Weblogic
    Kindly Help...

    You can just copy the relevant parts (the ones marked with error). You can also look at the timing
    when it happened the reports environment did not start.
    From what i remember this could be a memory issue, standard every managed server (WLS_FORMS and WLS_REPORTS) instance
    is configured with 1024m bytes of memory.
    What we did is first install a forms instance and after that a reports instance. After the forms installation we adjusted the
    memory parameters in setWLSEnv (<middleware-home>/user_projects/domains/<domain-name>/bin). Look in this file
    for references to WLS_FORMS (something similar to: if [ "${SERVER_NAME}" = "WLS_FORMS" ] ; then).
    Another thing which springs to my mind is, which products did you select. If you just want Forms and Reports
    you can select just the following:
    - Oracle Forms
    - Oracle Reports
    - Developer Tools aan.
    - Management Components
    - Oracle HTTP Server
    and deselect the other options:
    - Oracle Portal
    - Oracle Discoverer
    - Oracle WebCache
    - Clustered (if you are not using clustering)
    We also had to fix the following files (i do not think that you have to do this since your Forms did not show any problems):
    - (On Windows) Copy the file msvcr71.dll (FMW/windows/extra) to WINDOWS/system32.
    - Copy the file mod_wl_ohs.so (FMW/<operating-system>/extra) to <middleware-home>/as_1/ohs/modules.

  • Creating Progress Bar for File Upload

    Hi, I'm trying to implement a progress bar indicator for a file upload in WebDynpro, without very good results.
    I'm using a fileupload UI element, a TimerTrigger and a ProgressIndicator UI elements for this purpose.
    It seems that using the fileupload UI element the iview is locked during the file upload, and therefore it prevents for the timer triggered action to be performed (this action updates the progress bar).
    Additionally I havent been able to capture the transfered bytes from the upload. Maybe I'm using the wrong elements?
    How could I achieve this. Has anyone done it?
    I would really appreciate all the help I could get.
    Homer Vargas

    Hi,
    Can anyone please tell me the way to upload file from client system to server.
    The code i have is as follows:-
    Jsp:-
    function saveImage(){
         //projectname.javafilename
         var strStatus = "save";
         document.saveImageForm.action="/irj/servlet/prt/portal/prtroot/TestXML.TextImageLink?frmstatus="+ strStatus;
         document.saveImageForm.method="post";
         document.saveImageForm.submit();     
    <form name="saveImageForm" encrypt="multipart/form-data">
    <table width="388" cellpadding="1" cellspacing="1" bgcolor="#F0F0F0" border='0'>
           <tr>
                 <td><font color="blue" face="verdana" size="2">IMAGE:</font></td><td><input id="image" type="file" name="image" value=""/></td>
         </tr>
    <tr>
         <td><input type="submit" name="submit" value="Submit" onclick="saveImage();"/></td>
         </tr>
    </table>
    </form>
    now i am not getting what to write in java file
    using IPortalComponentRequest.
    Using the jsp file upload in tomcat is working but here it is not working
    please help meee
    Thanks in Advance
    Regards
    Sirisha

  • How do you create THIS "grid" in Oracle Forms

    Hi,
    I am new to Forms. I have to develop a grid very similar to the one shown here.
    How can you create the grid in the bottom??
    I can't see using any of the standard Oracle toolbox items (like multi-record blocks) for this?
    Any help would be greatly appreciated.
    Thanks
    User 122...

    Hi Soofi,
    Appreciate your quick response.
    In the image, can you see a huge grid?
    Grid column headings are days of the week, Mon, Tue, Wed etc.
    Grid Rows also have names, like Room, Status and Rm. Type.
    Cells have various values in various colors (red, blue, green etc) and signs like ">>".
    Can you see that??
    My question is, how to create a grid like this in Oracle Forms??? We cannot do it using a multi record block.
    So, how have they done it??? The form in the image is an actual Oracle Form from a hotel reservation system.

  • Progress Bar in Oracle Reports

    Is it possible to implement a progress bar that shows how far along the report is in generating?
    If so, what is the best way to implement it?
    Does anyone have sample code?
    Thanks.

    Not within reports - if this is possible, you would need to do it in either forms or another application.

  • Create progress bar

    Hi. Do you know how to create a progress bar ?
    In my JSP, i'm going to show some numbers and a progress bar telling the user how many % of a job (s)he has done. I'm doing a regular refresh and getting the %-number from a backend-method.
    I'll be very thankful getting some advice.

    This is just one of those posts that is just asking for some sarcastic remarks... I'll pass this time.
    Advice about what? Only post here if you have a problem you can't solve yourself. If you check the other posts, another one about this very same topic has some replies, I suggest checking it out.

  • How to create browse button in Oracle Form Builder?

    Hello all
    I'm learning Oracle Form Builder and i want to create browse button but i don' know how i do
    I hope u will help me!
    Thanks all

    <p>Configure and use the Webutil library functions. See the Webutil link from the OTN Forms home page</p>
    Francois

  • Creating timer problem in oracle forms

    Hello,
            I am using oracle weblogic 10.3.5 with oracle forms 11g at windows 7.I am trying to make a trigger but getting frm 40738 argument 1 to builtin GET_APPLICATION_PROPERTY cant be null error. I am using code at when-new-form-Instance trigger:
    declare
        timer_id TIMER;
        one_second number:=1000;
        st varchar2(100);
    begin
        timer_id :=find_timer('CLOCK_TIMER');
        If not id_null(timer_id) then
            delete_timer('timer_id');
        else
            timer_id := CREATE_TIMER('CLOCK_TIMER',one_second,REPEAT);
            --timer_id:=create_timer('CLOCK_TIMER',one_second,repeat);
            st:=Get_application_property(TIMER_NAME);
            message(st);
            end if;
            select to_char(sysdate,'HH24:MI:SS') into :EVENTS.CURRENT_TIME from dual;
            exception when others then
            message(TO_CHAR(SQLCODE)||''||SQLERRM);       
        end;
    and at  When-Timer-Expired trigger:
    declare
        timer_name varchar2(30);
    BEGIN
       timer_name := GET_APPLICATION_PROPERTY(TIMER_NAME);
    IF  timer_name = 'CLOCK_TIMER' THEN
          SELECT  TO_CHAR(SYSDATE,'HH24:MI:SS')
          INTO   :EVENTS.CURRENT_TIME
          FROM   DUAL;
    END IF;
       EXCEPTION WHEN OTHERS THEN
          MESSAGE(TO_CHAR(SQLCODE)||''||SQLERRM);
    END;
            Thank You
    regards
    aaditya.

    The problem is that you have a local variable with the same name as the CONSTANT "TIMER_NAME".  Therefore, your call to GET_APPLICATION_NAME is passing the value of your Local Variable to the built-in instead of the value of the CONSTANT 'TIMER_NAME."
    declare
        timer_name varchar2(30);
    BEGIN
       timer_name := GET_APPLICATION_PROPERTY(TIMER_NAME);
    IF  timer_name = 'CLOCK_TIMER' THEN
    Change your code so your variable TIMER_NAME is unique (different) from the constant TIMER_NAME variable. A common programming standard prefix your variable names with the data time.  Following this concept, rename your variable to V_TIMER_NAME.
    Craig...

  • Create an Alert in Oracle forms 9i

    I created an Alert in the form with two buttons (YES,NO buttons). Where to insert the codes for YES button and NO button?
    Please help! Thanks
    Patty

    The Forms Help System will show you have to do this. Look up "FIND_ALERT" and there are examples. The SHOW_ALERT built-in is a function and returns a constant that identifies the button selected by the user. The following was taken directly from the FIND_ALERT help topic:
    /*** Built-in: FIND_ALERT
    ** Example: Show a user-warning alert. If the user presses
    ** the OK button, then make REALLY sure they want
    ** to continue with another alert. */
    DECLARE
      al_id Alert;
      al_button NUMBER;
    BEGIN
      al_id := Find_Alert('User_Warning');
      IF Id_Null(al_id) THEN
         Message('User_Warning alert does not exist');
         RAISE Form_Trigger_Failure;
      ELSE
        /* ** Show the warning alert */
        al_button := Show_Alert(al_id);
       ** If user pressed OK (button 1) then bring up another
       ** alert to confirm -- button mappings are specified
       ** in the alert design */
       IF al_button = ALERT_BUTTON1 THEN
         al_id := Find_Alert('Are_You_Sure');
         IF Id_Null(al_id) THEN
           Message('The alert named: Are you sure? does not exist');
           RAISE Form_Trigger_Failure;
         ELSE
           al_button := Show_Alert(al_id);
           IF al_button = ALERT_BUTTON2 THEN
             Erase_All_Employee_Records;
           END IF;
         END IF;
       END IF;
      END IF;
    END; Craig...

  • How to create dynamic blocks in oracle forms

    Hi All,
    Is it possible to create a dynamic blocks and items in forms? I mean based on table driven values I want to create a blocks and items in the forms.
    I appreciate the help.
    Thanks
    Srini.

    No, Here is an example.
    Say for example I have a table called docs in that I have three columns col_name, col_type, and table_name the data will look like below
    col_name|col_type|table_name
    empno|     single row|     emp
    empname|     single row|     emp
    I want to create a block pointed emp table and columns (fields on the block) with specified in my docs table. The col name and table name may change based on some rules. So I want to create block (s) based data in docs table.
    Thanks
    Srini.

Maybe you are looking for