Blank browser when run oracle form developer 10g

Hi, all
I'm newbie on oracle developer.
I'm using oracle form developer 10g, database also 10g and default browser firefox.
I made a form n give EMPLOYEE_MDL for the name.
I got problem when i try to run form, first time shown "*ORACLE FORMS.*" on browser and then the browser getting blank(just white space), the url is:
http://red-erie:8889/forms/frmservlet
Hope you can help me.
Regards n Thanks
eRie

It worked for me in Windows 7 Home premium, both in 32 and 64 bit operating systems...
What I did was,
After successful instalaltion of developer suite, I've installed latest JRE from www.java.com and configured formsweb.cfg and default.env file.
I've used IE8 only. I haven't tested on any other browsers.
Do modify these lines to configure formsweb.cfg to change to JRE from Jinitiator (As said by CraigB )
# 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)
### Original
#jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
### New
jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/index.html
# Parameter related to the version of the Java Plugin
### Original
#jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
### New
jpi_classid=clsid:CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
### Original
#jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
### New
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,24
# Parameter related to the version of the Java Plugin
### Original
#jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
### New
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_24I also recommend you change the following variable as well.
# System parameter: base HTML file for use with JInitiator client
#baseHTMLjinitiator=basejini.htm
baseHTMLjinitiator=basejpi.htmEdited by: Charan on Jul 1, 2011 8:46 AM

