Where is oracle/forms/Ui/VBean in webutil.jar?

Hi All, I tried implementing Webutil for migrating OLE for opening a word document using Oracle 9iDS (with PatchSet 3) on Windows2000 platform. I have tried various combinations of classpath settings and fiddled with the default.env and formsweb.cfg and server environment settings. I am getting the error:
Importing Class oracle.forms.webutil.ole.OleFunctions...
Exception occurred: java.lang.NoClassDefFoundError: oracle/forms/ui/VBean
I find there is no VBean or ui directory in the webutil.jar. Can anyone please let me know how this has been solved in respect of classes which are using this file.

Thanks, I am able to setup webutil.
Now I have other problem in context of migrating OLE functionality using Webutil. I have an OLE Container item 'OLE_FIELD' in block 'Blk_name' which contains a word document. 'OLE_FIELD' corresponds to a long raw column in the table . I want to put the contents of this into a newly created word document and run a macro on this document. This was done using Forms_Ole.Activiate_Server, Forms_Ole.Execute_verb earlier. Can someone let me know how this is achieved in 9iDS using Webutil since 9iDS does not support the ole container? I am sending the code as it was in earlier version of Forms.
Declare
arglist OLE2.LIST_TYPE;
application OLE2.OBJ_TYPE;
BEGIN
FORMS_OLE.ACTIVATE_SERVER('Blk_name.OLE_FIELD');
application := OLE2.CREATE_OBJ('Word.Application.8');
-- Open the embedded document for editing
FORMS_OLE.EXEC_VERB('Blk_name.OLE_FIELD',1);
-- Run Macro for document
arglist := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(arglist, 'MACRO_NAME.MAIN');
OLE2.INVOKE(application, 'Run', arglist);
OLE2.DESTROY_ARGLIST(arglist);
OLE2.INVOKE(application, 'Quit');
-- Close Word
FORMS_OLE.CLOSE_SERVER('Blk_name.OLE_FIELD');
-- Release the OLE object
OLE2.RELEASE_OBJ(application);
END;
Thanks in advance,
Ravi

