Microsoft VM vs Sun JRE

Hi,
I am facing a big problem. My application is a web based application which runs on HTML javascript, Applet and servlets on windows platform.
A particular piece of code works well on Microsoft VM but does not on Sun JRE (1.5 and above).
Following error occurs while running on Sun JRE
window.document.applets[0].setWindow(); ----HTML
java.lang.NullPointerException
     at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.plugin.com.DispatchImpl.createContext(Unknown Source)
     at sun.plugin.com.DispatchImpl.getIdForName(Unknown Source)
But if i place a simple alert message on the html page the error disappear.
Sriju nair

Maybe you should lookup more results from the database at once, let's say the first 20 rows, as this is usually an expensive process I/O. Then you can scroll up and down the list with ease as you won't be constantly looking up results everytime you scroll, then if you require more results you can submit another query for the next 20 rows.
Java is an excellent choice for developing a large system as it is highly portable, meaning you write the code once and it will run on any platform that has a JVM. It is also fast, as it has Hotspot and Just In Time compilation. This allows your Java code to get converted to native code on the fly, and so you get excellent performance.
I would suggest maybe a slightyy more powerful computer for running a large scale application.

Similar Messages

  • Logo not displayed in MS JVM to Sun JRE conversion

    Hi,
    We have a small MS JVM version of application which we converted to Sun JRE. It has only one applet (we made it to <Object>). Applet code tries to load a logo using following code
    URL url = getMainApplet().getCodeBase();
    String protocol = url.getProtocol();
    String host = url.getHost();
    String file = url.getFile();
    file = file.concat("images\\weblogo.gif");
    URL imageURL = new URL(protocol,host,file);
    Image weblogoImage = Toolkit.getDefaultToolkit().getImage(imageURL);
    imagePanel = new ImagePanel(weblogoImage);
    //imagePanel.setBounds(7,2,101,47);
    imagePanel.setBounds(4,1,101,47);
    add(imagePanel);
    Some how it works fine with MS JVM but when we use sun jre..logo doent come..no error shown on console...
    Any one has any idea...
    thanks in advance..
    Anand
    Message was edited by:
    anand8030

    I also have same problem with my WinXP-SP1 and I also had removed MSJVM through the Microsoft utility. Since then I am having problems using Java based sites. To solve this problem I upgraded my JRE from 1.4.1_xx to 1.4.2_04, now the problem is completly different. I am prompted to download Java Virtual Machine which opens a page from Microsoft web site saying that you need MSJVM but then that site works fine, I can use Java applets in that site. If I refuse to download the Java Virtual Machine (which just opens the Microsoft page) then it does not work. Only problem is I am prompted to download Java Virtual Machine and I have to click on Download button.
    I have done everything to solve this problem unistalled JRE..restart..installing JRE...restart..and then checked http://www.java.com/en/download/help/testvm.jsp but problem is still same.
    I am highly frusteated with this. I think there are thousands of users who have same problem and Sun should have taken some initiative to solve this problem for Microsoft is not going to do anything in this regard. I seach Google and various forums and found tens of same problem with unresolved queries. Or Sun has taken any initiative in this regard.
    JRE is working fine in my Firefox browser.
    Thanks

  • There is a copy/paste problem with SUN JRE in the application.

    Hi All,
    The application is desinged and developed in Lotus Notes and contains a Rich Text field , its a web based application and loads with SUN JRE for the applet to gets load in the application. Whenever i tries to do copy/paste from Microsoft word document to rich text field in the application i get a text which is parsed with html tags which doesn't come while i loads MS JVM on the browser.
    I tried with SUN JRE 1.5 and 1.6 version , i got the parsingproblem ie text mixed with html and xml tags.
    Any help is appreciated!!.
    Thanks
    Muktesh.

    Hi,
    When we right-click a word that is marked with red or blue underline, it will pop up the suggested corrections context menu. It can give you other options, such as adding the word to your custom dictionary depending on the Microsoft Office program that you
    are using.
    If you want to copy such words, you can use Ctrl + C and Ctrl + V to achieve the goal. Or, we can right-click the word and then select
    Ignore All or Add to Dictionary, and then you can copy the word by right-clicking it. 
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • SUN JRE 1.3.1 slow JPEG file loading

    helo,
    I've developped an applet wich load jpeg files and display them on screen. I achieve my applet using Microsoft Java SDK 4.0 and all was fine. But my boss told me that the applet has to be run within the sun jre 1.3.1 plugin. When I test my applet with the sun plugin, it was horribly slow!!
    I wrote a little java app in order to compare the two jvm's. I establish that the Toolkit.getImage (+ media tracker for sync...) method was the main slowing point. I tested the app with 1.18 Mo jpeg files and found following results:
    Microsoft jvm : ~24 ms
    Sun JRE : ~250 ms
    about 10 times slower !!!
    What can I do??
    Am I stucked??
    thanx a lot
    cduret

    Kayaman, take a relax,
    there is no need to insult people. Many posts were written on this forum on "why do people get flamed for asking questions?". But there is no use to tell people they speak like 14 year old or they are from whatever UNI you mentioned in another post. At least don't forget that orher people also lose their time reading your answers. So if you have nothing to tell maybe just skip the topic.
    Mike

  • Discoverer 4i not working with Sun JRE plugin

    Hi All,
    Recently i replaced jinitiator with Sun JRE plugin, after the deployment of the plugins the discoverer is not launching from the form based responsibility.
    Its displaying on window as
    Applet oracle.disco.DiscoApplet notinited
    But i see the document 290807.1 for deployment of Sun JRE its no where mentioned that 4i will not Support Sun JRE plugins.
    Any inputs are appreciated
    Thanks in advance.

    Hi,
    You can upgrade to Discoverer 10g (10.1.2.3).
    Note: 313418.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=313418.1
    Note: 459344.1 - What JRE Client Works With Discoverer 10.1.2 and e-Business Suite 11.5.10.2?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=459344.1
    Note: 367389.1 - Recommended Patch for Discoverer 10g (10.1.2.1 / 10.1.2.0.2) Plus Known Issues
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=367389.1
    If you are not planning to use Oracle AS 10g features (like Discoverer Connection Management, Discoverer Portlet Provider, and Oracle Single Sign On, ..etc), you can choose to install Oracle Business Intelligence Server 10g Release 2. Oracle Business Intelligence Server 10g Release 2 is available on a separate standalone CD and includes Discoverer Server 10g, Discoverer Plus 10g, and Discoverer Viewer 10g.
    Regards,
    Hussein

  • Oracle Forms loading slower with Sun JRE in Oracle E-Business Suite 11i

    Hi,
    After Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite 11i (Note 290807.1) we find that Oracle Forms are loading slower than using Jinitiator.
    Also the PDF reports are opening in a minimized fashion. Meaning the PDF reports are opening correctly in new browser window (as expected) but is minimized.
    Customer is not willing to go live with Sun JRE due to these issues.
    Plz advice is there is any additional configuration I need to do.
    Rgds,
    Thiru

    When the JRE was installed/configured on the workstations was the jar cache placed on a LAN drive instead of the local drive? We have experienced poor performance with both the JRE and Jinitiator when the Workstation Sysadmins configured the jar cache to be located on a LAN drive. Also is the size of the jar cache on the workstation sufficient to hold all of your required jar files. It could be downloading the jar files all the time.
    Overall our performance with the JRE is comparible to the Jinitiator.
    Sorry I have not experienced the problem that you are having with you pdf reports so I can't provide any comments on it.

  • Acrobat v9 and the bundling of an OLDER SUN JRE that is vulnerable to exploitation!

    C:\Program Files\Adobe\Acrobat 9.0\Designer 8.2\jre\bin\java.exe
    "This installation of Sun Java JRE 1.5.x / 5.x is insecure and potentially exposes your
    system to security threats!
    The detected version installed on your system is 5.0.110.3, however, the latest secure
    version released by the vendor, fixing one or more vulnerabilities, is 5.0.160.2.
    Update Instructions:
    Update to 5.0 Update 16 or later."
    Reference:
    http://secunia.com/advisories/31010/
    OK. How can I mitigate this vulnerability ?
    Dave
    http://www.claymania.com/removal-trojan-adware.html
    Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp

    From: <[email protected]><br /><br />| C:\Program Files\Adobe\Acrobat 9.0\Designer 8.2\jre\bin\java.exe<br /><br />| "This installation of Sun Java JRE 1.5.x / 5.x is insecure and potentially exposes your<br />| system to security threats!<br /><br />| The detected version installed on your system is 5.0.110.3, however, the latest secure<br />| version released by the vendor, fixing one or more vulnerabilities, is 5.0.160.2.<br /><br />| Update Instructions:<br />| Update to 5.0 Update 16 or later."<br /><br />| Reference:<br />| http://secunia.com/advisories/31010/<br /><br />| OK.  How can I mitigate this vulnerability ?<br /><br />BTW:<br /><br />I have Sun JRE v6 update 7.<br /><br />Can Can Adobe Designer be re-directed to use this version and NOT use a bundled version ?<br /><br /><br />-- <br />Dave<br />http://www.claymania.com/removal-trojan-adware.html<br />Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp

  • SUN jre 1.6.0_04 under Forms 10.1.2.3 and IE7

    Hello,
    I get nuts about the SUN jre configuration in relation with IE7 (client side) and running under the Application Server 10.1.2.3 (server side).
    My problem is that I want to use JRE 1.6.0_04 on IE7 for Oracle Forms at the client side. On the test client is also installed: JRE 1.6.0_05 and JRE 1.6.0_07.
    Here is my formsweb.cfg configuration to it:
    [testapp]
    width=1024
    height=768
    separateFrame=True
    lookandfeel=Generic
    form=test.fmx
    otherparams=term=X:\as1012\forms\fmrpcwebd.res
    WebUtilArchive=/forms/webutil/frmwebutil.jar,/forms/webutil/webutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=X:\as1012\forms\webutil\server\webutiljpi.htm
    baseHTMLjpi=X:\as1012\forms\webutil\server\webutiljpi.htm
    baseHTML=X:\as1012\forms\webutil\server\webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar,jacob.jar,webutil.jar
    lookAndFeel=oracle
    jpi_download_page=http://java.sun.com
    jpi_classid=clsid:CAFEEFAC-0016-0000-0004-ABCDEFFEDCBA
    jpi_codebase=http://server:7777/forms/webutil/jre-6u4-windows-i586-p.exe
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_04
    jpi_download_page=http://server:7777/forms/webutil/jre-6u4-windows-i586-p.exe
    IE=native
    I tried it under Firefox 3.0 where the version JRE 1.6.0_07 is installed. With the upper showed configuration it didn't worked. Only if I change this entry jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_07.
    Result: Firefox works correct.
    But the IE always starts the application with the SUN client: JRE 1.6.0_07
    I don't know what to do? I also changed the registry entry:
    [HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]
    and put this value in:
    "EnableSecureStaticVersioning"=dword:00000000
    Maybe somebody else knows what to do?
    Thanks ahead
    tarnhold

    What I noticed earlier this year was
    you can force Forms to use JRE 1.5 even though you have JRE 1.6 installed, but it will always pick the newest patch installed.
    So, if you want to use JRE 1.5 and have JRE 1.5.06 and 1.5.12 installed, the only way to use 1.5.06 is to uninstall 1.5.12
    But, if you read note 14 on the vertification matrix, newer patches of a certified major version, are also supported :)
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    Max

  • Using the Sun JRE

    Hi.  We currently force the use for Java 6, version 22 by placing this code in the formsweb.cfg file:
    [code]
    ### Define the default SUN JRE
    ### Java Plug-in 6 22
    jpi_download_page=http://java.sun.com/javase/downloads/
    ### Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA
    ### Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u22-windows-i586.cab#Version=1,6,0,22
    ### Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_22
    [code]
    If I want to change this confirguration so that users always use the latest version of the Sun JRE, how would I modify this code?
    Any help would be greatly appreciated.  Thanks.

    sharpe wrote:
    Hi.  Thank you so much!
    Is there a reason I would want to let users use any version of Java 1.6, but not Java 1.7?  Is it not possible to use the same logic, but to allow the users to use any version of Java 1.7?  Or is it unwise for some reason?
    I'm just curious because sometimes my users are automatically prompted to install the latest version of Java, which is version 7, update 45 (I believe).  And when they do that installation then our Web Form applications start to prompt them that they need to install the correct version of the plug-in.  So I uninstall version 7, update 45 and Web Forms is fine again.  Any thoughts on the best way to be handling the Java plug-ins?
    Hello Sharpe,
    Good Day. From your post we don't know what is your application server version. guess 10.x.x.x.x as you are talking about JRE 1.6.
    JRE 1.7 is not compatible with AS 10.x.x.x.
    So, if your user wish to install JRE 1.7, make sure JRE 1.6 also installed in the same pc. Now what can you do ? Yes. you can restrict a web browser to run only selected Java plugins not other one. You can manage this from Add-Ons manage settings.
    This restrict user, use specific browser for you application.
    Hope this helps
    Hamid

  • Arabic Characters Alef & Lam Appear Incorrect at Runtime using Sun JRE/JPI

    Hi,
    We implemented Sun JRE for Oracle EBS 11i in Production on 7th Jan 2009.
    We went with Sun JRE 1.6.0_07 as we faced new Broswer Minimizing Problem in IE with 1.6.0_10 and 1.6.0_11.
    Now we have some issue related to Arabic Characters Alef and Lam - Doc Id 731703.1.
    The solution is to use 1.6.0_11 but we can't. I would like to know if there is any work around without using 1.6.0_11.
    Thanks
    Thiru

    Hi,
    We have the problem with 1.6.0_11 also.
    I checked in TEST instance. Strangly the problem is only while using Arabic Forms thru Arabic Login.
    If we login thru English Login and access the same Form in Enlgish and then type in Arabic there is no problem. I got these details from our Arabic Consultants.
    I am trying the revert back to jinitiator.
    Rgds,
    Thiru

  • **Urgent**: GO_ITEM to pop-up CANVAS with IMAGE in Sun JRE gives error

    Our Forms 10g Environment is this: Forms [32 Bit] Version 10.1.2.0.2 (Production) using Sun JRE i.e. Java Plug-in 1.6.0_06
    Problem is that when we try to navigate to a canvas (from a Button) which has an IMAGE ITEM the form is exited. This happens in every form which has a canvas with an image.
    i.e. In Button, we have code: Go_Item('block123.button1'). Button1 is also in that pop-up canvas.
    Even GO_BLOCK gives the same result.
    If the image is in the same canvas as the button which has GO_ITEM code, then it works.
    Of course this whole things works fine in JInit. But we need to run in Sun JRE.
    Is this a Bug?? Any help would be greatly appreciated.

    christian erlinger wrote:
    Well, as you are on 10.1.2.0.2 I strongly suggest that you apply the latest Patchset (10.1.2.3) the latest CPU Patches and the latest merge Patches. A lot of focus related things are fixed in those patches.
    cheersI will do this and let u know thans.

  • MSJVM: plugin seems to be overridden by Sun JRE?

    We have 1.5.0_06 installed and for old applications sometimes 1.4.2_10 is deployed (securestaticversioning disabled). On production environments it appears that the MSJVM can't be detected when 1.4.2_10 or 1.5.0_06 is installed. Disabling it in IE6 does the trick (where the MSJVM already was enabled).
    How come?! As far as I know and googled, applications or sites only can request one version of the Sun JRE (through classid), but is there no way to specifically call on the MSJVM?
    If the Sun JRE's are removed, the applications work alright. Has anyone an idea on how it is decided to which JRE/MSJVM will handle the request?
    On our testing machines with the same software all websites work fine, but if we remove the MSJVM (removal tool from the MS site, clear the specific registry hives) it appears we get errors that the JVM can't be detected?!
    Does IE6 first try to adress the MSJVM, and if other JRE's are detected then tries those?

    The MS JVM was last updated in 2003 and has some rather well-known exploits. It is a major security hole waiting to be exploited. Find a way to remove it from all your machines. Note that if you merely disable it using policies, it may interfere with the function of the Sun Java plug-in.

  • R12 and Sun JRE question

    Just a quick question related to the Sun JRE and R12 .. We recently upgrade from 11.5.10.2 to 12.1.3 ..
    We are still in testing mode but everything appears to be working fine so far ..
    One thing we noticed is that we are using the Sun JRE 1.6_18 on our PC's and we have 1.6_07 on the Web server environment files.
    ex: in the .xml s_sun_plugin_ver">1.6.0_07
    We also had to disable the Next Generation feature in the SUN JRE 1.6_18 because of different issues already known in metalink.
    As far as I know the Sun JRE version in the Webserver only indicates the lowest version that can be used on PC's, all our PC use version 1.6.0_18
    Is there any advantage in running the "txkSetPLugin.sh 16018" to bring the Webserver at 1.6.0_18 instead of 1.6.0_07 ?
    Or can we just leave the webserver version at 1.6.0_07 ? as all our PC's use only one version of the Sun JRE which is 1.6.0._18
    Thanks

    When reading note 393931.1, it appears that the version in the Webserver config files, only dicates the lowest version that can be used on the PCs , in our case we only have one version 1.6_18 on our PCs , so I assume that having version 1.6_07 or 1.6_18 in the Web config files should not make any difference in our case ?It is always recommended you have the same version of Jinitiator/JRE on the web server and the client machines. Not sure about the list of advantages, so you may log a SR for this.
    Also Note 393931.1 mentions patch 4377566, but the readme for this patch mentions the following:
    APPLICATIONS INTEROPERABILITY PATCH FOR JRE1.5.0_x PLUGIN
    So is this patch also applicable to JRE 1.6 ?This is a small patch, so I would recommend applying it.
    Thanks,
    Hussein

  • Cacert diff on Jinitiator Vs Sun JRE 1.6.0_13

    Hi All,
    We are having E Business suite 11.5.10.2 with SSL enabled.
    We have migrated from Jinitiator to sun JRE 1.6.0_13.
    When we were using the Jinitiator, if we dont have the server cert in place at the "C:\Program Files\Oracle\JInitiator 1.3.1.29\lib\security\certdb.txt" at the client manching, forms will not launch. So we will place the server cert of all the instances in this location.
    After migrating to sun JRE 1.6.0_13, we are not placing the cert file any where in the client machine. But the forms are launching without any issues. Please confirm is this is the correct behaviour or we are missing any thing in this.
    Please advice.
    Thanks & Regards,
    Rakesh

    I believe this is normal - see Mike Shaw's comment on Steven's blog post http://blogs.oracle.com/stevenChan/2008/12/reminder_migrate_your_jundefinediator_clients_to_sun_jre_now.html
    You may open an SR to confirm.
    HTH
    Srini

  • BEA JRE 1.5.0 vs SUN JRE 1.5.0

    Having tried both these JREs as Internet Explorer and FireFox plug-ins, I have found an applet related issue with the BEA JRE.
    Visit this URL:
    http://www.jython.org/applets/index.html
    It should launch a small Jython applet. SUN JRE 1.5.0 loads and runs the applet just fine in both FireFox and IE. The BEA JRE 1.5.0 fails to launch this applet from both these browsers.
    Interestingly enough, I can run Jython from the command-line with BEA JRE 1.5.0.
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75
    tial strategy singleparpar))
    Jython 2.1 on java1.5.0 (JIT: null)
    Type "copyright", "credits" or "license" for more information.
    >>>

    Hi Joel,
    This problem exists in JRockit based on J2SE versions up to and including 1.5.0_06, as with Sun. We have verified that it is fixed in an internal build we have based on 1.5.0_07. Unfortunately, that release will probably be some months away.
    If you need a patch to an existing JRockit version, please open a ticket with BEA Support.
    -- Henrik

Maybe you are looking for

  • Itunes wont recognize my iPhone

    Hi, I recently upgraded to the latest version of iTunes and tried to sync my iPhone so I could update it as well. However, it won't even show up in iTunes, and I spent the last several hours trying to revert back to a previous iTunes version to see i

  • Not all loops appear in loop browser... even after I reindex.  Please help.

    I've just spent the past couple of hours trying to reindex my loops so that they all show in the browser... to no avail. Which is to say, they will show, if you know how to find them. Let me explain: I have Jam Pack Promos 2, 3, and 4. These loops be

  • Ipad won't open pdf

    Hello, I am haing troubles opening a PDF from a Website on an iPAD2.  I can open the PDF using an iPhone (running iOS5), PC, and Andriod devices. The PDF is being published on a Microsoft (I know that is a dirty word on these forums :-)) SBS 2011 ser

  • Data entry

    Hi All, I'm creating a pretty standard desktop database app using Swing for the GUI. However, I'm getting RSI hand-coding all the data entry forms and was wondering if there are any good tools out there to perform this task for me. I'm looking for so

  • How to type Tamil in nokia E71

    Can any one tell me solution