About Sun JVM Bug 4705373

For the detail description of this bug, please refer to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4705373
I made a test on Bug 4705373 on my laptop, the test environment is:
RAM: 1.25GB
OS: Windows XP SP1
JAVA: Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
The size of test2.zip: 1.32GB
Test program:
public class LargeZipFile {
     public static void main(String[] args) {
          try {
               System.out.println("totoal memory: " + Runtime.getRuntime().totalMemory());
               System.out.println("free memory: " + Runtime.getRuntime().freeMemory());
               System.out.println(args[0] + ", size is " + new java.io.File(args[0]).length() + " bytes");
               new java.util.zip.ZipFile(args[0]);
               System.out.println("success");
          } catch (Throwable t) {
               t.printStackTrace();
Test Result:
E:\Tools>java -Xms1250m -Xmx1250m LargeZipFile test2.zip
totoal memory: 1300692992
free memory: 1300560136
test2.zip, size is 1425952261 bytes
success
I didnot get the OutOfMemoryError.
Questions:
1. Is this bug only related with Linux system (Or certain kernel version)?
2. How to reproduce this bug on Windows environment?
3. Can anybody give a more detailed explaination of the cause of the bug?
Thanks a lot!

The suggested SUN workaround is simply to increase your PermSize. The default recommended size for NW04 is 192MB. If you get OOM in the Perm space then that suggests you might be hitting this bug (or your Perm space is just to small...). You should first simply increase the PermSize to something larger such as 256MB which is the suggested size for 7.0 (2004S) kernels anyway. But remember that Perm counts in your Heap so make sure you don't get things too big if you are on 32-bit OS.
Based on my reading of the bug report it is not guaranteed that you would experience this bug, though certainly it seems possible. There are no published SAP Notes regarding this SUN bug to my knowledge.
Nick

Similar Messages

  • NetWeaver and Sun JVM bug 4957990?

    Hi, does anyone know if and how NetWeaver is affected by Sun JVM bug 4957990 ? <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957990">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957990</a>
    Thanks,
    Victor

    The suggested SUN workaround is simply to increase your PermSize. The default recommended size for NW04 is 192MB. If you get OOM in the Perm space then that suggests you might be hitting this bug (or your Perm space is just to small...). You should first simply increase the PermSize to something larger such as 256MB which is the suggested size for 7.0 (2004S) kernels anyway. But remember that Perm counts in your Heap so make sure you don't get things too big if you are on 32-bit OS.
    Based on my reading of the bug report it is not guaranteed that you would experience this bug, though certainly it seems possible. There are no published SAP Notes regarding this SUN bug to my knowledge.
    Nick

  • Dynamic versioning of Sun JVM

    Hi,
    I have already read the Oracle about Sun JVM dynamic versioning for Oracle Forms but am still confused. I'm migrating Forms 9.0.2 to 10.1.2.0.2 and would like to use Dynamic versioning of Sun JVM with Sun JVM 1.4.2_06 as a minimum version. What should I put for the following parameters?
    jpi_classid
    jpi_download_page
    jpi_codebase
    jpi_mimetype
    Thanks.
    Andy

    Read tarun telang's blogs on Java
    this could be your starting point..
    Introduction to SAP JVM

  • Full GC in Sun Jvm

    1) In Sun JVM, does every Full GC clears space on PermGen too?
    2) Given the PermGen is re sized that causes Full GC, is the Total available heap after this Full GC calculated as: Total available heap on "Young+Old+Perm" OR "Young+Old"?
    Could you clarify the above,please?
    Thanks!

    Hi,
    When full GC happen it check only Young + Old not perm
    following link would give you more details about Sun JVM GC and memory management
    http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
    Regards,
    Nachi

  • Sun JVM works, Microsoft VM gives an error