Similar Messages

  • 1.4.2_13 Oracle Forms - Problem after change of JAR, JRE does not respond

    Hi,
    We use JRE version 1.4.2_13 as this was the certified version for Oracle Forms 10g.
    We recently implemented a new module that uses a Java Bean. We use Java Beans already but this one allows the user to save from an Oracle Form to there PC. Because of this we had to re-sign the JAR we use. When the user tries to go back in the system it freezes and does not allow the user to Allow permission again.
    We then have to proceed to either uninstall the JRE and reinstall it (This then allows us to grant permission)
    OR
    We need to clear cache, remove all original certificates
    Then this allows us to allow (grant always) access.
    I am after a slicker way to put this new bean in place without asking everyone of our users to mess around doing the above.
    Is there anyway to invoke an auto uninstall or an auto clear cache, clear certificates
    Is there a way to stop it freezing up when first entering?
    Thanks in advance..

    anyone?

  • Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o

    Create new form attached libraies WEBUTIL and Open webutil.old
    drag WEBUTILCONFIG and WEBUTIL then create datablock,canvas WEBUTIL_CANVAS I double click canvas alert Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o
    How to solve problem
    Please Urgent
    Thank you

    formsweb.cfg
    ific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=webutilbase.htm
    baseHTML=base.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    workingDirectory=
    envFile=default.env
    escapeparams=true
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=2000
    # Forms applet parameter
    height=800
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=no
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinit/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=C:\DevSuiteHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    #WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\webutil.cfg
    #WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [webutilie]
    IE=native
    webUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTML=webutilbase.htm
    baseHTMLie=webutilbase.htm
    archive=/forms/java/frmall.jar
    lookAndFeel=oracle
    [webutiljpi]
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTMLie=webutiljpi.htm
    baseHTML=webutiljpi.htm
    archive=/forms/java/frmall.jar
    [tutoforms10g]
    envFile=tutforms10g.env
    archive_jini=frmall_jinit.jar,myIcons.jar,FormsGraph.jar
    archive=frmall.jar,myIcons.jar,FormsGraph.jar
    pageTitle=Oracle Forms 10g tutorial
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    form=tuto_forms.fmx
    separateFrame=True
    lookandfeel=Oracle
    imagebase=codebase
    width=2000
    height=800
    splashScreen=no
    background=no
    lookAndFeel=Oracle
    colorScheme=blaf
    logo=no
    2 class path,create db packages,generate plx? how to set where? classpath,create public synonym? Please ask me step to set

  • Show the print dialog when running a report from an Oracle form.

    I would like to be able to print an Oracle report from an Oracle form but
    in addition show the print dialog. My PL/SQL code is shown at the bottom of this post.
    I have set the 'printjob' system parameter to 'YES' in the
    report and I can bring up a print dialog using the reports runtime.
    However, as soon as I run it from my form I lose this capability. Setting
    'printjob' to 'YES' in the code has no apparent effect.
    Many thanks,
    Ben
    -- Launch a report
    DECLARE
      v_pl_Id   paramlist; -- parameter list
    BEGIN
      -- add the parameters to the list.
      v_pl_id := CREATE_PARAMETER_LIST ('summary');
      ADD_PARAMETER (v_pl_id, 'destype', text_parameter, 'PRINTER');
      ADD_PARAMETER (v_pl_id, 'printjob', text_parameter, 'YES');
      -- run the report
      RUN_PRODUCT (
        reports
      , 'C:\Test Reports\Test.rep'
      , synchronous
      , runtime
      , filesystem
      , v_pl_id
      , NULL
    END;

    At 10g not 9i using a bean area on my canvas implementing the following class ...
    import java.awt.Frame;
    import java.awt.JobAttributes;
    import java.awt.PrintJob;
    import java.awt.Toolkit;
    import javax.swing.JPanel;
    import java.io.*;
    import oracle.forms.ui.VBean;
    public class Select_Printer extends VBean {
    public Select_Printer()
         super();
    public String getPrinterName()
    String PrinterName=null;
              JobAttributes jobAttributes;
              try{
                   jobAttributes = new JobAttributes();
                   jobAttributes.setDialog(JobAttributes.DialogType.NATIVE);
                   Frame dummyFrame = new Frame();
                   PrintJob pJobDialog = Toolkit.getDefaultToolkit().getPrintJob(
                   dummyFrame, "Printtest", jobAttributes, null);
                   PrinterName = jobAttributes.getPrinter();
              } catch (Exception e) {
                   System.out.println("Printer error!");
              return PrinterName;
    public static void main(String[] args)
    Select_Printer select_Printer = new Select_Printer();
    System.out.println(select_Printer.getPrinterName() );
    }

  • How to use Java Beans in Oracle Forms 11g at 64 bit windows7

    Hello Experts,
                  I am using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
    My java version is jdk1.7.0_51.
    Now I have a htmlbutton.jar (which is for bean item in oracle form and this jar file works well for oracle forms 11g 32 bit windows 7 environment).
    I have takken steps:
    1:-Put jar file in home\java folder.
    2:-add this jar file into archive in formsweb.cfg.
    3:-Add this this jar file(which is in my home- java folder) in form_class path in registry.
    Now when I try to locate this jar file in my oracle form.There is no such jar file.what are the steps to use this jar file in oracle forms bean item.
    Please told me what is wrong here.
    thank you
    regards
    aaditya.

    It is unclear where you are having a problem.  Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
    Also be aware that you will need to sign your jar and include some new manifest entries.  Refer to the Java 7u51 documentation and blogs that discuss the changes.
    https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html

  • Share JVM on the client using ORACLE Forms on Oracle Application Server 10x

    Hi All,
    excuse the question, if it's wrong here:
    We have a problem running an Oracle Forms Application on an Oracle Application Server 10.1.2.3
    Local requirements do not allow multiple JVMs to run on the Client where the Oracle Forms Application is shown.
    Is there any neat way to prevent Multiple Instances of a Forms Application to each run a JVM on the client ?
    (Issue shows up on windows xp, iexplorer 8, ...)
    Any help much appreciated.

    Rephrasing...
    You have a web server - Oracle Forms.
    You want to prevent a user, which is accessing the web server, from opening more than one instance of IE (accessing the web server twice.)
    I would suspect that the answer requires support from the web server. And if that is the answer then this becomes a specific question about Oracle Forms (and not a general one about java.)

  • Weight scale input into oracle forms developer 10g

    Dear All Experts
    it is request to you kindly guide me full code and description of
    weight scale device input in oracle form show digits continuously in form 10g kindly proved me data device connect through port so plz help me

    Make a PJC (plugable java component) and look at RXTX library for java...
    I have done a PJC  to use a POS terminal over RS232 from oracle forms..
    It's not complicated..
    here is my example for POS terminal and RXTX library (JControl)
    [code]
    package in2.pos;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    import java.util.Enumeration;
    import java.util.Properties;
    import java.util.ResourceBundle;
    import java.util.StringTokenizer;
    import javax.swing.JOptionPane;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.ui.VBean;
    import gnu.io.*;
    * PosTerminalPjc, PJC component for Hypercom POS terminal data exchange
    * @author Peter Valencic, [email protected]
    public class PosTerminalPjc extends VBean {
      private static final long serialVersionUID = -8814623494538014849L;
      Properties res = new Properties();
      SerialPort serialPort;
      OutputStream os;
      InputStream is;
      CommPortIdentifier portId;
      Enumeration portList;
      IHandler mHandler;
      char STX = (char) 0x02;
      char ETX = (char) 0x03;
      char EOT = 4;
      char ACK = 6;
      char NAK = 15;
      char FS = 28;
      private static final ID COMPORT = ID.registerProperty("COMPORT"); // serial
      // port
      // (COM1,COM2,COM3,...)
      private static final ID AMOUNT = ID.registerProperty("AMOUNT"); // amount of
      // the
      // transaction
      // (12)
      private static final ID TRANSACTIONTYPE = ID
      .registerProperty("TRANSACTIONTYPE"); // 01-sale, 05-refund, 13
      // ticket duplicate
      private static final ID AMOUNTCURRENCY = ID
      .registerProperty("AMOUNTCURRENCY"); // ISO currency code
      private static final ID TRANSACTIONNUMBER = ID
      .registerProperty("TRANSACTIONNUMBER"); // transaction number
      private static final ID EVT_OK = ID.registerProperty("EVT_OK"); //custom event if all ok
        private static final ID EVT_ERR = ID.registerProperty("EVT_ERR"); //custom event if error occured
      // state machine variables
      long l_timeout;
      long l_wait_for = 5000; // pos terminal wait for command (5 seconds)
      long l_wait_for_transaction = 62000 * 2; // pos terminal timeout
      long l_second = 1000; // one second
      byte b_retry = 0;
      String dataValue = "";
        byte[] readBuffer = new byte[2000]; //2000 bytes buffer to read rs232 stream
      String comPort = ""; // local variable to store com port name
      // (COM1,COM2,...)
      String transactionType = "SALE"; // type of transaction to be executed (SALE
      // or REFUND) default SALE
      String amount = "0"; // default amount value is set to 0
      String transactionNumber =""; //store a transaction number from POS trminal
      String transactionProcessed;
        String transactionFlag;
        String transactionDate;
        String transactionTime;
        String transactionBatchNumber;
        String terminalTid;
        String terminalCard;
        String errDesc;
        public PosTerminalPjc() {
      super();
      System.out.println("============================");
      System.out.println("== State machine POS v1.0 ==");
      System.out.println("== Peter Valencic (c)     ==");
      System.out.println("== 03.04.2012             ==");
      System.out.println("============================");
      try {
      res.load(this.getClass().getResourceAsStream(
      "/res/language.properties")); // load language file
      } catch (Exception ex) {
      System.err.println("Err loading language.properties file: "
      + ex.toString());
      private void doTransaction() throws Exception {
      String phase = null; // initial null value for state machine phase
      long l_ack_timeout = 0; //initial value for acknowledge timeout
      // com port check
      if (getComPort().trim().equalsIgnoreCase("")) {
      this.showError(res.getProperty("s_dlg_err_title"),
      res.getProperty("s_com_invalid"));
      return;
      // transaction type chek
      System.out.println(this.getTransactionType());
      if (!getTransactionType().equalsIgnoreCase("REFUND")
      & !getTransactionType().equalsIgnoreCase("SALE")) {
      this.showError(res.getProperty("s_dlg_err_title"),
      res.getProperty("s_tran_invalid_type"));
      return;
      portList = portId.getPortIdentifiers();
      while (portList.hasMoreElements()) {
      portId = (CommPortIdentifier) portList.nextElement();
      if (portId.getName().equalsIgnoreCase(this.getComPort())) {
      System.out.println("Port is used : "
      + portId.isCurrentlyOwned());
      serialPort = (SerialPort) portId.open("ComDriver", 2000);
      serialPort.setSerialPortParams(9600, SerialPort.DATABITS_7,
      SerialPort.STOPBITS_1, SerialPort.PARITY_EVEN);
      // serialPort.addEventListener(this);
      serialPort.notifyOnDataAvailable(true);
      serialPort.notifyOnOutputEmpty(true);
      os = serialPort.getOutputStream();
      is = serialPort.getInputStream();
      break;
      if (portId == null) {
      throw new Exception(res.getProperty("s_com_not_found")
      + this.getComPort() + "\n");
      // state machine infinite loop
      while (true) {
      // SEND DATA TO POS TERMINAL
      if (phase == null) {
      System.out.println("start phase");
      byte[] req = null;
      //verify transaction type to be SALE or REFUND
      //if REFUND then transaction number must be specified
      if (getTransactionType().equalsIgnoreCase("SALE")) {
      System.out.println("--> SALE send message to the pos terminal");
      System.out.println("--> amount: " + amount);
      req = protocolStream("000000123401100" + FS + amount + FS
      + FS + "+0" + FS + "978" + FS + FS + FS + FS + FS
      + FS + FS + ETX);
      else if (getTransactionType().equalsIgnoreCase("REFUND")) {
      System.out.println("--> REFUND send message to the pos terminal");
      System.out.println("--> amount: " + amount);
      System.out.println("--> transaction number: " + getTransactionNumber());
      req = protocolStream("000000123405100" + getTransactionNumber() + FS + amount
      + FS + FS + "+0" + FS + "978" + FS + FS + FS + FS
      + FS + FS + FS + ETX);
      } else {
      // maybe VOID in the future..
      os.write(req);
      os.flush();
      l_ack_timeout = System.currentTimeMillis() + 1500;
      //wait for half second
      try {
      Thread.sleep(500);
      } catch (Exception ee) {
      l_timeout = System.currentTimeMillis() + l_wait_for; //add some time for timeout
      phase = "TO_POS_ACK";
      System.out.println("phase: " + phase);
      }//phase null
      //CHECK IF THE TIMEOUT OCCURED
                if (phase.equalsIgnoreCase("TO_POS_ACK") &
                        (l_timeout < System.currentTimeMillis()) & (b_retry < 4)) {
                    b_retry += 1;
                    System.out.println("TIMEOUT: " + b_retry);
                    l_timeout = System.currentTimeMillis() + l_wait_for;
                    if (b_retry >= 4) {
                        System.out.println("Timeout occured");
                        try {
                            serialPort.close();
                            is.close();
                            os.close();
                        } catch (Exception ee) {
                        //Timeout occured show error
                        //s_timeout
                        this.showError(res.getProperty("s_dlg_err_title"),
            res.getProperty("s_timeout"));
                        break;
              //CHECK FOR THE ACKNOWLEDGE (FIRST RESPONSE FROM POS TERMINAL)
                if (phase.equalsIgnoreCase("TO_POS_ACK") &
                        (l_ack_timeout < System.currentTimeMillis())) {
                    try {
                        int numBytes = 0;
                        dataValue = "";
                        while ((numBytes = is.read(readBuffer)) > 0) {
                            dataValue += new String(readBuffer, 0, numBytes, "ASCII");
                        if (dataValue.getBytes().length > 0) {
                            System.out.println("->first byte: " +
                                dataValue.getBytes()[0]);
                            System.out.println("total length: " +
                                dataValue.getBytes().length);
                            //check for ack byte
                            if (dataValue.getBytes()[0] == 6) {
                                System.out.println(
                                    "<--ACKNOWLEDGE received from pos terminal");
                                phase = "WAIT_FOR_TRANSACTION";
                                l_timeout = System.currentTimeMillis() +
                                    l_wait_for_transaction;
                    } catch (IOException ev) {
              //WAIT FOR TIMEOUT ON MESSAGE
                if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION") &
                        (l_timeout < System.currentTimeMillis())) {
                    System.out.println(
                        "Error receiving response from pos terminal!!!");
                    try {
                        serialPort.close();
                        is.close();
                        os.close();
                    } catch (Exception ee) {
                    this.showError(res.getProperty("s_dlg_err_title"),
        res.getProperty("s_response_error"));
                    break;
              //WAIT FOR SOME DATA TO COME FROM POS TERMINAL OVER RS232
                if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION")) {
                    try {
                        int numBytes = 0;
                        dataValue = "";
                        while ((numBytes = is.read(readBuffer)) > 0) {
                            dataValue += new String(readBuffer, 0, numBytes, "ASCII");
                        if (dataValue.getBytes().length > 0) {
                            System.out.println("->first byte: " +
                                dataValue.getBytes()[0] + "|" +
                                dataValue.getBytes()[1]);
                            System.out.println("->ascii: " + dataValue);
                            System.out.println("total length: " +
                                dataValue.getBytes().length);
                            if (dataValue.indexOf("PREKINIL UPORABNIK") != -1) {
                                System.out.println(
                                    "Uporabnik je prekinil povezavo!");
                                try {
                                    serialPort.close();
                                    is.close();
                                    os.close();
                                } catch (Exception ee) {
                                //transaction cancelled by user s_user_cancel
                                this.showError(res.getProperty("s_dlg_err_title"),
                    res.getProperty("s_user_cancel"));
                                break;
                            if (dataValue.indexOf("NAPACEN VNOS") != -1) {
                                System.out.println("Napačen vnos");
                                try {
                                    serialPort.close();
                                    is.close();
                                    os.close();
                                } catch (Exception ee) {
                                //invalid user entry
                                this.showError(res.getProperty("s_dlg_err_title"),
                    res.getProperty("s_user_invalid_entry"));
                                break;
                            if (dataValue.indexOf("PROSIM POCAKAJ") != -1) {
                                System.out.println("<-- PROSIM POCAKAJ");
                                continue;
                            //preberemo podatke iz stringe terminala
                            if (dataValue.indexOf("SPREJETO") != -1) {
                                try {
                                    serialPort.close();
                                    is.close();
                                    os.close();
                                } catch (Exception ee) {
                                System.out.println("<-- TRANSAKCIJA SPREJETA");
                                System.out.println(dataValue);
                                System.out.println("Prožimo event v formse");
                                this.transactionProcessed = dataValue.substring(1, 3); //podatek mora biti 10
                                this.transactionFlag = dataValue.substring(13, 15);
                                this.transactionNumber = dataValue.substring(16, 21);
                                System.out.println("transaction number: " + this.transactionNumber);
                                this.transactionDate = dataValue.substring(25, 31);
                                this.transactionTime = dataValue.substring(31, 37);
                                this.transactionBatchNumber = dataValue.substring(21, 25);
                                StringTokenizer st = new StringTokenizer(dataValue, "" + FS);
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                this.terminalTid = st.nextToken();
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                System.out.println(st.nextToken());
                                this.terminalCard = st.nextToken();
                                if (transactionProcessed.equalsIgnoreCase("10")) {
                                else
                                    CustomEvent ce = new CustomEvent(mHandler,
                                            EVT_ERR);
                                    if (transactionProcessed.equalsIgnoreCase("00")) {
                                        System.out.println(
                                            "Error in the format of the request message");
                                        this.errDesc = res.getProperty("s_tf_00");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "01")) {
                                        System.out.println(
                                            "Transaction accepted without authorization code");
                                        this.errDesc = res.getProperty("s_tf_01");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "02")) {
                                        System.out.println(
                                            "Transaction accepted with authorization code");
                                        this.errDesc = res.getProperty("s_tf_02");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "03")) {
                                        System.out.println("Needs voice referall");
                                        this.errDesc = res.getProperty("s_tf_03");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "04")) {
                                        System.out.println("Transaction refused");
                                        this.errDesc = res.getProperty("s_tf_04");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "05")) {
                                        System.out.println(
                                            "Needs manual card data entry");
                                        this.errDesc = res.getProperty("s_tf_05");
                                    } else if (transactionProcessed.equalsIgnoreCase(
                                                "06")) {
                                        System.out.println(
                                            "Authorization call failure");
                                        this.errDesc = res.getProperty("s_tf_06");
                                    dispatchCustomEvent(ce);
                                    return;
                                //če gre skozi potem je vse ok
                                CustomEvent ce = new CustomEvent(mHandler, EVT_OK);
                                dispatchCustomEvent(ce);
                                return;
                    } catch (IOException ev) {
                //wait 200 ms
                try {
                    Thread.sleep(200);
                } catch (InterruptedException ex) {
                    ex.printStackTrace();
                System.out.print('*');
      }//end state machine loop
      * protocolStream prepare the stream to be send over RS232 to POS terminal
      * with LRC cheksum control
      * @param data
      * @return byte[]
      private byte[] protocolStream(String data) {
      char STX = (char) 0x02;
      String tmp = "" + STX + STX + data + "" + getLRC(data);
      System.out.println("PStream: " + tmp);
      for (int i = 0; i < tmp.getBytes().length; i++) {
      System.out.print(tmp.getBytes()[i] + ":");
      // System.out.println("čeksum: " + chksm);
      return tmp.getBytes();
      * Longitudinal Redundancy Check (LRC)
      * @param packet
      * @return String
      private String getLRC(String packet) {
      char[] splitPacket = packet.toCharArray();
      char lrc = 0x00;
      for (int x = 0; x < splitPacket.length; x++) {
      lrc = (char) (lrc ^ splitPacket[x]);
      return "" + (char) lrc;
      private String paddingString(String s, int n, char c, boolean paddingLeft) {
      if (s == null) {
      return s;
      int add = n - s.length(); // may overflow int size... should not be a
      if (add <= 0) {
      return s;
      StringBuffer str = new StringBuffer(s);
      char[] ch = new char[add];
      Arrays.fill(ch, c);
      if (paddingLeft) {
      str.insert(0, ch);
      } else {
      str.append(ch);
      return str.toString();
      * Display error message inside oracle form
      * @param title
      * @param exceptionString
      private void showError(String title, String exceptionString) {
      JOptionPane.showMessageDialog(this, exceptionString, title, 0);
      public String getComPort() {
      return comPort;
      public void setComPort(String comPort) {
      this.comPort = comPort;
      public String getTransactionType() {
      return transactionType;
      public void setTransactionType(String transactionType) {
      this.transactionType = transactionType;
      public String getAmount() {
      return amount;
      public void setAmount(String amount) {
      this.amount = amount;
      public String getTransactionNumber() {
      return transactionNumber;
      public void setTransactionNumber(String transactionNumber) {
      this.transactionNumber = transactionNumber;
      public static void main(String[] args) {
      PosTerminalPjc pjc = new PosTerminalPjc();
      pjc.setComPort("COM1");
      pjc.setTransactionType("SALE");
      pjc.setAmount("1000");
      try
      pjc.doTransaction();
      catch(Exception ex)
      System.err.println(ex.toString());
    [/code]

  • About importing oracle.forms.properties ...

    Dear all,
    I do have some problems when importing these:
    package oracle.forms.demos;
    import oracle.forms.properties.ID;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.ui.VBean;
    Here are the problems' details:
    \cmp\FDialogPJC.java:5: package oracle.forms.properties does not exist
    import oracle.forms.properties.ID;
    ^
    \cmp\FDialogPJC.java:6: package oracle.forms.handler does not exist
    import oracle.forms.handler.IHandler;
    ^
    \cmp\FDialogPJC.java:7: package oracle.forms.ui does not exist
    import oracle.forms.ui.CustomEvent;
    ^
    \cmp\FDialogPJC.java:8: package oracle.forms.ui does not exist
    import oracle.forms.ui.VBean;
    ^
    \cmp\FDialogPJC.java:10: cannot resolve symbol
    symbol : class VBean
    location: class oracle.forms.demos.FDialogPJC
    public class FDialogPJC extends VBean
    ^
    \cmp\FDialogPJC.java:13: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    private IHandler mHandler;
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:34: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    public void init(IHandler handler)
    ^
    \cmp\FDialogPJC.java:40: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    public boolean setProperty(ID pid, Object value)
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:21: cannot resolve symbol
    symbol : method getClass ()
    location: class oracle.forms.demos.FDialogPJC
    ClassLoader cl = getClass().getClassLoader();
    ^
    Any other advice towards these?
    Thks & Rgds,
    Edward

    Fnd the forms.jar file in the system. Make a note of the complete path For example if the forms.jar file is in C:\abcd\xyz\ , the path of this file is C:\abcd\xyz\forms.jar .
    Open the server.xml file which you can find under C:\Sun\AppServer7\domains\domain1\server1\config and add the above PATH like this
    server-classpath="C:\abcd\xyz\forms.jar;C:/Sun/AppServer7/lib/appserv-rt.jar ......
    -Restart the Application Server and run your application
    Hope this helps
    Thanks
    Srinivas

  • Run Oracle Form Application from a JSP File.

    I have a complete customized application made on Oracle Forms (10g) and I have .fmb and .fmx files, now problem which I am facing is I have to open the Oracle Form Application from my JSP page (which is used to login the user). My JSP page is just a simple page which I have placed it in path [C:\DevSuiteHome2\forms\j2ee\formsapp\formsweb] and I run it from browser as [http://localhost:port/forms/index.jsp].
    How can I start my application from this JSP page? Please your help would be highly appreciated. Thanks.

    Inside your JSP page put <OBJECT> tag with all parameters and tags to open Jinitiator or java applet..
    my example..
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
            codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
            WIDTH="1024"
            HEIGHT="768"
            HSPACE="0"
            VSPACE="0">
    <PARAM NAME="TYPE"       VALUE="application/x-jinit-applet;version=1.3.1.22">
    <PARAM NAME="CODEBASE"   VALUE="/forms/java">
    <PARAM NAME="CODE"       VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE"    VALUE="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar" >
    <PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI">
    <PARAM NAME="networkRetries" VALUE="30">
    <PARAM NAME="serverArgs"
           VALUE="escapeParams=true module=zav0030f.fmx userid=  sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res" >
    <PARAM NAME="separateFrame" VALUE="true">
    <PARAM NAME="splashScreen"  VALUE="">
    <PARAM NAME="background"  VALUE="">
    <PARAM NAME="lookAndFeel"  VALUE="Oracle">
    <PARAM NAME="colorScheme"  VALUE="teal">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="logo" VALUE="">
    <PARAM NAME="imageBase" VALUE="DocumentBase">
    <PARAM NAME="formsMessageListener" VALUE="">
    <PARAM NAME="recordFileName" VALUE="">
    <PARAM NAME="EndUserMonitoringEnabled" VALUE="">
    <PARAM NAME="EndUserMonitoringURL" VALUE="">
    <PARAM NAME="heartbeat" VALUE="">
    <PARAM NAME="clientDPI" VALUE="123">
    <COMMENT>
    <EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
            TYPE="application/x-jinit-applet;version=1.3.1.22"
            java_codebase="/forms/java"
            java_code="oracle.forms.engine.Main"
          java_archive="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar,Paketi.jar,in2kartica.jarpaketi.jar,moj9999.jarin2kartica.jarpaketi.jar"
            WIDTH="1024"
            HEIGHT="768"
            HSPACE="0"
            VSPACE="0"
         clientDPI="123"
            serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI"
            networkRetries="30"
            serverArgs="escapeParams=true module=zav0030f.fmx userid=  sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res"
            separateFrame="true"
            splashScreen=""
            background=""
            lookAndFeel="Oracle"
            colorScheme="teal"
            serverApp="default"
            logo=""
            imageBase="DocumentBase"
            formsMessageListener=""
            recordFileName=""
            EndUserMonitoringEnabled=""
            EndUserMonitoringURL=""
            heartBeat=""
    >
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->

  • WebUtil:  oracle.forms.webutil.host.Host bean not found

    Hi. This is my first attempt using WebUtil. The following code is in my When-New-Form-Instance trigger:
    client_host('N:\TTMS\ITS\vbasic\compiled\MenuUpdate.exe');
    This is the error I receive:
    oracle.forms.webutil.host.Host bean not found
    I've included my formsweb.cfg below for your reference. Note that the application is using the [ttmsmenu] configuration.
    Thanks in advance for your help with this problem.
    ***FORMSWEB.CFG***
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    #WebUtilArchive=frmwebutil.jar,jacob.jar
    #WebUtilLogging=off
    #WebUtilLoggingDetail=normal
    #WebUtilErrorMode=Alert
    #WebUtilDispatchMonitorInterval=5
    #WebUtilTrustInternal=true
    #WebUtilMaxTransferSize=16384
    # System parameter: default base HTML file
    baseHTML=base.htm
    # baseHTML=webutilbase.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # baseHTMLjinitiator=webutiljini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # baseHTMLjpi=webutiljpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    # HTMLbeforeForm=
    HTMLbeforeForm=<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    #imageBase=DocumentBase
    imageBase=codeBase
    # Forms applet parameter default 750
    # width=1000
    # width=100%
    width=500
    # Forms applet parameter default 600
    # height=700
    # height=100%
    height=500
    # Forms applet parameter default false
    separateFrame=true
    # Forms applet parameter
    # splashScreen=
    splashScreen=no
    #splashScreen=ttmslogo_new.gif
    # Forms applet parameter
    background=ttmslogo_new.gif
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=ttms_banner.gif
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=C:\DevSuiteHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    [ttmsmenu]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle
    width=500
    height=500
    background=no
    form=ttmsmenu.fmx

    Dumb dumb dumb.
    I was running this form out of Form Builder 10g. At some point I changed the Application Server URL (Edit => Preferences => Runtime menus) from:
    http://ssbuechl2.div16.ibm.com:8889/forms/frmservlet?config=ttmsmenu
    to:
    http://ssbuechl2.div16.ibm.com:8889/forms/frmservlet?
    So my customized configuration with all the WebUtil references was not being referenced and I was getting the error.
    Dumb dumb dumb.

  • Oracle.forms.webutil.capi.capifunctions bean not found

    Hi...I'm trying to pick host name using webutil through the following command behind a push button in my form:
    :Pc_Nom     :=     Webutil_Clientinfo.Get_Host_Name;
    But it gives the following error:
    oracle.forms.webutil.capi.capifunctions bean not found
    webutil_c_api.rebind_parameter will not work.
    Can u tell me where is the problem???

    Hi!
    Do you have referenced the webutil object group from the webutil.olb?
    Take a look in the java console if webutil is registred.
    Regards

  • WebUtil  - oracle.forms.webutil.ole.oleFunctions bean not found.

    All,
    We're using webutil 1.0.6 on forms 9.0.4. Stuck up with the following error at runtime 'oracle.forms.webutil.ole.oleFunctions bean not found.'.
    In metalink, we noticed that webutil 1.0.6 should't be used with 9.0.4 unless some modification made on PLL. Unfortunately in OTN we can't find webutil 1.0.5 source version.
    Anyone please tell us from where we can get WebUtil 1.0.5 source or how can we solve this problem.
    Thank you very much.
    Prabhu.

    Hi,
    I have encountered the same problem. Form compiled with no error, but at run time got an error 'oracle.forms.webtuil.ole.oleFunctions bean not found'.
    DEFAULT.ENV:
    WEBUTIL_CONFIG=c:\oracle\ora92\forms90\server\webutil.cfg
    WebUtilArchive=c:\oracle\ora92\forms90\java\frmwebutil.jar,c:\oracle\ora92\forms90\java\jacob.jar
    FORMSWEB.CFG file:
    webUtilArchive=/forms90/java/webutil.jar,/forms90/java/jacob.jar
    archive_jini=f90all_jinit.jar
    archive_ie=f90all.cab
    archive=f90all.jar
    [jpi]
    baseHTML=/forms90/server/base.htm
    baseHTMLjinitiator=c:\oracle\ora92\forms90\server\webutiljini.htm
    baseHTMLjpi=/forms90/server/basejpi.htm
    baseHTMLie=/forms90/server/baseie.htm
    [webutil]
    WebUtilArch=/forms90/java/frmwebutil.jar
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=/forms90/server/webutiljini.htm
    baseHTMLjpi=/forms90/server/webutiljpi.htm
    archive_jini=/forms90/java/f90all_jinit.jar
    archive=/forms90/java/f90all.jar
    lookAndFeel=oracle
    ORION-WEB.XML file (ORACLE\ora92\j2ee\DevSuit\application-deployments\forms\form90web):
    <context-param-mapping name="configFileName">c:\oracle\ora92/forms90/server/formsweb.cfg</context-param-mapping>
    <virtual-directory virtual-path="/html" real-path="c:\oracle\ora92/tools/web90/html" />
    <virtual-directory virtual-path="/java" real-path="c:\oracle\ora92/forms90/java" />
    <virtual-directory virtual-path="/iconos" real-path="c:\oracle\ora92/forms90/iconos" />
    <virtual-directory virtual-path="/webutil" real-path="c:\oracle\ora92/forms90/webutil" />
    <virtual-directory virtual-path="/jinitiator" real-path="c:\oracle\ora92/jinit" />
    Please help!
    Thank you

  • Errors wcu-015: your form must contain the following bean for this function to be available : oracle.forms.webutil.file.filefunctions;

    my technical
    envirement:
    1_ Oracle
    Entreprise Manager version 9.2.0.1.0
    2_ Forms [32
    Bit] Version 9.0.2.9.0 (Production)
    3_ Oracle
    JInitiator: Version 1.3.1.9
    4_ WebUtil
    Version 1.0.2(Beta)
    5_ window xp
    service pack 2 build 2600.
    6_Internet
    Explorer 8 Version 8.0.6001.18702
    I m developping
    a form txt.fmb
    The obejective
    of this form is to open metars.txt file loctated in “c:\metars.txt”,
    through which read climate data for exapmle (temperature =25, humudity = 60) to
    finaly insert them into metars table in my data base.
    For recall
    while i m developing this form this step is well achieved:
    i open the
    WEBUTIL.olb, in  a window so different tabs is displayed and then i drag
    the webutil-object group into my forms object group-node. until I have the
    following items under the object group-node in my form test.fmb
    webutil_error                                               
    -- as alert style: stop
    WEBUTIL_HIDDEN_WINDOW                       
    WEBUTIL_CANVAS
    WEBUTIL                                                    
    -- as a block
    at run time I
    have the following message error which is come out form the function CLIENT_TEXT_IO.FOPEN(file_name,
    'W') and written through a  trigger fired
    on “ when new form instance”. 
    wcu-015: your form must contain the following bean for this function to be
    available : oracle.forms.webutil.file.filefunctions; 
    also i would like to inform that  at run time,
    java console didn't show me any of errors loading java files, which mean
    that all configuration required, to getting webutil work  with oracle 9i form builder,  are well executed.
    Oracle
    JInitiator: Version 1.3.1.9
    Using JRE
    version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and
    Settings\wwProxy Configuration: no proxyJAR cache enabled
    Location: C:\Documents and Settings\ww\Oracle Jar Cache
    Loading:
    http://wissam-773df302:8888/forms90/jars/webutil.jar
    from JAR cacheLoading
    http://wissam-773df302:8888/forms90/jars/jacob.jar from
    JAR cacheLoading
    http://wissam-773df302:8888/forms90/jars/demo90.jar from
    JAR cacheLoading
    http://wissam-773df302:8888/forms90/jars/FormsGraph.jar
    from JAR cacheLoading
    http://wissam-773df302:8888/forms90/jars/icons.jar
    from JAR cacheLoading
    http://wissam-773df302:8888/forms90/jars/frmwebutil.jar
    from JAR cacheLoading
    http://wissam-773df302:8888/forms90/java/f90all_jinit.jar
    from JAR cacheRegister
    WebUtil -
    Loading Webutil Version 1.0.2 BetaproxyHost=nullproxyPort=0connectMode=HTTP,
    native.Forms Applet version is : 90290
    Finally  still i m facing the same problem about the
    error message mentioned earlier; I appreciate any support and I will be very
    thankful for helping me to find  a suitable solution!!

    1.) Please don't double post:Urgent message : oracle9i form builder read  txt file error
    2.) As for your original post: don't post urgent questions over here. If they are really urgent call oracle support. See How To Ask Questions The Smart Way
    and after all:
    wcu-015: your form must contain the following bean for this function to be
    available : oracle.forms.webutil.file.filefunctions; 
    are you certain, 100% positive, and absolutely sure you have a bean item with above implementation class in your form? I'd double check that...
    JInit and IE8? I am not 100% sure, but I am almost certain that this combination didn't work at all. And please don't tell us you used that stupid hack where you replace the jvm.dll of JInit with one of a current JPI installation.
    The Oracle Versions you have in place are rather ancient as well, you really should think about upgrading your database and your forms installation. As you already are on webforms moving to the current version of forms shouldn't require much changes in your forms.
    cheers

  • Webutil Error when trying to run excel report from Oracle form

    I am trying to run an excel report from a oracle from but it throws me following error:
    Oracle.forms.webutil.fileTransfer.FileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getmaxtransfer will not work
    Can you tell what is this error due to and how to eradicate this.

    hi
    Did you generate .plx?
    please check if you did not generate plx and if u did not create db packages please create the webutil user and create db packages.
    here is the webutil configurations.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.hope this helps u.
    sarah

  • Oracle.forms.webutil.ole.OleFunctions class not found

    Hi all,
    I am getting oracle.forms.webutil.ole.OleFunctions class not found at design time in Forms Builder 10gR2 as well as at run time when working with webutil. Webutil is properly configured. I am using file uploading and downloading and it is working fine. but when I m working with CLIENT_OLE2, it is giving class not found exception. Can someone please help me to identify the problem.
    Thanks in advance
    Bilal

    hi
    Forms [32 Bit] Version 10.1.2.0.2 (Production in this version the webutil is already installed but u have to sign jars and there is also some modifications
    in formsweb.cfg.
    please check this.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd [JacobStage]
         copy jacob.jar [OraHome]\forms\java\.
         copy jacob.dll [OraHome]\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add [OraHome]\jdk\bin to the PATH:
         set PATH=[OraHome]\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
         [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY [password]
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/[password]@[connectstring]
         @[OraHome]\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    10) Run your form.sarah

Maybe you are looking for

  • Menu Bar and Hard Drive Icon M.I.A.

    Hi When I woke my MacBook from "sleep" a while ago I have no menu bar or any of the icons that go on the right side of the screen. My dock is barely visible. I've tried system preferences to check on the screen size in "display". It's set to 1280 X 8

  • Printing Khmer characters correctly, with ligature substitutions

    I'm trying to implement printing of characters from the Khmer writing system. The characters and the font are both Unicode and using the font in other applications works fine. However in Java, using the Java 2D printing, the characters are not printe

  • Thunderbolt to ethernet - Network printing

    Hi there, I'm currently trying to get an employees Macbook pro 13" Retina 2013 integrated with a windows network. So far I have manged the boot camp installation and all other services have been integrated successfully; however it seems that our netw

  • Clearing out duplicate drivers for a specific Hardware ID

    I've been struggling for a while to get a driver that works for an old model of network card. I had added in various drivers from the vendors website, and now the hardware vendor has supplied me with an older version of the driver that they expect wi

  • Trouble installing itunes 7.6

    Can someone please help me? I am trying to install itunes 7.6 for my daughter's ipod shuffle and i already had an older version of itunes on the pc. I am getting an error stating "Could not open key: HKEYLOCALMACHINE\SOFTWARE\Microsoft\Windows\...\{5