Running Webforms without Oracle JInitiator

Marcos Claver 9

A few weeks ago one of my customers told me that he lost a sales opportunity because the customer who he was trying to sell his software too had problems convincing his system administrator to install JInitiator. And as we all know it’s often quite a challenge to convince a system admin to install something he does not know and doesn’t want to know. In the real world it is much easier to convince them that the SUN JPI is needed to be installed for your application. In my opinion a loss which was not needed since you can run Webforms without JInitiator using the SUN JPI. How did I know? Well I had read the blog of Wilfred van der Deijl. He has a good blog site called OraTransplant in which he had posted an article on how to use dynamic versioning of Sun JPI and Oracle Forms.
My goal was to use the static version of the Sun JPI version My customer sells validated software which complies with FDA regulations therefore I did not think it would be a good idea to use dynamic versioning since JPI 1.6 is not supported yet by Oracle.
So what to do:

Make a backup of your formsweb.cfg file just to make sure you never know.
Make sure that the baseHTML, baseHTMLjinitiator and  baseHTMLjpi parameters point to your basejpi.htm
# System parameter: default base HTML file
# System parameter: base HTML file for use with JInitiator client
# System parameter: base HTML file for use with Sun’s Java Plug-In

Change the jpi_download_page to the proper URL. The different download sites can be found here
Change the jpi_classid to the proper version of the Java Plugin
Change the jpi_codebase to the proper place the file is located. In my case I used the download URL of sun but this could also be your local server.
As last make sure that the jpi_mimetype points to the correct version

# 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)
# Parameter related to the version of the Java Plugin
# Parameter related to the version of the Java Plugin
# Parameter related to the version of the Java Plugin

Save the file and you are up and running. Note that when you do not have JPI installed on your machine you will be prompted to install it the first time you launch your application in the same way you are prompted to install JInitiator the first time you launch your application.
Just for the record, I tested this using Oracle forms 10.1.2 running in IE60 a bit and as Wilfred noticed that there are known issues with 1.5.0 I will see if there are issues running

9 thoughts on “Running Webforms without Oracle JInitiator

  1. As an apple user I have to work with the JPI option in my safari browser. This is also the preferred method for linux workstations. I can confirm jpi works with headstart too. (this feature has been working since 9R2 for me 😉 )

  2. Hi Mark,
    I am not sure. I do not use headstart so I can not tell. I am testing at the moment and spotted some minor things when running the application through a Webex meeting. So at the moment I did not check yet if this issue was related to JPI or Webex. If I know more I will post a new blog with my findings.

  3. Does this also work on a iAS with headstart installed? I’ve tried using the java runtime, but had some problems using i.e. the LOV button. When entered a LOV it wasn’t filled correctly or it wasn’t even filled at all.

  4. Hi Wilfred,
    Thanks for this information, I will update my post and point to the 1.5.0_11 version. Best to have the last release of the JPI which is certified by Oracle.

  5. Thanks for the compliment! But if I was you I would not go for version 1.5.0_0 (the base release). If you really want to use the 1.5.x series, you’re better of with the latest version 1.5.0_11.

    In my opinion you’re even much safer with using 1.4.2_13. There are a number of issues with Sun JPI 1.5 and Forms. There are numerous issues where you lose focus or mouse navigation. Also, there is a documented issue in the Forms 10gR2 release notes that states your Internet Explorer might hang every now and then when closing the browser window with Oracle Forms when using JPI 1.5. All of these issues do not seem to occur in 1.4.2_x.

Comments are closed.

Next Post

SOA Suite Build, Deployment and Test Automation – part 1

Facebook0TwitterLinkedinIn the latest SOA Suite release Oracle has improved the automated build capabilities. Instead of the Oracle BPEL specific Ant tool (obant, a customized version of Ant) plain vanilla Ant is now used for building and deploying BPEL suitcases. Let’s put it to the test: subject of this blog post […]