Configuration formsweb.cfg with webutil
Hi,
How install automatically JInitiatior in the local machine? We need use webutil.
I execute my application with ..../forms90/f90servlet?config=GESDOC
My formsweb.cfg have the next entry:
[GESDOC]
pageTitle=GESDOC - with JInitiator
form=APLICTR.fmx
separateFrame=True
width=1024
height=768
workingDirectory=D:\WCDOC\FORMS
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=f90all_jinit.jar
archive=f90all.jar
lookAndFeel=oracle
envFile=D:\OraHome1\forms90\server\webutil.env
thank for all.
Do you have some hardware in place that is blocking the download? Jinit will download automatically. I have never had a problem with the default setup when testing the test form. The .htm files are all configured out of the box. My settings in formsweb.cfg are as follows:
[default]
# Century Modified Parameter
# System parameter: default base HTML file
baseHTML=webutilbase.htm
# Century Modified Parameer
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=webutiljini.htm
# Century Modified Parameter
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=webutiljpi.htm
## Century Modified Parameter
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar, sbicons.jar, FormsGraph.jar, rolloverbutton.jar, fjutilities.jar
# Century Modified Parameter
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar, sbicons.jar, FormsGraph.jar, rolloverbutton.jar, fjutilities.jar
Similar Messages
-
Hi gurus,
Below is my config in formsweb.cfg, I want to use Sun JVM instead of Jinitiator
[customjpi]
baseHTML=D:\Ora10gDS\forms\server\base.htm
baseHTMLjpi=D:\Ora10gDS\forms\server\basejpi.htm
baseHTMLjinitiator=D:\Ora10gDS\forms\server\basejpi.htm
HTMLdelimiter=%
envFile=default.env
escapeparams=true
form=test.fmx
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=DocumentBase
width=100%
height=100%
separateFrame=true
archive=D:\Ora10gDS\forms\java\frmall.jar
archive_jini=D:\Ora10gDS\forms\java\frmall_jinit.jar
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_09
When I calling form using URL http://pc021161.cts.com:8889/forms/frmservlet?config=customjpi which is throwing errors.
Below is my log of Java console
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\125217
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
p: reload proxy configuration
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>
java.net.MalformedURLException: unknown protocol: d
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.applet.AppletClassLoader.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 sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: 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)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help, if anybody have the idea of this error.
Thanks in Advance
JustinMy default.env file is pasting below:
# $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
# default.env - default Forms environment file, Windows version
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value in the Windows registry
# will be used. If no value is found in the registry, the value used will
# be that defined in the environment in which the servlet engine (OC4J
# or JServ) was started.
# NOTES
# 1/ The Forms installation process should replace all occurrences of
# <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
# setting, and all occurrences of <percent>O_JDK_HOME<percent> with
# the location of the JDK (usually $ORACLE_HOME/jdk).
# Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
# Please refer to the Forms documentation for details.
ORACLE_HOME=D:\Ora10gDS
# Search path for Forms applications (.fmx files, PL/SQL libraries)
# If you need to include more than one directory, they should be semi-colon
# separated (e.g. c:\test\dir1;c:\test\dir2)
FORMS_PATH=D:\Ora10gDS\forms;D:\Source\FMB;D:\Source\LIB
# webutil config file path
WEBUTIL_CONFIG=D:\Ora10gDS\forms\server\webutil.cfg
# Disable/remove this variable if end-users need access to the query-where
# functionality which potentially allows them to enter arbitrary SQL
# statements when in enter-query mode.
FORMS_RESTRICT_ENTER_QUERY=TRUE
# The PATH setting is required in order to pick up the JVM (jvm.dll).
# The Forms runtime executable and dll's are assumed to be in
# D:\Ora10gDS\bin if they are not in the PATH.
# In addition, if you are running Graphics applications, you will need
# to append the following to the path (where <Graphics Oracle Home> should
# be replaced with the actual location of your Graphics 6i oracle_home):
# ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
PATH=D:\Ora10gDS\bin;D:\Ora10gDS\jdk\jre\bin\client
# Settings for Graphics
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications. In addition, you will need to
# modify the PATH variable above as described above.
# Please uncomment the following and put the correct 6i
# oracle_home value to use Graphics applications.
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
# Search path for Graphics applications
#GRAPHICS60_PATH=
# Settings for Forms tracing and logging
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
# System settings
# You should not normally need to modify these settings
FORMS=D:\Ora10gDS\forms
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here)
# frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
# the password expiry feature to work(#2213140).
CLASSPATH=D:\Ora10gDS\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;D:\Ora10gDS\jlib\repository.jar;D:\Ora10gDS\jlib\ldapjclnt10.jar;D:\Ora10gDS\jlib\debugger.jar;D:\Ora10gDS\jlib\ewt3.jar;D:\Ora10gDS\jlib\share.jar;D:\Ora10gDS\jlib\utj.jar;D:\Ora10gDS\jlib\zrclient.jar;D:\Ora10gDS\reports\jlib\rwrun.jar;D:\Ora10gDS\forms\java\frmwebutil.jar;D:\Ora10gDS\forms\java\frmall.jar;D:\Ora10gDS\forms\java\frmall_jinit.jar
Regards
justin -
I have migrated 6i to 10g and need to start the application in new window. I have setup formsweb.cfg, in lookandfeel=Genric and separateframe=true. When i go to the start url, it opens new window but doesnt close the parent window. How can I close the first window?
ThanksYou can't. As soon as you close this window, the forms-session will also close. What you could do is to move the window to some position outside the screen using java-script.
-
Pb with userid in formsweb.cfg
hi,
OracleApplication Server 10gR2
Patchset 10.1.2.2.0
i have a problem, when i define a section in formsweb.cfg with parameter userid=user/password@orcl , I still receive logon screen.
i receive logon screen also whith this url:
forms/frmservlet?form=form.fmx&userid=user/password@orcl
please i need your help
thank youI read of a lot of people having trouble with the userid parameter in frmsweb.cfg. If you're already using SSO, then I would recommend instead of using this parameter for credentials, that you use a Resource Access Descriptor (RAD). This stores login information in your Oracle Internet Directory as either shared information, or per user. Demo URL that also covers HowTo
http://www.oracle.com/technology/sample_code/products/forms/viewlets/10g/frmsso/frmsso_viewlet_swf.html
Remember that for URL's, the forward slash "/" and backslash "\" are reserved characters, so the URL you listed should never work. -
Use formsweb.cfg to pre-populate database field on login screen?
Hello,
Is it possible to configure formsweb.cfg to pre-populate the 'Database' field on the Oracle forms login screen? I still want users to be able to overwrite what's entered there but just have it populated with something by default.
Thanks,
Andrew
Edited by: Andrew V on Nov 16, 2011 12:33 PMHi,
In Forms 10g you can set the userid parameter to something like "@DATABASEID LOGON_SCREEN=YES", where databaseid is your database server.
In Forms 11g this doesn't work so well, but I got round this by doing the following in our menu form, if you haven't got a single menu form then you may need to do this in all your forms where the user isn't already logged on when the form opens.
First off you need to set the userid parameter to something like "@DATABASEID".
Next an on-logon trigger is required in your menu or first form, I used the following:
on-logon trigger
DECLARE
cn VARCHAR2(80);
BEGIN
** Get the connection info
** If userid paramater in formsweb.cfg is set to '@<database>' or
** '@<database> login_screen=true' then this will put <database> into database field
** in default logon form
cn := Get_application_property(CONNECT_STRING);
if instr(cn,' ') > 0
then
cn := substr(cn,1,instr(cn,' ')-1);
end if;
LOGON(null,'@'||cn,TRUE);
if form_success
then :global.login_success := 'TRUE';
end if;
END;
Also, to deal with the situation where a user decides to click cancel in the logon screen, you need to put the following at the start of your wnfi trigger.
when-new-forms-instance trigger
default_value('FALSE','global.login_success');
if :global.login_success != 'TRUE'
then
erase('global.login_success');
exit_form;
end if;
erase('global.login_success');
Edited by: Ady Keeling on Nov 16, 2011 2:38 PM -
What do I config in as 10.1.2 for webutil 106 in formsweb.cfg?
there is a configure in formsweb.cfg,named own_config.
[own_config]
pageTitle=China Three Gorges Project Management System Developer
align=left
border=0
width=100%
height=100%
userid=@test
separateFrame=True
lookandfeel=Oracle
logo=tgpms_logo.gif
workingDirectory=D:\testapp\frm
splashScreen=no
background=no
colorScheme=teal
envFile=my_own_config.env
form=test.fmx
archive_jini=frmall_jinit.jar,button_icons.jar
imageBase=Codebase
heartbeat=2
networkRetries=30
prestartRuntimes=true
prestartInit=5
prestartMin=3
prestartIncrement=2
prestartTimeout=1800
baseHTMLjinitiator=basejini.htm
baseHTMLjpi=basejpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
and there is a configure for webutil
how can I use webutil config,appended them to my_own_config,or not?
[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
both them include blow paramaters,but diffrent values.
[own_config]
baseHTMLjinitiator=basejini.htm
baseHTMLjpi=basejpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[webutil]
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
what do I need to do?
Please suggest.This isn't being sarcastic, but have you read the webutil manual? Chapter 3 and the appendix A give instructions.
You basically have two choices, either set up webutil in the default part of Formsweb.cfg so all application configurations on that application server can use it or you can add it to your own created configuration. -
Forms 11g with Webutil don´t show in browser IE 9
Hi people,
I have a problem with Webutil. I installed th Oracle Forms/Reports 11g in Red Hat 5.5 x86_64, and when is necessary run a pure Forms, it´s works.
Now, when I will try run a Forms with Webutil, don´t show in browser IE 9 - Win 7 64bits - Java Plug-in 1.6.0_25 Using JRE version 1.6.0_25-b04 Java HotSpot(TM) Client.
What can be to show only a gray screen and dont show my Forms ? In java console don´t showed any error, neither in WLS_FORMS.log and forms-diagnost.log.
My files (cfg and env) configuration is below (sorry by excess of information, but I believe the more information better):
=========================================
File Located
=========================================
webutil.pll in $FORMS_PATH
webutil.plx in $FORMS_PATH
webutil.olb in $FORMS_PATH
frmwebutil.jar $ORACLE_HOME/forms/java
frmall.jar $ORACLE_HOME/forms/java
jacob.jar $ORACLE_HOME/forms/java
forms_base_ie.js $ORACLE_HOME/forms/java
forms_ie.js $ORACLE_HOME/forms/java
jacob.dll $ORACLE_HOME/forms/webutil/
ffisamp.dll $ORACLE_HOME/forms/webutil/
d2kwut60.dll $ORACLE_HOME/forms/webutil/
JNIsharedstubs.dll $ORACLE_HOME/forms/webutil/
webutil.cfg $ORACLE_INSTANCE/config/FormsComponent/forms/server/
webutilbase.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
webutiljini.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
webutiljpi.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
=========================================
Java Console Information
=========================================
basic: Starting applet teardown
basic: Finished applet teardown
basic: Starting applet teardown
basic: Finished applet teardown
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@88d319
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmwebutil.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/jacob.jar
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 270461 us, pluginInit dt 1187686126 us, TotalTime: 1187956587 us
RegisterWebUtil - Loading WebUtil Version 11.1.1.4
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@88d319
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1b06a21
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmwebutil.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/jacob.jar
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 270461 us, pluginInit dt 1187728773 us, TotalTime: 1187999234 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1b06a21
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/splash.gif
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/oracle_logo.gif
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
Forms Session ID is formsapp.14
network: Cache entry not found [url: http://machine01.br.job.com:8002/forms/registry/oracle/forms/registry/default.dat, version: null]
network: Connecting http://machine01.br.job.com:8002/forms/registry/oracle/forms/registry/default.dat with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/ with proxy=DIRECT
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.
network: Connecting http://machine01.br.job.com:8002/forms/frmservlet?config=flash&ifsessid=formsapp.14&acceptLanguage=en-US&ifcmd=startsession&iflocale=en-US with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756?ifcmd=getinfo&ifhost=Mxxxx&ifip=10.xx.xx.xxx with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
Forms Applet version is 11.1.1.4
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
2011-Aug-26 18:00:31.823 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.832 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.837 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.841 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.849 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.854 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.858 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.864 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.869 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
2011-Aug-26 18:00:31.870 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
2011-Aug-26 18:00:31.870 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
2011-Aug-26 18:00:31.871 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
2011-Aug-26 18:00:31.872 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
2011-Aug-26 18:00:31.872 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
2011-Aug-26 18:00:31.872 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
2011-Aug-26 18:00:32.16 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
basic: Applet started
basic: Told clients applet is started
Dumping class loader cache...
Live entry: key=http://machine01.br.job.com:8002/forms/java/,frmall.jar,frmwebutil.jar,jacob.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://machine01.br.job.com:8002/forms/java/-threadGroup,maxpri=4]
Live entry: key=http://machine01.br.job.com:8002/forms/java/,frmall.jar,frmall.jar,frmwebutil.jar,jacob.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://machine01.br.job.com:8002/forms/java/-threadGroup,maxpri=4]
Done.
! ======== This information above is show when I execute the forms in IE 9 ======== !
! ========Below information about the JRE Plugin ======== !
Dump system properties ...
======== ======== ======== ========
__jvm_launched = 109763333269
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows 7 6.1)
http.auth.serializeRequests = true
https.protocols = TLSv1,SSLv3
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\\PROGRA~2\\Java\\jre6\\classes
java.class.version = 50.0
java.class.version.applet = true
java.endorsed.dirs = C:\Program Files (x86)\Java\jre6\lib\endorsed
java.ext.dirs = C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home = C:\Program Files (x86)\Java\jre6
java.io.tmpdir = C:\Users\users-dir\AppData\Local\Temp\
java.library.path = C:\Program Files (x86)\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Internet Explorer;;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_27\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;
java.protocol.handler.pkgs = sun.plugin.net.protocol|com.sun.deploy.net.protocol
java.rmi.server.RMIClassLoaderSpi = sun.plugin2.applet.JNLP2RMIClassLoaderSpi
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_25-b04
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.6.0_25
java.version.applet = true
java.vm.info = mixed mode, sharing
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 20.0-b11
javaplugin.nodotversion = 160_25
javaplugin.version = 1.6.0_25
javaplugin.vm.options =
javawebstart.version = javaws-1.6.0_25
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows 7
os.name.applet = true
os.version = 6.1
os.version.applet = true
package.restrict.access.com.sun.deploy = true
package.restrict.access.netscape = false
package.restrict.access.org.mozilla.jss = true
package.restrict.access.sun = true
package.restrict.definition.com.sun.deploy = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.org.mozilla.jss = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.awt.warmup = true
sun.boot.class.path = C:\Program Files (x86)\Java\jre6\lib\resources.jar;C:\Program Files (x86)\Java\jre6\lib\rt.jar;C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre6\lib\jsse.jar;C:\Program Files (x86)\Java\jre6\lib\jce.jar;C:\Program Files (x86)\Java\jre6\lib\charsets.jar;C:\Program Files (x86)\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jre6\classes;C:\\PROGRA~2\\Java\\jre6\\lib\\deploy.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\javaws.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\plugin.jar
sun.boot.library.path = C:\Program Files (x86)\Java\jre6\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid2480_pipe4,read_pipe_name=jpi2_pid2480_pipe3
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot Client Compiler
sun.net.client.defaultConnectTimeout = 120000
sun.net.http.errorstream.enableBuffering = true
sun.os.patch.level = Service Pack 1
sun.plugin2.jvm.args = -D__jvm_launched=109763333269 "-Xbootclasspath/a:C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\deploy.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\javaws.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\plugin.jar" "-Djava.class.path=C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\classes" -Dsun.awt.warmup=true --- --
trustProxy = true
user.country = US
user.dir = \\machine-desktop\USERS$\users-dir\Desktop
user.home = C:\Users\users-dir
user.language = en
user.name = users-dir
user.timezone = America/Sao_Paulo
user.variant =
================================
Dump deployment properties ...
================================
deployment.browser.path = C:\Program Files (x86)\Internet Explorer\iexplore.exe
deployment.browser.vm.iexplorer = true
deployment.browser.vm.mozilla = true
deployment.cache.enabled = true
deployment.cache.jarcompression = 0
deployment.cache.max.size = -1
deployment.capture.mime.types = true
deployment.console.startup.mode = SHOW
deployment.control.panel.log = false
deployment.javapi.cache.update = false
deployment.javapi.lifecycle.exception = true
deployment.javapi.log.filename =
deployment.javapi.runtime.type = 0
deployment.javapi.stop.timeout = 200
deployment.javapi.trace.filename =
deployment.javaws.associations = ASK_USER
deployment.javaws.autodownload = PROMPT
deployment.javaws.cache.update = false
deployment.javaws.concurrentDownloads = 4
deployment.javaws.home.jnlp.url = http://java.sun.com/products/javawebstart
deployment.javaws.installURL = http://java.sun.com/products/autodl/j2se
deployment.javaws.logFileName =
deployment.javaws.muffin.max = 256
deployment.javaws.shortcut = ASK_IF_HINTED
deployment.javaws.ssv.enabled = true
deployment.javaws.traceFileName =
deployment.javaws.uninstall.shortcut = false
deployment.javaws.update.timeout = 1500
deployment.javaws.viewer.bounds = 280,272,720,360
deployment.jpi.mode.new = true
deployment.log = true
deployment.max.output.file.size = 10
deployment.max.output.files = 5
deployment.mime.types.use.default = true
deployment.proxy.bypass.local = false
deployment.proxy.override.hosts =
deployment.proxy.same = false
deployment.proxy.type = 3
deployment.repository.askdownloaddialog.show = true
deployment.repository.enabled = true
deployment.security.SSLv2Hello = false
deployment.security.SSLv3 = true
deployment.security.TLSv1 = true
deployment.security.askgrantdialog.notinca = true
deployment.security.askgrantdialog.show = true
deployment.security.authenticator = true
deployment.security.blacklist.check = true
deployment.security.browser.keystore.use = true
deployment.security.clientauth.keystore.auto = true
deployment.security.expired.warning = true
deployment.security.https.warning.show = true
deployment.security.jsse.hostmismatch.warning = true
deployment.security.mixcode = ENABLE
deployment.security.notinca.warning = true
deployment.security.password.cache = true
deployment.security.pretrust.list = true
deployment.security.sandbox.awtwarningwindow = true
deployment.security.sandbox.jnlp.enhanced = true
deployment.security.trusted.policy =
deployment.security.validation.crl = false
deployment.security.validation.ocsp = false
deployment.security.validation.ocsp.publisher = false
deployment.system.cachedir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\SystemCache
deployment.system.security.blacklist = C:\Program Files (x86)\Java\jre6\lib\security\blacklist
deployment.system.security.cacerts = C:\Program Files (x86)\Java\jre6\lib\security\cacerts
deployment.system.security.jssecacerts = C:\Program Files (x86)\Java\jre6\lib\security\jssecacerts
deployment.system.security.oldcacerts = C:\Program Files (x86)\Java\jre6\lib\security\cacerts
deployment.system.security.oldjssecacerts = C:\Program Files (x86)\Java\jre6\lib\security\jssecacerts
deployment.system.security.trusted.certs = C:\Program Files (x86)\Java\jre6\lib\security\trusted.certs
deployment.system.security.trusted.clientauthcerts = C:\Program Files (x86)\Java\jre6\lib\security\trusted.clientcerts
deployment.system.security.trusted.jssecerts = C:\Program Files (x86)\Java\jre6\lib\security\trusted.jssecerts
deployment.system.security.trusted.libraries = C:\Program Files (x86)\Java\jre6\lib\security\trusted.libraries
deployment.system.security.trusted.publishers = C:\Program Files (x86)\Java\jre6\lib\security\trusted.publishers
deployment.system.tray.icon = true
deployment.trace = true
deployment.update.mime.types = true
deployment.user.cachedir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\cache
deployment.user.extdir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\ext
deployment.user.logdir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\log
deployment.user.security.blacklist = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\blacklist
deployment.user.security.policy = file://C:/Users/users-dir/AppData/LocalLow/Sun/Java/Deployment/security/java.policy
deployment.user.security.saved.credentials = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\auth.dat
deployment.user.security.trusted.cacerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.cacerts
deployment.user.security.trusted.certs = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
deployment.user.security.trusted.clientauthcerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.clientcerts
deployment.user.security.trusted.jssecacerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecacerts
deployment.user.security.trusted.jssecerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
deployment.user.security.trusted.libraries = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.libraries
deployment.user.security.trusted.publishers = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.publishers
deployment.user.tmp = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\tmp
deployment.version = 6.0
java.quick.starter = false
================================
# ================================
# formsweb.cfg -
# ================================
[default]
baseHTML=base.htm
baseHTMLjpi=basejpi.htm
HTMLdelimiter=%
envFile=default.env
escapeparams=true
form=test.fmx
userid=
debug=no
host=
port=
digitSubstitution=context
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
obr=no
record=
tracegroup=
log=
term=
pageTitle=Oracle Fusion Middleware Forms Services
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=codebase
width=750
height=600
separateFrame=false
splashScreen=
allowAlertClipboard=true
disableValidateClipboard=false
highContrast=false
background=
lookAndFeel=Oracle
colorScheme=teal
logo=
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
formsMessageListener=
recordFileName=
serverApp=default
archive=frmall.jar
networkRetries=0
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
legacy_lifecycle=false
ssoDynamicResourceCreate=false
ssoErrorUrl=
ssoCancelUrl=
ssoMode=false
ssoProxyConnect=no
allow_debug=false
allowNewConnections=true
EndUserMonitoringEnabled=false
EndUserMonitoringURL=
applet_name=
enableJavascriptEvent=true
JavaScriptBlocksHeartBeat=false
[webutil]
allow_debug=false
debug=false
form=WU_TEST_106.fmx
allowNewConnections=false
userid=webutil/webutil@des_tcp.world
WebUtilArchive=frmwebutil.jar,jacob.jar,frmall.jar
WebUtilLogging=on
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
archive=
lookAndFeel=oracle
[flash]
HTMLdelimiter=%
envFile=flashwebn.env
escapeparams=true
form=flash/FLASHWEB.fmx
userid=user/password/tns_names
debug=no
host=
port=
digitSubstitution=context
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
obr=no
record=
tracegroup=
log=/tmp/flashweb.log
term=
pageTitle=Oracle Fusion Middleware Forms Services
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=codebase
width=750
height=600
separateFrame=false
splashScreen=
allowAlertClipboard=true
disableValidateClipboard=false
highContrast=false
background=
colorScheme=teal
logo=
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
formsMessageListener=
recordFileName=
serverApp=default
archive=frmall.jar
networkRetries=0
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
legacy_lifecycle=false
ssoDynamicResourceCreate=false
ssoErrorUrl=
ssoCancelUrl=
ssoMode=false
ssoProxyConnect=no
allow_debug=false
allowNewConnections=true
EndUserMonitoringEnabled=false
EndUserMonitoringURL=
applet_name=
enableJavascriptEvent=true
JavaScriptBlocksHeartBeat=false
WebUtilArchive=frmall.jar,frmwebutil.jar,jacob.jar
WebUtilLogging=all
WebUtilLoggingDetail=CONSOLE
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
lookAndFeel=oracle
# ================================
# webutil.cfg - WebUtil default configuration file
# ================================
logging.file=/tmp/webutil.log
logging.enabled=TRUE
logging.errorsonly=TRUE
logging.connections=TRUE
install.syslib.location=/webutil
install.syslib.0.7.1=jacob.dll|106496|1.10.1|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=/tmp
transfer.appsrv.accessControl=TRUE
transfer.appsrv.read.1=/tmp
transfer.appsrv.write.1=/tmp
BlockAllowHeartBeat=False
# ================================
# default.env - default Forms environment file, Linux version
# ================================
ORACLE_HOME=/usr/lic/oracle/home/Oracle/Middleware/as
ORACLE_INSTANCE=/usr/lic/oracle/home/Oracle/Middleware/asinst
TNS_ADMIN=/usr/lic/oracle/home/Oracle/Middleware/asinst/config
FORMS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/asinst/FormsComponent/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
WEBUTIL_CONFIG=/usr/lic/oracle/home/Oracle/Middleware/asinst/config/FormsComponent/forms/server/webutil.cfg
FORMS_RESTRICT_ENTER_QUERY=TRUE
CLASSPATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmall.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmwebutil.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/jacob.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/j2ee/frmsrv.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ldapjclnt11.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/debugger.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ewt3.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/share.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/utj.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/zrclient.jar:/usr/lic/oracle/home/Oracle/Middleware/as/reports/jlib/rwrun.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/start_dejvm.jar:/usr/lic/oracle/home/Oracle/Middleware/as/opmn/lib/optic.jar
PATH=/usr/lic/oracle/home/Oracle/Middleware/as/bin:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/bin
LD_LIBRARY_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/lib:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threads
LD_PRELOAD=/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/libjsig.so
# ================================
# flashwebn.env - default Forms environment file, Linux version
# ================================
ORACLE_HOME=/usr/lic/oracle/home/Oracle/Middleware/as
ORACLE_INSTANCE=/usr/lic/oracle/home/Oracle/Middleware/asinst
TNS_ADMIN=/usr/lic/oracle/home/Oracle/Middleware/asinst/config
FORMS_RESTRICT_ENTER_QUERY=TRUE
FORMS_TIMEOUT=120
FORMS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
REPORTS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/reports
REPORTS_SERVER=rep_wls_reports_machine01_asinst
PATH_REPORTS_CACHE=/tmp/
PATH_REPORTS_LOCAL=/tmp/
WEBUTIL_CONFIG=/usr/lic/oracle/home/Oracle/Middleware/asinst/config/FormsComponent/forms/server/webutil.cfg
FORMS_RESTRICT_ENTER_QUERY=FALSE
FORMS_USERNAME_CASESENSITIVE=1
CLASSPATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmall.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmwebutil.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/j2ee/frmsrv.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ldapjclnt11.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/debugger.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ewt3.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/share.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/utj.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/zrclient.jar:/usr/lic/oracle/home/Oracle/Middleware/as/reports/jlib/rwrun.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/start_dejvm.jar:/usr/lic/oracle/home/Oracle/Middleware/as/opmn/lib/optic.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/jacob.jar
#PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/asinst/FormsComponent/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
LD_PRELOAD=/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/libjsig.so:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server/libjvm.so:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threads/libhpi.so
LD_LIBRARY_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/lib:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threadsIf you managed to get to the point where the applet container is created (the "gray square"), but the form never appears then you can assume one or more of the following has occurred:
1. The JRE crashed after startup. Many times, but not always, if such a crash occurs it will leave a JRE dump file on the desktop. Its content may help to identify the cause.
2. The Forms runtime crashed at startup. Many times, but not always, a Forms dump file will be created on the server. Its content may help to identify the cause.
3. The Forms runtime was unable to start at all. This can occur on unix systems when/if there is a resource or permissions issue. One of the more common causes is if the file descriptor (nofiles) value is set too low.
4. The applet is actually running, but has attempted to display a dialog box and is awaiting your acknowledgement, but the box was wrongfully sent to the background behind the browser. A similar issue was reported in one of the JRE 1.6.0_xx series, however I don't recall which one. Uninstall your current version and install the latest which is 1.6.0_27
There are other possibilities, but these are most common.
I would recommend the following:
1. Uninstall any JRE older than 1.6.0_27. Reboot. Install 1.6.0_27
2. Set networkRetries=5 in formsweb.cfg
3. Set FORMS_TIMEOUT to 15 (default). Setting to a high value as you have is not recommended and is rarely necessary.
4. Verify that the test form works. For example:
http://machine:port/forms/frmservlet?form=test
5. It appears that you are trying to use WU_TEST_106.fmx. Instead, download an updated version of this file (the name has also changed)
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
6. Ensure that you have compiled webutil.pll into .plx. Do not use an old version of this file. The installation will include one. If not, check for it in an installation that also includes the Builders. -
At my wits end with WEBUTIL!!!
Here i am about to go for my Oracle Forms developer exams and am exploring Webutil and the functionality it provides. I am a bit excited at the many wonderful things it provides, aghh but wait a minute this is oracle and if i know anything its that oracle promises the heaven and earth but to actually get it working you have to really sweat dig, dig through docs which have not been updated and are incorrect or try to decipher what should be straighforward instructions. So i find myself in this usual scenario with Webutil.
Downloaded the WebUtil User’s Guide in pdf format and one of the first things i read is......
If you’ve selected the Complete installation option for installing Oracle Developer Suite 10g (10.1.2), WebUtil is installed and configured for you. Yes I have done the complete installation.
I looked and followed the webutil simple viewlet concerning attaching the library and object group
http://www.oracle.com/technology/sample_code/products/forms/demo/9i/javabeans_pjc_samples/webutil/viewlet/WebUtil_Simple_viewlet_swf.html
But guess what when i run my form i get...
Oracle.forms.webutil.file filefunctions bean not found.
Webutil_file.file_selection_dialog_int will not work
So I followed the Webutil release notes to see whats missing:
1.
WebUtil User’s Guide says....
WebUtil directory structure has these folders:
doc
java
server
webutil
Huh? no my webutil directory has only 4 files two of which are to do with signing. But I choose the complete installation. What happened? Should i now go ahead and download webutil and manually place the extracted directories into my existing webutil directory? ...did this
2.
WebUtil User’s Guide says....
Oracle recommends that you create a special user "webutil" on your database as the owner of this package. Once the WEBUTIL_DB package has been created and compiled on the database you will need to make it available to the relevant users of your application. Additionally, you will have to create a synonym of WEBUTIL_DB for this package if you are running from a schema other than the one that you installed it with. The Forms PL/SQL code refers to the package as WEBUTIL_DB without a schema prefix.
OMG how much more convuluted is this going to get, have seen other docs that describe the webutil package setup and not seen this before, is this necessary? ...not done this, is it really necessary?
3.
DevSuite/application-deployments/forms/formsweb/orion-web.xml and forms/server/forms.conf are configured correctly
4.
In my formsweb.cfg file I have... WebUtilArchive=frmwebutil.jar,jacob.jar
Originally had...
baseHTML=base.htm
baseHTMLjinitiator=basejini.htm
baseHTMLjpi=basejpi.htm
then changed to (as per WebUtil User’s Guide)..
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm.
baseHTML=webutilbase.htm.
5.
The FORMS_PATH must include the directory where a copy of webutil.pll exists....it does!
The second requirement within the .env file is for an environment variable WEBUTIL_CONFIG. This variable must point at the name and location of your webutil.cfg file. By default this is in the ORACLE_HOME/forms/server directory
...it does!
The frmwebutil.jar (including its physical location) file must be included in the CLASSPATH, along with the Java runtime Jar rt.jar. e.g.
CLASSPATH=\ORACLE_HOME\forms\java\frmwebutil.jar;c:\ids9i\jdk\jre\lib\rt.jar
c:\ids9i\jdk\jre\lib\rt.jar was missing so i added!
The PATH and library load path (on UNIX platforms) must be defined either in the general environment or specifically in the .env file to allow Forms to call Java. On a Win32 platform this will involve adding the ORACLE_HOME\jdk\jre\bin\client directory of a 1.3 or 1.4 Java install to the PATH. This enables Forms to find the jvm.dll file.
Checked this and the jvm is in my path already.
Check that ORACLE_HOME/jdk/bin is in the path. If it is not, add it..........Done this and rebooted.
5.
Signing the WebUtil and JACOB Jar files:
From the JACOB Zip file, extract both jacob.dll and jacob.jar into the ORACLE_HOME\forms\WebUtil and ORACLE_HOME\forms\java directories, respectively DONE!
In Windows, Issue sign_webutil.bat ORACLE_HOME\forms\java\frmwebutil.jar (or the path to where you installed WebUtil).... Did and got the following...
F:\>f:\DevSuiteHome_1\forms\webutil\sign_webutil.bat F:\DevSuiteHome_1\forms\java\frmwebutil.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up F:\DevSuiteHome_1\forms\java\frmwebutil.jar as F:\DevSuiteHome_1\forms\java\frmwebutil.jar.old...
1 file(s) copied.
Signing F:\DevSuiteHome_1\forms\java\frmwebutil.jar using key=webutil2...
...successfully done.
In Windows, Issue sign_webutil.bat ORACLE_HOME\forms\webutil\jacob.jar...........Hang on a minute where did the jacob.jar come from? As earlier in this step wasn't the instruction to put JACOB.DLL into the webtutil directory and JACOB.JAR into the forms\java directory.
Okay decided to copy both jacob.dll and jacob.jar (not respectively as earlier instructed) but to both ORACLE_HOME\forms\WebUtil and ORACLE_HOME\forms\java directories and sign as instructed
.................was this correct?
F:\>f:\DevSuiteHome_1\forms\webutil\sign_webutil.bat F:\DevSuiteHome_1\forms\webutil\jacob.jar
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up F:\DevSuiteHome_1\forms\webutil\jacob.jar as F:\DevSuiteHome_1\forms\webutil\jacob.jar.old...
1 file(s) copied.
Signing F:\DevSuiteHome_1\forms\webutil\jacob.jar using key=webutil2...
...successfully done.
Because in this release the JACOB code is in an external Jar file and not incorporated into frmwebutil.jar, it needs to be downloaded. To do this, change the WebUtilArchive setting to read: WebUtilArchive=frmwebutil.jar,jacob.jar
Thanks Oracle for not pointing out exactly which file you are talking about here (formsweb.cfg dosen't exactly take that long to type, does it?), yes you can let any newbies try and figure that out for themselves :)
6.
EnvFile - If you use a named environment file or the default.env ensure that the FORMS_PATH that you have set includes the ORACLE_HOME\forms directory and that you have set the WEBUTIL_CONFIG variable to define the physical location of your webutil.cfg file, ORACLE_HOME\forms\server\webutil.cfg.
...checked this!
I am at a loss and am getting really fed up with this having spent a whole day trying to get this working and have got nowhere. Also to read rubbish like.....
"If you’ve selected the Complete installation option for installing Oracle Developer Suite 10g (10.1.2), WebUtil is installed and configured for you."
in the oracle docs makes my blood boil
Gus
Oracle Forms 10.1.2
Running on a standalone PCWhen i run my form this is what i get back....
Oracle.forms.webutil.file filefunctions bean not found.
Webutil_file.file_selection_dialog_int will not work
With my initial email i have tried to give as much detail as possible as to what i have tried, sorry i know its really long.
Thanks
Gus -
Only display first form URL in formsweb.cfg . mutiple URL does not work
Hi Friends,
I have 4 form application with 4 URL.
app. server as 10g in window 2003.
URL like as:
http://salerpt.com/forms/frmservlet?config=emis-srmenu
fmx file Location as C:\OraMid\forms\salerpt-Forms fmx name as srmenu.fmx in same directory
fmb file location as C:\OraMid\forms\salerpt-Forms_source fmx name as srmenu.fmb in same directory
# Single Sign-On OID configuration parameter
oracle_home=C:\OraMid
in formweb.cfg file
baseHTMLjinitiator=basejini.htm
workingDirector : workingDirectory= blank. but C:\OraMid\forms\salerpt-Forms right now
# Forms runtime argument: which form module to run
##form=test.fmx
## i moved bottom section of form section in here and before
##line as Forms runtime argument: database connection details
comment two line
#jinit_exename=jinit.exe
#jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
I create 4 sections as
form=srmenu.fmx
width=1200
height=700
pageTitle=Sale Information System (SIS)
form=regsale.fmx
form=salefinincial.fmx
form=rptinfo.fmx
However it only display first srmenu form interface that i put in( 4 different URL. only display first URL)
It seems that one formsweb.cfg, it doesn not support multip form setting application.
I have 4 small forms application with 4 URL for one formsweb.cfg.
What should I need to do? I think that i miss some set up in configuration.
I am waiting for your help!
JImHi Bgrant,
Please review my formsweb,cfg.
Thanks
I am looking for your help.
# $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]
# System parameter: default base HTML file
baseHTML=base.htm
# 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.
workingDirectory= C:\OraMid\forms\sales-Forms
# 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
[[srmenu]]
form=srmenu.fmx
width=1200
height=700
pageTitle=Sale Management Information System
[[regsale]]
form=regsale.fmx
width=1200
height=1500
pageTitle=Sale Management Information System
[[salefinincial]
form=salefinincial.fmx
width=1200
height=1300
pageTitle=Sale Management Information System
[[rtpinfo]]
form=rptinfo.fmx
width=1200
height=1000
pageTitle=Sale Management Information System
# Forms runtime argument: database connection details
userid=scott/tigerd@oracleapp
# 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=750
width=1024
# Forms applet parameter
#height=600
height=768
# 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=
# 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=1
# Single Sign-On OID configuration parameter
oid_formsid=formsApp_sales.com_0Axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Single Sign-On OID configuration parameter
oracle_home=C:\OraMid
# Single Sign-On OID configuration parameter
formsid_group_dn=cn=Logical Application Group, orclApplicationCommonName=formsApp_sales.com_0A4911717Fxxxxxxxxxx, cn=forms, cn=Products, cn=OracleContext
# 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=False
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 -
9i default TNS/DB in formsweb.cfg
I can't seem to make any use of "userid" work on the iAS middletier.
It's as if I can't override the basic userid setting: I can't do it in a named config and I can't do it if I put it in the URL. No matter what I do I'm forced to enter username, password and database. It's as if the use of userid just gets ignored. I can easily change userid when I run forms directly from 9iDS, it's just on the iAS it doesn't work.
Basically I need to be able to specify a 9i equivalent of putting "set LOCAL=MY_DB.WORLD" in a .bat file in the 6i fat client mode, ie. specify only the default database to be used so that the users don't have to enter that explicitly at logon. However, I can't find any documentation how this is done - all examples just say "userid=user/pass@<your_db>".
So I also need some sort of documentation that lists ALL possible commands in the formsweb.cfg, but I've been unable to find the complete reference guide for that.
Sincerely,
Jesper Vad Kristensen
Aarhus, Denmark
# formsweb.cfg start #
# $Id: formsweb.cfg,v 1.23 2002/01/25 06:51:41 oraforms Exp $
# formsweb.cfg - Forms Servlet default configuration file
# This file defines parameter values used by the FormsServlet (f90servlet)
# DEFAULT CONFIGURATIONS
# These are the default settings. Any of them may be overridden in the
# Named Configurations section. If they are not overridden, then the
# values here will be used.
# System Paremeters cannot be overridden in the URL. User Parameters can.
# 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 overriden 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.
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar,/forms90/webutil/SmileyBridge.jar
#baseHTML=base.htm
#baseHTML=e:\webutil\server\webutilbase.htm
#baseHTMLjinitiator=basejini.htm
baseHTMLjinitiator=e:\webutil\server\webutiljini.htm
#baseHTMLjpi=basejpi.htm
baseHTMLjpi=e:\webutil\server\webutiljpi.htm
baseHTMLie=baseie.htm
HTMLdelimiter=%
# WorkingDirectory defaults to <oracle_home>/forms90 if unset.
workingDirectory=e:\KASSforms\forms
envFile=default.env
# The next parameter specifies how to execute the Forms applet under
# Microsoft Internet Explorer 5.x. Put IE=native if you want the
# Forms applet to run in the browser's native JVM.
IE=JInitiator
# 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/servlet/f90servlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
# 1) Runform arguments:
form=tdimenu.fmx
userid=
# These settings support running and debugging a form from the Builder:
otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
debug=no
buffer=no
debug_messages=no
array=no
query_only=no
quiet=yes
render=no
host=
port=
record=
tracegroup=
log=e:\KASSforms\forms.log
term=
# 2) HTML page title, attributes for the BODY tag, and HTML to add before and
# after the form:
pageTitle=KASS
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
# 3) Values for the Forms applet parameters:
serverURL=/forms90/l90servlet
codebase=/forms90/java
#imageBase=DocumentBase
imagebase=codebase
width=640
height=480
separateFrame=false
splashScreen=splash_velkommen.gif
background=
lookAndFeel=Oracle
colorScheme=teal
logo=
formsMessageListener=
recordFileName=
serverApp=default
# The following archive settings are for
# archive_jini - settings for JInitiator
# archive_ie - settings for IE native JVM
# archive - settings for all other cases (Java Plugin, Appletviewer, etc)
archive_jini=f90all_jinit.jar,/forms90images/kassimages.jar
archive_ie=f90all.cab,/forms90images/kassimages.jar
archive=f90all.jar,/forms90images/kassimages.jar
# Number of times client should retry if a network failure occurs. Only
# change after having read the documentation.
networkRetries=0
# 4) Parameters for JInitiator (used with Windows clients)
# Page displayed to Netscape users to allow them to download JInitiator.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms90/jinitiator/us/jinit_download.htm
# Parameters related to the version of JInitiator.
jinit_classid=clsid:CAFECAFE-0013-0001-0009-ABCDEFABCDEF
jinit_exename=jinit.exe#Version=1,3,1,9
jinit_mimetype=application/x-jinit-applet;version=1.3.1.9
# 5) Parameters for the Java Plugin (used with non-Windows clients)
# Page displayed to users to allow them to download the JPI
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/plugin/1.3/plugin-install.html
# Parameters related to the version of the Java Plugin
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0
jpi_mimetype=application/x-java-applet;version=1.3
# 6) EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
# 6) OID Config parameters (for Single Sign-On)
oid_formsid=formsApp
oracle_home=e:\Ora9ias_forms
# NAMED CONFIGURATIONS
# 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/servlet/f90servlet?config=sepwin".
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example 2: configuration affecting users of MicroSoft Internet Explorer 5.x.
# Forms applet will run under the browser's native JVM rather than
# using Oracle JInitiator.
[ienative]
IE=native
# Example 3: configuration forcing use of the Java Plugin in all cases
# (even if the client browser is on Windows)
[jpi]
baseHTMLJInitiator=basejpi.htm
baseHTMLie=basejpi.htm
# Example 4: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file)
[debug]
serverURL=/servlet/l90servlet/debug
[native]
separateFrame=True
lookandfeel=Oracle
IE=native
form=tdimenu.fmx
[tdiwin]
separateFrame=false
lookandfeel=Generic
IE=JInitiator
form=tdimenu.fmx
[tdiwin_sep]
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=tdimenu.fmx
[kpm]
#HTMLbodyAttrs=onLoad='javascript:self.moveTo(1601,1201)'
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=tdimenu.fmx
# more efficient grey background
background=background_grey.gif
[test]
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=tdimenu.fmx
background=/forms90images/marselis_skov.jpg
envFile=test.env
[jevk]
workingDirectory=e:\jevk\forms\recompile_all
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=tdimenu.fmx
envFile=jevk.env
[jevka]
userid=jevk/tdi123@adsl
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=rollinf.fmx
background=background_grey.gif
[inwi]
userid=jevk/tdi123@adsl
separateFrame=True
lookandfeel=Generic
IE=JInitiator
form=admuser_inwi.fmx
background=background_grey.gif
# formsweb.cfg end #
# java console start #
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/webutil.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/jacob.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://oiatst01.tdk.dk:7778/forms90images/kassimages.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/java/SmileyBridge.jar from JAR cache
connectMode=HTTP, native.
MessageManager: key VERSION bundle oracle.forms.engine.RunformBundle exception java.lang.IllegalArgumentException: unknown format type at
[[[Note here: I don't know what the MessageManager is talking about here as the error message isn't complete. I _may_ be related to wrong parameters in formsweb.cfg or some such]]]
# java console end #Jesper,
all parameters that are understood by the formsweb.cfg file are listed un the System and user section. In Oracle10g Forms we also added comments to describe their individual meanings.
1. create a named configuration for your application and add
# assuming orcl is your database tnsnames name)
userid=@orcl
2. In your Forms application, using an on-logon trigger
BEGIN
LOGON_SCREEN;
message(get_application_property(username||'@'||get_application_property(connect_string));
LOGON(get_application_property(username ||'@'||get_application_property(connect_string),get_application_property(password),true);
END;
If you want to also specify teh username so that he only needs to enter the password, you can pass userid=scott@orcl in the URL
Note that Oracle9iDS had a bug on Windows2000 that prevented the servlet from reading URL parameters. This problem is solved within Patch1.
Frank -
Problems with WebUtil under Sun Java plugin
Hi,
I have a Forms application using WebUtil which works fine under Oracle jinitiator for years. It works with both MS IE and Mozilla Firefox (some other browsers were also successfully tested). Now when Mozilla released Firefox 3.6 requiring next generation Java (http://blogs.oracle.com/stevenChan/2010/01/firefox_36_ebs.html) Oracle jinitiator (Java version 1.3.1.22) cannot work and I was forced to download and install the latest JRE plugin version (http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab). I provided required formsweb.cfg modifications:
jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
Now my application starts (previously it required a plugin installation) but fails with the error:
oracle.forms.webutil.cApi.CApiFunctions bean not found. WEBUTIL_C_API.REBIND_PARAMETER will not work
See full Java console log below:
Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\ilia
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>
Loaded image: http://kenya:7777/forms/java/fls_logo.gif
Loaded image: http://kenya:7777/forms/java/fls_bgnd.gif
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/file/FileFunctions.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/host/Host.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/session/SessionFunctions.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/ole/OleFunctions.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(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.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 19 more
This happens on the very first call to WebUtil function in the ON-NEW-FORM-INSTANCE trigger.
My questions are:
- May I configure WebUtil for both jinitiator and Sun Java plugin usage?
- What is missed in jpi configuration preventing WebUtil normal execution?
Thank you in advance,
IliaHi All,
Thank you for your responds.
The following separate configuration section is used in this situation:
[jpiadm280]
baseHTMLJInitiator=basejpi.htm
envFile=InPlan.2.80.env
pageTitle=InMind Administration Utilities v. 2.80
width=950
height=680
form=CEDB_main_menu
background=/forms/java/fls_bgnd
logo=/forms/java/fls_logo
splashScreen=no
lookAndFeel=oracle
colorScheme=teal
imageBase=codeBase
WebUtilArchive=frmwebutil.jar,jacob.jar_
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar,fls_icons.jar,FormsGraph.jar
archive=frmall.jar
otherparams=useSDI=no
jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
Please see highlighted with bold parameters to make sure that all recommendations were taken into account. Nevertheless the error message shows that CApiFunctions.class was not found and this class is within frmwebutil.jar, which is also referred within this configuration section (highlighted with bold undrline). So it looks like a sort of incompatibility of frmwebutil.jar with Sun JRE plugin 1.6.0_18. Do I need another version of frmwebutil.jar to run with next generation Java?
Thanks in advance,
Ilia -
Hello everyone,
When I want to upload a document in the database from the client machine, it gives error of
ORA-04063: package body 'SCOTT.WEBUTIL_DB' has errors
I installed and configured webutil correctly but I can't figure out what's the problem.
Can someone help me please??hi
please read it properly i hope it will help u too.
Configure WebUtil 1.06
How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform,
I also tested it on Linux and it works well (after of course taking care of the differences in PATH format)
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: Oracle_Home 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
Oracle_Home 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
C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
cd C:\webutile
copy jacob.jar C:\DevSuiteHome_1\forms\java\.
copy jacob.dll C:\DevSuiteHome_1\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 C:\DevSuiteHome_1\jdk\bin to the PATH:
set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
Sign the files, and check the output for success:
C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jar
C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\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 C:\DevSuiteHome_1\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 a
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/webutil@rcci
@C:\DevSuiteHome_1\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 C:\DevSuiteHome_1\forms\server\default.env, and append C:\oracle\developer\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Modify C:\DevSuiteHome_1\forms\server\formsweb.cfg insde [default] add :
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
archive=frmall.jar
also add :
[webutil]
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
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
7) Modify C:\DevSuiteHome_1\forms\server\webutil.cfg and add :
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
8) Start the OC4J instance
9) 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.
10) 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).
11) 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
12) Run your form.sarah -
How to set image source path in formsweb.cfg file in forms 11g
Hi,
I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
In the below HTML code i set image source in the image tag as below:
<img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
Is this correct path to fetch the images from the server or local machine .
Please help me out how to set path for image in html or is there any alternate process to retrive images.
Here is the code :
[INDIVIDUALUAT]
workingDirectory=D:\Aims10dev\Work
form=LMstartup.fmx
userid=rmenu/rmenu@RLIFEQA64
codebase=/forms/java
imageBase=codebase
width=1005
height=750
WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/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,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
archive=frmall.jar
separateFrame=False
lookandfeel=Generic
EndUserMonitoringURL=True
usesdi=yes
#HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>AFAIK, this is not the correct way to set the image location.
We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
Hope this answers your question.
Cheers,
Jeets. -
Plzzz help: formsweb.cfg testmode false
Greetings:
I have installed Oracle Developer Suite on a Windows XP SP3 pc. When I run the form, Internet Explorer gives me a message:
Internet Explorer encountered a problem and needs to close.
I run the OC4J before running the form. And I am sure that the Net manager configuration is correct. The OC4J gives me the following line:
ConfigFileName: C:\DevSuiteHome_1/forms/server/formsweb.cfg
testmode: false
I have tried many things like: Disable some add ons like google, ..etc and leave java only.
Please, tell me what is the cause of such problem. Thank you.I am using IE7, Windows XP SP3 and 10g Dev suite version 10.1.2.0.2
the problem is, when I run the form, Internet Explorer gives me the message: "Internet Explorer encountered a problem and needs to close".
I installed Jinitiator 1.3.1.28 and it didn't work. Removing IE7 and use IE6 solved the problem on another PC. but on these punch of PCs, I could not remove IE as IE7 can't be removed if it installed with XP SP3 unless you remove SP3 (in my case, SP3 installed within the Windows and not as a separate package that I can remove)
http://support.microsoft.com/kb/950719
thank you. -
Dear All
We are getting strange problem. When we add new application entry in formsweb.cfg in Oracle 9i AS 9.0.2.0.1. And when we access it on IE it doesnt work it show the follwoing error in java console....
We appreciate every one who want to resolve the issue, thanks in advance.....
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: bill_app.dll
at oracle.forms.webutil.cApi.CFunc.find(Native Method)
at oracle.forms.webutil.cApi.CFunc.<init>(CFunc.java:68)
at oracle.forms.webutil.cApi.CApiFunctions.register_function(CApiFunctions.java:732
at oracle.forms.webutil.cApi.CApiFunctions.getProperty(CApiFunctions.java:125)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(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.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
---------------------------------------Thanks for your response......
The most strange thing is we dont change any thing, we just change the start entry which is in [ ]..............
see the following entry which works................"test" works, if we copy the same enty and just replace [test] with [dev], it doesnt work... and give the same message which i pasted in first post...........
waiting for expert opnion.....thnaks
=================
[test]
pagetitle= Test Application
workingdirectory=/u01/testapp/bin
webutilarchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
basehtmljinitiator=/u01/webutil/server/webutiljini.htm
basehtmljpi=/u01/webutil/server/webutiljpi.htm
basehtml=/u01/webutil/server/webutilbase.htm
otherparams=debug=%debug% buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%quiet% render=%render% host=%host% port=%port% record=%record% tracegroup=%tracegroup% log=%log% term=%term% connectstring=testdb frun=FIRSTMENU dllpath=c:\winnt\system32\
form=/u01/testapp/bin/SECONDMENU.fmx
================
Maybe you are looking for
-
Oracle 10.2.0.4 patch - windows 32 bit.
Hi, We want to upgrade Oracle Database Version from 10.2.0.1 to Oracle 10.2.0.4. Operating system is Windows Server 2003 R2, 32 bit version. Kindly suggest me the patch. Thanks.
-
Hello Experts, I want to integrate BIPublisher with UCM,So please help me out here. Thanks,
-
Lights do not appear in 3d scene until I render.
I cannot get any lights to appear in my 3d scenes until I begin rendering. I have installed all updates. In fact, this started when I installed the Creative Cloud update back in December. Also, how do I get rid of the annoying IBL preset? Thanks
-
Dynamic dimention building failed
Hi essbase experts, I am trying to build dimension using rules file. My outline is - Product A B C D SALE Price STOCK Quantity YEAR 2007 jan2007 feb2007 mar2007 I created a rules file . in the field "product" I unchecked the option" ignore field duri
-
Is there a medical or scientific speller plug in for Pages?
Is there a medical or scientific speller 'plug in' for the Pages dictionary? AS