Webutil documentation
I wish to use Webutil to develop Forms that access the client side Windows utilites. Is there any official documents with details on syntax and example of usage of Webutil?
Hello,
all the documentation is available on OTN.
http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
Francois
Similar Messages
-
Problem while configuring webutil on oracle application server 10g(9.0.4)
hi,
I have configured webutil with oracle application server 10g(9.0.4).JInitiator 1.3.1.17 is installed.
I did everything according to webutil manual.Then i developed a form using developer suit 10g (9.0.4).
and successfully compiled and attached webutil library.then i subclass
webutil object group from webutil.olb into my form,that is also
subclassed successfully.Form has also been compiled and saved
successfully.
also configured my formsweb.cfg,forms90.conf,default.env according to webutil documentation.
{color:#993366}Now when i run this form from client, it does not show form in the
browser and shows a message on the client browser console as follows{color}.
{color:#0000ff}*Applet oracle.forms.webutil.common.RegisterWebUtil*
{color} {color:#993366}After this message,It does nothing and if i refresh browser,it shows following message in the browser' Console.{color}
{color:#0000ff}*Applet oracle.forms.engine.Main notinited.*{color}
Note:In the browser ,loading java applet is also visible.
how should i resolve this problem?
any suggestion?
Its urgent.
Regards,
abbasyazdaniRefer this metalink note,
566628.1 How To Install Webutil on 10g Oracle AS
[email protected] -
Webutil crashes while calling Function in when-new-item-instance-trigger
Hello !
I use Oracle AS 10.1.2 and webutil 1.0.6 and Oracle Forms Developer Version 10.1.2.
When I call the webutilfunctions within a when-button-pressed or post-change trigger, everything works fine.
When I call the webutilfunctions within a when-new-item-instance-trigger i get an error message:
oracle.forms.webutil.file.FileFunctions bean not found.
CLIENT_TEXT_IO.fopen will not work
What are the reasons for this behavior ? How can I solve the problem ?
PLEASE HELP !!!!!!!!I think that this is well explained in the webutil documentation(pdf).
You cannot use the functions in the initialisation phase of the form, including triggers like When-New-Form-Instance, When-New-Block-Instance,etc...
The workaround is to use a timer to wait the necessary time for the beans to instantiate themselves.
Francois -
Hi,
1: "Pick a forum", a game for young and old.
I haven't posted here before because I've traditionally used the Metalink Forms forum. On failing to get problems resolved there, I've occasionally escalated by raising a TAR. A recent TAR concerned Webutil so I was phoned by a very friendly Support analyst who told me they couldn't help (webutil's still beta), and I should post my comments (see below) here in the 'discussion' forum, because "the product managers read them".
Are the Metalink forums and Discussion forums related in any way? If not why not, and how do I search for help efficiently? (It's only databases, right?) Which forum gives me a better chance of an authoritative answer?
2: It would be very useful to be able to write blob data to the App Server. Are there any plans to provide "webutil_file_transfer.db_to_AS"? If so, good, when? If not why not?
3: Webutil support (TAR extract):
I think Oracle ... has made a mess. We're encouraged to go Forms 9i because client-server is dying, and must not only pay heavily for the privilege but find once we're there that:
a) forms plus webutil cannot do everything 6i could. YOUR APP MAY NO LONGER WORK.
b) not all webutil calls work - yet (e.g. delete_file - awaiting a fix at 1.0.3, whenever that's due)
c) webutil is not supported at 9i
d) the webutil documentation (webutil_manual.pdf) is substandard - the only way to deduce details of the (misnamed) procedures is to examine the pll directly and guess how to use them.
e) the only support is via Metalink, and the only response you get there is 'you can use webutil, read the documentation'. Loop to a).
You could save your users a lot of time (=money) and grief by sticking something similar to the following in all relevant documentation (and passing it on to the Metalink folk):
Webutil limitations:
1) Webutil cannot be used to read or write BLOB data directly.
2) To open a BLOB in an application, you must use webutil's file transfer functions to download to the client (NB NOT the App Server), then use e.g.
web.show_document(<filename>?mimetype=<whatever>)
3) To edit a BLOB, the user must download it, make changes then manually
re-upload.
Finally I'd like to second some comments in other posts about the webutil file_select and file_open dialogs: they confuse users by behaving in a non-Windows manner, and in my experience are unusably slow when exploring large folders.
All responses most welcome.
JDThank you for your comments- maybe I can address your concerns.
As is stated in the webutil FAQ - webutil "[webutil] is delivered as a preview release and as such is not yet a fully integrated and supported feature of Oracle9i Forms. However, help is provided by the use of the Forms forum."
So, this is correct forum on which to be posting your webutil question.
With respect to your second question about moving blob data to the application server - this is not really within the realms of what webutil is targetting since the need to write data from the database to where the Forms runtime is running is the exact same when running client/server or running on the web.... webutil tends to target those differences in moving to a 3 tier architecture.
a) There are some difference in architecture between c/s and web and as such there are some limitations. These have been well documented and workarounds indicated.
b) I assume you refer to bug:<Bug:3151674> which is fixed and in the production candidate release which is documented in the webutil FAQ when this will be released.
c) Correct - it will be formally supported in 10g - please note however that for Forms 10g is regarded as a minor release to 9i (so you gain many benefits for a minor release change)
d) Please feel free to post specific comments and we can address these (the misnamed procedure has been fixed).
e) Until production, support is through the forum.
Regarding the file selection - while you are running on a windows machine you must be aware that the client is actually running in a JVM and so is essentially a Java client. There has been an enhancement request to make this a windows specific dialog.
Could I also draw your attention to http://otn.oracle.com/oramag/oracle/04-mar/o24news.html which documents the great benefit that webutil has brought to a particular development.
Regards
Grant Ronald
Forms Product Management -
Hi,
I have been trying to run a simple form on OAS (running on 2003 server) to test webutil functions for a few days and it is giving
the error 'WUC-015 Your form must contain the following bean for this function to be available: oracle.forms.webutil.file.FileFunctions'
I built and compiled the form as described in the webutil documentation( I have attached webutil.pll and copied the object group to the form as a subclass) after adding the neccessary packages to the schema.
I set ORACLE_HOME, FORMS90_PATH(pointing to /webutil/forms directory), CLASSPATH(for webutil.jar, rt.jar),WEBUTIL_CONFIG,FORMS90_BUILDER_CLASSPATH in default.env file appropriately.
I set the virtual directories by adding
AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
AliasMatch ^/forms90/f90servletwebutil/(..*) "c:\webutil/lib/$1" to forms90.cfg
and
<virtual-directory virtual-path="/webutil"
real-path="C:\webutil/lib" /> to orion-web.xml
I added the following lines to formsweb.cfg file:
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
baseHTML=c:\webutil\server\webutilbase.htm
baseHTMLjinitiator=c:\webutil\server\webutiljini.htm
baseHTMLjpi=c:\webutil\server\webutiljpi.htm
I also dowloaded jacob.jar and signed both the webutil.jar and the jacob.jar as described in readme.html.
My forms developer is 9.0.4 and db is 10g. I checked out webutil FAQ but could not solve the problem.
Can you help, where am I making a mistake?
Thanks in advance
NihalDear Nihal,
I recommend that you have a look at the following thread
"wuc-15 form must contain the following bean"
registered on Jul 30, 2005 2:03 AM by svetlikp
as it sounds like the same or a similar problem that you discribe.
Good luck!
Randy -
WebUtil release 1.0.6 and Forms 9i (9.0.2)
Hi: According to the WebUtil documentation, the currently available release of WebUtil works only with Forms 10g (9.0.4 or after) and has not been certified to work with any other version.
Does anyone know if the currently available WebUtil will work with forms 9i (9.0.2)?
Are there any archived copies available through Oracle of perhaps an earlier version of WebUtil that will work with Forms 9i?
ThanksHello,
<p>
Webutil 102
Webutil 105
</p>
Francois -
How does one catch WebUtil exceptions?
We are automating Microsoft Word using the CLIENT_OLE2 built-in. In some cases, our requirements demand that Word be running in a visible window. One of our processes automates the same Word session repeatedly -- when a user unwittingly closes Word, and our process attempts to further automate the now-closed Word session, exception WUO-714 is raised, and an alert is displayed.
The WebUtil documentation indicates that logging can be configured silently log exceptions without an alert being displayed, but I cannot find a way to actually catch them. Our process could recover gracefully from the scenario described above by simply relaunching Word -- if only we could catch the exception!
Has anyone else already figured out to accomplish this?
Thanks,
Eric Adamson
State of MichiganHerzliche Begrüßen Gerd,
Thanks for your reply -- the error occurs in a PL/SQL block. Since my initial post, I have discovered that my test code contained a WHEN OTHERS THEN NULL statement. (When coding blocks, I often complete them with NULL statements, as I compile very often, to simplify tracking down errors. This strategy works wonderfully, when I remain focused, but the distractions of researching WebUtil errors evidently led me to overlook my mistake. Perhaps others may learn from my embarrassing lesson.)
In any case, I am now able to catch the exception, and to handle it appropriately. Most importantly, readers should note that it was necessary to change the WebUtilErrorMode entry in FORMSWEB.CFG. By default WebUtilErrorMode=Alert -- this causes the error alerts to pop up, regardless of whether/not the exception ultimately gets handled. I have set WebUtilErrorMode=Console.
Thanks for reading, and congratulations on winning the match with Costa Rica!
Regards,
Eric Adamson
Lansing, Michigan -
Webutil package don't save and load files
As above, nothing happens but there are no errors. Anybody knows why ?
A BLOB is required. I would recommend that you review and execute the sql script provided with Forms 10.1.2 (in \forms directory). The file name is create_webutil_db.sql. Also review the WebUtil documentation. Here is the reference for specifically this topic.
WebUtil Documentation on OTN -
Urgent !!! FRM-90926--- Webutil
Hi,
i am trying to use webutil in Forms. I am using Forms 9iDS. when i am running the forms i am getting the error FRM-90926 ' Duplicate parameter on Command LIne'
my java console is giving the following message
Loading http://localhost:8888/forms90/webutil/webutil.jar from JAR cache
Loading http://localhost:8888/forms90/webutil/jacob.jar from JAR cache
Loading http://localhost:8888/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
connectMode=HTTP, native.
Forms Applet version is : 90290
RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
connectMode=HTTP, native.
Forms Applet version is : 90290
my formsweb.cfg configuration is below
[webutil]
form=c:/testwebutil.fmx
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
baseHTML=c:\webutil\server\webutilbase.htm
baseHTMLjinitiator=c:\webutil\server\webutiljini.htm
baseHTMLjpi=c:\webutil\server\webutiljpi.htm
archive_jini=f90all_jinit.jar
archive=f90all.jar
lookAndFeel=oracle
width=100%
height=100%
envFile=webutil.env
and my ENV file configuration is below
ORACLE_HOME=c:\Oracle9i
FORMS90_PATH=c:\webutil\forms
CLASSPATH=c:\webutil\lib\webutil.jar;c:\Oracle9i\jlib\debugger.jar;c:\Oracle9i\jlib\ewt3.jar;c:\Oracle9i\jlib\share.jar;c:\Oracle9i\jlib\utj90.jar;c:\Oracle9i\jdk\jre\lib\rt.jar
WEBUTIL_CONFIG=c:\webutil\server\webutil.cfg
i put the alias in the forms90.conf as
AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
i will really appreciate any suggestion regarding this problem
Thanks in advance
MamunHi Grant,
Thanks for the reply. Answer to your questions are
#1 No, when i run other forms, i don't have any problem.
#2 i just added the simple webutil call as given in the webutil documentation. i did all the necessary steps and then when i try to execute the form i am getting this error.
#3 the problem appears at startup, when i try to execute the form using the url in Internet explorer
http://localhost:8888/forms90/f90servlet?config=webutil
then i get that error message and nothing happens after that,
Thanks,
Mamun -
Hi all
i have installed developersuit10g release2 and configured the webutil according to webutil_demo. but when i run the demo form wu_test_106 it gives me error ORA-06508.
i checked avaerything its according to the demo document. i also download the webutil Diagnostic Form from METALINK and run this form it gives me 0 ERRORS and 0 WARNINGS.
can any body help me regarding thisWebutil Diagnostic Form mainly helps you to check if you have a missing configuration in your environment, for example: it checks the existence for webutil jar files, the dll files, ...etc
if the result is 0 errors and 0 warnings, then your configuration seems correct, I'd suggest, as Alex mentioned, first to open the webutil.pll and the fmb and recompile it.
For webutil logging options, it is defined in the webutil.conf file:
logging.file=
logging.enabled=FALSE
logging.errorsonly=FALSE
logging.connections=FALSE
For more information, please refer to WebUtil Documentation
http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf
Regards, -
Some Difficult Terms in Forms 10G Webutil Config.
I have no idea of webutil that how can i configure it. Because i am new in Oracle Internet Applications, previously i was using forms 6i (Desktop Applications) with d2kwutil.
I read
1. " Edit your /forms/server/formsweb.cfg file",
2. The second requirement within the .env file is for an environment variable
WEBUTIL_CONFIG. This variable must point at the name and location of your
webutil.cfg file. By default this is in the ORACLE_HOME/forms/server directory
e.g.
WEBUTIL_CONFIG=ORACLE_HOME\forms\server\webutil.cfg
3. 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
plz plz plz help me to configure webutil because i really cant understand the terms and file names which are telling in WEBUTIL documentation.
If any of you people can tell me the easiest way to configure the webutil STEP BY STEP or can give me the picture representation of WEBUTIL configuration.dear Gerd Volberg
i have dowloaded the forms and database hardly 4 or 5 days back from Oracle Downloads.
I guess these are the latest release. But i do not have any application server. I have just Database and Form Builder. Please Please Help me. -
Error occurescan;t attatch library webutil
hello and hi
me install new form 10g with form 9i
when i attach webutil.pll with a form and write a code at bush button for open dialog box
DECLARE
mDialog VARCHAR2(100);
BEGIN
WEBUTIL_BROWSER.browsermessage (WEBUTIL_FILE_TRANSFER.GET_WORK_AREA());
mDialog := WEBUTIL_FILE.FILE_SELECTION_DIALOG
('c:\temp','','*.*','c:\temp',"OPEN_FILE", TRUE);
WEBUTIL_BROWSER.browsermessage(mDialog);
END;
when i run form that error occurs
Frm-40039 ;Can't attach library webutil while opening form "Form Name"
regard
mahrHave you correctly integrated WebUtil into your application?
1. Are the WebUtil objects copied or subclassed into your form?
2. Have you compiled webutil.pll into webutil.plx?
3. Is webutil.plx on a directory that is included in FORMS_PATH?
More information can be found in the WebUtil documentation on OTN:
http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
Refer to the section titled "Collateral" on the top-right side of the page. -
Webutil & java.lang lib
Hello
I read and make all webutil documentation, when i call a form with webutil the error in java console is:
Loading http://aragorn:8888/forms90/java/f90all_jinit.jar from JAR cache
Loading http://aragorn:8888/forms90/java/webutil.jar from JAR cache
connectMode=HTTP, native.
La versi�n del applet Forms es: 90290
connectMode=HTTP, native.
La versi�n del applet Forms es: 90290
java.lang.NoClassDefFoundError: com/jacob/com/ComFailException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.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)
Please help me
Regards
DanielYou've not followed the extra instructions in the readme.html file these document the installation of the jacob libraries
-
I have followed the webutil documentation line per line except for the jacob.jar part of it since i do not need the file transfer functionality. I have tried starting from scratch on the documentation several times and I still get this error message from the java console when i run my form:
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\rolloren
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\rolloren\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>
load: class oracle.forms.webutil.common.RegisterWebUtil not found.
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 sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Loading http://cog12354.glendaleaz.com:8889/forms90/java/f90all_jinit.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
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)
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)
This form has a button that executes a program unit to do some client_text_io stuff. I have not even pressed this button and this error shows up. In Form builder, I can see the webuitl canvas and the associated data block. When I try to open up the webutil canvas, It gives me an error :
FRM:13008 Cannot find JavaBean with name
"oracle.forms.webutil.clientInfo.GetClientInfo"
I hit "OK" and goes through each and every JavaBean found in the webutil data block.
Can somebody shed some light on this? Where I should start looking at with this kind of error?
Thanks for all your help.
RafaelCompilation errors on WEBUTIL_DB_LOCAL:
PL/SQL ERROR 201 at line 9, column 11
identifier 'WEBUTIL_DB.OPENBLOB' must be declared
PL/SQL ERROR 0 at line 9, column 4
Statement ignored
PL/SQL ERROR 201 at line 18, column 11
identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
PL/SQL ERROR 0 at line 18, column 4
Statement ignored
PL/SQL ERROR 201 at line 24, column 4
identifier 'WEBUTIL_DB.WRITEDATA' must be declared
PL/SQL ERROR 0 at line 24, column 4
Statement ignored
PL/SQL ERROR 201 at line 29, column 11
identifier 'WEBUTIL_DB.READDATA' must be declared
PL/SQL ERROR 0 at line 29, column 4
Statement ignored
PL/SQL ERROR 201 at line 35, column 11
identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
PL/SQL ERROR 0 at line 35, column 4
Statement ignored
PL/SQL ERROR 201 at line 40, column 11
identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
PL/SQL ERROR 0 at line 40, column 4
Statement ignored
PL/SQL ERROR 201 at line 45, column 11
identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
PL/SQL ERROR 0 at line 45, column 4
Statement ignored
Failed to generate library. -
Client.ole2 is not working
Hi i'm migrating to from fomrs 4.5 to 10g as DDE package are not supported in the
10g. i'm using client.ole2
I have written following code to open a stored excel sheet(which is a template for entering the data). this is not working not giving any error.
please tell me where is the error
declare
application client_ole2.obj_type;
workbooks client_OLE2.OBJ_TYPE;
workbook client_OLE2.OBJ_TYPE;
worksheets client_OLE2.OBJ_TYPE;
worksheet client_OLE2.OBJ_TYPE;
worksheet2 client_OLE2.OBJ_TYPE;
worksheet3 client_OLE2.OBJ_TYPE;
args1 client_ole2.list_type;
L_PATH VARCHAR2(100);
COMMAND1 VARCHAR2(5000);
BEGIN
l_PATH := SFN_GET_DIRECTORY_PATH('DIR0003');
COMMAND1 := L_PATH||'\Formats\EMP_NEW_UPLOAD.xls';
application := Client_OLE2.create_obj('Excel.Application');
workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
args1 := Client_Ole2.create_arglist;
Client_Ole2.add_arg(args1, 'c:\emp.xls');
workbook := Client_Ole2.invoke_obj(workbooks, 'Open', args1);
worksheets := Client_Ole2.get_obj_property(workbook, 'worksheets');
CLIENT_OLE2.destroy_arglist(args1);
CLIENT_OLE2.SET_PROPERTY(application,'Visible',1);
CLIENT_OLE2.SET_PROPERTY(application,'DisplayAlerts',0);
end;As Gerald Krieger suggests, it sounds as if you have not installed the Jacob library correctly. Most WebUtil functions, like CLIENT_GET_FILE_NAME, are included in the base 10g install -- OLE functionality, however, is not. This is because the Jacob library, which is required for OLE support, is not an Oracle product and, as such, could not legally be distributed by Oracle.
Jacob can be downloaded from http://sourceforge.net/projects/jacob-project
Configuring the OC4J for developing/testing OLE-enabled forms involves these steps:
1. Download the Jacob library and extract two files -- jacob.jar & jacob.dll
2. Place a signed copy of jacob.jar in ...\forms\java
3. Place a copy of jacob.dll in ...\forms\webutil
4. If you are not using Jacob 1.8, but are instead using a different version, you must edit ...\forms\server\webutil.cfg by locating the line which contains install.syslib.0.7.1=jacob.dll|94208|1.0|true and replacing 94208 with the size (in bytes) of your particular version of jacob.dll
If these instructions are unclear, please accept my apologies and refer to the WebUtil documentation for details.
Finally, be aware that your forms will not deploy correctly unless ...\forms\webutil.pll has been compiled. You must be connected to a WebUtil-ready database in order for webutil.pll to compile successfully.
Hope this helps,
Eric Adamson
Lansing, Michigan
Maybe you are looking for
-
Under "about this mac" and "system report" my hard drive is described as 750gb with 4 sub categories 1-Macintosh HD 2-recovery hd 3-untitled 4-recovery hd. I have almost filled the macintosh hd and am getting low memory warnings. How do I access th
-
Applications Icon in Dock looks like Address Book
Hi - I'm suspicious about why my Applcations icon in the dock doesnt look like the Applications icon in the Finder window. Instead it looks like the Address Book with something hiding behind it. Really! Is this correct? If not, how do I remedy this?
-
Hello. Has anyone succeeded in getting Solaris to recognize disks attached in a Dell PowerVault MD1000 connected through a PERC5/E controller? These disks arent found during installation. If anyone could give me some pointers I'd gladly appreciate th
-
Problems wit creating a new database on solaris wit dbca ORA 09925/ORA-1031
Hi Oracle users, I'm using Oracle 10gR2 on Solaris and try to create a new database instance. I'm using dbca for that task. After making all the settings I get the error ORA-09925 and then ORA-1031. For the second error I found the advice to run te r
-
I had itunes 6.0.5....I never thought about upgrading until I got some gift cards that could only be used if you have itunes 7!!! So I tried to upgrade to itunes 7.0.x and all the installation went great. But when I try to open up the actually itunes