    I've got this applet:
    import java.awt.*;
    import java.applet.Applet;
    import java.net.*;
    import java.io.*;
    public class Standen
    extends Applet {
    private URL sourceFile;
    private BufferedReader inFile;
    private String lines="";
    public String getScores(String bestand) {
    try {
         sourceFile = new URL(getCodeBase(), bestand);
    getFile();
         getMostRecent();
    catch (Exception ex) {
    return "";
    return lines;
    private void getFile() throws Exception {
    URLConnection link = sourceFile.openConnection();
    inFile = new BufferedReader(new InputStreamReader(link.getInputStream()));
    lines = "";
    String line = "";//lezen van bestand
    do {
    if (line != "") {
              line = line.trim();
    lines = lines + line + "\n";
    line = inFile.readLine();
    while (line != null);
    inFile.close();
    private void getMostRecent() {
         String term = "<mostrecent>";
         String eindTerm = "</mostrecent>";//Tag met mostrecent
         String vergelijkLines = lines.toLowerCase();//Hoofdletters maakt niet uit
         int plaatsTerm = vergelijkLines.indexOf(term);//plaatsen opzoeken van de tags
         int plaatsEindTerm = lines.indexOf(eindTerm);
         plaatsTerm = plaatsTerm + term.length();//Tag zelf niet meenemen
         if(plaatsTerm!=-1 &&plaatsEindTerm!=-1) {//alleen als de tags voorkomen
              lines = lines.substring(plaatsTerm,plaatsEindTerm);//tekst kopieren
         } else {
              lines="";//anders niks teruggeven
    It works fine on my computer with the sun jvm, but it doesn't seem te work if you have the microsoft vm installed. I still want to make the applet compatibel for other people. What can I do about this?

    There is a way to enable the IE Java console - try googling for instructions. There's a good chance the console displays an error message. Or if it doesn't, add debugging println's to pinpoint where something goes wrong.
    The MS JVM is old and has bugs, including security bugs. If the users of your applet are in any way important to you (such as paying customers), try to get them to dump the MS JVM. They are opening themselves up to worms and such nastiness.
    By the way, ' if (line != "")' isn't right, you need 'if (!line.equals(""))'.

  • Issues with migrating to SUN JVM

    Hi
    Chapter 4 of the "Microsoft Java Virtual Machine Transition Guide for IT Professionals" [part of the documentation for "The Diagnostic Tool for the Microsoft Virtual Machine"] contains[under a discussion of disabling Java] :
    (a) '... the Sun JRE, which "impersonates" the Microsoft Java Virtual Machine in IE ...';
    (b) 'Some Java plug-ins install in a Windows system by "impersonating" the Microsoft Java Virtual Machine using the same registry entry and Class ID in installation ... Be cautious when installing JREs that impersonate the Microsoft Java Virtual Machine ...'.
    Can anyone provide more information about this "impersonation" and what to be "cautious" about?
    In particular:
    (1) Does the impersonation only affect interpretation of applets under Internet Explorer plus any direct HTML references to the associated registry entries [and not any direct executable references to the Microsoft Java VM]?
    (2) Does the Microsoft Java VM have to be retained [even if another JRE is installed] to support any direct executable references to it?
    When I run "The Diagnostic Tool for the Microsoft Virtual Machine" on a Windows 98SE system, its VM Dependency Report has many entries for Micrsoft library modules - eg IEDETECT.DLL - and its Visual J++ Class Report has many entries - eg C:\WINDOWS\SYSTEM\MSHTML.DLL.
    There is no information about whether such dependencies are critical - the modules may have alternative paths if the MSJVM is not installed.
    At this stage, I suspect that Microsoft is not going to issue updates to such modules [Windows 98 is no longer fully supported] and therefore it would be unsafe to remove the Microsoft Java VM.
    Chapter 4 also mentions a "TreatAs" subkey, and recommends removing it. Does the Sun JRE install or rely on such a subkey?
    Chapter 6 says that "The use of Microsoft extensions is easy to find in current J++ source files ..." but is there any way that users without access to such source files can find which executable modules are dependendent on the entries shown when I run "The Diagnostic Tool for the Microsoft Virtual Machine" and look at its Visual J++ JAVAREG Report [which lists CLSIDs and associated Java classes for msjava.dll].
    Regards,
    Peter Jones

    HI Owen,
    JVM dependent web Applications are not working with IE after migrating to SUN JVM from MSJVM
    steps I followed are as follows.
    1)uninstalled MSJVM using MSJVM removal tool
    2) Install SUNJVM 1.4.2_07
    os used is windows xp sp2.
    I did checked SUN JVM in Internet options.
    Then I tried to test JVM dependent web apps on this they are not working. sometime JVM was attempting to upgrade to a newer version.
    But strangely it started working when I followed follwong steps.
    1) Install SUNJVM 1.4.1 (initial) - this version actually works proper with Documentum
    2) Uninstall SUNJVM 1.4.1 from Add/Remove Programs AND Remove the two Java Folders from Registry, under the Software Folder
    3) Reboot the pc
    4) Install SUNJVM 1.4.2_07
    5)checked SUN JVM in Internet options.
    Can Some one help me to know the reason for both not wokring and working.espl working since deepending on this I need to decide on how to migrate to SUN JVM
    Thanks
    Nagaraj
    History:
    My client is having MSJVM on their PCs I had suggested to migrate all these MSJVM dependent apps to SUN JVM. In this process I wanted to test these MSJVM apps with SUN JVM. while setting test lab I observed above mentioned behaviour.

  • Forms 10g rel 1( 9.0.4 ) vs SUN JVM 1.5

    Hello:
    From SUN site you can read :
    "Changes in 1.5.0_06
    The full internal version number for this update release is 1.5.0_06-b05 (where "b" means "build"). The external version number is 5.0u6.
    Security Enhancements
    Prior to this update, an applet or application could specify the version of the JRE on which it would run. This has changed. All applets are executed with the latest JRE version. Unsigned Java Web Start applications that specify a version other than the latest trigger a warning, requiring explicit user permission before the application will run. Signed Java Web start applications are not affected. "
    Assuming that our customer will use SUN JVM , NOT Oracle JInitiator.
    We have seen that if in a client machine it is installed SUN JVM 1.4.2_10 ( certified ) AND SUN JVM 1.5 or newer.
    there is NO WAY to force Forms 9.0.4 applications to run with SUN JVM 1.4.2_10.
    In spite of doing the following settings at formsweb.cfg
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_10
    when you run forms 9.0.4 applications from a browser in that machine, SUN JVM 1.5 is mandatory used by the browser.
    It seems that IT IS IMPOSSIBLE to tell 9.0.4 to use SUN JVM 1.4.2_10 because SUN prevents it according to the above documentation .
    Q1) I thank your comments on this
    Then, when you look for certification info:
    a) you can get this info for Forms 10g R2
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    b) you can get this info for Forms 10g R1
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.ht
    ml
    Q2) What are ORACLE plans about certification of SUN JVM 1.5 AND Forms 10g Rel 1 ( 9.0.4 ) ?
    Thanks in advance,
    Fernando Rey

    Hi Guys,
    I am currently testing our portal with a number of JRE version or Jinitiator and the SUN JRE.
    I found some very useful information about changing the registry of the local PC to re-enable specific versioning, see info, below.
    I have tested this and it does work, but you need to be careful with Sun JRE versions to ensure that you are on 1.5.0.7 or higher.
    Another useful link is this discussion over on the sun forums.
    http://forum.java.sun.com/thread.jspa?threadID=730855
    Good Luck
    Scott
    We have found a conflict with the Sun JRE 1.4.2.6 and version Sun JRE 1.5.0.6
    To get around this conflict a registry key has to be added onto the users PC and the user needs to remove 1.5.0.6 and install 1.5.0.7 or higher. To make matters worse the auto-update feature in version 1.4, if left enabled, will update the user to 1.5.0.6 even thought the latest release from the sun web site is 1.5.0.8 !
    Therefore can you add this registry key onto the automated install of the Sun 1.4.2.6 setup as per the instructions below.
    Troubleshooting Conflicting JPI Versions on the Desktop:
    Per oracle note 368775.1, JRE 1.5 will not allow static versions. In other words version 1.5
    may override your required version of 1.4.2. They call it a security feature, but it can reek
    havoc with oracle forms. This section addresses a possible workaround.
    If your users either need to run JPI 1.5 for any reason, here is the workaround to force
    BANNER to use ONLY version 1.4.2.
    If you launch forms and in the java console it shows version 1.5.X, perform the following
    steps.
    1. Make a backup of the windows registry
    2. Edit the registry
    3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\
    4. Create a new directory by highlighting the key above and pressing <RIGHT
    CLICK>/<NEW KEY>
    5. Rename the key to [Java Deployment]
    6. Highlight the new key created in step 5 and press <RIGHT CLICK>/<NEW KEY>
    7. Rename this new value to [Policy]
    8. Highlight the new key created in step 7 and press <RIGHT CLICK>/<NEW DWORD>
    9. Rename this DWORD to “EnableSecureStaticVersioning”
    Re-launch forms and verify via the java console that the desktop is returning 1.4.2.

  • About kaffe jvm installation error

    hi,
    while installing kaffe jvm on linux platform :'./configure ' gives following error :
    extern size_t iconv (iconv_t cd, char * inbuf, size_t inbytesleft, char * outbuf, size_t outbytesleft);
    checking for X... no
    configure: error: GTK+ peers requested but no X library available
    configure: error: /bin/sh '../../../../../kaffe-1.1.7/libraries/javalib/external/classpath/configure' failed for libraries/javalib/external/classpath
    plz give me some solution for successful configure process.
    Message was edited by:
    attar_reshma

    I would assume you would want to goto http://www.kaffe.org/ to get answers about
    this jvm.. If however you are having issues with a Sun JVM let us know..

  • Production Client Side Apps not using Sun JVM?

    Just wondering if anyone here deploys a non-Sun JVM to client machines?
    The impression I get is that everyone tends to just stick with the Sun JVM because is easily available and reliable.
    However, I'm considering suggesting that our clients move to a different JVM for the performance reasons described below:
    I wrote a series of performance tests to measure the time taken to repeat certain common tasks from our apps. I was surprised to find that the BEA JRockit JVM outperformed the SUn JVM by a long, long way in certain tasks, and was slower in none.
    Here's a selection of (subjective) results:
    Log Lines written per second - Sun 21,000 BEA 29,000
    Time taken to call (100000000) methods - Sun .907s BEA .269s
    Time taken to call (100000000) sync methods - Sun 17s BEA 12.4s
    Time to create big byte array - Sun 125ms BEA 32ms

    i would go for the intel/dual-proc optimisation answer for the difference.
    Although 50%? Logging to files uses most time with file access. Didn't know that was optimized either. (learning new stuff every day :-)
    But then again, 1 great thing about Java: write once, run anywhere (on any JVM, except for mickeysoft: they have their own neat thingie called the M$ VM, which downgrades performance by a 1000% and uses the 1.1.3 spec)
    As a thumb rule: either provide the JVM of your choice to your customers and make it mandatory to use that one, or make sure that it runs with (reasonable) performance under the slowest JVM. (p.s. 99% of the users use the Sun JVM for what i've seen, so if you let your clients choose: Sun's the way to go).

  • Conflicts between jinitiator and sun jvm:  is webstart a viable solution?

    We currently have a problem where our users have to use multiple sessions in order to keep Sun's JVM from loading in the same IE instance that Jinitiator 1.3.1.21 is running. When jinitiator loads after java is already running, ie exits with a C++ exception, not very friendly to our users.
    Our current solution instructs people to launch the browser in a separate memory space, but that is very tedious to explain to users. We have multiple vendor-provided fat java applets (one using jinitiator, one using sun jvm)
    I've seen some messages on this forum regarding switching the applet into a full blown application running from webstart. What this would do for us is allow us to keep the two jvms separate when they are launched from webstart.
    1) Does anyone else have this problem and have a different solution?
    2) Is it possible from a jnlp file to indicate that jinitiator should be chosen to run the applet/application?
    - from http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources I see <j2se version="1.4+"/> can be picked to choose a jvm in order of preference.
    Is there anything specific about jinititator that would allow it to be indicated on the version line? Has anyone done this?
    Thanks,
    Chris

    The easiest solution would probably be to use the same JRE for all applications. Sun JRE 1.4.x is certified with most Forms versions, however refer to the Forms Client Statement of Direction for your Forms version.
    Forms 6i
    http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms6i.html
    Forms 9i
    http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms9i.html
    Forms 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.html

  • Microsoft & Sun JVM compatability

    Are there any reasons why an application (with Java 1.1.8 ) designed to work with Microsoft JVM 5.0.0.3234 or above should not work with Sun JVM v1.4.2.03?

    Your options are:
    1. Run it in the MS JVM (but you knew that)
    2. Download, disassemble and fix the code to run in Sun's JVM. Various tools available to aid in this, but it's legally questionable.
    3. Use a wrapper environment to host the code.
    I don't know if 3 exists, or indeed if it's possible because I don't know much about MS's proprietary changes. If they altered bytecode it's probably not, if they didn't, it probably is. I don't know of a product that does this, but it's worth having a dig around on google. If it's possible and a suitable product exists, that's probably the best solution.
    Dave.

  • Game runs fine in sun jvm, microsoft jvm causes 99% cpu usage and is SLOW

    In the microsoft JVM (my target platform) I get 2 frames per second... in the sun JVM I get at least 60.
    The strangest part, is that this only repros when iexplorer.exe is the only process running java anything... for example, if I have net beans running, I get 60 FPS in the microsoft JVM as well. That makes no sense to me.
    I have tried thread.yeild and thread.sleep in my main loop, and that didn't fix anything.

    In the microsoft JVM (my target platform) I get 2
    frames per second... in the sun JVM I get at least
    60. Don't use the MS JVM. I
    The strangest part, is that this only repros when
    iexplorer.exe is the only process running java
    anything... for example, if I have net beans running,
    I get 60 FPS in the microsoft JVM as well. That
    makes no sense to me.
    I have tried thread.yeild and thread.sleep in my main
    loop, and that didn't fix anything.About these 2 methods.
    sleep() // example in almost every book. Leaves
    // Thead on the schedule list
    yeild() // Pell mell as in no control of when it unyields.
    // prone to race/deadlock UNLESS monitored by
    // another thread that wakes up periodically.
    Tony's "Theorized" <- make the uptight acedemic sycophants happy.
    Law of the exec constant.
    "Any Thread or process *that locks the system MUST yeild controls for at
    least 20MS pre iteration."
    Why 20MS? It gives the underlying OS a little slice and is enough
    to ensure everything gets enough CPU. Every MS under 20 increases
    the deadlock potential. (*If at zero wait you get a preempted deadlock)
    You can play with this value but I have found it is pretty consistent
    across CPU speeds / hardware/
    Use a synchronized wait() in your main run method every iteration.
    Objet waitObject();
    synchronized(waitObject)
    try
       waitObject.wait(20);
    catch(InterruptedException ie)
    }wait() Removes the Thread from being scheduled.
    This iwll give IE the CPU it needs and your CPU should dro
    to around 1%.
    Hmm now how many kicked dog howls am I going to get about his message
    (T)

  • BEA-280101 warning while using Weblogic 10.3.3 on SPARC 64bit sun jvm

    Hi all:
    I got this warning when start Weblogic 10.3.3 on SPARC 64bit sun jvm
    <BEA-280101> <The persistent file store "_WLS_xxxdomain" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    I have checked that Native I/O is enabled,but it seems JMS can't find correct .so file
    Any idea? Thanks in advance!
    Best regards,
    James

    We are also getting the same error on a Linux 10.3.3 installation with 64bit jrockit
    Red Hat Enterprise Linux Server release 5.5
    Linux 2.6.18-194.3.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
    Is that the correct driver? This is a default weblogic installation, what is missing so it uses the correct I/O method?
    ####<Jun 22, 2010 6:04:12 PM CEST> <Info> <Store> <server> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <12772226524
    27> <BEA-280008> <Opening the persistent file store "_WLS_admdominio1" for recovery: directory=/weblogic103/user_projects/domain/servers/server/data/store/default requestedWritePolicy="Dire
    ct-Write" fileLockingEnabled=true driver="NIO".>
    ####<Jun 22, 2010 6:04:12 PM CEST> <Warning> <Store> <wlserver> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277222652564> <BEA-280101> <The persistent file store "_WLS_wlserver" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    Edited by: ezra-s on 22-jun-2010 18:46

  • MSJVM to Sun JVM for Internet Explorer

    Hi,
    Currently I am using an applet in a jsp.
    This applet is for authentication purpose.
    Now currently we want to test it with
    sun JVM instead of MSJVM. Could you
    please tell what needs to be done.
    thanks
    radki_j

    Just install the Sun JRE version you need and register it to handle the Applet tag which is an option in the Tools->InternetOptions section of IE.

  • Issue in configuration - formsweb.cfg (10.1.2.0.2) using Sun JVM

    Hi gurus,
    Below is my config in formsweb.cfg, I want to use Sun JVM instead of Jinitiator
    [customjpi]
    baseHTML=D:\Ora10gDS\forms\server\base.htm
    baseHTMLjpi=D:\Ora10gDS\forms\server\basejpi.htm
    baseHTMLjinitiator=D:\Ora10gDS\forms\server\basejpi.htm
    HTMLdelimiter=%
    envFile=default.env
    escapeparams=true
    form=test.fmx
    serverURL=/forms/lservlet
    codebase=/forms/java
    imageBase=DocumentBase
    width=100%
    height=100%
    separateFrame=true
    archive=D:\Ora10gDS\forms\java\frmall.jar
    archive_jini=D:\Ora10gDS\forms\java\frmall_jinit.jar
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_09
    When I calling form using URL http://pc021161.cts.com:8889/forms/frmservlet?config=customjpi which is throwing errors.
    Below is my log of Java console
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\125217
    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
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.net.MalformedURLException: unknown protocol: d
         at java.net.URL.<init>(Unknown Source)
         at java.net.URL.<init>(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
         at sun.plugin.AppletViewer.initApplet(Unknown Source)
         at sun.plugin.AppletViewer.appletInit(Unknown Source)
         at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
         at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.applet.AppletClassLoader.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)
    Caused by: 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)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Please help, if anybody have the idea of this error.
    Thanks in Advance
    Justin

    My default.env file is pasting below:
    # $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=D:\Ora10gDS
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. c:\test\dir1;c:\test\dir2)
    FORMS_PATH=D:\Ora10gDS\forms;D:\Source\FMB;D:\Source\LIB
    # webutil config file path
    WEBUTIL_CONFIG=D:\Ora10gDS\forms\server\webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # D:\Ora10gDS\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=D:\Ora10gDS\bin;D:\Ora10gDS\jdk\jre\bin\client
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
    # System settings
    # You should not normally need to modify these settings
    FORMS=D:\Ora10gDS\forms
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=D:\Ora10gDS\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;D:\Ora10gDS\jlib\repository.jar;D:\Ora10gDS\jlib\ldapjclnt10.jar;D:\Ora10gDS\jlib\debugger.jar;D:\Ora10gDS\jlib\ewt3.jar;D:\Ora10gDS\jlib\share.jar;D:\Ora10gDS\jlib\utj.jar;D:\Ora10gDS\jlib\zrclient.jar;D:\Ora10gDS\reports\jlib\rwrun.jar;D:\Ora10gDS\forms\java\frmwebutil.jar;D:\Ora10gDS\forms\java\frmall.jar;D:\Ora10gDS\forms\java\frmall_jinit.jar
    Regards
    justin

Maybe you are looking for

  • What's the best way to (re)install Logic Studio? Need Help.

    I bought Logic Studio a few months ago and installed it on my new MacBook Pro 2.4Ghz with 2G Ram, 160G hard drive @ 7200 rpm. Being new to Logic, at install, I just put all 40+ gigs of content on the computer. After a while I considered putting the A

  • Diacritic: unicode to ascii

    I'm looking for an algorithm to convert Unicode ro ASCII characters. The algorithm does not have to cover all unicode characters, but Latin1 and Latin 2 should be covered. If the character cannot be converted (no representation in ascii), then i can

  • Lost video

    I cannot view videos, whether attachments to email or otherwise, such as youtube. It was fine until a couple of days ago.

  • Quick iPad Photo Library Cleanup?

    Our 32GB iPad Mini running iOS7 is nearly full. We have 18GB of photos on the mini. So... I'd like to quickly delete all the photos that we have NOT included in a "user" album (e.g. albums other than Camera Roll, Videos, Imported Photos & Videos, Las

  • Resizing events, and blocking application

    Hi, While developing my application, that displays the state of processes, I observed something I can not duplicate that good. While debugging the app, I observed that when I manually resize the window size, my application could block (as in not resp