WebUtil and Forms 9i
HI Gentlemen,
I have downloaded and installed WebUtil exactly as stated in the PDF document, with the Additional Installation Steps, too.
However, when I start a very simple form which only has a non-DB block with a text item and a button, I always get the following:
WUC-015: Your Form must contain the following Bean for this function to be available:
oracle.forms.webutil.browser.BrowserFunctions
Help states that dragging the record group into the form would be beneficial. Sorry, it is not. The error persists.
Could anyone of you help me?
Thanks, regards from
Miklos HERBOLY
HI Grant,
Thank you for your reply. I consulted the FAQ and came to the following:
1. CLASSPATH etc. is OK
2. The object group has been dragged onto the form
3. WEBUTIL_HIDDEN_WINDOW is present, but it does not contain any beans. How do beans get into a window? This may be a mistake and is obscure to me
4. Attaching the library and OLB subclassing have been performed in the proper order. However, if I call show_webutil_information(false) in a PRE-FORM trigger, and the OLB is SUBCLASSED, it still does display that information window. When I COPY the OLB, as done in the Webutil demo, it's OK.
And webutil_separatewindow.seticon(...) keeps failing with WUC-015.
Where am I wrong?
Thank you in advance, kind regards from
Miklos HERBOLY
Similar Messages
-
Is WebUtil certified with Forms 11g?
Thanks
Steve PeartNisar
Thanks, where have you seen this certification information as I have been unable to find it? We are using WebUtil with Forms 9.0.4, are are contemplating migrating Forms directly to 11g.
Steve -
Hi,
I'm currently converting a forms 6.0 application to forms 10g. My application has the file upload and download functionality. I researched the webutil 9i beta version, but my infrastructure team would not allow this to be installed in the 10g app server production environment because it's not supported.
I looked into the OC4J fileupload and filedownload javabean that comes with the oracle 10g iDS installation. Is webutil built on these javabeans?
What are other alternatives I could use that I don't know about? Please help.
Last question, when will webutil released to production? I desparately need this utility since I don't know too much about JavaBean coding and tie to forms.
Thanks,
JenniferHi,
the problem is that Forms Developer tries to acces steh bean, which requires ojsputil.jar to be set in the Forms90_Builder_Classpath. However, even then it wont work because the oracle.jsp.webutil.fileaccess class doesn't implement the IView interface or extends teh VBean class. You could use it with the FBean package which works with Beans that don't implement the Forms interfaces. However, the oracle.jsp.webutil.fileaccess class seems to be a JSP class which doesn't work at all in Forms.
The best way to approach bean development for Forms is to read this whitepaper
http://otn.oracle.com/products/forms/pdf/forms_in_java_world.pdf
and then install the Forms 10g demos and look at the source code. We do our best to comment the demo source so that you know what the code does.
Frank -
Pop-up windows with webutil and Forms
Hello,
We are using webutil for file transfer : webutil_file.xxx
But with oracle forms, it call a black windows to execute the command.
How to hide this windows?The pop-up is for a look up table. So for example they can
choose from a drop menu and if your choice is not there then they
can select add to look up and a pop-up open and allows then to
add/edit or delete fields in the look up table. I want to have the
pop-up window adjust dynamically to the size of the look-up
list....make sense?
You can check it out here.
Look
up edit
B -
10g WebUtil and Forms 9i?
I had trouble with an earlier version of WebUtil. Does the latest version, 10g WebUtil, work in Forms 9i?
Thanks.
gkIt's not supported by Oracle but it can work with 9i.
-
Configuration problem running webutil demo form WU_TEST_106
Hi,
I am running the web util demo form from OTN, it works ok till I access the OLE tab and try to write some text to a *.doc file.
The java console spits out this text:
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmall_jinit.jar from JAR cache
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmwebutil.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkLink(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)
at oracle.forms.webutil.ole.OleFunctions.create_obj(Unknown Source)
at oracle.forms.webutil.ole.OleFunctions.getProperty(Unknown Source)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I followed the steps layed out for configuring webutil in the users guide, I suspect the problem is related to signing the jacob.jar file.
I signed jacob.jar using $ORACLE_HOME/forms/webutil/sign_webutil.bat, I made sure ORACLE_HOME/jdk/bin was in PATH.
I received these warning/errors at this point
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
There were warnings or errors while generating a self signing certificate. Please review them.
Backing up d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar as d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.old...
1 file(s) copied.
Signing d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar using key=webutil2...
jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
I am running forms 10.1.2. How do I resolve this problem.
Your help is greatly appreciated.
Jim
.Well, I think the problem is a permission issue or there is a problem finding the correct files. Let me explain:
1. The first error is expected. Read it carefully and consider what you did to this point.
Generating a self signing certificate for key=webutil2...
keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
This is expected because the alias was already created when signing frmwebutil.jar. Since the alias only needs to be created one time, this is expected and can be ignored.
2. The second error is your real issue:
jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
My suggestion:
1. Delete all jacob files including any which may have been renamed.
2. Re-download the correct Jacob version as noted in the WebUtil and Forms documentation. Do NOT attempt to use a newer version as it will cause a failure.
3. Copy the jacob.jar file in the same directory which contains the cortousy signing script (batch) Oracle provides.
4. Ensure that you have (Windows) Administrative permissions on the machine.
5. Open a DOS shell and change directories (cd) to the directory which contains the signer script.
6. Set the PATH to include the JDK\bin. For example:
SET PATH=d:\oracle\Product\dev10gR2suite\jdk\bin;%PATH%
7. Execute the jarsigner script.
sign_webutil jacob.jar
As already mentioned you can ignore messages which suggest that the alias already exists. However, pay attention to any others.
8. Assuming it works correctly, copy jacob.jar to ..\forms\java
9. Clear the JAR cache from whichever JRE (Jinitiator) you are using.
10. Retest -
How to download and install webutil in FORMS 10G 10.1.2.0.2
Where i find all the step to
how to download and install webutil in FORMS 10G 10.1.2.0.2
i DON'T FIND NOTHING OF VERY GOOD TO FOLLOW !!!hi
u do not need to install any webutil in R2 u just need to configure few things.
please read the following notes and try to configure.
How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running, using WebUtil 1.06.
Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
Feel free to copy this note to a text editor, and do a global find/replace on
[OraHome] with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
2) Copy or move jacob.jar and jacob.dll
[JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
cd [JacobStage]
copy jacob.jar [OraHome]\forms\java\.
copy jacob.dll [OraHome]\forms\webutil\.
The Jacob staging area is no longer needed, and may be deleted.
3) Sign frmwebutil.jar and jacob.jar
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
set PATH=[OraHome]\jdk\bin;%PATH%
Sign the files, and check the output for success:
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is recommended
for no reason other than consistency over the user base.
Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
out the EXIT statement, to be able to see whether the objects were created witout
errors.
Start SQL*Plus as SYSTEM, and issue:
CREATE USER webutil IDENTIFIED BY [password]
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/[password]@[connectstring]
@[OraHome]\forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
Reconnect as SYSTEM, and issue:
grant execute on webutil_db to public;
5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
It is important to generate the PLX, to avoid the FRM-40039 discussed in
Note 303682.1
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
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;
to avoid having to connect to an RDBMS (optional).
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
10) Run your form. -
Configure webutil in forms 10g
Hi all,
can anybody help me how to configure webutil in forms-10g (10.1.2)
software config:
OS: windows XP
same system is itself application server
Forms: oracle developer suite-10g
database oracle 10g
and i installed java 1.6.30
while i am trying to sign the webutil following error is occured
D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
Generating a self signing certificate for key=webutil2...
...successfully done.
Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
s\java\frmwebutil.jar.old...
1 file(s) copied.
Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
plese help me how to resolve thisnagaraj wrote:
Hi all,
can anybody help me how to configure webutil in forms-10g (10.1.2)
software config:
OS: windows XP
same system is itself application server
Forms: oracle developer suite-10g
database oracle 10g
and i installed java 1.6.30
while i am trying to sign the webutil following error is occured
D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
Generating a self signing certificate for key=webutil2...
...successfully done.
Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
s\java\frmwebutil.jar.old...
1 file(s) copied.
Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
'jarsigner' is not recognized as an internal or external command,
operable program or batch file.
There were warnings or errors while signing the jar. Please review them.
follow this
Open a DOS command prompt.
Add C:\DevSuiteHome_1\jdk\bin to the PATH:
set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
Sign the files, and check the output for success:
C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jarhope this will help you
If someone's response is helpful or correct, please mark it accordingly. -
FRM-92101 in wu_test (the webutil demo form)
Error:
FRM-92101 in wu_test (the webutil demo form)
Problem:
I am attempting to run the wu_test form, downloaded with demos for webutil 1.02.
Running wu_test or another form containing webutil functions results in
FRM-92101 in the form's window and the following error in the OC4J console.
"Forms session <1> aborted: unable to communicate with runtime process."
Environment:
Java Client: Tried with both Sun Java Plug-In 1.4.2.04/5 and Jinitiator 1.3.1.17
Application Server: Oracle 9.0.4 iDS (Orion Development OC4J)
Database: Enterprise Edition 10.1.0.2.0
Forms Listener Servlet
Attempted Solutions:
I have scoured OTN & MetaLink & tried everything I could find with no luck. I
apologize for the length of this post, but I want to provide as much information
as possible re: what I've tried and my environment.
For instance, the remedy in Note 252600.1, which can cause these symptoms, did
not help.
This note states:
In webutil.cfg modify
install.syslib.location to an absolute URL, replacing the line:
install.syslib.location=/webutil
To an absolute URL like:
install.syslib.location=http://[host]:[port]/forms90/webutil
(replacing [host] and [port] with your own values) or
install.syslib.location=//../webutil
Other Information:
Other forms (ones that don't contain webutil functions/beans) run fine with the same
env and config used for webutil.
The wu_test form is already set up so first navigation item is not on the
webutil canvas, but on the "demo" canvas.
OC4J Console:
C:\Program Files\Common Files\System\MAPI\1033\nt>C:\Ora10giDS\jdk\bin\java -Xbo
otclasspath/p:C:\Ora10giDS\vbroker4\lib\vbjboot.jar -Doracle.security.jazn.confi
g=C:\Ora10giDS\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\Ora10giDS -DORACLE
_HOME=C:\Ora10giDS -jar C:\Ora10giDS\j2ee\home\oc4j.jar -userThreads -config C:\
Ora10giDS\j2ee\DevSuite\config\server.xml
04/07/29 15:46:09 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initialized
04/07/29 15:46:19 FormsServlet init():
configFileName: C:\Ora10giDS/forms90/server/formsweb.cfg
testMode: false
04/07/29 15:46:35 ListenerServlet init()
04/07/29 15:46:51 Forms session <1> aborted: unable to communicate with runtime
process.
Orion webserver application.log:
04/07/29 15:46:07 Started
04/07/29 15:46:19 forms90web: jsp: init
04/07/29 15:46:19 forms90web: f90servlet: init
04/07/29 15:46:19 forms90web: FormsServlet init():
configFileName: C:\Ora10giDS/forms90/server/formsweb.cfg
testMode: false
04/07/29 15:46:19 forms90web: 9.0.4.0.0 Started
04/07/29 15:46:35 forms90web: l90servlet: init
04/07/29 15:46:35 forms90web: ListenerServlet init()
04/07/29 15:46:51 forms90web: Forms session <1> aborted: unable to communicate with runtime process.
04/07/29 15:46:51 forms90web: Forms session <1> exception stack trace:
java.io.IOException: FRM-93000: Unexpected internal error.
Details : No HTTP headers received from runform
at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Java Console:
Java(TM) Plug-in: Version 1.4.2_05
Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\isellers
Proxy Configuration: No proxy
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
oracle.forms.net.ConnectionException: Forms session <1> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
Or JInitiator Console:
Oracle JInitiator: Version 1.3.1.17
Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
User home directory = N:
Proxy Configuration: no proxy
JAR cache enabled
Location: N:\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://localhost:8890/forms90/webutil/webutil.jar from JAR cache
Loading http://localhost:8890/forms90/java/f90all_jinit.jar from JAR cache
Loading http://localhost:8890/forms90/webutil/jacob.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.0
oracle.forms.net.ConnectionException: Forms session <2> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
Named Config sections from formsweb.cfg
#A named (sample) named configuration section for use with WebUtil & Sun JPI
[webutil]
pageTitle=Oracle Forms Services - WebUtil
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
baseHTMLjinitiator=html/bocowebutiljpi.htm
baseHTMLjpi=html/bocowebutiljpi.htm
userid=<replacedforsecurity>/<replacedforsecurity>@<replacedforsecurity>
legacy_lifecycle=false
heartBeat=5
envFile=env/webutil.env
#A named (sample) named configuration section for use with WebUtil & JInitiator
[webutiljinit]
pageTitle=Oracle Forms Services - WebUtil JInit
webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
baseHTMLjinitiator=html/bocowebutiljini.htm
baseHTMLjpi=html/bocowebutiljini.htm
userid=<replacedforsecurity>/<replacedforsecurity>@<replacedforsecurity>
envFile=env/webutil.env
Webutil.env (with comments removed)
ORACLE_HOME=C:\Ora10giDS
FORMS90_PATH=C:\Ora10giDS\forms90\webutil\forms;C:\Ora10giDS\forms90\webutil\demo;C:\Ora10giDS\apps;
WEBUTIL_CONFIG=C:\Ora10giDS\forms90\webutil\webutil.cfg
CLASSPATH=C:\Ora10giDS\j2ee\OC4J_BI_Forms\applications\forms90app\forms90web\WEB-INF\lib\f90srv.jar;C:\Ora10giDS\jlib\repository.jar;C:\Ora10giDS\jlib\ldapjclnt9.jar;C:\Ora10giDS\jlib\debugger.jar;C:\Ora10giDS\jlib\ewt3.jar;C:\Ora10giDS\jlib\share.jar;C:\Ora10giDS\jlib\utj90.jar;C:\Ora10giDS\jlib\zrclient.jar;C:\Ora10giDS\reports\jlib\rwrun.jar;C:\Ora10giDS\jdk\jre\lib\rt.jar;C:\Ora10giDS\forms90\webutil\lib\webutil.jar;C:\Ora10giDS\forms90\webutil\lib\jacob.jar;
PATH=C:\Ora10giDS\bin;C:\Ora10giDS\jdk\jre\bin\client
FORMS90=C:\Ora10giDS\forms90
Section from Webutil.cfg
#install.syslib.location=/webutil
# Try absolute URL per note 252600.1 - no help
#install.syslib.location=http://it110981.boco.co.boulder.co.us:8890/forms90/webutil
# Or try relative URL like this per note 252600.1 - also no help
install.syslib.location=//../webutil
Line from orion-web.xml
<virtual-directory virtual-path="/webutil" real-path="C:\Ora10giDS/forms90/webutil/lib" />
Any suggestions on how I can get this to work will be appreciated. Thanks. -Ianmost of the time this means that your webutil.pll isn't good attached but it is very dependant on the versions you working on.
Post your versions of forms ias and webutil.
In older version it is sometimes necessary to first subclass the webutil group and then attach the webutil.pll. Other way around didn't work (was in beta version 1.02 I believe) -
It used to be on the client server when we run a batch file with sqlldr from a form, a cmd window would open and we can actually see a count of the records, and if we want we could make it that the user would have to click a button to close the cmd window and return to the form.
Now with the web version and webutil, I was able to make the batch file work and the data is loaded into a table, however, when the cmd window opens, it stays blank and you cannot see what is happening.
Is there a way to get the same performance as the client server version?
Thanks
GeorgeHi,
You can read the output/log file using textio (implemented through webutil)
and give a message to the end user.
Alternatively use the webutil host to open a command window and pass batch file which will do the sql ldr ....
Rajesh Alex -
WebUtil and Jacob Setting for AIX Server
Dear All
I am using forms 10G.
I have done the setting for webUtil and Jacob in my pc for browse button to be and it is working fine .
But can any one please tell me the steps for implement these things in AIX server .I mean how to configure this to utility Webutil and Jacob in AIX server .
Kindly anyone tell me what needs to be done in server for webutil ?
Edited by: LuKKa on Sep 22, 2010 12:01 PMthe steps are same as in other supported systems.
Since my blog is failed to help you then i will recommend you to do some more reading ...
Read the docs http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html -
Has anyone else experienced any issues with webutil and MS Office 2010? We save .xls files to .csv and upload via webutil (10g). We are getting an error that the file on the root directory cannot be found, although it does exist. We found that if we saved as Office 2003 and then as a .csv file, it sometimes works. We never had this problem before upgrading to Office 2010. I ran the form in debug and confirmed it is bombing out on the client_text_io open command.
thanks in advanceI think we figured out it was also a Windows7 issue more than Excel. The Windows7 doesn't have a temp directory any longer, but we were able to create another directory (with a more meaningful name) and read/write to it. The webutil works fine now. Seemed like it was maybe a root directory permissions problem.
thanks -
What is the correlation between WebUtil and ActiveX?
The reason I ask is that we have successfully installed WebUtil on our 9iAS R2 apps server and the Webutil forms that were created all work perfectly on site.
However our WAN covers sites all over the UK and the majoiry of these sites have all ActiveX settings disabled for security reasons. When accessing from one of these sites the form correctly loads all the .dll and .jar files but the CLIENT_TEXT_IO procedure will not operate.... one thing I forgot. Duncan Mills, who could answer this question a lot better than I can, is on vacation this week.
Frank -
Hi,
We have a form in which we use the call web.show_document(l_url, '_blank'), where l_url is a location of an html file on a local pc. Then in a
seperate browser the html file is shown.This works fine for our application.
Now some users are migrated to XP as OS, instead if 2000.. For these users no webbrowser is started after the call to show_document. In the
javaconsole is also no error seen. It is just that nothing happens.
In IE and Firefox this problem occurs.
Is there an issue between webutil and XP? Or is this a different kind of problem?
RichardThx for quick reply..
We tried it.. But, problem keeps existing...
We also tried XP and IE6... again no browser appears ...
This is the information in the Java Console..
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\OPERATORProxy Configuration: Manual Configuration
Proxy: dasproxy:80 Proxy Overrides: <local>JAR cache enabled
Location: C:\Documents and Settings\OPERATOR\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://xxxxx:7778/forms/java/frmall_jinit.jar from JAR cacheLoading
http://xxxxxxx:7778/forms/java/frmwebutil.jar from JAR cacheLoading
http://xxxxxxx:7778/hsd65java/hst65.jar from JAR cacheLoading
http://xxxxxxx:7778/dasimages/das_images.jar from JAR cacheRegisterWebUtil
- Loading WebUtil Version 1.0.6
Loading http://xxxxxx:7778/forms/java/jacob.jar from JAR
cacheproxyHost=nullproxyPort=0connectMode=HTTP,native.Versie van Forms-applet is: 10.1.2.0 -
Webutil and Outlook - I get a WUO-714 and WUO-705 error
Hi,
I have installed webutil and it loads fine an all. However, I have a problem with a Microsoft Outlook integration. I am simply trying open an Outlook mail item, which is then filled out with some data. Pressing the Send button is up to the user.
Everything works until the line "mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');" is called. Here Forms reports back: "100501: non-Oracle exception" and the java console gives a WUO-714 and WUO-705. The problems seems to be the Display method. At that point, despite errors, I do have an open, visible mail item with the proper data filled in. (In this process I noticed that the final invoke_obj should happen after you write stuff into the To, Subject and Body of the mail, but that's besides the point.)
Any advice you can offer is welcome.
Sincerely,
Jesper Vad Kristensen
Aarhus, Denmark
--- Java console error codes --
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/webutil.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/webutil/jacob.jar from JAR cache
Loading http://oiatst01.tdk.dk:7778/forms90/java/f90all_jinit.jar from JAR cache
RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
2003-nov-17 09:42:50.624 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
null
2003-nov-17 09:42:50.634 ERROR>WUO-705 [OleFunctions.invoke_ret_obj()] Unable to invoke Method: Display; Exception
com.jacob.com.ComFailException: VariantChangeType failed
--- end ---
--- Form code ---
Declare
OutlookApp CLIENT_OLE2.OBJ_TYPE;
Folders CLIENT_OLE2.OBJ_TYPE;
MailItem CLIENT_OLE2.OBJ_TYPE;
MailItem2 CLIENT_OLE2.OBJ_TYPE;
OLEPARAM CLIENT_OLE2.list_type;
v_kundenummer varchar2(12) := :v_engagement.konto;
v_firstname varchar2(50) := :legal_person.firstname;
v_surname varchar2(50) := :legal_person.surname;
v_company_name varchar2(50) := :legal_person.company_name;
v_to varchar2(50) := '[email protected]';
v_cc varchar2(50);
v_body varchar2(250) := 'Kundenummer'||' ' ||v_kundenummer||chr(10)||v_firstname||' '||v_surname||' '||v_company_name;
v_bcc varchar2(50);
v_subject varchar2(50) := 'Fakturakopi';
v_duedate varchar2(50);
v_invoicetext varchar2(400);
v_user varchar2(50):= user;
v_faktura varchar2(400);
BEGIN
/* snip some string work to create Body contents */
OutlookApp := CLIENT_OLE2.CREATE_OBJ('Outlook.Application');
--Create a newMail Object
OLEPARAM := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.ADD_ARG(OLEPARAM,0);
MailItem := CLIENT_OLE2.INVOKE_OBJ(OutlookApp,'CreateItem',OLEPARAM);
CLIENT_OLE2.DESTROY_ARGLIST(OLEPARAM);
-- Show the new message box. - Dont do when mailing straight Through
CLIENT_OLE2.set_property(MailItem,'To',v_to);
CLIENT_OLE2.set_property(MailItem,'Subject',v_subject);
CLIENT_OLE2.set_property(MailItem,'Body',v_body);
mailitem2 := CLIENT_OLE2.INVOKE_obj(MailItem,'Display');
CLIENT_OLE2.RELEASE_OBJ(MailItem);
CLIENT_OLE2.RELEASE_OBJ(MailItem2);
CLIENT_OLE2.RELEASE_OBJ(NameSpace);
CLIENT_OLE2.RELEASE_OBJ(OutlookApp);
/* snip some more */
exception
when others then
message('other error: '||sqlerrm);
--- end ---Both the Outlook type library and the M/S online documentation show that the display method on MailItem does not have a return type. try a simple INVOKE rather than INVOKE_OBJ
Maybe you are looking for
-
BT Cloud - large file ( ~95MB) uploads failing
I am consistently getting upload failures for any files over approximately 95MB in size. This happens with both the Web interface, and the PC client. With the Web interface the file upload gets to a percentage that would be around the 95MB amount,
-
4507r-e supervisor engines are not being detected when powered on , what shall I do?
I had removed one of the sup.engine for password recovery when I installed back both the supervisor engines are not detected .
-
[SOLVED] Missing Kernel Headers for Catalyst
Hello Everyone, I am a new Arch guy! I am from the ubuntu world. Love the new arch install, I have installed my own DE. I use a Radeon HD 68xx so I need the catalyst drivers. I have tried installing them via: sudo pacman -S catalyst-dkms catalyst-ut
-
Hi SAP Consultants, We are in the process of linking DMS with BOM. While Creating a DIR in CV01n we are unable to link a BOM because when we click the Object links tab it is displaying the following message: Object link to STKO_DOC cannot be changed
-
where can i download the java promotional video? or any (preferably all) of the java commercials that have been release promoting Java