1 Reply Latest reply on Jun 13, 2004 12:56 PM by 84595

    Cannot run OLE2 in forms 9i

    422906
      In the java console i have the follwing error while jacob.jar is loading well
      oading http://vide:8889/forms90/webutil/webutil.jar from JAR cache
      Loading http://vide:8889/forms90/webutil/jacob.jar from JAR cache
      Loading http://vide:8889/forms90/java/f90all_jinit.jar from JAR cache

      this is the error
      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(OleFunctions.java:513)

           at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:218)
        • 1. Re: Cannot run OLE2 in forms 9i
          84595
          Hi,

          You could try 'signing' the jacob.jar file.
          Please lookup the internet for signing jar files.

          After signing: When the jar is downloaded you should get the question: "Do you want to install ... signed by ...."

          Succes,

          Stephan van Hoof