Forum Stats

  • 3,816,408 Users
  • 2,259,185 Discussions
  • 7,893,475 Comments

Discussions

issue starting webstart in oracle forms12c

Tony007
Tony007 Member Posts: 4,224 Bronze Trophy

hi am geting this error when running form in webstart with webutil

Java Plug-in 11.281.2.09

Using JRE version 1.8.0_281-b09 Java HotSpot(TM) Client VM

JRE expiration date: 5/17/21 12:00 AM

console.user.home = C:\Users\Desmondm

----------------------------------------------------

c:  clear console window

f:  finalize objects on finalization queue

g:  garbage collect

h:  display this help message

l:  dump classloader list

m:  print memory usage

o:  trigger logging

q:  hide console

r:  reload policy configuration

s:  dump system and deployment properties

t:  dump thread list

v:  dump thread stack

x:  clear classloader cache

0-5: set trace level to <n>

----------------------------------------------------

Forms Session ID is WLS_FORMS.formsapp.63

The proxy host is null, and the proxy port is 0.

Native HTTP implementation is being used for the connection.

The connection mode is HTTP.

Forms Applet version is 12.2.1.4

Exception in thread "AWT-EventQueue-3" java.lang.NoClassDefFoundError: com/jacob/com/ComFailException

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.JavaContainer.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.processEventEnd(Unknown Source)

at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)

at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at oracle.forms.engine.Main.dispatchEvents(Unknown Source)

at oracle.forms.engine.Main.tryDispatching(Unknown Source)

at oracle.forms.engine.Main.componentResized(Unknown Source)

at java.awt.Component.processComponentEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at oracle.ewt.lwAWT.BufferedApplet.processEventImpl(Unknown Source)

at oracle.ewt.lwAWT.BufferedApplet.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$500(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: com.jacob.com.ComFailException

at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)

at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)

at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source)

at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 50 more

i try to do this

Stop the managed server then create a copy of extensions.jnlp. Name it something else like myextensions.jnlp. In this new file add the reference to your JAR file that contains a different signature than the one referenced in extensions.jnlp.

Then in the <resources> section of extensions.jnlp add this and include the name of your own extensions file.

    <extension name="Extensions" href="/forms/java/myextensions.jnlp"/>


<?xml version="1.0" encoding="utf-8"?>

 <jnlp spec="1.0+"

codebase="/forms/java" href="extensions.jnlp">

 <information>

<title>Oracle Forms Services Extensions</title>

<vendor>Oracle Corporation</vendor>

 </information>

<security>

<all-permissions/>

</security>

<resources>

<!-- <jar href="ADD YOUR JARS HERE - ONLY ONE PER ENTRY"/> -->

<jar href="jacob.jar"/>

<extension name="Extensions" href="/forms/java/myextensions.jnlp"/>

</resources>

 <component-desc/>

</jnlp> 

==

<?xml version="1.0" encoding="utf-8"?>

 <jnlp spec="1.0+"

codebase="/forms/java" href="extensions.jnlp">

 <information>

<title>Oracle Forms Services Extensions</title>

<vendor>Oracle Corporation</vendor>

 </information>

<security>

<all-permissions/>

</security>

<resources>

<!-- <jar href="ADD YOUR JARS HERE - ONLY ONE PER ENTRY"/> -->

 <jar href="frmwebutil.jar"/>

 <jar href="frmall.jar"/>

</resources>

 <component-desc/>

</jnlp>