New WebUtil Demo
Just a reminder - a new webutil demo has been posted on OTN - it showcases a lot of the webutil features.
Regards
Grant Ronald
Forms Product Management
I have downloaded webutil demo form, we can use client_text_io forms from AS, but nothing happens with client_ole2 code from AS, it gives no error.
I looked at java console
Loading http://appsrv1.sarar.com.tr:7778/forms/java/frmall_jinit.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/forms/java/icons.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/forms/java/frmwebutil.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/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)
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.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)
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
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)
What is the problem can you help me?
We use Forms [32 Bit] Sürüm 10.1.2.0.2 (Üretim)
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Similar Messages
-
Webutil Demo form is not working !!!!
Hi,
I Download WebUtil Demo form, compiled it and tried to run the demo form using Forms 11g but at run time the following error alert appears:
oracle.forms.webutil.clientinfo.GetClientInfo bean not found.
WEBUTIL_CLIENTINFO.GET_SYSTEM_PROPERTY will not work
My environment is Oracle Forms 11g on which Webutil is already installed as it is mentioned in Forms 11g FAQ. So I did not change or add anything for webutil.
Any Help !!!!
Regards,
Yousuf.hi
i am not sure for 11g but u can try this.........
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.sarah -
Java Exception Error while trying to run Webutil demo
I am trying to run a webutil demo but failing due to the following error... the error is as
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Aruns
Proxy Configuration: Manual Configuration
Proxy: proxy1.emirates.net.ae:8080
Proxy Overrides: <local>
JAR cache enabled
Location: C:\Documents and Settings\Aruns\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://hpc266:8888/forms90/java/f90all_jinit.jar from JAR cache
Loading http://hpc266:8888/forms90/java/webutil.jar from JAR cache
Loading http://hpc266:8888/forms90/java/jacob.jar from JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
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.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:130)
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 to go forwardWhat is the error message, this looks like normal informational messages
I have signed it sucessfully..Now i am getting the
following in the java console
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and
Settings\Aruns
Proxy Configuration: Manual Configuration
Proxy: proxy1.emirates.net.ae:8080
Proxy Overrides: 172.16.*,<local>
JAR cache enabled
Location: C:\Documents and Settings\Aruns\Oracle
racle 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://hpc266:8888/forms90/java/f90all_jinit.jar from
JAR cache
Cached copy of
http://hpc266:8888/forms90/java/webutil.jar is out of
date
Cached copy: Jul 4, 2005 8:50:04 AM
Server copy: Jul 4, 2005 8:52:15 AM
Downloading
http://hpc266:8888/forms90/java/webutil.jar to JAR
cache
Cached copy of
http://hpc266:8888/forms90/java/jacob.jar is out of
date
Cached copy: Jul 4, 2005 8:50:16 AM
Server copy: Jul 4, 2005 8:51:59 AM
Downloading http://hpc266:8888/forms90/java/jacob.jar
to JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
Can anybody pls help me in this issue -
Exception while running webutil demo
Hi,
I am facing problem with a webutil unit. when I use client_tool_env.getvar function
client_tool_env.getvar('NLS_LANG',:builtins.tool_env)
+(under BUILTIT->NLSLANG (button) of webutil DEMO)+
I get this exception in the Java console and the webutil package stops working. Can you tell me from the console readings what could possibly have gone wrong.
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\Dd
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\Dd\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://dd-fd704ff99925:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://dd-fd704ff99925:8889/forms/java/frmwebutil.jar from JAR cache
Loading http://dd-fd704ff99925:8889/forms/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
2008-Sep-11 13:12:17.859 ERROR>WUC-18 [URLDownload.pullFile()] Invalid URL e:\oracle_developer_suite\forms/jacob.dll
2008-Sep-11 13:12:17.906 ERROR>WUC-18 [URLDownload.pullFile()] Invalid URL e:\oracle_developer_suite\forms/JNIsharedstubs.dll
2008-Sep-11 13:12:17.937 ERROR>WUC-18 [URLDownload.pullFile()] Invalid URL e:\oracle_developer_suite\forms/d2kwut60.dll
2008-Sep-11 13:30:49.468 ERROR>WUL-928 [CApiFunctions.register_function()] Library d2kwut60.dll not accessible, or does not contain function d2kwutil_GetRegKey
2008-Sep-11 13:30:49.593 ERROR>WUL-925 [CApiFunctions.parse_funcHnd()] Object returned from object cache is not of type CFunc
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: oracle.forms.webutil.cApi.CPtr
at oracle.forms.webutil.cApi.CParamList.toArray(Unknown Source)
at oracle.forms.webutil.cApi.CApiFunctions.invokeCApi(Unknown Source)
at oracle.forms.webutil.cApi.CApiFunctions.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)this is an issue with the virtual directory. Check this document.
[Webutil Debugging Document|http://www.google.com/search?hl=en&q=webutil+debugging+alexyscorp&aq=f&oq=] -
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) -
Webutil demo not working ?
Hello experts,
recently i install and configure according to steps:
1. Run create_webutil_db.sql
a. CREATE USER webutil IDENTIFIED BY webutil
b. Grant connect, resource to webutil
c. Connect webutil/webutil
d. @[ORACLE_HOME]/forms/create_webutil_db.sql
e. Create public synonym webutil_db for webutil.webutil_db;
f. Connect sys as sysdba
g. Grant execute on webutil_db to public;
2. Copy and download Jacob from
http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download
a. Unzip the jacob download and place jacob.jar in the
ORACLE_HOME/forms/java directory
b. backup sign_webuitl.bat script in [ORACLE_INSTANCE]/bin/sign_webutil.sh
c. search for <Your KEYSTORE password> and replace it with welcome1 (or
something like this)
d. search for <Your private key password> and replace it with welcome1 (or
something like this)
e. Save the script and use it to sign jacob.jar as below
f. [ORACLE_INSTANCE]/bin/sign_webutil.sh
[ORACLE_HOME]/forms/java/jacob.jar
3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory
4. Jacob.dll in r2 – file names must be verified against webutil.cfg file
a. Place jacob-1.14.3-x86.dll in the ORACLE_HOME/forms/webutil/win32
directory.
b. Place jacob-1.14.3-x64.dll in the ORACLE_HOME/forms/webutil/win64
directory
5. Using weblogic EM console, Add ORACLE_HOME/forms/java/frmall.jar to the
CLASSPATH in the default.env
6. Update formsweb.cfg webutil section with the following if not already
done:
a. Add frmwebutil.jar and jacob.jar to the WebutilArchive parameter in the
[webutil] configuration section. For some versions of 11g, this is already
added.
b. Specify webutil_demo as the form to be run in the [webutil]
configuration section
7. Download webutil demo from link below, extract and put the contents in
a folder
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
8. Copy ffisamp.dll to the <ORACLE_HOME>\forms\webutil directory.
9. Open your webutil.cfg file and add the following line
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
10. If not already done do the following in webutil.cfg
a. transfer.appsrv.workAreaRoot=c:\temp
b. transfer.appsrv.accessControl=TRUE
c. transfer.database.enabled=TRUE
d. transfer.appsrv.enabled=TRUE
11. Add the folder in FORMS_PATH in enterprise manager
12. Replace db and run the following command:
a. frmcmp.sh module=webutil_demo.fmb module_type=form
userid=webutil/webutil@<db> compile_all=yes
b. FORMS_PATH variable and make sure webutil.pll folder is available in the
path or run the above command from command shell in the folder where webutil.pll
is available
13. Restart opmnctl and wls_forms weblogic instance
14. Run the webutil
running the url:
http://server:port/forms/frmservlet?form=webutil_demo&config=webutil
logon window appear, after login following mess comes:
frm-40735: when-custom-item-event trigger raised
unhendled exception ora: 06502
thanks
yash
Edited by: yash_08031983 on Mar 8, 2013 12:12 AMThere are a few things you did not mention or were unclear about.
1. Exactly which Forms version are you using? In order to do what you described, you should be using 11.1.2.x. Forms 11.1.1 or older will not work using the instructions you referred to.
2. I assume you just copied and pasted the instructions in your post because you included steps like this: "+ 3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory+ ". If you downloaded the correct Jacob, you won't have a jacob.dll file.
3. You said, " +b. FORMS_PATH variable and make sure webutil.pll folder is available + ". At runtime, FORMS_PATH will need access to webutil.plx and webutil_demo.fmx. The pll and fmb are for design time only. In the past, we permitted the use of ungenerated libraries (pll) at runtime, but this is no longer the case. You should always use the "X" file.
4. You did not mention any of the client information. OS, browser and version, JRE and version, etc. If the client OS is 64bit and you are running Forms 11.1.2, you have the option of using either the 32bit or 64bit Internet Explorer versions. However, you must have a matching JRE. In other words, if you are using 32bit IE, you must also use the 32bit JRE. For 64bit IE you must use the 64bit JRE.
5. If you are attempting to use Java 7 on the client, you must be running Forms 11.1.2.1.
6. Someone asked if you compiled webutil.plx. Did you do this before or after you generated the form (webutil_demo.fmx)? If you generated the form before the library, I would recommend regenerating the form. Again, be sure to include the compile_all=yes option. -
WebUtil Demo OLE test doesn't work
Hi
I have downloaded the WebUtil demo and all tabs/functionalities in the form WU_TEST_105 works except the OLE test. When I click on the button "Write to Word" the form just hangs/freezes adn nothing happens. I added the lines
webutillogging=console
and
webutilloggingdetail=detailed
to my formsweb.cfg and here are part of the java console output:
.Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:398)
at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:189)
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)
What does this mean? What shall I do?
regards // FredericMy webutil is downloaded already.
Loading http://appsrv1.sarar.com.tr:7778/forms/java/frmall_jinit.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/forms/java/icons.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/forms/java/frmwebutil.jar from JAR cache
Loading http://appsrv1.sarar.com.tr:7778/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)
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.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)
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
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 have this, what can I do to fix this? -
WEBUTIL DEMO FORM ifError:7/500
Hello
I'm trying to run the webutil demo form (WU_TEST_105.fmb) from Form Builder (version 9.0.4.0.19). The browser window opens but just displays the message ifError:7/500. I can't find any reference to what this means! Does anyone know?
Thanks
EvanHere is my two cents worth.
First, I build big corporate apps not Web stuff.
So this might look a little sketchy but here goes.
I'm on 10g using 10g tools.
What is happening is Forms Designer is not assembling a correct address string.
You should see something like the address below and it generates the error.
http://mylocalmachine:8889/forms/lservlet
ifError:7/500
Plug-in the address to something like the following and you should get your form.
http://mylocalmachine:8889/forms/frmservlet?form=mynewform.fmx&userid=&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue
Parameters in the address string are <mylocalmachine> and <mynewform>.
Your "forms_path" registry entry might need some attention.
The configuration files that are created by default need some modifications.
Check these files:
%OracleHome\cauprefs.ora
%OracleHome\forms\server\default.env
%OracleHome\forms\server\formsweb.cfg
%OracleHome\j2ee\DevSuite\config\default-web-site.xml
See other discussion pages about configuration parameters.
Good luck from Bottom_End ... -
hi
i have installed DevSuit10g(rel2) i downloanded demo for webutil i have configured every thing as described in the example but after run when i click the button GET CLIENT INFO i get the following error message.
FRM-40375: WHEN-BUTTON-PRESSED trigger raised.....ORA-06508
what can be the problemchk if u have followed following steps...
1) Login with user name under which u want to use webutil
2) Create package and package body webutil_db using file
C:\DevSuiteHome_1\forms\create_webutil_db.sql
Compile both of above things
3) Compile the file webutil.pll using Oracle Forms Compiler so webutil.plx gets created
4) In C:\DevSuiteHome_1\forms\server\forms.cfg , add line
AliasMatch ^/forms/webutil/(..*) $ORACLE_HOME/forms/webutil/$1"
5) In C:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\ orion-web.xml
Add line
<virtual-directory virtual-path="/webutil" real-path="C:\DevSuiteHome_1/forms/webutil" />
6) In C:\DevSuiteHome_1\forms\server\formsweb.cfg file add line
WebUtilArchive=frmwebutil.jar,jacob.jar
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm.
baseHTML=webutilbase.htm.
7) In C:\DevSuiteHome_1\forms\server\default.env file
In FORMS_PATH variable add path of webutil.pll as
FORMS_PATH=C:\DevSuiteHome_1\forms;D:\Projects\DBF
(by default webutil.pll is under forms, but if we use in our own folder then path of that should also be appended as shown above.
WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\server\webutil.cfg
CLASSPATH=C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar
Note: The JACOB can be downloaded from libraries from http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
8) Copy Jacob.dll and paste into C:\DevSuiteHome_1\forms\webutil
9) Copy Jacob.jar and paste into C:\DevSuiteHome_1\forms\java
10) Sign frmwebutil.jar and Jacob.jar files from command prompt
Go to C:\DevSuiteHome_1\forms\webutil directory give command
Sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jar
After siging 1 file insign_webutil.bat file change SET JAR_KEY=webutil2 to SET JAR_KEY=webutil3. Then sigh the following file.
Sign_webutil C:\DevSuiteHome_1\forms\java\jacob.jar
11) In webutil.cfg file add lines
transfer.appsrv.enabled=TRUE
transfer.appsrv.accessControl=FALSE
transfer.appsrv.read.1=c:\temp
transfer.appsrv.write.1=c:\temp
12) In FORMS_BUILDER_CLASSPATH REGISTRY entry append following if not there
C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\forms\java\frmall.jar;C:\DevSuiteHome_1\forms\webutil.pll;C:\DevSuiteHome_1\forms\webutil.pll; C:\DevSuiteHome_1\forms\webutil.olb; C:\DevSuiteHome_1\forms\webutil\jacob.dll;C:\DevSuiteHome_1\forms\java\jacob.jar;C:\DevSuiteHome_1\jdk\jre\lib\rt.jar
13) Copy ffisamp.dll file into C:\DevSuiteHome_1\forms\webutil\ directory (thie file is supplied with webutil demo)
14) In C:\DevSuiteHome_1\forms\server\formsweb.cfg file see if the following line is present if not then add/append the line archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
15) Add line install.syslib.0.user.1=ffisamp.dll|40960|1.0|true into wenutil.cfg file -
WebUtil Demo Runtime Error FRM-40039: Cannot attach library webutil
I download the WebUtil Demo from
http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
I follow the instruction given in the file ReadMe.html
I am using Oracle Developer Suite 10g Release 2.
There is no compilation error.
I started OC4J Instance
The following error appears:
FRM-40039: Cannot attach library webutil while opening form WU_TEST_106
Help!I try to compile the WEBUTIL.pll but with comilation error.
I run FOrms Builder 10g Release 2
Click on File, Open
Select the file WEBUTIL.pll
Click on Program, Compile Module
but showing error
Compilation errors on WEBUTIL_DB_LOCAL:
PL/SQL ERROR 201 at line 9, column 12
identifier 'WEBUTIL_DB.OPENBLOB' must be declared
PL/SQL ERROR 0 at line 9, column 5
Statement ignored
PL/SQL ERROR 201 at line 18, column 12
identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
PL/SQL ERROR 0 at line 18, column 5
Statement ignored
PL/SQL ERROR 201 at line 24, column 5
identifier 'WEBUTIL_DB.WRITEDATA' must be declared
PL/SQL ERROR 0 at line 24, column 5
Statement ignored
PL/SQL ERROR 201 at line 29, column 12
identifier 'WEBUTIL_DB.READDATA' must be declared
PL/SQL ERROR 0 at line 29, column 5
Statement ignored
PL/SQL ERROR 201 at line 35, column 12
identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
PL/SQL ERROR 0 at line 35, column 5
Statement ignored
PL/SQL ERROR 201 at line 40, column 12
identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
PL/SQL ERROR 0 at line 40, column 5
Statement ignored
PL/SQL ERROR 201 at line 45, column 12
identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
PL/SQL ERROR 0 at line 45, column 5
Statement ignored
Failed to generate library.
HELP! -
Oracle Web Center New Features Demo
Hi,
Does anybody have oracle web center new features demo?
It will be great, If you can share it.
Documentation states that, It has features like below:
New capabilities to operate on multiple assets efficiently, including bulk deletion, approval, and bookmarking. These operations are conveniently available from search results screens. Operations can be executed by selecting multiple assets and pressing a single button.
But I can not perform bulk delete asset.
Documentation also states that, It has features like Drag And Drop:
My understanding from the documentation is an asset's attributes are dragged and dropped into advanced UI. Pls correct me, If I am wrong.
Is there any demo available for drag and drop feature of oracle 11g webcenter?
Documentation also states that, It has features like customizable dash board:
New customizable dashboard: A customizable dashboard is now provided out-of-the-box. Widgets to manage assignments, bookmarks, and checkouts are included. Widgets can be rearranged on the dashboard using simple drag-and-drop, and custom widgets can be added to satisfy unique business needs.
Pls let me know, where the dashboard is available and how to implement the above mentioned features.
Thanks And Regards
Dhaya
Edited by: 932938 on May 8, 2012 5:15 PMHi,
If you mean video demo, then there is a link to it on WebCenter blog (https://blogs.oracle.com/webcenter/) - On Demand Webcast - Introducing Oracle WebCenter Sites: Transforming the Online Experience. You can start from ~ 10th minute to see content administration.
Direct link: http://event.on24.com/r.htm?e=452133&s=1&k=FCDEB088AD5C4685EB385DBC59393F31&partnerref=odblog (requires registration).
"dropped into advanced UI." - There is no more advanced UI, there is an Admin UI and New tab-based Contributor Interface which merge an Insite and Dash and somehow Advanced Interfaces together.
BR,
Martins -
Has anyone had success running the WEBUTIL demo from the OTN site using OC4J and running Oracle Developer Suite 10g (10.1.2.0.2), this version has the WEBUTIL wrapped in it.
I can see the runtime form but immediately get a trigger error, it has something to do with the WEBUTIL library I am sure. No part of the demo works, I get a different error every time I press a button or change tabs.
Any ideas would be great.Dougo,
do you see any error messages (e.g. in the JInitiator console ? )
Frank -
New Interactive Demo and R2 Samples
New for ADS and AGS
Adobe Solutions Network is pleased to announce the following:
* A new interactive demo
* Updated samples
Interactive Demo
Click here for an interactive demo that lets you experiment with the XML Commands for image creation, PDF creation, and XML to PDF operations.
AGS Updated Samples
The R2 release of the AGS samples includes:
* modifications to the .NET sample
* a new XML Schema for the command set
* corrections DTD for the command set.
Click here for complete information about the new ADS samples.open dos prompt and enter
"javap oracle.jdbc.driver.OracleDriver" and check the classpath set for the above mentioned class
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by P Gibb:
I am trying to connect to my Database using thin jdbc. I am currently using java version 1.1.5 and have classes111.zip in my CLASSPATH.
However when I try to compile the Employee.java example source from the demo directory of ORACLE_HOME/jdbc/demo/samples/thin/111appletsI get the following compilation error.
Employee.java:17: Class oracle.jdbc.driver.OracleDriver not found in type declaration.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
I have tried various other attempts/sample programs to connect to the database but always come back to the above error.
Please Help.<HR></BLOCKQUOTE>
null -
i have downloaded webutil demo from oracle otn site...
i have my oracle forms 10.1.2.0 webutil version 1.6 in windows xp...the oracle database id running in linux...
i was not able to get any values in that demo like..system name ,directory,and........
please help me regarding this...but the form is running fine.....i have downloaded webutil demo from oracle otn site...i have my oracle forms 10.1.2.0 webutil version 1.6 in windows xp...the oracle database id running in linux...
i was not able to get any values in that demo like..system name ,directory,and........
please help me regarding this...but the form is running fine.....>
Did you follow all the steps given in the Readme.pdf that comes with the demo?
And have you configured webutil ?
Cheers, -
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
Maybe you are looking for
-
Messages opens when I receive a new iMessage/text
Hi there, I use an iMac at work and an MBA at home. I also use an iPhone and an iPad. Don't ask. I quite like the integration of all the message across these devices. However, I keep encountering the problem that whenever I receive an iMessage or a t
-
SLES9 Oracle 10.1.0.3 RAC VMware RELEASED on OTN
Oracle, Novell and VMware are happy to announce the availablity of a SLES9 VM right in time for Linux World Boston: http://www.oracle.com/technology/tech/linux/vmware/index.html Enjoy this evaluation kit and post any feedback in this forum. See you a
-
ORA-1653 (unable to extend table) and ORA-1654 (unable to extend index)
Hi, We recently installed 12c.r1 and have it running now form some three weeks. About 100 assets currently in it. When trying to add a new discovery profile a received an error message from the BUI, in the cacao log from the EC i found a lot java exc
-
Why 2 floating IP's are used to Weblogic managed servers?
In the configuration example discussed in this guide, two floating addresses are used to each of the WebLogic Managed Servers and to the Administration Server. The first type of floating IP address uses the IPoIB (BOND0) interface, and the second typ
-
I downloaded and installed the latest Oracle Business Intelligence Tools, including Disco Desktop (as_windows_x86_bi_tools_101202.zip). When I click on the link to run it, the hard disk churns for a minute, and then nothing happens. No entries in the