Similar Messages

  • Unable to run forms in oracle forms developer 10g

    I am using oracle forms developer 10g on oracle application Release 12.
    When i run form i am getting error that weblistener is not running on default port 8888. Then i changed it to 8000. But still i am not able to run the forms.

    Nivas,
    In addition to running OC4J, you must also have your browser configured to use a Java Runtime Environment. The easiest - and preferred - method is to install the Oracle JInitiator as there is not configuration needed other than the installation. You can also use Sun's JRE, but you would have to research how to configure your PC correctly. The other option is to change your FormsWeb.cfg file to use the Browser Native JRE. Edit the formsweb.cfg file and find the IE= directive. The Default is IE=jinitiator. Change this to IE=Native, save your changes and you are done. This is not the preferred solution, but it does work.
    Craig...

  • Why Other Browser cannot run oracle forms without IE.

    Why Other Browser cannot run oracle forms without IE.
    i want to use other browser for oracle form like firefox,google chrome etc not IE.
    [email protected]

    Hussain Afridi wrote:
    Why Other Browser cannot run oracle forms without IE.Let aside we don't know what forms version you are using, your statement is simply wrong. I am running Forms 10gR2 with Firefox for quite some time (from 2 to 12 and now with 10.0.7 ESR). So I know for a fact that you can run Forms with other Browsers then IE. Also why would Oracle certify other Browsers (which they did) if it wouldn't work in the first place?
    So to answer your "question": forms most certainly won't work on FF on your side because you didn't configure your formsweb.cfg properly. For newer Versions of Fírefox you'd have to use the Sun JPI instead of JInit:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/forms-jre-131772.pdf
    Also if you'd have used the forum search it would have come up with some informations on what to do; e.g.
    Running Oracle Forms applications using  Firefox 3.6
    So to sum it up you should reprhase your original question to:
    How do I use the forum search/google to search for informations already provided a hundred times?cheers

  • Getting Error when running oracle form 10g

    Hi all, i have a problem when i run oracle form 10g.
    in the applet show like this :
    Loading http://abc:8889/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0
    Loading http://abc:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://abc:8889/forms/java/jacob.jar from JAR cache
    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.TextFieldItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can anybody help me how to solve this problem ?
    Thanks,
    Iwan

    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.Does your printtext.jar Java Bean need to open an HTTP connection in order to print?
    Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0Your form appears to be using WebUtil. Has it been successfully configured?
    Honestly, you need to list the following minimum information when you post a question; it gives us all or most of the information we need to help you and it eliminates the need for us to ask for this information. Please always include:
    * Forms Version (eg; 10.1.2.0.0 not 10g)
    * Java Version
    * Client OS version
    * What you were doing when the error occured.
    Craig...

  • Running oracle form builder 10g in windows 7 64 bit

    i am working in windows 7 64 bit
    oracle db 11g enterprise edition 11.2.0.10 64 bit
    form builder 10.12.0.2  32 bit
    my default browser is Google Chrome
    i have java 6 standard edition  1.6.0_34
    when i am trying to run any form this message appear " java (TM) is required to display some elements in this page"
    what can i do to run those forms?

    You can also refer to this OTN reference:
    Oracle Application Server 10g (10.1.2) Certification Matrix
    Other comments:
    1.  I would not recommend using Forms 10.1.2.0 with Oracle DB 11.2.x.  Patching Oracle Forms to 10.1.2.3 would be recommended.  Using version Forms 11 would be better.
    2.  Attempting to use the Developer Tools on Windows 7 is not a great idea although it can be made to work.  Developer Suite 10 is no longer supported and was never really intended for use on Win7.  Again, patching to 10.1.2.3 is recommended and required if you plan to follow the Oracle instructions and certifications.
    3.  Installing the Forms Builder (Developer Suite) on Win7-64bit is not at all certified and was never supported.
    4.  Using Java 7 was not certified and therefore not supported for use with Forms 10.x
    In general, Forms 10.1.2.x has been desupported.  Customer using this version or older should be working on a migration plan for getting to the latest supported version which is 11.1.2.1.

  • Incorrect font displayed when running oracle form 4.5

    Hi,
    I created a couples of form using Oracle Form 4.0 . Now I
    install developer/2000 v1.3.2 to use Oracle Form 4.5.
    However, when I run my forms by using Oracle Form 4.5, all the
    text fonts are not displayed correctly ( I use font of Helvetica,
    with font size 14). If anyone know the reason, please tell me how
    to fix this problem. I appreciate it. Thanks
    null

    David,
    if you really want to deploy the Forms as a Web (and so launch from a browser) you need to set up the Forms Server
    and deploy your Forms to the Forms server. This will make the forms availabe by access from the URL
    e/g/ http://machinename/virtual_directory/forms_file.html
    the forms_file.html then points to the fmx you want to run.
    However, if you want to set this up you really need to look at the documentation (see the online manual) or look at the white
    papers on OTN.
    I could be that you coul still launch the client server version from a URL but I am not sure this would really work (
    what about lunching a .bat file from the URL and this bat file will countain the command line for running a form - that
    way you can test it from outside the portal to get it working first).
    regards
    Grant Ronald
    Forms Product Management

  • 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]

  • Oracle Form Developer 10G Version ?

    Could you please let me know which version is realsed for Form develper 10G and from where i can get its user/developer guide.

    Also check metalink for updates. There is a 10gR1 Forms Builder technical version 9.0.4 and there is a 10gR2 Forms Builder technical version 10.1.2.0.2. For both versions there are updates available.

  • Blank webpage when run project form Flex Development

    When I Run my project in Flex Development to see how my changes look, I get a BLANK webpage.
    I have dumped the browser's cache and deleted the SWF in the bin_debug folder.
    Still get a blank page. Only way to see changes is to compile.
    What gives?

    I used to do
    1. Ctrl + Shft + delete in Mozilla
    2. Close project --> Clean project.
    3. Ensure there are no more errors in project.

  • Getting ORA-06508 when running 6i form in 10g

    hi,
    I am upgrading my forms from 6i to 10g. I have created the following directory structure on my system.
    c:\old_system\<module_name>\<forms60> --- All FMBs and FMXs
    c:\old_system\<module_name>\<lib> --- All libraries
    c:\old_system\<module_name>\<reports60> ---All Reports
    c:\10g_upgrade\<module_name>\<forms60> --- All FMBs and FMXs
    c:\10g_upgrade\<module_name>\<lib> --- All libraries
    c:\10g_upgrade\<module_name>\<reports60> ---All Reports
    i have edited the registery entry for
    for forms6i
    Forms60_PATH --- c:\old_system\<module_name>\<lib>
    for forms10g
    Forms_PATH -- c:\10g_upgrade\<module_name>\<lib>
    I have two template forms:
    1. TMXSTAND.FMB
    2. PPSSTAND.FMB inherits TMXSTAND.FMB
    when i run the FPPS003.FMB then it gives this error.
    ON-ERROR raised an unhandled exception ORA-06508.
    Please suggest where is the problem.
    Thanks.
    null

    I have given the proper path of the library folder in Forms_Path. Still I am getting this error...
    Is this error because of having both the versions of forms (6i and 10g)?
    Message was edited by:
    gammit

  • Error when debugging oracle forms 10g

    hello all
    i got this error in IE8 when run my forms application 10g:
    res://ieframe.dll/acr_error.htm#,http://xxx:8889/forms/frmservlet
    anybody can help !!!!

    What plugin do you use? JAva-Plugin or jinitiator?

  • How to run oracle form into a PC (Urgent please)

    dear all
    i am facing the follwoing problem:-
    i am using oracle form developer 10g and i have developed a system for a store (accounting system ), but i have the following question , how can i install this sytem on another PC ? do i need to install the oracle developer or is there any tool that can change the form to an .exe format?
    pleae i need an urgent feedback

    Application developed on 10gIDS based on three tier architecture.
    so u just need a browser @ client side.and application server/OC4j instance in middle tier .

  • Connecting Oracle Forms Developer to E-Business Suite

    Hi,
    I have downloaded the Oracle DevSuite (10g) and BITools, I have managed to connect Oracle Discoverer to the db without any issues however, I am trying to connect Oracle Forms Developer 10g to our E-Business Suite 11i db and I keep getting the ORA- 01017 invalid username/password logon denied error message.
    Should I be able to connect Oracle Forms Developer to the Oracle Business Suite databse without any issues or am I missing something,
    any help would be greatly appreciated,
    thanks
    Chris

    Hi Chris
    First, You should know that the developer certified version for Oracle Apps development is 6i patch 18 (there's a new patch 19 also). On Discoverer, it's Ok to use 10G.
    Now, on the connection issue, by the message it is related to the user/pass entered. If in Discoverer You are using oracle apps integration You may be using and application user and password, but that can be used to connect to the database.
    Ask in Your project for apps password (may be apps or welcome12 if and on demand environment) for the development environment, or check if there's is a custom schema defined for development and get the user/pass for that one also. You may try with applsyspub/pub meanwhile to check connection but it's a restricted user.

  • Is there an oracle forms developer 11 g please ?

    I use oracle forms developer 10g with database oracle 10g . I would like if any upgrade is required to use oracle forms developer 11 g for developing applications .
    Thanks.

    http://www.oracle.com/technetwork/developer-tools/forms/downloads/index.html
    Francois

  • Starting Learning Oracle Form Developer

    Hi Experts,
    i m oracle dba. i wan to start learning Oracle Form Developer 10g . please any one can share documentation that can help me out to start this domain.
    regards,

    Is there a particular reason you are starting with an old version and not the latest (11.1.2.0)? Version 10.1.2 will begin its end of life cycle at the end of this year. Meaning, Error Correction Support will end. Learning with the newest version will give you the advantage of working with the latest features and a more stable version.
    At any rate.... how easy it will be to learn will all depend on your current skill set and your prior experience with other development tools. I would suggest you first get a basic understand of how Forms works before you start to build an application. Building an application in Forms is mostly easy because the more common features are wizard driven. However, understand what to do once you create an app might take a little more thought and an understanding of basic web principles.
    The version 10 documentation (mostly related to deployment) can be found here:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting10gr2-093389.html
    Here you will find many white papers which include everything from complex concepts to basic product overviews.
    You can access similar content for all of the recent versions from the top page located here:
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html
    The Forms Builder help is a good place for design time information.

Maybe you are looking for

  • Fox news slideshows are not working in Vista Home 64 bit.

    All fox news slideshows are not working since firefox 3.6 started. I can't get them to work in Internet explorer either. == URL of affected sites == http://

  • Why can't i hear the song's that i have buy on my MP3?

    sorry for my bad english, hope someone understand! please answer me

  • License_Type in SU01

    Hello Experts, I need to change the License Type for a group of users. When i tried to change the License Type for one of the users in SU01 from License Data tab, I could not find the License Type given by my client. I Tried to check in USR06 table u

  • No Dolby Ever with a Live! 5.1 Digi

    Hi I have a Soundblaster Li've! 5. Digital connected to a Cambridge Soundworks DTT2500 Digital. I use the digital connection (yellow connector) and the "Y" shaped cable that plugs into the Soundworks decoder with a DIN plug and a RCA-mono-like plug (

  • It wont download 7.0.2

    It wont let me upgrade to itunes 7.0.2. All it does is STAY there for hours i'am tried of waiting I have a gift card and I cant even spend it because its making me upgrade when I cant upgrade itunes 7.0.2 what should I do. I mean gosh stealing music