14 Replies Latest reply: Nov 23, 2012 6:11 AM by tonigus RSS

    webutil&forms11g R2 64bit

    esmid2
      hi

      i installed form&report 11g R2 on win 2008 64 R2

      After install ,i download jacob and sign jar file with webutil signer and copy in java directory

      then run webutil_demo.fmx without error

      but sometime i get this error:

      RegisterWebUtil - Loading WebUtil Version 11.1.2.0
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.java2d)
           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.checkPackageAccess(Unknown Source)
           at sun.plugin2.applet.Applet2SecurityManager.checkPackageAccess(Unknown Source)
           at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.engine.Main.initDesktop(Unknown Source)
           at oracle.forms.engine.Main.start(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
           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.checkPackageAccess(Unknown Source)
           at sun.plugin2.applet.Applet2SecurityManager.checkPackageAccess(Unknown Source)
           at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at oracle.forms.engine.Main.initDesktop(Unknown Source)
           at oracle.forms.engine.Main.start(Unknown Source)
           at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
      Forms Session ID is formsapp.41
      The proxy host is null, and the proxy port is 0.
      Native HTTP implementation is being used for the connection.
      The connection mode is HTTP.
      Forms Applet version is 11.1.2.0
      Exception in thread "AWT-EventQueue-3" java.lang.ExceptionInInitializerError
           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.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$000(Unknown Source)
           at java.awt.EventQueue$1.run(Unknown Source)
           at java.awt.EventQueue$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$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)
      Caused by: 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>(Unknown Source)
           ... 40 more


      plz help me helpppppppppppppppppppppp
        • 1. Re: webutil&forms11g R2 64bit
          Michael Ferrante-Oracle
          Details would be helpful:

          <li>Client platform
          <li>User (end-user) member of what permissions group (Administrator, Power User, User, Guest, other, etc)
          <li>JRE version being used
          <li>Browser being used (and 32 or 64bit)
          <li>Jacob version
          <li>Did you alter the webutil library destination directory?
          <li>Has any other Forms version been run on this client machine before?

          Any other details would be helpful.
          • 2. Re: webutil&forms11g R2 64bit
            esmid2
            Client platform===> self Server 2008 R2

            User (end-user) member of what permissions group (Administrator, Power User, User, Guest, other, etc) =====>Administrator

            JRE version being used=====>jdk-6u27-windows-x64.exe

            Browser being used (and 32 or 64bit)====>IE 8 64bit

            Jacob version====>jacob-1.14.3.zip

            Did you alter the webutil library destination directory?====> its default

            Has any other Forms version been run on this client machine before?====>no

            thanks for reply

            Edited by: esmid2 on Jan 10, 2012 4:22 AM
            • 3. Re: webutil&forms11g R2 64bit
              Michael Ferrante-Oracle
              The cause of the message you provided may vary. I would start by assuming that one of the client jar files is either not signed or has expired. Assuming you are not using any custom jars, I will assume the only possible jar which may have such a problem would be jacob.jar. This might happen, for example if you previously used the Oracle (Forms) provided courtesy script to sign it. If the original certification was create and stored over one year ago and you now signed a new jar with the same script, its cert would have likely expired. If any of this is possible, resign jacob.jar or any custom jars you may be using.

              Another possible cause would be if you are attempting to open or reopen a second session running webutil in a previously opened browser. In other words, you open a browser and load a webutil enabled form then in another tab or windows (of the same session) launch another.

              If neither of these seems likely, try doing the following:

              1. Close ALL open browser
              2. Clear the JRE jar cache (temporary file). This can be done from the Java Control panel found on the Windows Control Panel
              3. Delete any occurances of a file names webutil.*.properties - the * is a wildcard. The exact name of the file will vary depending on the server name and config used to call the form.
              4. Verify that none of the following files exist in the client JRE \bin directory (e.g. C:\Program Files\Java\jre6\bin OR C:\Program Files (x86)\Java\jre6\bin). If they do, delete them.

              <li>d2kwut60.dll
              <li>jacob.dll
              <li>JNIsharedstubs.dll

              Retest
              • 4. Re: webutil&forms11g R2 64bit
                esmid2
                Thanks Michael Ferrante

                i signed frmwebutil,jacob and another my jar file agin

                and solved my problem
                • 5. Re: webutil&forms11g R2 64bit
                  esmid2
                  sorry

                  i get this error again
                  • 6. Re: webutil&forms11g R2 64bit
                    esmid2
                    plz helpppppppppppppppppp
                    • 7. Re: webutil&forms11g R2 64bit
                      Michael Ferrante-Oracle
                      You said that resigning fixed the problem. If you are seeing it again, you may have a caching problem. Close ALL open browsers and clear your JAR cache.
                      • 8. Re: webutil&forms11g R2 64bit
                        esmid2
                        yes i said

                        but after 2 week, some client get this error again in sometime

                        i think it isnt cache issue because this error appear sometime
                        • 9. Re: webutil&forms11g R2 64bit
                          user6157911
                          I have logged an SR for the same issue.... RANDOM ACCESS DENIED ERRORS ..... clear the Java cache and it works fine for couple days.

                          Oracle could not help ..... spent two months with the Oracle analyst ..... but no solution and no reasons for the error established.
                          • 10. Re: webutil&forms11g R2 64bit
                            brianimpulse
                            Could you provide the SR you have logged the problem? We having the same issues here on site. We are testing with caching turned off and it looks like the error is disapearing.

                            Greetings,

                            Brian
                            • 11. Re: webutil&forms11g R2 64bit
                              928162
                              We too have what sounds like the same issue - seemingly random (but frequent) crashes related to webutil we think.

                              If you have the Java control panel enabled on the client, you notice that on startup of the forms app, you randomly get this error...

                              RegisterWebUtil- Loading WebUtil Version 11.1.1.4
                              java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.java2d)
                              ... followed by a java error stack

                              Once you get this error, the forms app works OK, until the user uses a form that uses Webutil & then it crashes. Closing all IE windows & launching the app again sometimes solves it.

                              We've also noted that the user knows they will get the problem if they are unable to copy/paste into fields in the form - strange !

                              We've just noticed that disabling the java caching on the client seems to resolve the problem, but we dont really want to do this as it'll affect lots of other applications.

                              We are running ...

                              Forms 11gR1 (11.1.1.4.0)
                              Weblogic server 10gR3 (10.3.4)
                              Java 1.6.0_20 on the client
                              Windows XP & Windows 7

                              Thanks

                              Jon
                              • 12. Re: webutil&forms11g R2 64bit
                                esmid2
                                I have problem yet

                                i think it is oracle bug
                                • 13. Re: webutil&forms11g R2 64bit
                                  Sarah
                                  hi

                                  i think you have windows privileges problem,try to configure webutil under Administrator user.


                                  sarah
                                  • 14. Re: webutil&forms11g R2 64bit
                                    tonigus
                                    I had the same problem and found it explained in Oracle Support note:

                                    JRE CRASHES/HANGS THE BROWSER HAVING HYPERTHREADING ENABLED [ID 601534.1]

                                    Usable workaround that really work for me is solution 2:

                                    Delete following lines from your base html file (for example webutiljpi.htm):

                                    --- begin ---
                                    <!-- Registration applet definition (start) -->
                                    <OBJECT classid="%jpi_classid%"
                                    .
                                    . about 30 lines
                                    .
                                    <!-- Registration applet definition (end) -->
                                    --- end ---

                                    Note:
                                    Concerning Solution2, the registration applet definition for WebUtil will display the WebUtil version. So deleting these lines, the
                                    Webutil version will no longer be shown during the execution. It will have no impact on functionality in Webutil except that the jar
                                    files may be delayed from downloading.