Java error when running Form in Web

I've got the following message when I run form on web.
java.lang.ClassNotFoundException: sun.applet.AppletViewer
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at oracle/forms/engine/Main.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Is there any file missing when I setup my environment.
Please help me.
Regards,
ET
null

Thank you very much otherwise I will waste a lot of time.
Regards,
ET
Oracle Developer Team wrote:
: ET (guest) wrote:
: : I've got the following message when I run form on web.
: : java.lang.ClassNotFoundException: sun.applet.AppletViewer
: : at com/ms/vm/loader/URLClassLoader.loadClass
: : at java/lang/ClassLoader.loadClassInternal
: : at oracle/forms/engine/Main.init
: : at com/ms/applet/AppletPanel.securedCall0
: : at com/ms/applet/AppletPanel.securedCall
: : at com/ms/applet/AppletPanel.processSentEvent
: : at com/ms/applet/AppletPanel.processSentEvent
: : at com/ms/applet/AppletPanel.run
: : at java/lang/Thread.run
: : Is there any file missing when I setup my environment.
: : Please help me.
: ET - this is a known bug with the 6.0.5.0.2 forms applet.
This
: bug has been fixed and will be available in patchset 2 due out
: in August.
: In the meantime a workaround is to put the classes.zip from
the
: standard JavaSoft JDK into the classpath on the client machine
: or - unzip the classes.zip file into the virtual directory on
: the server that you use as the CODEBASE parameter in the HTML
: file.
: There is a technical note that describes how to setup IE to
run
: Developer Server 6.0 applications on the OTN website. Check
: this out for some more details.
: - The Developer Team -
: : Regards,
: : ET
null

