WebUtil provides much, but not all of the functionality I
need for my desktop integration. Will WebUtil be expanded to provide more features?While
WebUtil will continue to evolve and be enhanced by Oracle, WebUtil is an extensible
framework allowing you, as a developer, the ability to change and customize the
standard functionality. WebUtil is built around a core of APIs which offer all
the services that the component areas need. If you want to change or extend the
functionality of the WebUtil components you can do this by conventional coding
methods using the APIs and base classes. I keep getting a WUC-015 error,
what is it?WUC-15 means that the form has been unable to locate the beans
which perform the client side functionality. There are a number of issues you
need to check - Make sure the your environment is set up correctly;
including issues such as CLASSPATH and ensure it is no longer that 512 characters.
- Ensure
that the WebUtil object group has been dragged onto the form.
- By putting
the form into visual view, ensure that you have a window called WEBUTIL_HIDDEN_WINDOW
and that it contains a set of WebUtil Java Beans.
- If your forms does
already contain the WebUtil object group then the cause is likely to be that the
triggers used internally by the bean areas are uncompiled (usually because the
OLB was subclassed before the library was attached). To resolve the problem try
performing a Compile All on your module (ctrl-shift-k)
I try to run
the a simple host command like DIR and if fails. Why?In this case, DIR
is not a valid OS command - it is a command understood by the CMD or COMMAND executables.
As such, you need to tell WebUtil to run that command processor and pass the required
command to it. Typically, this would look like: Client_Host('CMD /C DIR');. The
same will apply to any instruction that would normally be handled by the command
processor. Running the WebUtil_C_API is causing the JVM to crash and leaves
a log file on the desktop.You are using the WebUtil_C_API and at the point
you are invoking your DLL through the API, the JVM crashes and leaves an error
log on the desktop. This may include information such as: at oracle.forms.webutil.cApi.CFunc.callInt(Native
Method)
at oracle.forms.webutil.cApi.CApiFunctions.invokeCApi(CApiFunctions:java:814)
at oracle.forms.webutil.cApi.CApiFunctions.getProperty(CApiFunctions.java:131)
This error is likely to be the fact that you are not using a pointer for
parameter which will change. For example: param2 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_INT
,WEBUTIL_C_API.PARAM_INOUT ,StringLength); --This will cause
the problem becuase the parmater is defined as INOUT but the type is C_INT
param2 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_INT_PTR
,WEBUTIL_C_API.PARAM_INOUT ,StringLength);
--This will work as
the inout parameter is now defined as being a pointer to and integer.
Running WebUtil on a UNIX or Linux box and you are getting WUT-121You
are using the WebUtil on a UNIX or Linux box and you are noticing a WUT-121 error.
When you are debugging you may also notice some control characters appearing at
the end of string. This could be down to the fact that the current WebUtil distribution
uses DOS format line ends rather than Unix ones - run the dos2unix command
to convert it and solve the problem Do I need client side permissions?Webutil
downloads install.syslib libraries into the bin directory of the JRE or JVM. The
client needs write permission in that particular directory. Are there any
performance considerations when transferring file?When using Oracle Forms
Webutil File transfer function, you must take into consideration performance and
resources issues. The current implementation is that the size of the Forms application
server process will increase in correlation with the size of the file that is
being transferred. This, of course, has minimum impact with file sizes of 10s
or 100's of KiloBytes. But transfers of 10s or 100s of Megabytes will impact the
server side process. |