Generic example
Please tell me a generic datasource with scenario. I want to learn how to put join condition.
Hi deepthi,
Independently of application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any kinds of transparent tables, database views, InfoSets of the SAP query or using a function module. As a result, you can make use of the generic extraction of data.
Procedure
Creating a Generic DataSource
1. Select the DataSource type and give it a technical name.
2. Choose Create.
The creating a generic DataSource screen appears.
3. Choose an application component to which the DataSource is to be assigned.
4. Enter the descriptive texts. You can choose any text.
5. Choose from which datasets the generic DataSource is to be filled.
a. Choose Extraction from View, if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
After generation, you get a DataSource whose extract structure is congruent with the database view or the transparent table view.
For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
b. Choose Extraction from Query, if you want to use a SAP query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
Notes on Extraction Using SAP Query
After generation, you now have a DataSource whose extract structure matches the InfoSet.
For more information about maintaining the InfoSet, see the System Administration documentation.
c. Choose Extraction using FM, if you want to extract data using a function module. Enter the function module and extract structure.
The data must be transferred by the function module in an interface table E_T_DATA.
Interface Description and Extraction Process Flow
For information about the function library, see the ABAP Workbench: Tools documentation.
d. With texts, you also have the option of extraction from domain fixed values.
6. Maintain the settings for delta transfer where appropriate.
7. Choose Save.
When extracting, look at SAP Query: Assigning to a User Group.
Note when extracting from a transparent table or view:
If the extract structure contains a key figure field, that references to a unit of measure or currency unit field, this unit field must appear in the same extract structure as the key figure field.
A screen appears in which you can edit the fields of the extract structure.
8. Editing the DataSource:
 Selection
When scheduling a data request in the BW Scheduler, you can enter the selection criteria for the data transfer. For example, you may want to determine that data requests are only to apply to data from the previous month.
If you set the Selection indicator for a field within the extract structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
Hide field
You should set this indicator to exclude an extract structure field from the data transfer. As a result of your action, the field is no longer made available in BW when setting the transfer rules and generating the transfer structure.
 Inversion
