6 Replies Latest reply: Jan 30, 2013 9:08 AM by CraigB RSS

    Getting Error when running oracle form 10g

    user1888509
      Hi all, i have a problem when i run oracle form 10g.

      in the applet show like this :

      --------------------------------
      Loading http://abc:8889/forms/java/frmwebutil.jar from JAR cache

      RegisterWebUtil - Loading WebUtil Version 10.1.2.0

      Loading http://abc:8889/forms/java/frmall_jinit.jar from JAR cache

      Loading http://abc:8889/forms/java/jacob.jar from JAR cache

      Loading http://abc:8889/forms/java/printtext.jar from JAR cache

      proxyHost=null

      proxyPort=0

      connectMode=HTTP, native.

      Forms Applet version is : 10.1.2.0

      java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

           at sun.applet.AppletClassLoader.getBytes(Unknown Source)

           at sun.applet.AppletClassLoader.access$100(Unknown Source)

           at sun.applet.AppletClassLoader$1.run(Unknown Source)

           at java.security.AccessController.doPrivileged(Native Method)

           at sun.applet.AppletClassLoader.findClass(Unknown Source)

           at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

           at java.lang.ClassLoader.loadClass(Unknown Source)

           at sun.applet.AppletClassLoader.loadClass(Unknown Source)

           at java.lang.ClassLoader.loadClass(Unknown Source)

           at java.lang.ClassLoader.loadClassInternal(Unknown Source)

           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.TextFieldItem.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)

      java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

           at sun.applet.AppletClassLoader.getBytes(Unknown Source)

           at sun.applet.AppletClassLoader.access$100(Unknown Source)

           at sun.applet.AppletClassLoader$1.run(Unknown Source)

           at java.security.AccessController.doPrivileged(Native Method)

           at sun.applet.AppletClassLoader.findClass(Unknown Source)

           at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

           at java.lang.ClassLoader.loadClass(Unknown Source)

           at sun.applet.AppletClassLoader.loadClass(Unknown Source)

           at java.lang.ClassLoader.loadClass(Unknown Source)

           at java.lang.ClassLoader.loadClassInternal(Unknown Source)

           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.ButtonItem.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)

      -----------------------------------------------------------

      Can anybody help me how to solve this problem ?

      Thanks,
      Iwan
        • 1. Re: Getting Error when running oracle form 10g
          HamidHelal
          Do you start OC4J instance ..? Located at Start Menu >> All Programs >> Oracle Developer suite <home_name> >> Forms Developer >> Start OC4J instance..

          If not first start it and then try


          Hope this works...


          Hamid
          • 2. Re: Getting Error when running oracle form 10g
            user1888509
            Hi Hamid,

            Thanks for your reply.

            yes, i started OC4J Located at Start Menu >> All Programs >> Oracle Developer suite <home_name> >> Forms Developer >> Start OC4J instance.

            I have tried it but it is not work.

            Thanks,
            Iwanto
            • 3. Re: Getting Error when running oracle form 10g
              HamidHelal
              problem is
              java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
              Do you try to run from another pc or your own ?
              check the network connection in case of other pc

              What is your JRE version ?

              is there any other jre version ?

              what is the formsweb.cfg configuration for u'r application ?


              Hamid
              • 4. Re: Getting Error when running oracle form 10g
                CraigB
                Loading http://abc:8889/forms/java/printtext.jar from JAR cache
                This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
                java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
                Does your printtext.jar Java Bean need to open an HTTP connection in order to print?

                Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
                RegisterWebUtil - Loading WebUtil Version 10.1.2.0
                Your form appears to be using WebUtil. Has it been successfully configured?

                Honestly, you need to list the following minimum information when you post a question; it gives us all or most of the information we need to help you and it eliminates the need for us to ask for this information. Please always include:
                * Forms Version (eg; 10.1.2.0.0 not 10g)
                * Java Version
                * Client OS version
                * What you were doing when the error occured.

                Craig...
                • 5. Re: Getting Error when running oracle form 10g
                  user1888509
                  Hi Crag,

                  This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
                  --> Yes, correct, i am using 3rd Party.

                  Does your printtext.jar Java Bean need to open an HTTP connection in order to print?
                  --> yes

                  Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
                  --> yes, in the morning, i have run the program successfully, and when i tried in the evening, it's not working.

                  Your form appears to be using WebUtil. Has it been successfully configured?
                  --> yes, the webutil has been successfully configured, i have run webutil demo form, and it worked properly.

                  * Forms Version (eg; 10.1.2.0.0 not 10g) --> Forms [32 Bit] Version 10.1.2.0.2
                  * Client OS version --> Windows XP
                  * What you were doing when the error occured. -
                  --> the error occured when i run the oracle form. so from oracle form, i pushed [ctrl]+R after the applet appeared,
                  i opened the java console in the taskbar, and i saw the error.

                  Thanks,
                  Iwan
                  • 6. Re: Getting Error when running oracle form 10g
                    CraigB
                    --> yes, in the morning, i have run the program successfully, and when i tried in the evening, it's not working.
                    Did you check the web service you call through the URL to see if it was working?

                    Also, you forgot to mention your Java version. Is your Java Bean compatible with the client Java version?

                    Craig...

                    Edited by: CraigB on Jan 30, 2013 8:07 AM