Similar Messages

  • Java error when running Forms -Translate Utilty

    Hello everybody,
    I have some forms developed with Developer Suite 10g and WebUtil 1.6 that I ran with trace option. Enabling trace option in forms implies the creation of binary files with the name forms_processId in the forms trace server (example: forms_3528.trc). In order to visualize this binary file I have to convert them to .xml or .html file using the Translate Utility (a forms utility based on java).
    My Oracle Developer Home is D:\DevSuiteHome_1. The .trc files are located in folder D:\DevSuiteHome_1\forms\trace.
    Here there are the steps I followed in dos command window:
    D:\>SET CLASSPATH=D:\DevSuiteHome_1\forms\java\frmxlate.jar; D:\DevSuiteHome_1\forms\java\frmall.jar;D:\DevSuiteHome_1
    D:\> CD DevSuiteHome_1\forms\trace
    D:\>java oracle.forms.diagnostics.Xlate datafile=forms_3528.trc outputfile=myfile.xml outputclass=WriteOut
    Obs: Param datafile shows the file I want to translate, parameter outputfile is the name of the translated file (.xml or .html). Parameter outputclass shows the type of file into which I want to translate my .trc file (WriteOut for a .xml file, WriteOutHTML for a .html file).
    Here it is the result I got:
    Exception in thread "main" java.lang.IndexOutOfBoundsException
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:194)
    at java.io.DataInputStream.read(DataInputStream.java:224)
    at oracle.forms.diagnostics.ReadDataFile.readStrAttribute(Unknown Source)
    at oracle.forms.diagnostics.ReadDataFile.preRead(Unknown Source)
    at oracle.forms.diagnostics.ReadDataFile.preReadEvent(Unknown Source)
    at oracle.forms.diagnostics.Xlate.process(Unknown Source)
    at oracle.forms.diagnostics.Xlate.main(Unknown Source)
    I'm not at all familiar with java...What does this exception mean? What did I do wrong?
    Any help will be appreciated.
    thank you
    daniela

    FYI Update: It appears that the Xlate utility is choking on events 3 (Error messages on the status bar) and/or 1 (Error during open form) that now occur in our custom login form since applying patch 3. Examining the xlate output in debug mode, after processing these events, the next EventID shows a value >20,000--clearly either the file data is corrupted or the input data stream becomes misaligned at that point.
    Therefore it is an issue between the trace and the xlate class, NOT patch 3 per se.
    The error itself has no effect to the user and we can work around the trace translation issue by simply excluding these events.

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • Java error when running fmx using appletviewer

    "java.util.MissingResourceException: can't find resource for
    oracle.ewt.alert.resource.AlertBundle_en_US"
    such an error appears when trying:
    appletviewer file:d:\wwwroot\form60code\static.htmlnull

    Thank you very much otherwise I will waste a lot of time.
    Regards,
    ET
    Oracle Developer Team wrote:
    : ET (guest) wrote:
    : : I've got the following message when I run form on web.
    : : java.lang.ClassNotFoundException: sun.applet.AppletViewer
    : : at com/ms/vm/loader/URLClassLoader.loadClass
    : : at java/lang/ClassLoader.loadClassInternal
    : : at oracle/forms/engine/Main.init
    : : at com/ms/applet/AppletPanel.securedCall0
    : : at com/ms/applet/AppletPanel.securedCall
    : : at com/ms/applet/AppletPanel.processSentEvent
    : : at com/ms/applet/AppletPanel.processSentEvent
    : : at com/ms/applet/AppletPanel.run
    : : at java/lang/Thread.run
    : : Is there any file missing when I setup my environment.
    : : Please help me.
    : ET - this is a known bug with the 6.0.5.0.2 forms applet.
    This
    : bug has been fixed and will be available in patchset 2 due out
    : in August.
    : In the meantime a workaround is to put the classes.zip from
    the
    : standard JavaSoft JDK into the classpath on the client machine
    : or - unzip the classes.zip file into the virtual directory on
    : the server that you use as the CODEBASE parameter in the HTML
    : file.
    : There is a technical note that describes how to setup IE to
    run
    : Developer Server 6.0 applications on the OTN website. Check
    : this out for some more details.
    : - The Developer Team -
    : : Regards,
    : : ET
    null

  • Java.lang.ClassNotFoundException error when running form

    Hello,
    On a Windows 2003 64 bits server I have installed Oracle Application Server 10gR2 10.1.2.0.2 (Infrastructure + Business Intelligence and Forms option). I also upgraded to Portal 10.1.4. All components are up and running.
    I wanted to test if Forms services are functional using the test form provided by OAS at installation (test.fmb/.fmx).
    Steps executed:
    1) Start -> Programs ->Oracle Application Server 10g -> Forms Services -> Run a form on the web for form=test.fmx
    or in the IE browser:
    2) http://pwr-hp-srv.replynet.prv:7778/forms/frmservlet?form=test.fmx
    The applet is not starting and I receive the following error:
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
    What does this mean? What should I do to make it work?
    Any help will be appreciated.
    Tahnk you.
    daniela

    Hello again,
    I solved the problem.
    In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
    daniela

  • Java Error when starting form 10g from AS10g

    Hi!
    Just finished compiling libraries and forms on a UNIX machine, that hosts an application server.
    When I run my application via OC4J, the forms work fine, but when I start the application using the application server, only a grey applet window appears, and the JAVA console displays the following error:
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\rgoris
    Proxy Configuration: Manual Configuration
    Proxy: PROXY:8080
    Proxy Overrides: <local>
    JAR cache enabled
    Location: C:\Documents and Settings\rgoris\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    java.io.IOException: Connection failure with 407
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         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 sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WARNING: Unable to cache http://10.2.2.76:7778/forms/webutil/webutil.jar
    Does anyone know what's wrong?
    Thanks!
    Remco

    Hi Remco!
    I have found what caused this problem. The browser proxy settings had to be adjusted to be skipped when using the URL for the application server.
    That's all!

  • Error when run form on Oracle Application Server

    Hi al
    I'm using Webutil Library to create browse button to open dialog box
    When i run form in my computer,it run success and i can upload file do database and application server
    But i upload form to Oracle application server and compile it no error (i compiled webutil library)
    When i run form,and press button,it can't run and show error:
    "Oracle.form.webutil.file.FileFunction bean not found.WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work"
    Can you guide for me how can I run form on Oracle Application Server?
    Thanks all!

    Posting from another thread :-
    http://www.orafaq.com/forum/t/76916/2/
    i have resolved the problem
    the solution is to :
    -download jacob.jar and jacob.dll and frmwebutil.jar all directories (com and jini), you put them into the both directories ORACLE_HOME/forms/java and ORACLE_HOME/forms/webutil.
    -download webutil.pll and webutil.olb package , copy all files into ORACLE_HOME/forms/java and ORACLE_HOME/forms/webutil.
    -create a new user webutil on your data base and create the package webutil_db using � script create_webutil_db.sql
    after that you compile again webutil.pll and you forms.
    all this steps are described in this document:
    http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf

  • ERROR when run form

    Hi,
    I get this error when i try to run form.
    FRM-30191: No list items defined for required poplist.
    List CATEGORIA
    Item: CATEGORIA
    Block: TCOLABORADOR
    Form: AQDATA
    FRM-30085: Unable to adjust form for output.
    Thank you
    Diana

    hi,
    thank you, its working.
    For the first error: It was because in the property the "elements list" had one element, i just deleted it and working.
    For the second: it was because the trigger it wasn't well done.
    Diana

  • ORA-12560: TNS: protocol adapter error when running forms from IE

    hi
    when i running forms i get the error
    ORA-12560: TNS: protocol adapter
    please any help

    Check if your tnsnames.ora file has the entry for database you are trying to connect.
    Are you able to connect using sqlplus??
    Navnit

  • ODBC error when running query on WEBI XI R2

    Hi all,
    I have a newly installed XIR2 on Win 2003 (32-bit), I created a simple Universe pointing to MSSQL 2005. I encountered the error below when running a query from WEBI:
    Database Error: [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified. Error: WIS 10901
    Any ideas? Thanks!
    Cheers,
    Arms

    Hi Armstrong,
    If you are using an ODBC connection, make sure the connection is defined exactly the same on the server as it defined on your computer... With SQL you can try to create an OLE DB connection, then when you export the universe, the connection will still work... ODBC connections need to be created on all machines if you plan to use the desktop tools.
    Hope this helps
    Jacques

  • Java error when running in Translate Utilty with .trc files

    Hello everybody,
    I have Developer Suite 10g with WebUtil 1.6.
    I have launched a form with trace option and Forms created a file forms_3528.trc in my trace folder.
    In order to visualize I tried to convert the .trc file into a .xml or .html file using the Translate Utility.
    My Oracle Developer Home is D:\DevSuiteHome_1
    Here there are the steps I followed in dos command window:
    D:\>SET CLASSPATH=D:\DevSuiteHome_1\forms\java\frmxlate.jar; D:\DevSuiteHome_1\forms\java\frmall.jar;D:\DevSuiteHome_1
    D:\> CD DevSuiteHome_1\forms\trace
    D:\>java oracle.forms.diagnostics.Xlate datafile=forms_3528.trc outputfile=myfile.xml outputclass=WriteOut
    Here it is the result I got:
    Exception in thread "main" java.lang.IndexOutOfBoundsException
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:194)
    at java.io.DataInputStream.read(DataInputStream.java:224)
    at oracle.forms.diagnostics.ReadDataFile.readStrAttribute(Unknown Source)
    at oracle.forms.diagnostics.ReadDataFile.preRead(Unknown Source)
    at oracle.forms.diagnostics.ReadDataFile.preReadEvent(Unknown Source)
    at oracle.forms.diagnostics.Xlate.process(Unknown Source)
    at oracle.forms.diagnostics.Xlate.main(Unknown Source)
    What does this mean? I'm not at all familiar with java...
    Please let me know if you consider I should post this question on a Java forum not a Forms one.
    Thank you
    daniela

    FYI Update: It appears that the Xlate utility is choking on events 3 (Error messages on the status bar) and/or 1 (Error during open form) that now occur in our custom login form since applying patch 3. Examining the xlate output in debug mode, after processing these events, the next EventID shows a value >20,000--clearly either the file data is corrupted or the input data stream becomes misaligned at that point.
    Therefore it is an issue between the trace and the xlate class, NOT patch 3 per se.
    The error itself has no effect to the user and we can work around the trace translation issue by simply excluding these events.

  • Getting BEFOREREPORTTRIGGER error when running report on web

    Hi,
    I have developed a report which uses lexicals in main query. In lexicals I apply filters (if any) which come as parameters from the GUI via a dbase table. When report is run locally using "Run Paper Layout" option it works as desired -- with or without filters.
    When report is run via GUI it runs fine when no filters are applied. Problem comes when any of the filter is applied in any one of the cases selected from the GUI.
    And I get the following errors.
    REP-1419: Please contact the Systems Administrator.
    REP-1419: 'beforereport': PL/SQL program aborted.
    when I go and check the beforereport trigger it does not show any errors when report is run within report builder.
    Any suggestions would be appreciated
    Thanks in advance

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • White space when running forms in web browser

    Hi I am running a simple master - detail form in web browser on my machine . The form is coming fine but a lot of white space of present on the right hand side of the form how can i eliminate that?I have checked my html file and HSPACE="0" and VSPACE="0". what else can be the reason?

    are you running in seperateframe=true?
    if not you could check your width and height properties of your formsweb.cfg config section
    regards

  • Error when running forms

    hello,
    I facing this problem when runing my forms in form builder. Before its running but now it gives this error on java console then it will hang on the IE9.
    OS - windows7 64 bit.
    forms 11gR2.
    IE9.
    Database 11gR2.
    Java Plug-in 1.6.0_30
    Using JRE version 1.6.0_30-b12 Java HotSpot(TM) Client VM
    User home directory = C:\Users\charles
    nvalidating entry url= file=C:\Users\charles\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\48\3f3f0130-123948df.idx
    Invalidating entry url= file=C:\Users\charles\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\48\3f3f0130-123948df.idx
    java.lang.NoClassDefFoundError: java/in/RandomAccessFile
         at com.sun.deploy.util.SyncFileAccess.openLockFileObject(Unknown Source)
         at com.sun.deploy.util.SyncFileAccess.openLockRandomAccessFile(Unknown Source)
         at com.sun.deploy.cache.CacheEntry.openLockIndexFile(Unknown Source)
         at com.sun.deploy.cache.CacheEntry.access$000(Unknown Source)
         at com.sun.deploy.cache.CacheEntry$8.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CacheEntry.updateIndexHeaderOnDisk(Unknown Source)
         at com.sun.deploy.cache.CacheEntry.invalidateEntry(Unknown Source)
         at com.sun.deploy.cache.CacheEntry.invalidateEntryDueToException(Unknown Source)
         at com.sun.deploy.cache.CacheEntry.access$700(Unknown Source)
         at com.sun.deploy.cache.CacheEntry$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.cache.CacheEntry.<init>(Unknown Source)
         at com.sun.deploy.cache.Cache.getCacheEntryFromIdxFiles(Unknown Source)
         at com.sun.deploy.cache.Cache.getCacheEntry(Unknown Source)
         at com.sun.deploy.cache.Cache.getCacheEntry(Unknown Source)
         at com.sun.deploy.cache.Cache.getCacheEntry(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
         at sun.plugin.PluginURLJarFileCallBack$2.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)
    Any help? Cannot not run now my forms..

    hello
    Thank you for your reply.
    I just restarted my computer.Before that when opening any fmb in file menu it will close my IDE, even clicking the run button it will closed, so i think i need to restart the pc.Then it gives this error.

  • Frm-92101 getting error when running form using webutil

    hi
    I get an error FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details
    i am using form version
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    problem is some time form runs and some time dont any solution or possibility???

    check this for configuration of webutil
    http://baigsorcl.blogspot.com/search/label/WebUtil
    Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

Maybe you are looking for