Reverse postings are possible for customer-defined key figures. For this reason, inversion is only possible for certain transaction data DataSources. These include DataSources that have a field that is indicated as an inversion field, for example, the field update mode in the DataSource 0FI_AP_3. If this field has a value, then the data records are interpreted as reverse records in BW.
Set the Inversion indicator if you want to carry out a reverse posting for a customer-defined field (key figure). The value of the key figure is then transferred in inverted form (multiplied by 1) into BW.
Field only known in exit
You can enhance data by extending the extract structure for a DataSource using fields in append structures.
The indicator Field only known in Exit is set for fields of an append structure. In other words, by default these fields are not passed onto the extractor from the field list and selection table.
Deselect the indicator Field Only Known in Exit to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list as well as in the selection table.
9. Choose DataSource ® Generate.
The DataSource is now saved in the source system.
Maintaining Generic DataSources
Change the DataSource
To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
You can change the assignment of a DataSource to an application component as well as the texts of a DataSource. Double-clicking on the name of the table, view, InfoSet or extract structure takes you to the appropriate maintenance screen. Here you can make changes required to add new fields. You can fully swap transparent tables and database views, but not InfoSets. If you return to the DataSource maintenance and choose Create, the screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
If you want to test extraction in the source system independently of a BW system, choose DataSource ® Test Extraction.
Delta DataSource
In the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the associated query. If you want to delete a DataSource, this must not be connected to a BW system.
For more information about extracting using SAP Query, see Extraction using the SAP Query.
Plz assign points if helpful. This is the only way to say thanks.
And give me ur ID i send u some helpful documents...
Regards
Rakesh Jangir
Similar Messages
-
Hello. I am trying to execute a generic javax.naming.Context example, which reads the env variable to initialize the Context from a jndi.properties file. I am aware the at runtime Java looks at the class path for the prop file and I have changed my classpath to reflect the prop file such as classpath=JAVA_HOME\lib\jndi.properties, where JAVA_HOME is where my java lib exists.
The program is:
import javax.naming.*;
class AppList {
public static void main(String[] args) {
String target = "";
try {
Context ctx = new InitialContext();
NamingEnumeration enum = ctx.list(target);
while (enum.hasMore()) {
System.out.println(enum.next());
} catch (NamingException e) {
e.printStackTrace();
However when I execute it I get the following error:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.list(Unknown Source)
at AppList.main(AppList.java:54)
I am aware that this error means that environment variables could not be found to initalize the Context.
I have tried changing my classpath, my JAVA_HOME, and my path to reflect the jndi.properties file, but nothing seem to work and I keep gettign he above exception.
I would apprecaite if someone could shed some light on this matter.
Thank you.I have not tried that but -
This is a standard example from my code.
It is not exactly what you want but it may help.
The following variables are initialized elsewhere by reading from a control file.
LDAPPROVIDER = "ldap://192.168.1.103:636";
LDAPAUTHENTICATION = "simple";
LADPPROTOCOL = "ssl";
LDAPPRINCIPAL = "cn=wim,ou=roles,dc=wim,dc=ca";
LDAPCREDENTIALS = "Test1234";
// global variable to hold context
public static DirContext ctx = null;
public static DirContext openLDAPContext() {
// set up the environment
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, LDAPPROVIDER);
env.put(Context.SECURITY_AUTHENTICATION,LDAPAUTHENTICATION);
env.put(Context.SECURITY_PROTOCOL, LADPPROTOCOL);
env.put(Context.SECURITY_PRINCIPAL,LDAPPRINCIPAL);
env.put(Context.SECURITY_CREDENTIALS,LDAPCREDENTIALS);
env.put(Context.REFERRAL,"ignore");
ctx = null;
try {
ctx = new InitialDirContext(env);
// if here LDAP connection successfully
catch (NamingException ex) {
// *** LDAP SYSTEM ERROR
// if return null connection failed
return ctx;
}[b[With a search I got these - any help?[/b]
http://forum.java.sun.com/thread.jspa?forumID=51&threadID=91031
http://forum.java.sun.com/thread.jspa?forumID=51&threadID=238059
http://forum.java.sun.com/thread.jspa?forumID=51&threadID=222762
http://forum.java.sun.com/thread.jspa?forumID=48&threadID=184798
http://forum.java.sun.com/thread.jspa?forumID=48&threadID=445564
rykk -
Synchronizer Token Pattern - Generic example
Hi
We have web applications not developped with struts or JSF, it's just a servlet/JSP design.
We have big troubles with multiple forms submitted at the login-form, so our intention it's to "protect" this page with the synchronizer token pattern.
Where i have to handle the request? In a filter? When do i put the token into the session and many more questions?
Do you hava me a concrete example of this pattern? Thanks very much!
Kind regards
MichaelThere is already a components - Shale Token [1] that helps you solve double submit issue. The wiki is here [2]. The component is in shale-core.jar which you can find in the sample apps [3]
[1] http://shale.apache.org/
[2] http://wiki.apache.org/shale/Token
[3] http://people.apache.org/builds/shale/nightly/ -
Step by step example needed.
To generate documentation for all classes of project laing in the specified dir.
More detail is needed. -- which version of Javadoc are you using? Where are the package names (do they all start at the same top-level package)? Generic examples are given at:
http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/javadoc.html#examples
-Doug -
Examples of Add and Delete buttons in Forms
Hello, I have group project and we are having a hard time finding examples of how to add and delete records.
We have tried for the add:
INSERT INTO order_line VALUES
(:orders.o_id,
:order_line.inv_id,
:order_line.ol_quantity);
COMMIT;
And this for the Delete:
DELETE FROM order_line WHERE
o_id = :orders.o_id
AND inv_id = :order_line.inv_id;
COMMIT:
We are just looking for a generic example of how the code should look. Please ignore any errors I may have typed I copied it from a print off.Please ask this question in the Forms discussion area instead of the Database discussion area.
Thanks. -
could any of you helpful folks who have example code communicating with the dde server of another application please post some 'generic' example code here? (or any related tips) -6.0.2-
Thanks, Paul.SHave you looked here and at the Access DDE example that ships with LabVIEW?
-
Example of a Treemap using a Comparator?
I'm in need of a small example of using a Treemap (with generics, of course) using a Comparator. For example:
TreeMap tm = new TreeMap<Foo,Short>(new ComparatorTest<Foo>());
for some class Foo, which I'm mapping to Short.
I've tried taking an old non-generic example and adding in the new pieces, but the java compiler isn't nice about indicating what I've done wrong.
Any examples out there?
ThanksOK, I've fixed my declaration to be:
TreeMap<MppInfo,Short> tm = new TreeMap<MppInfo,Short>(new ComparatorTest<MppInfo>());
My code is:
class MppInfo {
public String badgeId;
public String mppRollupLevel;
public String month;
public String year;
class ComparatorTest<MppInfo> implements Comparator<MppInfo> {
public int compare(MppInfo a, MppInfo b) {
int val = a.badgeId.compareTo( b.badgeId );
if ( val != 0 ) {
return val;
val = a.mppRollupLevel.compareTo( b.mppRollupLevel );
if ( val != 0 ) {
return val;
val = a.month.compareTo( b.month );
if ( val != 0 ) {
return val;
val = a.year.compareTo( b.year );
if ( val != 0 ) {
return val;
return 0;
public boolean equals(Object o) {
MppInfo s = (MppInfo)o;
return compare(this, s) == 0;
...the java compiler does not like my code at all:
ReadMPP.java:436: cannot find symbol
symbol : variable badgeId
location: class java.lang.Object
int val = a.badgeId.compareTo( b.badgeId );
^
ReadMPP.java:436: cannot find symbol
symbol : variable badgeId
location: class java.lang.Object
int val = a.badgeId.compareTo( b.badgeId );
^
...deleting similar errors.
ReadMPP.java:457: compare(MppInfo,MppInfo) in com.ctc.PmPlanning.ReadMPP.ComparatorTest<MppInfo> cannot be applied to (com.ctc.PmPlanning.ReadMPP.ComparatorTest<MppInfo>,MppInfo)
return compare(this, s) == 0;
^
Note: ReadMPP.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
9 errors -
I'm trying out this generics example and I cannot get it to compile.
Here's the error msg:
Bound mismatch: The type SubB<SubA> is not a valid substitute for the bounded parameter <T extends B<? super A>> of the type X<T>
class A {
class SubA extends A {
class B<T extends A> {
class SubB<T extends A> extends B<T> {
class X<T extends B<? super A>> {
new X<SubB<SubA>>(); // compilation errorSubB extends B... check. SubA is a superclass of A... nope.
If your goal is simply to write some code which compiles (and I don't see any other possible purpose for that code) then try declaring X like this:
class X<T extends B<? extends A>> -
Icons are not visible when the form is run
I develop a form with only a push button. I developed form using oracle 10DS. I have saved my form in application server. To see an icon in my button, i did the following things:
1. In application server i made a jar named test.jar. It consists of just two gif images.
2. I copied this jar in application server's \forms90\java directory
3. I configured formsweb.cfg file as the following.
4. my \form90\java\oracle\forms\registry\registry.dat is as the following.
whenever i run form i can not see icon but in client's oracle jar cache jar is downloaded.
-------------------------------formsweb.cfg -------------------------------------------
=========================
# $Id: formsweb.cfg,v 1.24 2003/08/22 01:07:35 pkuhn Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (f90servlet)
# 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 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.
# 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)
[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: base HTML file for use with Microsoft Internet Explorer
# (when using the native JVM)
baseHTMLie=baseie.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>/forms90 if unset.
workingDirectory=
# System parameter: file setting environment variables for the Forms runtime
processes
envFile=default.env
# System parameter: JVM option for Microsoft Internet Explorer.
# This parameter specifies how to execute the Forms applet under
# Microsoft Internet Explorer 5.x or above. Put IE=native if you want
# the Forms applet to run in the browser's native JVM.
IE=JInitiator
# 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
# Forms runtime argument: database connection details
userid=
# 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=/forms90/l90servlet
# Forms applet parameter
codebase=/forms90/java
# Forms applet parameter
imageBase=codeBase
# Forms applet parameter
width=750
# Forms applet parameter
height=600
# 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=f90all_jinit.jar,classes12.jar,test.jar
# Forms applet archive setting for Microsoft Internet Explorer native JVM
archive_ie=f90all.cab
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer,
etc)
archive=f90all.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=/forms90/jinitiator/us/jinit_download.htm
# Parameter related to the version of JInitiator
jinit_classid=clsid:CAFECAFE-0013-0001-0017-ABCDEFABCDEF
# Parameter related to the version of JInitiator
jinit_exename=jinit.exe#Version=1,3,1,17
# Parameter related to the version of JInitiator
jinit_mimetype=application/x-jinit-applet;version=1.3.1.17
# 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/plugin/1.3/plugin-install.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version
=1,3,0,0
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;version=1.3
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
# Single Sign-On OID configuration parameter
oid_formsid=formsApp_drsshl_C75ED7E7CA18492FA35AA090350527B7
# Single Sign-On OID configuration parameter
oracle_home=E:\Oracle_SHLAS
# Single Sign-On OID configuration parameter
formsid_group_dn=cn=Logical Application Group,
orclApplicationCommonName=formsApp_drsshl_C75ED7E7CA18492FA35AA090350527B7,
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
# 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/servlet/f90servlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# 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 Named Configuration Section
# 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 Named Configuration Section
# Example 4: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms90/l90servlet/debug
[test]
form=E:\ict\ITSUPPORT\test.fmx usesdi=yes
userid=support/s00001@dshl
width=100%
height=100%
colorscheme=blue
pageTitle=ICT Support :: Just in Time
imagebase=codebase
archive_jini=f90all_jinit.jar,rolloverbutton.jar,getclientinfo.jar,infobutton.jar,test.jar
webUtilArchive=frmwebutil.jar,jacob.jar
baseHTMLjinitiator=webutiljini.htm
#lookAndFeel=Oracle
splashscreen=ash.gif
logo=none
separateFrame=false
******************************************** registry.dat
---=========================
# This is the Registry file.
# This file contains the logical [Java] Class name and an associated
# [numerical] identifier that will be used to refer to objects of the
# class in order to reduce the amount of information that needs to be
# repeatedly transmitted to the client.
# This file is of the Form understood by java.util.Properties (for now)
# The System Level sound file is relative to the CODEBASE
oracle.classById.1=oracle.forms.engine.Runform
oracle.classById.4=oracle.forms.handler.FormWindow
oracle.classById.5=oracle.forms.handler.AlertDialog
oracle.classById.6=oracle.forms.handler.DisplayList
oracle.classById.7=oracle.forms.handler.LogonDialog
oracle.classById.8=oracle.forms.handler.DisplayErrorDialog
oracle.classById.9=oracle.forms.handler.ListValuesDialog
oracle.classById.10=oracle.forms.handler.EditorDialog
oracle.classById.11=oracle.forms.handler.HelpDialog
oracle.classById.12=oracle.forms.handler.FormStatusBar
oracle.classById.13=oracle.forms.handler.MenuInfo
# oracle.classById.14=UNUSED
oracle.classById.15=oracle.forms.handler.ApplicationTimer
oracle.classById.16=oracle.forms.handler.MenuParametersDialog
oracle.classById.17=oracle.forms.handler.PromptListItem
oracle.classById.18=oracle.forms.handler.CancelQueryDialog
oracle.classById.257=oracle.forms.handler.TextFieldItem
oracle.classById.258=oracle.forms.handler.TextAreaItem
oracle.classById.259=oracle.forms.handler.FormCanvas
oracle.classById.261=oracle.forms.handler.ButtonItem
oracle.classById.262=oracle.forms.handler.CheckboxItem
oracle.classById.263=oracle.forms.handler.PopListItem
oracle.classById.264=oracle.forms.handler.TListItem
oracle.classById.265=oracle.forms.handler.CfmVBX
oracle.classById.266=oracle.forms.handler.CfmOLE
oracle.classById.267=oracle.forms.handler.RadioButtonItem
oracle.classById.268=oracle.forms.handler.ImageItem
oracle.classById.269=oracle.forms.handler.IconicButtonItem
oracle.classById.270=oracle.forms.handler.BlockScroller
oracle.classById.271=oracle.forms.handler.JavaContainer
oracle.classById.272=oracle.forms.handler.TabControl
oracle.classById.273=oracle.forms.handler.ComboBoxItem
oracle.classById.274=oracle.forms.handler.TreeItem
oracle.classById.281=oracle.forms.handler.PopupHelpItem
# Defaults for the Font details, all names are Java Font names. Each of
# these parameters represents the default property to use when none is
# specified.
# defaultFontname represents the default Java fontName.
# defaultSize represents the default fontSize. Note that the size is
# multiplied by 100 (e.g. a 10pt font has a size of 1000).
# defaultStyle represents the default fontStyle, PLAIN or ITALIC.
# defaultWeight represents the default fontWeight, PLAIN or BOLD.
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN
# Default Font Face mapping.
# appFontname represents a comma delimited list of Application Font Names.
# javaFontname represents a comma delimited list of Java Font Names.
# The number of entries in the appFontname list should match the number in
# the javaFontname list. The elements of the list are comma separated and
# all characters are taken literally, leading and trailing spaces are
# stripped from Face names.
# Note that this file uses the Java 1.1 Font names in order to be able to
# handle the NLS Plane (BUG #431051)
default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial, Kunstler Script
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif, Kunstler Script
# The Application Level icon files are relative to the DOCUMENTBASE
# example: icons/
# or an absolute URL.
# example: http://www.forms.net/~luser/d2k_project/
default.icons.iconpath=
default.icons.iconextension=gif
# Application level settings to control UI features
app.ui.lovButtons=true
app.ui.requiredFieldVA=false
# The background color is specified as an RGB triple.
app.ui.requiredFieldVABGColor=255,0,0
---====================================
I tried many times. But could not be successful. Then I just kept my icons in
\forms90\java directory without making jar. In my form, icon file name is the icon name without extension. Here, i can see my icon in button. but if i replace an icon
without changing the name of the icon, then i always see the old icon. The new icon, i can not see.
Please, help me with only Oracle 10g AS how i can see icon in button. Let's assume, there is not oracle 10g DS (any development tool) in the machine where the form is run.
Please, guide me clearly step by step so that i might be successful.
Thanks.
TKARIMThanks Bernard,
It works fine with JInitiator but not working with
the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
Thx and Regards
dkklau -
Report with Subreport - Summary Table On First or Last Page
Post Author: andbort
CA Forum: General
All-
My apologies in advance for the long post. I would like to know if something can be done in a single report instead of having to spread it across two reports. I will use generic (Xtreme sample database) field names to explain my dilemma. I currently have the following report:
Main Report
Customer ID, Customer Name
Subreport
Order ID, Order Amount, Customer ID
Each Customer and its associated subreport are displayed on a separate page. So it looks like this:
(first page)
1 City Cyclists
100 $200 1
101 $5000 1
102 $350 1
(second page)
2 Pathfinders
103 $760 2
104 $20 2
(third page)
3 Bike-A-Holics Anonymous
105 $120 3
106 $270 3
107 $400 3
And so on. This report often has numerous customers (i.e. ~10 or more customers, thus ~10 or more pages). The business users would like to have a "summary" page at the beginning of the report. This summary page would be in basic tabular format, with one row per customer, but each row would contain values from the subreport. So the updated report would look like this:
(first page)
Customer ID Customer Name Most Recent Order Amount
1 City Cyclists $350
2 Pathfinders $20
3 Bike-A-Holics Anonymous $400
(second page)
1 City Cyclists
100 $200 1
101 $5000 1
102 $350 1
(third page)
2 Pathfinders
103 $760 2
104 $20 2
(fourth page)
3 Bike-A-Holics Anonymous
105 $120 3
106 $270 3
107 $400 3
Is this possible in Crystal Reports 10?
Additional Background: The application in question is ASP.Net 1.1 (Visual Studio 2003) which displays reports designed in Crystal Reports 10. The actual report displays customer records in the detail section Da. There are 5 subreports, one in each section Da, Db, Dc, Dd, and De. The summary page could be rendered either at the beginning of the report (e.g. report header) or at the end (e.g. report footer), but will ultimately need to contain Customer table field values, as well as field values from two of the five subreports. I am hoping that this requirement can be addressed in a single report, instead of having to spread it across two reports (each displayed in its own CrystaReportViewer control on the web page). I am assuming that a solution to the generic example above will be applicable to my specific report.
Thanks,
Andrew Bort
National Grid
[email protected]Post Author: Guy
CA Forum: General
Hi,
If I understand you correctly, you could simply use a crosstab at the begginning of your report to summarize all customers. If you put it alone in its section you'll be able to specify that you want a page break after.
The remaining of the report should be a simple report where you group on your customer and the detail line showing a sale.
finally, if I was wrong above and you still need subreports, you can use a shared variable (or a parameter) to allow the main report to receive the total from the subreport.
Good luck! -
Please helppppppppppp in webutil as soon as possible
I am working with developer suite release 2 using OC4J and webutil 105 and I tried before it webutil 106 but I have the same error in both of them: oracle.forms.webutil.filefunctions bean not found
Please help i`m stuck in webutil for 4 days and I can`t solve this problem, here are my configurations from A to Z
A- I ran the script create_webutil_db.sql
B- I signed the webutil.jar and Jacob.jar files as follows:
I changed the signer.properties file to have the following values:
JDK_HOME=C:\j2sdk1.4.2_10
JINIT_HOME=C:\Program Files\Oracle\JInitiator 1.3.1.22
DN_CN=Product Management
DN_OU=Development Tools
DN_O=Oracle
DN_C=US
JAR_KEY=webutil
JAR_KEY_PASSWORD=webutil
I made a sign.bat file in C:\webutil\util with the following contents:
makecert
sign C:\webutil\lib\webutil.jar
sign C:\webutil\lib\jacob.jar
Then I opened the cmd and executed it.
After this I verified both C:\webutil\lib\webutil.jar and C:\webutil\lib\jacob.jar with the following command to ensure the certification
jarsigner verify C:\webutil\lib\webutil.jar
jarsigner verify C:\webutil\lib\jacob.jar
And in both commands the result was:
jar verified
Webutil folder location:
C:\webutil
Environment variables:
1-CLASSPATH=c:\webutil\lib\;c:\webutil\lib\webutil.jar;c:\oracle\ids9i\jlib\debugger.jar;c:\oracle\ids9i\jlib\ewt3.jar;c:\oracle\ids9i\jlib\share.jar;c:\oracle\ids9i\jlib\utj90.jar;c:\oracle\ids9i\jdk\jre\lib\rt.jar
2-
WEBUTIL_CONFIG=c:\webutil\server\webutil.cfg
3-
Path=c:\DevSuiteR2\jdk\jre\bin\classic;c:\DevSuiteR2\jdk\jre\bin;c:\DevSuiteR2\jdk\jre\bin\client;c:\DevSuiteR2\jlib;c:\DevSuiteR2\bin;c:\DevSuiteR2\jre\1.4.2\bin\client;c:\DevSuiteR2\jre\1.4.2\bin;C:\oracle\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\oracle\jdk\bin;C:\DevSuiteR2\jdk\bin
4-
FORMS=c:\DevSuiteR2\forms
5-
FORMS_BUILDER_CLASSPATH=C:\webutil\lib\webutil.jar;c:\DevSuiteR2\forms\java\frmbld.jar;c:\DevSuiteR2\jlib\importer.jar;c:\DevSuiteR2\jlib\debugger.jar;c:\DevSuiteR2\jlib\utj.jar;c:\DevSuiteR2\jlib\dfc.jar;c:\DevSuiteR2\jlib\help4.jar;c:\DevSuiteR2\jlib\oracle_ice.jar;c:\DevSuiteR2\jlib\jewt4.jar;c:\DevSuiteR2\jlib\ewt3.jar;c:\DevSuiteR2\jlib\share.jar;c:\DevSuiteR2\forms\java\frmall.jar
6-
FORMS_PATH=C:\webutil\forms;c:\DevSuiteR2\cgenf61\admin;c:\DevSuiteR2\forms
In Webutil.env in C:\webutil\server:
I changed the existing values to the following:
ORACLE_HOME=c:\devsuiter2
FORMS_PATH=c:\webutil\forms;c\devsuiter2\forms
CLASSPATH=c:\webutil\lib\webutil.jar;c:\webutil\lib\jacob.jar;c:\DevSuiteR2\jdk\jre\lib\rt.jar;c:\DevSuiteR2\jlib\debugger.jar;c:\DevSuiteR2\jlib\ewt3.jar;c:\DevSuiteR2\jlib\share.jar;c:\DevSuiteR2\jlib\utj.jar;c:\DevSuiteR2\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;c:\DevSuiteR2\jlib\repository.jar;c:\DevSuiteR2\jlib\ldapjclnt10.jar;c:\DevSuiteR2\jlib\zrclient.jar;c:\DevSuiteR2\reports\jlib\rwrun.jar;
WEBUTIL_CONFIG=c:\webutil\server\webutil.cfg
In forms.conf in C:\DevSuiteR2\forms\server:
# Virtual path for webutil
AliasMatch ^/forms/webutil/(..*) "c:\DevSuiteR2/forms/webutil/$1"
The contents of formsweb.cfg in C:\DevSuiteR2\forms\server:
# $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=
# 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
# Forms runtime argument: database connection details
userid=
# 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
# Forms applet parameter
height=600
# 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=0
# Single Sign-On OID configuration parameter
oid_formsid=%OID_FORMSID%
# Single Sign-On OID configuration parameter
oracle_home=c:\DevSuiteR2
# Single Sign-On OID configuration parameter
formsid_group_dn=%GROUP_DN%
# 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=True
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=/forms/webutil/webutil.jar,/forms/webutil/jacob.jar
archive_jini=frmall_jinit.jar,c:\webutil\lib\webutil.jar,c:\webutil\jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
baseHTMLjinitiator=c:\webutil\server\webutiljini.htm
baseHTMLjpi=c:\webutil\server\webutiljpi.htm
baseHTML=c:\webutil\server\webutilbase.htm
archive_jini=frmall_jinit.jar,C:\webutil\lib\webutil.jar,C:\webutil\lib\jacob.jar
archive=frmall.jar
lookAndFeel=oracle
envFile=c:\webutil\server\webutil.env
note:
I tried to put
webutilarchive= c:\webutil\lib\webutil.jar,c:\webutil\jacob.jar
Instead of
webutilarchive=/forms/webutil/webutil.jar,/forms/webutil/jacob.jar
But I still have the same error
In forms builder:
I opened C:\webutil\forms\webutil.olb
Noticing that WEBUTIL is added under Object Libraries
I opened C:\webutil\forms\webutil.pll
Noticing that WEBUTIL is added under PL/SQL Libraries
Then I compiled it
I Double-clicked on WEBUTIL under Object Libraries and Dragged WEBUTIL from WebUtil Objects the Object Groups under my form and i Clicked on [Copy] or (on subclass it doesn`t matter the error still occurs in both cases)
In Object Navigator, I Double-clicked on Attached Libraries and seleced webutil.pll.
Then I compiled all
And when I run the form the following error appears:
In case of webutil105:
WUC-015:your form must contain the following bean for this function to be available:oracle.forms.webutil.file.filefunctions
In case of webutil106:
.oracle.forms.webutil.file.filefunctions
WEB_UTIL_FILE_SELECTION_DIALOG_INT will not workhi there,
i m sending u some steps to configure webutil which i used to do the same.
it took me some time to configure it and i was also getting same errors(many more). but now its working fine...
please cross check each and every step
also dont forget to create a webutil schema and run the create_webutil_db.sql script. try to test ur application after creating some tables in the webutil schema itself(not in any other scema) . It should solve ur problem if not please send me the error.
why dont u sign ur frmwebutil.jar and jacob.jar files with the sign_webutil.bat in /forms/webutil directory.
Created by: Jitender Sharma.
Dated: 18th may 2006.
Configuring Your Database for WebUtil
1. Create a special user "webutil" on your database as the owner of the package supplied with create_webutil_db.sql.
grant connect, resource(if necessary),grant execute on <object> to webutil;
Some of the functions that WebUtil provides for file transfer in the WEBUTIL_FILE_
TRANSFER package require the database package WEBUTIL_DB.
The script called
create_webutil_db.sql is supplied in the forms directory to create this package.
(c:\devsuite10g\forms\create_webutil_db.sql)
(my oracle home is devsuite10g)
Make a public synonym of webutil_db so that it is accessible to all relevent users of the database.
Configuring Oracle HTTP Server for WebUtil
create a virtual directory called
j2ee/DevSuite/application-deployments/forms/formsweb/webutil
which maps onto the ORACLE_HOME/forms/webutil directory in the Oracle
Developer Suite and Oracle Application Server ORACLE_HOME directories.
For Oracle Developer Suite, add the following line to the file
j2ee/DevSuite/application-deployments/forms/formsweb/
orion-web.xml under the Oracle Developer Suite Oracle Home:
<virtual-directory virtual-path="/webutil" real-path="$ORACLE_
HOME/forms/webutil" />
In Oracle Application Server (c:\devsuite10g\forms\server\forms.conf), define the same virtual directory in the
forms/server/forms.conf file:
AliasMatch ^/forms/webutil/(..*) $ORACLE_HOME/forms/webutil/$1"
WebUtil Entries in the formsweb.cfg File
At runtime the Forms server must have access to the frmwebutil.jar. This should
be present in the ORACLE_HOME/forms/java directory. You define the name and
location of this jar file using the configuration parameter webUtilArchive that
passes the name of the frmwebutil.jar to the Forms server:
add following parameter to formsweb.cfg
WebUtilArchive=frmwebutil.jar,jacob.jar
Define the HTML templates to use with JInitiator and the Java Plug-in.
*These settings are already done by installer in forms 10g 1.2
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi - Should point to the baseHTML file for the Java Plug-in e.g.
baseHTMLjpi=webutiljpi.htm.
baseHTML - Should point to the baseHTML for WebUtil, e.g.
baseHTML=webutilbase.htm.
Note: For Oracle Application Server, on all platforms, you must
regenerate webutil.pll before using it; otherwise youll encounter error
ORA-06508 when running a form with the attached library. To
recompile, use the following command:
frmcmp module=ORACLE_HOME\forms\webutil.pll
userid=<webutil/webutil@dbconnect> module_type=library compile_
all=yes
The user ID can be any user with the required privileges as described
The FORMS_PATH must include the directory where a copy of webutil.pll exists.
FORMS_PATH=C:\DevSuite10g\forms\
The second requirement within the .env file is for an environment variable
WEBUTIL_CONFIG.
WEBUTIL_CONFIG=ORACLE_HOME\forms\server\webutil.cfg
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
The webutil.cfg File
transfer.database.enabled=true
transfer.appsrv.enabled=true
■ transfer.appsrv.accessControl=true
■ transfer.appsrv.read.1=d:\
■ transfer.appsrv.write.1=d:\work\upload
■ transfer.appsrv.write.2=d:\work\log
*The Formsweb.cfg file(this line is added for signing the frmwebutil.jar and jecob.jar)
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
Signing frmwebutil.jar and jacob.jar.
sign frmwebutil.jar and jacob.jar with the same key for that a .bat file(windows) and a .sh file(unix) is supplied in
C:\DevSuite10g\forms\webutil\sign_webutil.bat
c:\devsuite10g\forms\webutil>sign_webutil.bat c:\devsuite10g\java\frmwebutil.jar
c:\devsuite10g\forms\webutil>sign_webutil.bat c:\devsuite10g\java\jacob.jar
(If there is any problem in signing .jar files then we can sign these files in some other location and then copy them to /java directory provided we have webutil.zip and jacob.zip file).
*From oracle site:
You need to sign both the frmwebutil.jar and the jacob.jar with the same digital certificate. This is a one-time operation, which allows your end-users to trust that the JACOB routines can access client side resources. If you do not have an existing signing certificate or are not sure how to go about signing Jar files, scripts have been supplied in the forms/webutil directory for you.
Sign the Jar files using sign_webutil.sh in Unix or sign_webutil.bat in Windows:
Make sure that keytool and jarsigner are present in the path. They are usually available in the bin directory of your Java SDK installation.
Issue sign_webutil.sh in Unix, or sign_webutil.bat in Windows
QUICK CHECKLIST:
Preparation for Oracle10g Release 2:
1.Create webutil schema run create_webutul_db.sql
Create public synonym
2.Add the following in default.env
WEBUTIL_CONFIG= C:\oracle\product\Ora10gDS\forms\server\webutil.cfg
Append to existing CLASSPATH
CLASSPATH=C:\oracle\product\Ora10gDS\forms\java\frmwebutil.jar;
3. Append the configuration of
C:\oracle\product\Ora10gDS\forms\server\formsweb.cfg
archive_jini=fall_jinit.jar,frmwebutil.jar,jacob.jar
WebUtilArchive=frmwebutil.jar,jacob.jar
4. sign_webutil.bat C:\oracle\product\Ora10gDS\forms\webutil\jacob.jar
sign_webutil.bat C:\oracle\product\Ora10gDS\forms\java\frmwebutil.jar
5. In MyComputer, double-click on C:\oracle\product\Ora10gDS\forms\webutil.olb
You will notice that WEBUTIL is added under Object Libraries
Double-click on WEBUTIL in yellow
Click on Minimize icon
Drag WEBUTIL from WebUtil Objects to the Yellow Object Groups
Click on [Copy]
6. In Object Navigator, Double-click on Attached Libraries,
Select webutil.pll from C:\oracle\product\Ora10gDS\forms\Webutil
Run webutil.olg from C:\oracle\product\Ora10gDS\forms\Webutil
Copy to Object Group
Click on Program, Compile PL/SQL, All
Click on Program, Compile Module
7. Amend the C:\oracle\product\Ora10gDS\forms\server\default.env
FORMS_PATH=C:\Webutil_demo;C:\oracle\product\Ora10gDS\forms
Start OC4J
Run the form, it works!
hope u have patience to read it :-)
take care bye..... -
I am using form10g relese 10.1.2.0.2 I am getting the error
.ORACLE.FORMS.WEBUTIL.FILE.FILEFUNCTION BEAN IS NOT FOUND
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT WILL NOT WORK
when I press the button to get file name from client side the simple trigger is written on the button
:t:=client_get_file_name(null,null,null,null,open_file,true);
and I also attached webuitl.pll and I Drag WEBUTIL from WebUtil Objects to the Object Groups
Click on [Copy]
and the java console out put is shown below its seems that java bean are not avaible but when i swtich to the webutil canvasa from form it give me error FRM-13008 CANNOT FIND JAVA BEAN WITH NAME '\oracle\forms.webutil.ole.olefunction'.
JAVA CONSLOE OUTPUT
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\AdministratorProxy Configuration: no proxyJAR cache enabled
Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
Maximum size: 50 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://jip615:8889/forms/java/frmall_jinit.jar from JAR cacheproxyHost=nullproxyPort=0connectMode=HTTP, native.Forms Applet version is : 10.1.2.0java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: 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) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.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 java.lang.ClassLoader.loadClassInternal(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.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
and my formsweb.cfg is as follows# $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=
# 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,fileuploader90.fmx
# Forms runtime argument: database connection details
userid=
# 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 - WebUtil
# 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
# Forms applet parameter
height=600
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
background=/forms/demo/images/blue.gif
# 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
Webutil_config=e:\dev10g\forms\server\webutil.cfg
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
# 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=0
# Single Sign-On OID configuration parameter
oid_formsid=%OID_FORMSID%
# Single Sign-On OID configuration parameter
oracle_home=e:\dev10g
# Single Sign-On OID configuration parameter
formsid_group_dn=%GROUP_DN%
# 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=True
#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]
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
width=100%
height=100%
lookAndFeel=oracle
envFile=default.env
and my webutil.cfg is as follows
# 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
# 1. Server Side Logging Options for logging errors and log messages
# You must set logging.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
# logging.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.
# logging.enabled : Can be TRUE or FALSE
# logging.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
# logging.connections: Can be TRUE or FALSE. Setting to true will cause each
# connection from a client 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 that need
# them. You have to define the location of these files on the server
# Details
# install syslib.location : The virtual path to the directory holding the
# webutil library files on the server side. This
# must either be an absolute URL or a URL that is
# relative to the documentbase
# install.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
# Change size and version if necessary, like when upgrading the library.
# Normally this would not be required since most of these libraries come with
# install itself.
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
# You can also add your own libraries in here, e.g.
#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 from the database server.
# transfer.appsrv.enabled : Can be TRUE or FALSE - allows you to disable
# upload and download from the application
# server.
# transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
# store temporary files uploaded from the client.
# If no location is specified, Application Server
# user_home/temp will be assumed.
# This location is always readable and writable
# no matter what the settings in
# transfer.appsrv.* are. This setting is
# required if you need the Client side
# READ/WRITE_IMAGE_FILE procedures.
# 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
# subdirectories. 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=
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
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
install.syslin.location=/webutil
install.syslib.location=http://jip615:8889/forms/webutil
## change 2nd value to correct file size to avoid raising an error
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
#Application custom libraries
install.syslib.0.user.1=scanner.dll|23056|1.0|true
install.syslib.0.user.1=mortgagecalc.dll|100230|1.0|true
archive_jini=f90all_jinit.jar,frmwebutil.jar,jacob.jar
WebUtilArchive=frmwebutil.jar,jacob.jar
transfer.APPSRV.READ=C:\
transfer.APPSRV.WRITE.1=C:\WORK\UPLOAD
transfer.APPSRV.WRITE.2=C:\WORK\LOG
transfer.appsrv.workAreaRoot=d:\temp
transfer.appsrv.accessControl=TRUE
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
and my default enviornment file is as follows# $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=e:\dev10g
# 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=C:\Forms10gR2READ_FOLDER;e:\dev10g\forms
# webutil config file path
WEBUTIL_CONFIG=e:\dev10g\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
# e:\dev10g\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=e:\dev10g\bin;e:\dev10g\jdk\jre\bin;e:\dev10g\jdk\jre\bin\client;e:\dev10g\jlib;
e:\dev10g\jre\1.4.2\bin\client;e:\dev10g\jre\1.4.2\bin;f:\oracle\product\10.2.0\db_1\BIN
;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;f:\oracle\product\10.2.0\db_1\jdk;e:\dev10g\jdk\bin
# 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=e:\dev10g\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=e:\dev10g\forms\webutil;
e:\dev10g\forms\java\frmwebutil.jar;e:\dev10g\forms\java\jacob.jar;
e:\dev10g\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;
e:\dev10g\jlib\repository.jar;
e:\dev10g\jlib\ldapjclnt10.jar;
e:\dev10g\jlib\debugger.jar;
e:\dev10g\jlib\ewt3.jar;
e:\dev10g\jlib\share.jar;
e:\dev10g\jlib\utj.jar;
e:\dev10g\jlib\zrclient.jar;
e:\dev10g\reports\jlib\rwrun.jar;
e:\dev10g\forms\demos\jars\uploadserver.jar;
e:\dev10g\jdk\jre\lib\rt.jar;
e:\dev10g\forms\demos\lib;
e:\dev10g\forms\demos\\fileupload\forms
and I can able to successfully sign the .jar file from the same location.
with the following command to ensure the certification
jarsigner verify e:\dev10g\forms\java\frmwebutil.jar
jarsigner verify e:\dev10g\forms\java\jacob.jar
And in both commands the result was:
jar verified
but I didn't find the frmwebutil.jar.unsigned and jacob.jar.unsigned but frmwebutil.jar.old and jacob.jar.old file is existing there.
Plz help me its very urgent for me
and I hope any will give best solution for this problem.Do the following steps hope u will success
Requirement:
Jacob 1.8 (Do not attempt to use 1.7 or 1.9.)
Nls language in the registry should be English only one time till we compile the webutil.pll libaray once it compile you can change to any nls language.
Setps to follow:
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.
And also download webuitl 1.6 and extract to temporary staging area.
2) copy Jacob.jar and Jacob.dll to [ora_home]\forms\java\. and [ora_home]\forms\webutil\.
Replace frmwebutil.jar with [ora_home]\forms\java\frmwebutil.jar
Which was extracted from nw webuitl.zip file
3)Set the path for jdk
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
c:\set PATH=d:\10g\jdk\bin;%PATH%
3) From the command prompt Sign the files, and check the output for success:
[ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\frmwebutil.jar
[ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\jacob.jar
4) Modify d:\10g\\forms\server\default.env, and append [ora_home]\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to any schema.
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
8) ) 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;
Create a new button on a new canvas or any existing canvas but not in webutil 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).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append http://server:port/forms/frmservlet?config=webutil
10) Run your form. -
Multiple instances of the same APEX application under SSO
Currently we have several applications that are authenticated through Oracle SSO. The apps are authenticating correctly, but I can't be in multiple instances of the same application without having to re-validate through SSO when I move between instances.
Scenario: I'm successfully signed into my "parent" application, app_id 1 through SSO. I click a custom link that opens the "child" application (app_id 2) to view widget "A". When the page is launched I see the usual "Redirecting to the Login Server for authentication" message (verifying that I'm signed in through SSO) and then it succeeds and takes me into app 2, displaying widget A. I click the next link to launch another instance of app 2 with a different APEX session id for viewing widget "B". This also passes through SSO and redirects me into app 2, displaying widget B as expected. But now if I go back to navigate anywhere on widget A in my first instance, it has to go back through the "Redirecting to Login Server." This now means the widget A window is valid, but the widget B window will have to redirect next time I use it (back & forth & so on...)
So my question I suppose is: Is it possible/good practice to allow a single user to open multiple separate instances of the same APEX application using different APEX session_ids viewing different data under Oracle Enterprise SSO?
Guesstimation: It seems like there must be a switch somewhere in SSO that says "allow multiple application instances yes/no"...but my problem may be APEX itself, or how SSO is tied into APEX... Sorry for the super-generic example, I'm not exactly sure where I should be looking to resolve this, and the closest similar problem I found on the forums was here: login to application twice in two seperate IE windows clears other loginreset your dock preferences. delete the file homedirectory/library/preferences/com.apple.dock.plist and log out/in. your dock, spaces and exposé will be reset to the defaults. see if the problem goes away.
-
How to call a view without event handler onaction method.
Hi Experts,
I have develop a WD application. It has three views let view1, view2 and view3.
In view1 one button is there (onaction) which navigates to view2 through outbound plug wd_This->Fire_Out_Screen1_Plg( ). where Out_Screen1 is outbound plug of view1.
Now view2 appears , I want that after 10 seconds view2 automatically call view3, without action on view2.
I have written like wd_This->Fire_OUT_SCREEN2_Plg( ). where OUT_SCREEN2 is outbound plug of view2, which navigates to inbound plug of view3.
But its not working. Please suggest how to and where to write code to call a view without action .
for ur ref.Hi Bhagat,
Yes, you can attach media objects into a view
Using IFRAME ui element and html mime object.
Please refer the below link
To insert video in webdynpro - Web Dynpro ABAP - SCN Wiki
Using Flash Islands
Here, you need to have your audio/video file as flash object
Please refer the below tutorial on flash islands( a generic example )
Adobe Flash Islands for Webdynpro ABAP
Hope this helps you.
Regards,
Rama -
What is the use of customizing request prompt for every customizing we do?
Hi,
When ever there is a change which needs to be saved in Customization table/view, system is configured to promt for a Customizing request.
Basically a Customizing request can contain several customization changes or new customisation. This requests are used to transport the changes to the required client.
Generic Example:
Development Client (Only in this Client Customisation Changes are allowed) -
>Quality Client (The customization request is transported from Development client, hence no direct changes to customisation is possible) -
>Production client (The customization request is transported from Development client, hence no direct changes to customisation is possible - Few changes which are generally performed in this client are like "Factory calender setup, Number Ranges configuration).
Regards,
Prasobh
Maybe you are looking for
-
Time machine no longer backing up...please help!
I've scanned a lot of the posts already so I'm going to try to include as much information as I can: *The last time TM performed a backup was on 3/15 of this year. (hmmm...now that I look at it...perhaps it was the Ides of March that botched it all?.
-
Import Others' pictures uploaded to my mobileme gallery
I've successfully created a Mobileme gallery and have allowed others to uploads pics to it. Is there an easy way to import pictures other have uploaded into Aperture? When I sync the gallery I see those pics in Aperture but they don't appear to actua
-
Battery not charging when MBP is RUNNING
Strange thing just started happening, when my MBP is running my battery is not charging (green light on MS, says not charging on screen). When it is asleep or shut down I get an amber light and it does charge. It will also charge iPhone over USB. Whe
-
Integration of ATG module in Enterprise Application project
Hi, Could any one please give me steps for integrating a ATG module in a Enterprise Application.
-
I need to change my iTunes email address to match my current email