Adsense Ad

Sunday 5 May 2019

Run Oracle Forms without using browser (Java WebStart)

There are so many issues raised while running oracle forms on browser and many people can't configure it properly and thinking about launching oracle application without using browser.
Good new is that we can do that with the help of JAVA WEBSTART but bad news is, it is not supported by oracle.

In following steps we will see that how we can configure it in oracle application server.

1- Make sure your application server is properly installed and configured with JRE environment.
2- Now create a file with ".jnlp" extension at <OracleHome\\j2ee\home\default-web-app>
     for e.g. D:\Oracle\FRHome_1\j2ee\home\default-web-app\webstart.jnlp
3- Copy / Paste the following into the file:

<jnlp spec="1.0+" codebase="http://192.168.0.107:7778/forms/java/">
  <information>
    <title>Webstart Application</title>
    <vendor>www.hasanjawaid,blogspot.com</vendor>
    <homepage href="null"/>
    <description>dbWare Application</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.6.0"/>
    <jar href="frmall.jar" download="eager" main="true"/>
      </resources>
  <applet-desc name="Webstart Test Oracle Forms 10g" main-class="oracle.forms.engine.Main" width="990" height="600">
    <param name="background" value="false"/>
    <param name="logo" value="false"/>
    <param name="serverApp" value="default"/>
    <param name="lookAndFeel" value="oracle"/>
    <param name="allow_debug" value="true"/>
    <param name="separateFrame" value="false"/>
    <param name="serverArgs" value="module=D:\forms\Sample.fmx userid=scott/tiger@orcl"/>
    <param name="serverURL" value="http://192.168.0.107:7778/forms/lservlet?ifcfs=http://192.168.0.107:7778/forms/frmservlet?config=stk"/>
    <param name="colorScheme" value="blaf"/>
    <param name="splashScreen" value="false"/>
    <param name="dontTruncateTabs" value="true"/>
  </applet-desc>
</jnlp>

4- Update following parameters into your file.
    IP / Config / Form name & location / Port / DB User & TNS.
5- Save the file. Close and double click to run application.

4 comments:

Atif Zafar said...

Yes it is working fine. Thank you.

Sara said...

i got some error
FRM-92050: Failed to connect to the server: ip/forms/lservlet:-1

mohsen said...

when i open file get error
frm-93243: static html is not allowed ...

Technoloy Sense said...

file work fine but how will be full screen when open it ???