2 Replies Latest reply on Oct 1, 2013 5:17 PM by frank1018

    java.lang.ClassNotFoundException: oracle.forms.engine.Main

    frank1018

      I got this error when opening my forms, in java console, it says the frmall.jar file cannot be downloaded.

       

      I tried to get access the file with http://192.168.3.44:9001/forms/java/frmall.jar  ,  it displays 404 page not found.

       

      I think the virtual path defined in forms.conf is not working at all. Because I tried to put a html file under each of the directory, none of them are accessible.

       

      RewriteRule ^/forms/java/(..*) /workaroundjava/$1 [PT]

      AliasMatch ^/workaroundjava/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/java/$1"

       

       

      RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]

      AliasMatch ^/workaroundhtml/(..*) "/home/oracle/Oracle/Middleware/asinst_1/config/FormsComponent/forms/html/$1"

       

       

      RewriteRule ^/forms/webutil/(..*) /workaroundwebutil/$1 [PT]

      AliasMatch ^/workaroundwebutil/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/webutil/$1"

       

      What might be the problem ?

       

      Here is the java console log :

       

      network: Cache entry not found [url: http://192.168.3.44:9001/forms/java/frmall.jar, version: null]

      network: Connecting http://192.168.3.44:9001/forms/java/frmall.jar with proxy=DIRECT

      java.io.FileNotFoundException: http://192.168.3.44:9001/forms/java/frmall.jar

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

        at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)

        at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)

        at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)

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

        at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)

        at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)

        at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)

        at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)

        at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)

        at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)

        at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)

        at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)

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

        at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)

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

        at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)

        at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)

        at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)

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

        at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)

        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

        at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

        at sun.plugin2.applet.Plugin2ClassLoader.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 sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

        at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)

        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

       

      basic: load: class oracle.forms.engine.Main not found.

      java.lang.ClassNotFoundException: oracle.forms.engine.Main

        at sun.plugin2.applet.Applet2ClassLoader.findClass(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 sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

        at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)

        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

      Ignored exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main

      basic: Dialog type is not candidate for embedding

      basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1e966fb

      security: Reset deny session certificate store