Access Denied message when running WU_TEST_106 form!!!
640284Jun 2 2008 — edited Jun 2 2008Hi all,
I am trying to use WebUtil components to use Oracle 9.0.3 Form to write from an Oracle Form to a MS Word document. To learn more about WebUtil, I downloaded a sample form named WU_TEST_106.fmb and compiled and have been trying to run it. When this form gets loaded, I click on the 'OLE' tab and then type a message in the 'Enter text to Transfer to Word' box and then pick a file named Sample.doc on my C:\ directory and then click on 'Write to Word' button. This causes the following 'access denied' message and the 'Sample.doc' file never gets updated.
We are using JInitiator 1.3.1.17, IE 6.0, Java 1.4.2_03 and Oracle 10g database.
Below is the contenet of the trace file:
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\seyedg
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\seyedg\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 <SERVER NAME>/forms90/java/f90all_jinit.jar from JAR cache
Loading <SERVER NAME>/forms90/java/frmwebutil.jar from JAR cache
Loading <SERVER NAME>/forms90/java/jacob.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 9.0.4.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(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)
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)
Thanks in advance for your help,
Seyed