Webutil 1.0.6 + JRE 1.6 + DS 10.1.2.3 + App Server 10.1.2.3 driving crazy
Hi Guys,
We have recently upgraded our Oracle Application Server and Developer Suite to 10.1.2.3.
We have configured Sun JRE 1.6 and trying to configure Webutil 1.0.6.
I have read all possible documents on Metalink, Oracle Forums and internet.
Done everything mentioned in it and still not able to get away with this.
I have downloaded WEBUTILCONF.FMB which after execution tells whether our webutil configuration is proper or not.
And this form tells me every configuration is right.
Gives 0 errors and 0 warnings.
But when we try to execute our form with just Client_Get_File_Name function call on W-B-P trigger of a Push Button we get error -
oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.
When looked in Java Console - there are all webutil function call errors first one being -
network: Connecting http://172.27.67.52:8889/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class with proxy=DIRECT
java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
Then I replaced above function call with SHOW_WEBUTIL_INFORMATION(TRUE) and this time i don't get any error but get webutil canvas with 8 blank lines.
I have already done -
1. frmwebutil.jar, jacob.jar in forms/java,
2. included them in formsweb.cfg (both in default section and webutil section),
3. signed them
4. Compiled webutil.pll to webutil.plx
5. Subclassed webutil.olb
But still no success, tried each and every thing to get through this.
Really wondering why Oracle has no proper document on this, specially the error resolution/trouble shooting part.
I know this post has become one big story, but it really shows how much frustrated I am with this issue.
And I hope answers to this post will help other readers who are in same state as that of mine.
Please, please please help in this...
I am not sure, can I raise a SR with Oracle for this.
Any fruitful help in this regard will be lot lot lot helpful.
Thanks!
Av.
Hi All,
The issue is resolved thanks to valuable inputs from all of you.
I got it resolved using Oracle Support, and couple of you have mentioned what was told by OS.
We were using frmwebutil.jar which was there in 10.1.2, and we are supposed to use one from whichever Develper suite one is using or extract from 10.1.2 and apply patch to it.
For Reference - [Note.566628.1 : How To Install Webutil on 10.1.2.x Oracle AS on Windows ?: |https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566628.1]
Here is the explanation from above doc -
Explanation:
frmwebutil.jar 1.0.6 is available for use with Forms versions 9.0.4 and 10.1.2.0.2. However,starting with Forms 10.1.2.2,the version of frmwebutil.jar has to be the same as the running Forms version .
frmwebutil.jar 10.1.2.2 or higer is included with Patchset 10.1.2.x, which is the base release (10.1.2.0.2) plus a Patchset applied. This frmwebutil.jar version gets installed on Oracle Developer Suite Home when the Patchset is applied but not with Oracle AS Home .
Then you will have to sign this frmwebutil.jar.
Hope this helps others who might be facing same problem as that of me.
Thanks to Sven and pdevaal, you guys gave helpful answers but before that we had raised SR with Oracle.
Thanks once again.
Cheers!
Av.
Note : we had patched our AS and DS to 10.1.2.3 from 10.1.2.
Few things suggested by OS -
1. Don't overwrite configuration in Default section, its harmful, this was suggested by one person on OTN.
2. Don't create your own default.env file or application.env file, use the standard one.
Similar Messages
-
Webutil download file from app server
i am calling a report from forms. report uses text_io to write delimited data to app server disk. report info also displays in browser using web.show_document. when i call report from forms i run report, use web.show_document to display in browser and then call webutil to download file to client form appserver. sequence would be in a manner as below:
run_report_object (report_id);
when report = finished then
web.show_document;
end if;
webutil.download_file (filename);
the problem is this: the web.show_document code runs but while this is running the webutil code also is running. but the report has not completed yet so when webutil runs looking for the file the report is supposed to write it cannot find it since the report has not completed. web.show_document fires off a browser session and then immediately runs the webutil code. but i dont want the webutil code to run until the report has successfully completed. does anyone know how to integrate these two functions into one step instead of running the report and allowing it to complete and then executing a separate step to download the file.
thank youYou might want to try this code snippet....
--- code to set parameters, declare variables etc...
l_report_return := run_report_object(l_report_id);
l_report_status := report_object_status(l_report_return);
WHILE l_report_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
l_report_status := report_object_status(l_report_return);
END LOOP;
IF l_report_status = 'FINISHED' THEN
/*Display report in the browser*/
web.show_document(......);
ELSE
message('Error when running report ');
END IF; -
Install JRE 1.5.12 in the PI 7.0 server
Hi Gurus,
We are planning to install JRE 1.5.12 in the PI 7.0 server with Service Pack 11, whereas currently it is 1.4.2.
Please note we will not remove the 1.4.2 version from the PI Server but will add this new version as well. What will be impact of installing JRE 1.5.12.
Regards
R.RaguHi,
When you install the 1.5.12 , this will over write the 1.4.2, ther will not any problem while installation.
once you do this 1.5.12 will be in use and if u have java version greater than 1.4.2, some mapping icons will not be in active and runtime problems can occur
Regards
Seshagiri -
WebUtil - File Transfer to File Server instead of App Server of DB
Is it possible to upload a file to server other than the db server or app server?
Thanks.Hello,
I don't think so. Notice that Webutil allows transfering files only on the App Server machine. With the DB Server, you can only transfert file to/from the database, not the file system.
Francois -
Signing webutil on 10g app server
Hi There,
i'm currently in the process of installing webutil on our 10g forms server (as it is required by one of our developers), but i have a question about the steps needed to sign the webutil & jacob jar files...
In the additional installation steps in the release notes, it says to edit the JDK_HOME & the JINIT_HOME properties to match your environment... the JDK_HOME is straightforward but the JINIT_HOME would suggest that jinitiator client needs to be installed on the server machine, eventhough (i don't think) it's not actually installed when you install the app server.
there is a 'jinit' folder in the app server home, but this just contains the jinitiator executable, and doesn't contain the items listed in the makecert.bat.
in the end i just ran the jinit.exe on the server machine to install jinitiator (and used that folder for the JINIT_HOME, eventhough it's never going to be used on the server), but i'd be very grateful if someone could confirm to me that this was the correct course of action, and if it was correct then why isn't an 'installation of the jinitiator client' one of the required items?
many thanks,
AndyHi,
I have given the foll path in the signer.properties file
JDK_HOME=D:\oracle\ora10\jdk
JINIT_HOME=c:\Program Files\Oracle\JInitiator 1.3.1.17
It worked well. JINIT_HOME path sould refer to the above folder not the folder contains jinit.exe
Try this out!
Thanks,
Mundhir -
We are currently using IE6, 10.1.2.2 app server/forms, Jinitiator 1.3.1.28. We want to end up being certified IE8, 10.1.2.3 app server/forms, JRE 1.6.0_16. Upgrading every app server (dev thru prod), pushing IE8, and the pushing the JRE to 2000 users all in one night is a little much. We were hoping to push the JRE now, then IE8, then upgrade each app server dev thru prod one at a time. However, we will be in non-certified configuration for a little while with this plan.
So, has anyong gotten IE8, JRE 1.6.0_16, and ** 10.1.2.2 ** app server to work. We get a white screen with a box in IE8 under this configuration. Any suggestion on IE8 options to click or unclick? Or JRE option to click or unclick?
We have managed to get IE8, Jinitiator 1.3.1.28, and 10.1.2.2 to work.One thing we noticed with the Sun JRE 1.5 and higher is it routinely checks for JRE Updates. This can present a problem if you define the JRE version in the formsweb.cfg to strict. We left it open so any version of 1.6 would work. This requires modifying the following two lines:
#jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0 /* drop point release */
and
#jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBANote the use of FFFF in place of *0006*. This makes it ignore the point-release (ie., 1.6.0_4 works the same as 1.6.0_18).
Craig... -
I am trying to configure webutil, my forms version is 10.1.2.3, with IE-8 and I am using Sun plug-in (JRE),
I went through all the configuration steps in detail and checked several time but when i run webutel_demo form i get the bean not found error,
oracle.forms.webutil.clientInfo.GetClientInfo bean not found. WEBUTIL_CLIENTINFO.
GET_SYSTEM_PROPERTY will not work
Seeks help,
Thanks in advance.
AbbasFirst, are you configuring Forms Builder to use WebUtil when you run a form from the builder or are you configuring your Application Server (AS)? The steps are the same, but it helps to know. :)
It sounds like you either missed the step where you configure the default.env to include the full path to the frmwebutil.jar or you missed the step where you setup the [webutil] section of the formsweb.cfg. If you have completed these configuration steps, I have also seen (and experienced) where webutil couldn't find the .jar's until I added frmwebutil.jar to the [default] archive= variable. The other cause I've seen is not including the *?config=webutil* tag in your application url to instruct your AS/OC4J to use the webutil config section.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Trying to use webutil - Works in development, will not work on app server.
I am having a similar problem. I have followed all the instructions from above.
I run my code in the developer and it runs fine. If I run my code from the application server I get locked up.
Here is the output from my java console.
Oracle JInitiator: Version 1.3.1.28
Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\BrianG.PSSI
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\BrianG.PSSI\Oracle Jar Cache28
Maximum size: 1,024 MB
Compression level: 0
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
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://smprdap2.pssi.local/forms/java/frmall_jinit.jar from JAR cache
Loading http://smprdap2.pssi.local/forms/java/frmwebutil.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 1.0.6
Loading http://smprdap2.pssi.local/forms/java/esteelman.jar from JAR cache
Loading http://smprdap2.pssi.local/forms/java/sticons.jar from JAR cache
Loading http://smprdap2.pssi.local/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.3
Exception occurred during event dispatching:
java.lang.NoSuchMethodError
at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.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)
This is the configuration I an trying to use is:
[SMT1]
form=st_menu.fmx
imageBase=CodeBase
width=1020
height=740
separateFrame=true
splashScreen=/forms/steelman/images/logo.gif
background=no
lookAndFeel=Oracle
colorScheme=purple
logo=/forms/steelman/images/small_logo.gif
formsMessageListener=
recordFileName=
pjcRegisterApplet=oracle.forms.demos.util.RegisterCertificate
pjcArchive=esteelman.jar
baseHTMLjinitiator=signedjini.htm
baseHTMLJinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm.
WebUtilArchive= esteelman.jar,sticons.jar, frmall_jinit.jar, frmwebutil.jar,jacob.jar
archive_jini=frmall_jinit.jar,esteelman.jar,sticons.jar,frmwebutil.jar,jacob.jar,
em_mode=1
serverApp=/steelman/conf/steelman
envFile=C:\steelman\conf\smt1.env
If i do not use baseHTMLjinitiator=signedjini.htm
our application will not launch at all.The first problem I see is that you are using an old version of WebUtil, which is not supported for use with Forms 10.1.2.3 and is probably the cause of the problem.
RegisterWebUtil - Loading WebUtil Version 1.0.6
The correct versions of frmwebutil.jar and webutil.pll are applied to Developer Suite installations and can be copied to Application Server. If you do not have an iDS installation, you can install the latest Forms Bundle patch which includes the correct WebUtil files. Refer to Patch ID 9593176 and Note 1188127.1. Be sure to review the ReadMe included with the patch.
The second problem is that you are using Jinitiator. Jinitiator has been obsolete for a long time. However, if you have some reason why you must use it, I would recommend that you at least get the last version released (1.3.1.30). This can be downloaded from within MyOracleSupport (account required) using Patch ID 7410076. If you do not have access to MyOracleSupport and you are using Forms 10.1.2.3, then you can use JRE6 (1.6.0_37). Do not attempt to use JRE7
http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
You would need to install the 32bit version: jre-6u37-windows-i586.exe
References:
<li>Note: 566628.1
<li>Note: 561273.1 -
Multiple JRE Versions on Same App Server
Hello All,
I have a questions in regards to installing multiple JRE's on the same SAP Application Server.
Background:
We currently have an SAP HCM ABAP-only application which will be sitting on a Windows Server 2008 box w/SQL Server backend. The current JRE is 1.4.2 as recommended by SAP for sapinst. What we are trying to achieve is to install the standalone JCo client 3.0 (Java connector) which will be required for a Novell IDM integration (as the HCM is ABAP only - we require JCo standalone client to properly interface). JCo 3.0 requires JRE 5 or 6 as per SAP (we want to install 6).
So.... to my original questions:
1) Is anyone aware of any negative impact or deterrent from SAP Support in regards to having multiple JRE's: JRE 1.4.2 as well as JRE 6 installed on the application server? We will obviously have the env variables point to JRE 6 for the JCo Client.
2) I am also wondering if it is OK to do this, and simply update the variable path back to the 1.4.2 JRE in cases where we need to run sapinst (refreshes, etc)?
Any insight will be greatly appreciated! Thank you!
TylerHi Tyler,
In my opinion, you could go ahead with first option - have multiple JRE's and maintain the environment variables accordingly.
This should not be a problem as the envrionment variable would take care of which JRE is used. Also as you have only another ABAP system on the same server, the other older JRE would only be required during the SAPInst operations. Non-existence of a Java system makes things simpler here
Regards,
Srikishan -
Hi,all.
I have installed WebUtil and modified formsweb.cfg,default.env and orion-web.xml etc.
But when I run WebUtil Demo I got error:
WUC-015:You Form must contain the following Bean for this function to be available:oracle.forms.webutil.browser.BrowserFunctions.
Please helphere is my orion-web.xml:
<?xml version="1.0"?>
<!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://xmlns.oracle.com/ias/dtds/orion-web.dtd">
<orion-web-app
deployment-version="9.0.2.0.0"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/"
>
<context-param-mapping name="configFileName">D:\Oracle9iDS/forms90/server/formsweb.cfg</context-param-mapping>
<virtual-directory virtual-path="/html" real-path="D:\Oracle9iDS/tools/web90/html" />
<virtual-directory virtual-path="/java" real-path="D:\Oracle9iDS/forms90/java" />
<virtual-directory virtual-path="/jinitiator" real-path="D:\Oracle9iDS/jinit" />
<virtual-directory virtual-path="/webutil" real-path="D:\Oracle9iDS/forms90/webutil/lib" />
<session-tracking cookies="disabled" />
</orion-web-app>
##############################3
forms90web.cfg:
# $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.
baseHTML=base.htm
baseHTMLjinitiator=D:\Oracle9iDS\forms90\webutil\server\webutiljini.htm
#baseHTMLjinitiator=basejini.htm
baseHTMLjpi=basejpi.htm
baseHTMLie=baseie.htm
HTMLdelimiter=%
# WorkingDirectory defaults to <oracle_home>/forms90 if unset.
workingDirectory=
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=test.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=
term=
# 2) HTML page title, attributes for the BODY tag, and HTML to add before and
# after the form:
pageTitle=Oracle9iAS Forms Services
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
# 3) Values for the Forms applet parameters:
serverURL=/forms90/l90servlet
codebase=/forms90/java
imageBase=DocumentBase
##<michael wang>
width =100%
height =100%
separateFrame=false
splashScreen=
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
archive_ie=f90all.cab
archive=f90all.jar
##<michael wang> for WebUtil
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.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=%OID_FORMSID%
oracle_home=D:\Oracle9iDS
# 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
[webutil]
pageTitle=Oracle9iAS Forms Services - WebUtil
webUtilArchive=webutil.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
#baseHTMLjinitiator=D:\Oracle9iDS\forms90\webutil\server\webutiljini.htm
archive_jini=f90all_jinit.jar
archive=f90all.jar
lookAndFeel=oracle
envFile=webutil.env
forms90.conf
# $Id: forms90.conf,v 1.8 2002/03/01 01:11:53 pkuhn Exp $
# Name
# forms90.conf
# Purpose
# Apache mod_oc4j and mod_jserv configuration file for Forms 9i Services.
# This file should be included into the Oracle Apache HTTP Listener
# configuration file (typically by adding an include statement to the
# oracle_apache.conf file)
# Remarks
# If Forms is to be used with JServ, the jserv.properties file needs editing
# to add the "forms90" servlet zone with properties file forms90.properties
# Notes
# Virtual paths: We use AliasMatch when defining virtual paths for
# security reasons (prevents directory browsing).
# Virtual path mapping for Forms Java jar and class files (codebase)
AliasMatch ^/forms90/java/(..*) "D:\Oracle9iDS/forms90/java/$1"
# Virtual path for JInitiator downloadable executable and download page
AliasMatch ^/forms90/jinitiator/(..*) "D:\Oracle9iDS/jinit/$1"
# Virtual path for runform.htm (used to run a form for testing purposes)
AliasMatch ^/forms90/html/(..*) "D:\Oracle9iDS/tools/web90/html/$1"
#<michael wang>
AliasMatch ^/forms90/webutil/(..*) "D:\Oracle9iDS/forms90/webutil/lib/$1"
#<michael wang>
# Configuration for JServ (if mod_jserv.c is available and not mod_oc4j.c)
<IfModule mod_jserv.c>
# Only configure for JServ if mod_oc4j is NOT available:
<IfModule !mod_oc4j.c>
# Virtual path mapping for FormsServlet and ListenerServlet.
# Purpose: paths to invoke the servlets should be /forms90/f90servlet
# and /forms90/l90servlet respectively.
# We map f90servlet to servlet.if90, and l90servlet to servlet.ifl90.
# The apJServAction directives (below) will then remap those.
AliasMatch ^/forms90/f90servlet(.*) "/servlet.if90"
AliasMatch ^/forms90/l90servlet(.*) "/servlet.ifl90"
ApJServMount /forms90/servlet /forms90
# Let the servlets be called by file extension (e.g /servlet.if90)
ApJServAction .if90 /forms90/servlet/f90servlet
ApJServAction .ifl90 /forms90/servlet/l90servlet
# Prevent access to the Forms Servlets by paths other than
# /forms90/f90servlet and /forms90/l90servlet.
# 1. Prevent access via the .if90 and .ifl90 file extensions:
<LocationMatch ^.*\.if.*90>
order deny,allow
deny from all
</LocationMatch>
# 2. Stop access by class (by paths like
# /forms90/servlet/oracle.forms.servlet.FormsServlet)
<LocationMatch ^/forms90/servlet/oracle\.forms.*>
order deny,allow
deny from all
</LocationMatch>
</IfModule>
</IfModule>
# Config. for OC4J
<IfModule mod_oc4j.c>
Oc4jMount /forms90 OC4J_BI_Forms
Oc4jMount /forms90/f90servlet OC4J_BI_Forms
Oc4jMount /forms90/f90servlet/* OC4J_BI_Forms
Oc4jMount /forms90/l90servlet OC4J_BI_Forms
Oc4jMount /forms90/l90servlet/* OC4J_BI_Forms
</IfModule>
########################3
webutil.cfg
# webutil.cfg - WebUtil default configuration file
# This file provides all of the configuration settings
# for webutil. These are divided into the following
# sections:
# 1. Logging Options
# 2. Installation Options
# 3. FileUpload and Download Options
# 4. Untranslatable Strings
# 5. Translatable Strings
# 1. Server Side Logging Options for logging errors and log messages
# You must set Enabled to true to allow mid tier logging without this
# mid tier logging will not take place no matter what PL/SQL or URL
# options are supplied to switch it on
# Once logging is enabled the other settings come into play
# Details
# file : Defines the file name and location of the log file.
# Note that WebUtil does no log file management you may
# need to manually clean this file up from time to time
# enabled : Can be TRUE or FALSE
# errorsonly : Can be TRUE or FALSE setting to true will ensure that
# only errors and not normal informational log messages
# are written to the log file
# For product use this would normally be set to TRUE
# connections: Can be TRUE or FALSE setting to true will cause each connection
# from a form using WebUtil to write into the log as it sets up.
logging.file=
logging.enabled=FALSE
logging.errorsonly=FALSE
logging.connections=FALSE
# 2. Installation Options
# WebUtil needs to download some files to the client in order to perform
# certain integration operations such as OLE or Registry Access
# These files are downloaded the first time that you access one of the
# functions than needs them
# You have to define the location of these files on the server
# Details
# syslib.location: The vitual path to the directory holding the
# the webutil library files on the server side
# this must either be an absolute URL or a url
# URL that is relative to the documentbase
# syslib.<os>.<package>.<n>: The name(s) of the libraries required for particular
# webutil beans
# The format of this is name|size|version|showDownloadDialog
# multiple libraries can be downloaded per package but
# ensure that the <n> values are consecutive and start at 1
install.syslib.location=/webutil
## Do not change the following lines unless instructed to do so
install.syslib.0.7.1=jacob.dll|94208|1.0|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
## But you can add your own libraries in here
#install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
# 3. Upload / Download options
# For the file upload and download options you can define the default
# locations on the server that webutil can use as a work area
# Optionally you can switch upload and download off
# Details
# transfer.database.enabled: Can be TRUE or FALSE - allows you to disable
# upload and download direct from the database
# server.
# transfer.appsrv.enabled: Can be TRUE or FALSE - allows you to disable
# upload and download direct from the application
# server.
# transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
# store temporary files uploaded from the client.
# This location is always readable and writable
# no matter what the settings in appsrv.read and
# appsrv.write are.
# This setting is required if you need the
# Client side READ /WRITE_IMAGE_FILE procs
# transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to indicate
# that uploads and downloads can only occur from
# the directories named in the
# transfer.appsrv.read.n and transfer.appsrv.write.n
# entries and their subdirecories. If this setting
# is FALSE transfers can happen anywhere.
# transfer.appsrv.read.<n>: List of directory names that downloads can read
# from.
# transfer.appsrv.write.<n>: List of directory names that uploads can write
# to.
#NOTE: By default the file transfer is disabled as a security measure
transfer.database.enabled=FALSE
transfer.appsrv.enabled=FALSE
transfer.appsrv.workAreaRoot=c:\temp
transfer.appsrv.accessControl=TRUE
#List transfer.appsrv.read.<n> directories
transfer.appsrv.read.1=c:\temp
#List transfer.appsrv.write.<n> directories
transfer.appsrv.write.1=c:\temp
# 4. Untranslatable Strings
# These errors can happen early in the initialisation process before we
# have the client locale information to use to detect the correct
# language version for the error
EN.msg.error.error008=WUC-008: Server side logging was requested but no log file was specified - logging is disabled
# 5. Translatable Strings
# The following properties represent Strings displayed in various server
# side error messages
# They are available here to allow customisation
# Messages are in the Format "<countrycode>.msg.key
# The message reading code picks up the country code automatically from the
# client. If the required country code cannot be found then the english (EN)
# message is displayed as a default.
# You may alter the EN versions of each key, but do not remove them!
# General Dialog titles
EN.msg.install.progress.title=WebUtil Install
EN.msg.install.progress.subtitle=Downloading required libraries; Please wait...
EN.msg.errordialog.title=WebUtil Error
# App Server side errors
EN.msg.error.error007=WUC-007: Unable to write to WebUtil logging file
EN.msg.error.error015=WUC-015: Your Form must contain the following Bean for this function to be available:
EN.msg.error.error408=WUH-408: The WebUtil Client code sent back a bad Process ID - Please report this error
EN.msg.error.error110=WUT-110: Database LOB is of zero length
EN.msg.error.error111=WUT-111: Database LOB is un-initialised
EN.msg.error.error112=WUT-112: Invalid open mode for Blob. Value should be W or R
EN.msg.error.error113=WUT-113: Too many rows match the supplied where clause
EN.msg.error.error114=WUT-114: SQL Error
EN.msg.error.error115=WUT-115: Checksum Failed
EN.msg.error.error116=WUT-116: Transfer already in progress
EN.msg.error.error117=WUT-117: Application Server file name cannot be null
EN.msg.error.error118=WUT-118: Application Server file does not exist or is of zero length
EN.msg.error.error119=WUT-119: Error reading data from Application Server file
EN.msg.error.error120=WUT-120: Zero bytes read from Application Server file
EN.msg.error.error121=WUT-121: This file transfer has been forbidden by the Adminstrator
EN.msg.error.error122=WUT-122: Java Functions are not available on the Appliciation Server
EN.msg.error.error123=WUT-123: The webutil.jar file cannot be found on the Appliciation Server Classpath - Some file transfer functions will not work.
EN.msg.error.error124=WUT-124: Unable write data on the application server
EN.msg.error.error125=WUT-125: Checksum error closing file on application server
EN.msg.error.error126=WUT-126: Error closing application server file
EN.msg.error.error127=WUT-127: Unable to create workarea
EN.msg.error.error128=WUT-128: Exception creating workarea
#German versions of the Dialog Titles
DE.msg.install.progress.title=WebUtil Installation
DE.msg.install.progress.subtitle=Ben�tigte Bibliotheken werden geladen; Bitte warten ...
DE.msg.errordialog.title=WebUtil Fehler
#German versions of the Errors
DE.msg.error.error007=WUC-007: Kann nicht auf die WebUtil Log Datei zugreifen
DE.msg.error.error015=WUC-015: Folgende Bean muss in der Form enthalten sein um diese Funktion zu nutzen:
DE.msg.error.error408=WUH-408: Der WebUtil Client Code hat eine ung�ltige Prozess ID zur�ckgegeben - Bitte melden Sie diesen Fehler
DE.msg.error.error110=WUT-110: Datenbank LOB hat eine L�nge von Null
DE.msg.error.error111=WUT-111: Datenbank LOB ist nicht initialisiert
DE.msg.error.error112=WUT-112: Ung�ltiger Modus zum �ffnen eines Blobs. Wert muss W oder R sein
DE.msg.error.error113=WUT-113: Zu viele Reihen entsprechen der angegebenen Bedingung
DE.msg.error.error114=WUT-114: SQL Fehler
DE.msg.error.error115=WUT-115: Checksummen Fehler
DE.msg.error.error116=WUT-116: �bertragung erfolgt bereits
DE.msg.error.error117=WUT-117: Ein g�ltiger Dateiname auf dem Applikation Server ist erforderlich
DE.msg.error.error118=WUT-118: Datei auf dem Applikation Server fehlt oder hat eine L�nge von Null
DE.msg.error.error119=WUT-119: Fehler beim Lesen der Datei auf dem Applikations Server
DE.msg.error.error120=WUT-120: Es konnte kein Byte vom Applikation Server gelesen werden
DE.msg.error.error121=WUT-121: Die �bertragung dieser Datei wurde vom Administrator unterbunden
DE.msg.error.error122=WUT-122: Java Funktionen sind auf dem Applikations Server nicht verf�gbar
DE.msg.error.error123=WUT-123: Die Datei webutil.jar befindet sich nicht im CLASSPATH des Applikations Servers - Einige Datei�bertragungsfunktionen stehen somit nicht zur Verf�gung
DE.msg.error.error124=WUT-124: Es konnte nicht schreibend auf den Applikations Server zugegriffen werden
DE.msg.error.error125=WUT-125: Checksummen Fehler beim Schlie�en der Datei auf dem Applikations Server
DE.msg.error.error126=WUT-126: Fehler beim Schlie�en der Datei auf dem Applikations Server
DE.msg.error.error127=WUT-127: Der Arbeitsbereich konnte nicht erstellt werden
DE.msg.error.error128=WUT-128: Ausnahmefehler beim Erstellen des Arbeitsbereiches
#French versions of the Dialog Titles
FR.msg.install.progress.title=WebUtil Installation
FR.msg.install.progress.subtitle=Ben�tigte Bibliotheken werden geladen; Bitte warten ...
FR.msg.errordialog.title=WebUtil Fehler
#French versions of the Errors
FR.msg.error.error007=WUC-007: Ecriture impossible dans le fichier de log WebUtil
FR.msg.error.error015=WUC-015: Votre forme doit contenir le Bean suivant pour que cette fonction soit disponible:
FR.msg.error.error408=WUH-408: Le client Webutil a renvoy?un numero de process erron?- Contactez votre administrateur
FR.msg.error.error110=WUT-110: LOB dans la base de donn�es a une longueur de zero
FR.msg.error.error111=WUT-111: LOB dans la base de donn�es n'est pas initialis?
FR.msg.error.error112=WUT-112: Mode d'ouverture invalide pour un BLOB. La valeur doit �tre W ou R
FR.msg.error.error113=WUT-113: Trop de lignes renvoy�es pour cette clause where
FR.msg.error.error114=WUT-114: Erreur SQL
FR.msg.error.error115=WUT-115: Echec du Checksum
FR.msg.error.error116=WUT-116: Transfer d�j?en progr�s
FR.msg.error.error117=WUT-117: Le nom du fichier sur le serveur d'application ne peut �tre null
FR.msg.error.error118=WUT-118: Le nom du fichier sur le serveur d'application n'existe pas ou a une taille de zero
FR.msg.error.error119=WUT-119: Erreur en lecture des donn�es provenant du fichier sur le serveur d'application
FR.msg.error.error120=WUT-120: Zero bytes lu ?partir du fichier sur le serveur d'application
FR.msg.error.error121=WUT-121: Ce transfert de fichier est interdit par l'administrateur
FR.msg.error.error122=WUT-122: Java Fonctions non disponibles sur le serveur d'application
FR.msg.error.error123=WUT-123: Le fichier webutil.jar n'est pas present dans le Classpath du serveur d'application - Certaines fonctions de transfert de fichiers ne fonctioneront pas
FR.msg.error.error124=WUT-124: Impossible d'�crire sur le serveur d'application
FR.msg.error.error125=WUT-125: Erreur de Checksum en fermant le fichier sur le serveur d'application
FR.msg.error.error126=WUT-126: Erreur pendant la fermeture du fichier sur le serveur d'application
FR.msg.error.error127=WUT-127: Creation de la Workarea impossible
FR.msg.error.error128=WUT-128: Exception pendant la creation de la workarea
webutil.env
#A sample .ENV file for use with WebUtil note the following important Points:
# 1. The webutil.jar file is in the classpath so that the upload to app server will work
# 2. The FORMS90_PATH includes the directory which holds the webutil.pll
# 3. The WEBUTIL_CONFIG parameter is defined to point at the webutil.cfg file
# !! If you re-use this env file then rememeber to change the paths !!
ORACLE_HOME=D:\Oracle9iDS
FORMS90_PATH=D:\Oracle9iDS\forms90\webutil\forms
CLASSPATH=D:\Oracle9i\jlib\debugger.jar;D:\Oracle9i\jlib\ewt3.jar:D:\Oracle9i\jlib\share.jar;D:\Oracle9i\jlib\utj90.jar;D:\Oracle9i\jdk\jre\lib\rt.jar;D:\Oracle9iDS\forms90\webutil\lib\webutil.jar
WEBUTIL_CONFIG=D:\Oracle9iDS\forms90\webutil\server\webutil.cfg
I've double checked my configuration many times.
but the error WUC-015 still exist, and the webutil-demo
failed to run. -
Hello,
We are running into a problem web-enabling a client-server Forms application. We are using WebUtil for HOST and OLE calls and sending files between client and app-server and it all works really marvelous. But we noticed that the DDE package is not available in WebUtil. Unfortunately for us, we are using DDE calls to interact with MS Word (for example merging template letters with address-data) and MS Excel (filling out template sheets with data).
Can you tell me if DDE will be available in future releases of WebUtil? And, if not, is it (generally) possible to rewrite the DDE-calls to OLE-calls using WebUtil's CLIENT_OLE functions? And what DDE-functionality maps to the corresponding OLE-functionality?
Or, if it's not possible to rewrite DDE to OLE, what are the alternatives? Removing the interaction between web-forms and MS Office is NOT an option ;-)
Thanks in advance,
H. Verschurenvar shell=new ActiveXObject("WScript.shell")
var command=null
var key
try {
key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\11.0\\Word\\InstallRoot\\Path" /* Word 2003 */
command= shell.RegRead(key);
} catch (e) {
try {
key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\9.0\\Word\\InstallRoot\\Path" /* Word 2000 */
command= shell.RegRead(key);
} catch (e) {
try {
key="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\Path" /* Word 97 */
command= shell.RegRead(key);
} catch (e) {
command="\"" + command + "\\Winword.exe\" ftp://10.100.x.x\\ftpshare\\macros.dot -mMyMacro"
shell.run(command,1,false)
I must learn to monitor threads after I have contributed. -
Webutil & Forms 10g 10.1.2.0.2
I have heard that webutil would be included with this latest release of 10gAS which now includes forms. Does anyone know if this is the case? I have not been able to find anything saying it does, except for things posted before the release that it was expected to.
WebUtil 1.0.6 comes with Oracle 10g DS rel2 and and App. server rel2 as well. All the configurations are done both where.
But the fact is, webutil files (frmwebutil.jar, webutil.cfg, webutilbase.htm, webutiljini.htm, webutiljpi.htm etc.) does not come with the installation of Application server. You have to copy all those files manually. Also jacob.jar and jacob.dll should be copied. The following files must be at application server home:
1. frmwebutil.jar, jacob.jar => $Oracle_Home\forms\java\
2. frmwebutil.jar, webutil.cfg, webutilbase.htm, webutiljini.htm, webutiljpi.htm => $Oracle_Home\forms\server
3. d2kwut60.dll, jacob.dll, JNIsharedstubs.dll => $Oracle_Home\forms\webutil\
Hope it will work. Thanks. -
Hi Group,
I have deployed my project in sun one application server 7.0 installed in red hat linux 7.2 and database is mysql. Its working in fine in normal conditions. I could not able to get connection from datasource after I kept my server 10 hours ideal. Again its working fine once I restarted the server. Please give me any solution to prevent this.
The same project is working fine under all conditions in Sun one app server 7.0 installed in windows 2000 server without any look up probem. I Got this problem only in linux OS.
mysql datasource class com.mysql.jdbc.jdbc2.optional.MysqlDataSource
please find the below code..
Context ctx = new InitialContext();
Datasource testDS = (javax.sql.DataSource)ctx.lookup( "jdbc/testDS");
Connection con = testDs.getConnection();
connection pool settings
<jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="0" pool-resize-quantity="2" idle-timeout-in-seconds="0" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlDataSource" name="testCP">
<property value="localhost" name="serverName"/>
<property value="3306" name="portNumber"/>
<property value="root" name="user"/>
<property value="test" name="databaseName"/>
</jdbc-connection-pool>
Regards,
Hari haranMy team solved the problem and I thought that we would share.
The version of Xalan that was packaged with the JRE, that is installed by the Sun One app server, was at least 2 versions out of date. Updating the Xalan package solves the issue and the WAR file now works.
Again, this appears to be only on the Linux version as the package deploys and works perfectly on the Windows version. -
i tried to install the Sun Java Studio Creator Early Access edition. it stops and does nothing when it reaches 24% of the installation. I could see the Command Prompt window opening , whicj does nothing and shows no display. then installer now stalls at this point. In the installer it says to close the Firewalls, but i donot have any firewalls.
I tried to install it again after deleting the files, it again hangs up in the same place.
i could not figure out the problem.
i have the following programs installed,
Sun JDK 1.4, JRE 1.4, J2EE1.4 SDK,IBM WebSphere App Server 5.1, IBM WSDK.
Hope these applications will not pose a problem for the installation.Can you try:
- create a text file "creator-ea-windows-en.sp" as the name with the following line:
is.debug=1
keep.as_inst=true
Note: this file needs to be in the same directory as the installer, eg. "creator-ea-windows-en.exe"
- As it hangs, you can stop the Creator process
- cd $installDir\_uninst
- .\setup -javahome ..\java
This is the PE installer that is invoked by Creator installer in silent mode. Running this in GUI mode it, might give a little more clue where it hangs (which installer panel, etc).
Currently, default application server and PointBase will be installed automatically as the whole set of integrated products. There is no option to allow not to install either or both of these applications. -
Hi,
I have a form that was working with webutil. We implemented SSO on the server. Know the webutil jar file does not load - it can not find it.
Getting the following message in java console:
Loading http://capps.cauto.com/forms90/webutil/webutil.jar from JAR cache
Loading http://capps.cauto.com/forms90/webutil/jacob.jar from JAR cache
Loading http://capps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
Loading http://capps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
Loading http://capps.cauto.com/forms90/java/hyperlink.jar from JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90290
java.io.IOException: Could not connect to http://wadjet.cauto.com/forms90/webutil/webutil.jar
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
Has anyone use SSO and webutil?
Thanks,
Mary SantryMary,
using single sign-On with Forms should not have an impact to webutil.jar.
Just to be sure: You configured webutil and it works if not running using single sign-on. You configured Forms to use singke sign-on (uncommenting th emod_osso directive in forms90.conf file) and from now on webutil.jar cannot be found.
What if you directly try and request the webutil.jar file from a Browser
http://wadjet.cauto.com/forms90/webutil/webutil.jar ?
Can you access jacob.jar using a Browser URL?
Fran
Maybe you are looking for
-
My safari wont open it keeps saying it quit unexpectedly
My safari wont open. when i press the icon a message pops up and says it quit unexpectedly. we keep pressing the icon and the message keeps popping up. weve tried everything. also we just got it back from apple, they've replaced our hardware but all
-
Wrt350n with mac OS 10.5.4
I am having trouble using the shared usb drive on the WRT350n with a macbook. I can read and write to the network usb drive from any of the windows xp machines that I have, but the mac book can only read. I have checked the permissions on the router
-
Hi All, I have the following error in my flex application. How can i solve this error? quote: Could not resolve <fc:Column3DChart> to a component implementation Thanks, Srinivas r
-
I can't download flash cc. It says" Exit Code: 16 Please see specific errors below for troubleshooting. For example, ERROR: DW039 ... -------------------------------------- Summary --------------------------------------
-
To add certain functionality that is not yet availiable from Siebel, I am attempting to create a new contact on the event that a lead is created. This contact should be linked to the lead through the lead-associated contact field. I was under the ass