This discussion is archived
7 Replies Latest reply: Feb 1, 2013 3:52 AM by tony.g RSS

OLE Container

988253 Newbie
Currently Being Moderated
Hi,

CLIENT_OLE2 NOT WORKING IN Forms Version 10.1.2.0.2
Dear All,
How are you ?
We are using CLIENT_OLE2 for invoking Outlook application from Forms.It is working properly in

Forms Version 9.0.4.0.19
.

But it is not working In Forms Version 10.1.2.0.2.
There is an error in java console,while executing

client_ole2.create_obj ('Outlook.Application')

java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied

Thanks
  • 1. Re: OLE Container
    HamidHelal Guru
    Currently Being Moderated
    985250 wrote:
    Hi,

    CLIENT_OLE2 NOT WORKING IN Forms Version 10.1.2.0.2
    Dear All,
    How are you ?
    We are using CLIENT_OLE2 for invoking Outlook application from Forms.It is working properly in

    Forms Version 9.0.4.0.19
    .

    But it is not working In Forms Version 10.1.2.0.2.
    There is an error in java console,while executing

    client_ole2.create_obj ('Outlook.Application')

    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied
    Alhumdolilah (thanks God) fine.

    Please always provide also the OS name.

    in most case problem is
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
    If it is..
    Please take a fresh copy of jacob.jar and jacob.dll file and sign jacob.jar with administrator privilege. (you will get successful message)

    Hope it works...


    Hamid


    Mark correct/helpful to help others to get right answer(s).*
  • 2. Re: OLE Container
    988253 Newbie
    Currently Being Moderated
    Hi,

    Already I have sign jacob.jar and frmwebutil.jar
  • 3. Re: OLE Container
    988253 Newbie
    Currently Being Moderated
    ALL other utility are workinf fine but problem comes in Excel application
  • 4. Re: OLE Container
    HamidHelal Guru
    Currently Being Moderated
    985250 wrote:
    Hi,

    Already I have sign jacob.jar and frmwebutil.jar
    Post for Outlook and again said Excel .. ??

    Please do it again from download and re-sign.

    Please what is the OS ?
    and Is it Development environment or production environment ?

    post the exact error message you get at JRE.


    Hamid
  • 5. Re: OLE Container
    988253 Newbie
    Currently Being Moderated
    Hi Hamid



    Exception in thread "AWT-EventQueue-3" java.lang.UnsatisfiedLinkError: no jacob-1.14.3-x86 in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:184)
         at com.jacob.com.JacobObject.<clinit>(JacobObject.java:108)
         at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:181)
         at com.jacob.com.ComThread.<clinit>(ComThread.java:167)
         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.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$200(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.awt.EventQueue$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.awt.EventQueue$4.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
  • 6. Re: OLE Container
    HamidHelal Guru
    Currently Being Moderated
    985250 wrote:
    Hi Hamid



    Exception in thread "AWT-EventQueue-3" java.lang.UnsatisfiedLinkError: no jacob-1.14.3-x86 in java.library.path
    Here is the problem.
    Your jacob file isn't at it's place.
    assuming u r at development environment.
    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.
    
     Copy or move jacob.jar and jacob.dll at
    
         copy jacob.jar  at <DevSuiteHome_1>\forms\java\
         copy jacob.dll <DevSuiteHome_1>\forms\webutil\
    and sign.
    Hope it's work..

    Hamid



    Mark correct/helpful to help others to get right answer(s).*
  • 7. Re: OLE Container
    tony.g Journeyer
    Currently Being Moderated
    And you need to be sure that you have the correct version of Jacob also.

    If you look here:
    Finding out which version of jacob dll you need?

    Forms 9.0.4 and older with WebUtil 1.0.5 (beta) and older - Jacob 1.0.7
    Forms 9.0.4 and older with WebUtil 1.0.6 (beta) and older - Jacob 1.0.8
    Forms 10.1.2.0.2 - 10.1.2.3.0 with WebUtil 10.1.2.0 - 10.1.2.3 - Jacob 1.0.8
    Forms 10.1.2.3+ (Forms Bundle patch) - 11.1.1.x with WebUtil 10.1.2.3 - 11.1.1.x - Jacob 1.10.1
    Forms 11.1.2 with WebUtil 11.1.2 - Jacob 1.14.3


    It looks like you are running a version of jacob for Forms 11g

    Tony

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points