Applet does not load in IE when hosted in form via SHDocVw.dll

Hi
I have a signed applet that usually works well in IE and Mozilla FireFox.
It shows a popup window with the security question Yes/No/Always and works great thereafter.
However
We have now developed a Vb.Net application which hosts the SHDocVw.dll and now when for example I navigate to the web page within this embedded browser control from Microsoft the applet does not load and the popup window does not appear, when trying to access it via clientside scriptring it does not find the applet object.
// this fails when called from embedded browser control
<script>
document.applets[0].prepareControl();
</script>
Please help me I would really like to get the applet to work when using this new vb.net application with the embedded browser control because it is becoming our company's standard to hos apps in this new app and not open a new instance of IE for each application.
Thanks
Ian Coetzer

What does the trace say?
To turn the full trace on (windows) you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
if you cannot start the java console check here:
C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
I think for linux this is somewhere in youruserdir/java (hidden directory)
add or change the following line:
javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
for 1.5:
deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
I think for linux this is somewhere in youruserdir/java (hidden directory)
Print out the full trace of the exception:
try{...}catch(Exception e){e.printStackTrace();}
If no trace is created my guess is that the jre is never started, try the <object tag
instead for your applet (html page) because your browser tries to run the applet with msjvm.

Similar Messages

  • Applet does not load on app server when Free Design Layout

    Hi,
    I have to embed a an applet in a webpage of an web application. Before I go on to anything.. let me first tell you, I am using Netbeans 6.0
    As shown in the tuorial:
    [http://www.netbeans.org/kb/articles/tutorial-applets-40.html]
    1. I first made the "Applet" source say HelloApplet. java. After compiling and running it I get the HelloApplet.jar.
    2. I created a WebApplication and then from the properties -> packaging -> I "Add Project" HelloApplet.jar.
    3. Then I a webpage I "embeded" the applet.
    4. I run the web app and the applet gets loaded and everything is just fine.
    But before I go on I must tell you that the applet was designed in Null Layout. Now I edited the applet source once again and changed the layout to Free Design Layout*. ( this is available from Netbeans..on the HelloApplet.java .. go to the design view.. right click on the form and from the context menu you can change the layout to FreeDesign or whatever you might want).
    When I expand the "Libraries" node I see the that the library Swing Layout Extensions - swing-layout-1.0.3.jar has been added.
    When I "run" the "HelloApplet.java" file, the applet is shown in the appletviewer. No problems with that.
    But!
    When I try to Clean & Build and Run the WebApplication, the applet does not get loaded. On inspecting the java console I see the following error:
    java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(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.lang.ClassNotFoundException: org.jdesktop.layout.GroupLayout$Group
    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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 10 moreIt clearly shows that the Free Design Layout has something to do with the GroupLayout which can be found by expanding the "Swing Layout Extensions - swing-layout-1.0.3.jar". Now when the HelloApplet.jar is created only the HelloApplet.class file gets included together with some other data but NOT the swing extensions. Hence when I run the web app the class file looks for the GroupLayout.class definition but can find it in the jar as its not included when the HelloApplet.jar is created.
    But with null layout there isint a problem because null layout takes the definitions from the JRE on the machine.. and so it runs without a hitch.
    My Question is : How can I run the applet with Free Design Layout? or is it possible to package the swing layout extensions in the HelloApplet.jar?<</u>
    Thanks for all your replies.
    Cheers.
    Edited by: arijit_datta on May 15, 2008 4:07 PM

    Solved.
    Here is the solution:
    [http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html|http://www.nabble.com/Applet-does-not-load-on-app-server-when-Free-Design-Layout-to17259115.html]
    Cheers..
    Edited by: arijit_datta on May 16, 2008 7:41 AM

  • Applet does not load using java 1.5 through reverse proxy with certific...

    Hi,
    we have the following problem:
    When using java 1.5 in our browser, our applet does not load. Using java 1.4.2 it works. It also works using java 1.5.0 using another reverse proxy.
    The differences between the 2 reverse proxies (one works, one works not) we use is that the one through which the applet does not load has a certificate installed that is not for its hostname. Can this be the reason the applet does not load? Where can I find information about the sandbox of java 1.5.0 concerning these issues. Are there any docs of the security restrictions imposed by java 1.5.0 sandbox?
    Greetings,
    Tim

    Ok,
    the solution to this specific problem was a misconfigured reverse dns lookup.
    Greets,
    Tim

  • Applet does not load with jre6

    Hi,
    I am getting following exception when I try to load an applet after installing jre6 in my machine.
    Applet works fine when I remove Jre6 and continue with earlier version of 1.4.2.
    My company's firewall does not create any issue when the version is 1.4.2.So I think
    that should not be a problem.Also I have tried testing the applet stuff after
    stopping the windows messenger process but it did not help either.
    Please suggest.
    Java Plug-in 1.6.0_10
    Using JRE version 1.6.0_10 Java HotSpot(TM) Client VM
    User home directory = D:\Documents and Settings\thapr02
    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
    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.lang.NoClassDefFoundError: gias/olf_file
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getDeclaredMethod(Unknown Source)
    at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
    at java.awt.Component.access$300(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.awt.Component$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Component.checkCoalescing(Unknown Source)
    at java.awt.Component.<init>(Unknown Source)
    at java.awt.Container.<init>(Unknown Source)
    at java.awt.Panel.<init>(Unknown Source)
    at java.awt.Panel.<init>(Unknown Source)
    at java.applet.Applet.<init>(Unknown Source)
    at gias.step4calicenses.<init>(step4calicenses.java:90)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: gias.olf_file
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 24 more

    From the forums,I can see that this problem remained unresolved...Just to inform..i have tried the following with no result:
    Are you using a proxy to access the internet? If you are (if you have
    selected a proxy in Tools -> Options -> General -> Connection Settings),
    then make sure that the Java plugin uses the same: [assuming Windows &
    Java 1.5] Start -> Settings -> Control Panel -> Java -> General ->
    Network settings -> Use browser settings.
    Can your browser run an applet from your local file system (i.e. a
    "file://"-URL instead of a "http://"-URL in the addressbar)?
    If you have installed the JDK you can find a couple of applets in the
    demo subdirectory of the JDK, e.g.
    C:\Program Files\Java\jdk1.5.0_04\demo\applets\Clock
    Try clearing your browser cache (Tools -> Options -> Privacy -> Cache
    -> Clear)
    Try clearing the Java plugin cache (Start -> Settings -> Control
    Panel -> Java -> General -> Temporary Internet Files -> Delete Files)
    Make sure that the Java plugin supports the <APPLET> tag: Start ->
    Settings -> Control Panel -> Java -> Advanced -> <APPLET> tag support
    PLEASE HELP

  • Firefox Home with Search panel does not load/appear. When I click the home icon a message appears that says Firefox is not a valid URL. Never did that before?

    Nothing different from the question. Firefox just does not load. When I place the mouse cursor over the home icon and do not click, a message panel seemingly powered by My Yahoo states "drag the AT&T globe to the left of the home icon in the toolbar and drop it there, then select "yes" from the pop up window and you are done." This was an action I did recently (not today) but don't see what this has to do with Firefox

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • FireFox does not load any website when setting up a working proxy

    When i set a proxy for firefox , any proxy ... firefox does not load any thing , it comes with server not found in no time , fire fox is not even searching for it !

    I read those before .. but my problem is not any one of them !
    when i set proxy on firefox it does not work !
    when i set proxy on IE then setting firefox to system proxy it work !!

  • Forms applet does not load when request forwarded from custom servlet

    I have an existing forms app that I wish to call from a newly-developed servlet. The servlet determines which form to call and then forwards the request to the forms servlet using RequestDispatcher.forward().
    The request is forwarded correctly but when it is done all I see is a blank browser (IE7) window. When I View Source I see all the correct HTML code (from basejpi.htm) but it seems my browser does not attempt to load the forms applet. No messages are displayed in the Java Console. This is the same HTML that comes back if I run the forms app directly, e.g. click a link that goes straight to the forms servlet URL, only in that case the forms app starts up fine.
    Anyone know why this does not work?

    Figured out what is going on:
    In basejpi.htm there is "<SCRIPT LANGUAGE=JavaScript SRC=java/forms_ie.js>" that creates an OBJECT tag to load the forms applet. I believe since the context of my custom servlet is different than that of the forms servlet, forms_ie.js is not found when the request is forwarded from my servlet.
    One question answered raises another. There is also an OBJECT tag inside a NOSCRIPT tag for machines where scripting has been disabled:
    <!-- Forms applet definition (start) -->
    <NOSCRIPT>
    <OBJECT name=FormsApplet
    type="application/x-java-applet"
    ...>
    </NOSCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="java/forms_ie.js"></SCRIPT>
    My thinking is to remove the NOSCRIPT tag, and also the SCRIPT tag mentioned above, so all machines will simply see the OBJECT tag, like so:
    <!-- Forms applet definition (start) -->
    <OBJECT name=FormsApplet
    type="application/x-java-applet"
    ...>
    This makes me wonder why the SCRIPT option is there to begin with. Anyone see a downside to this approach?
    Kevin

  • Weblogic Admin console applet does not load

    I have installed Weblogic 6.1 SP3 with JDK 1.4.2_03. The admin console applet was
    working initially but when I installed oracle 8.1, the applet failed to load.
    A cross sign appears instead of navigation applet tree in the console application.
    I have set the classpath and java_home variables correctly. I tried to point java_home
    to jdk1.3.1 (java version shipped with Weblogic 6.1) and also changed entire classpath
    to point to jdk1.3.1 but no effect. The same configuration works on another machine
    where oracle is not installed.
    Please help...
    Thanks in advance
    Mahesh

    If you have any pride you will get off Tripod as quickly as possible. It forces popups and other unwanted advertising on visitors. Any time I see that a site is on Tripod or About, I just ignore it and click the next choice.
    BTW if you stay on Tripod, you should consider changing the 'e' in your user name to an 'o'.

  • Firefox does not load the website when clicking a hyperlink in another program

    I am using Firefox 5.0.1 in Snow Leopard 10.6.8. When I click on a hyperlink in another program, Firefox launch but show me a blank page, instead of the web page of that hyperlink. This only happen if Firefox is not launched prior to clicking the hyperlink. This mean, if I am already using Firefox (Firefox is opened) and I click on the hyperlink in other program's document, Firefox will launch that web page. Is there any setting that I need to do?

    I read those before .. but my problem is not any one of them !
    when i set proxy on firefox it does not work !
    when i set proxy on IE then setting firefox to system proxy it work !!

  • Webview does not load content properly when disabling its scrolling through script

    I have an App in which I need to show some html content in a page but I have given my App's scrolling in it. So whole page needs to scroll combined. To achieve this I use two WebViews to navigate to string and get height of content by javascript from first
    webview and assign it to second webview and then disable it's default scrolling. I have taken a rectangle over it to allow user to scroll in page. This strategy works fine where content is low but if the content is large in webview it shows blank page in top
    and down and shows some content in middle. Sometimes it does not show content but Height gets assigned. I tried using RichTextBlock but it does not parse all type of tags and I don't want WebView to scroll but to adjust it's height according to content. can
    anybody provide any help?
    Link to my code App2

    Hi RohitrkKUmar,
    After looking into your sample project, I found you are nesting unnecessary Grid and making thing complex. Using fixed height in the second grid and the app will use scroll bar if the height of content is longer than the grid. I make some changes according
    to my understanding, you can try the following code snippet.
    <Grid x:Name="LayoutRoot" Background="White">
    <Grid.ChildrenTransitions>
    <TransitionCollection>
    <EntranceThemeTransition x:Name="Animation"/>
    </TransitionCollection>
    </Grid.ChildrenTransitions>
    <Grid.RowDefinitions>
    <RowDefinition Height="50"/>
    <RowDefinition Height="500"/>
    <RowDefinition Height="auto" />
    </Grid.RowDefinitions>
    <TextBlock Grid.Row="0" Text="Demo App" VerticalAlignment="Center" Foreground="Black" FontSize="24" HorizontalAlignment="Center"/>
    <StackPanel Grid.Row="1">
    <TextBlock Name="demoText" Foreground="White" Width="Auto" Height="Auto" TextWrapping="WrapWholeWords"/>
    <WebView Visibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollMode="Auto" ScrollViewer.ZoomMode="Disabled" DefaultBackgroundColor="Aqua" Margin="10" Name="aboutDescript" DOMContentLoaded="aboutDescript_DOMContentLoaded" />
    <Rectangle Width="auto" Name="wbRect" Fill="Transparent"/>
    </StackPanel>
    <TextBox Grid.Row="2" Text="something else"></TextBox>
    </Grid>
    Please feel free to let me know if you have any concerns.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Back button on IE 11 does not load the dropdown selections from previous form

    We have a site in clasic ASP. There is a search criteria form with a few drop downs and a few radio buttons. While working in IE 11, When this form filled and submitted, the results show up. When the back button is hit, the previous form loads but the selections
    are lost. This works perfectly fine in IE 9. What has changed in IE 11 that this does not work. 
    Is there some setting that can get this feature back.
    Arun 

    Hi,
    your question would be better answered in a developers forum. Include with your question a link to your website so that it can be tested.
    usually the query parameters from a get request are used to populate a form with previously entered values. You may have coded your page to always refresh from the server.
    IE documentation for developers can be found here -
    http://msdn.microsoft.com/en-us/ie/ - there are no MSDN support forums for classic asp.
    Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
    raise a question, it's highly recommended you head on over to http://answers.microsoft.com/en-us
    Rob^_^

  • Swing Applet does not load on Mac OS 9

    Hello,
    I have written a Swing Applet. I deployed it in Apache TOMCAT and tried to access it using my iMac, running Mac OS 9. I have installed swingall.jar on my Mac so I have no problem running some sample Swing Applet from Sun's website. However, when I try to access my Swing applet, the following is shown in the "Java Messages" file:
    1/20/2003 @ 11:39:1
    An exception occurred:
    java.lang.ClassNotFoundException: com.my.package.gui.Main
    at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass (JMAppletClassLoaderOld.java)
    at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderOld.java)
    at com.apple.mrj.JManager.JMAppletClassLoader_ROOT.loadClass(JMAppletClassLoaderOld.java)
    at com.apple.mrj.JManager.JMAppletViewer_OLD.doLoadCode(JMAppletViewerOld.java)
    at com.apple.mrj.JManager.JMAppletViewer_OLD.setState(JMAppletViewerOld.java)
    at com.apple.mrj.JManager.JMViewerEvent.post(JMAppletViewerOld.java)
    at com.apple.mrj.JManager.AVDispatcherThread.run(JMAppletViewerOld.java)
    Does anyone have a clue? Please help.
    Thanks,
    A.A.

    aau2002 -- I have a simple applet using swing which I compiled with OSX, moved the class file to my desktop, installed the Swing stuff for OS 9.
    My html file is as follows:
    <HTML>
    <HEAD></HEAD>
    <BODY>
    <hr>
    <applet name="main applet" codebase="." code="DrawField.class" width=200 height=200 </applet>
    <hr>
    </BODY>
    </HTML>
    My applet never loads with the ClassNotFoundException
    I must not have correctly installed the swing stuff...
    Any suggestions? Thanks VERY much in advance.

  • My MacBook Pro does not produce clear sound when i play music via aux or bluetooth

    i have noticed recently that when i listen to music via aux(through my headph0nes or a sound system) or bluetoooth the sound is not clear. i thought that maybe my music quality wasnt good but then when i loaded the songs onto my iphone and ipad, the songs were perfectly cleat and sounded great. i have turned the equalizer on itunes off yet the sound still isnt clear. the songs sound as iff it were of low quality(the songs crack and the bass sounds awefull)
    i know that the problem  isnt the songs that i have. please help

    Welcome to Apple Discussions
    I have the same 3G-Bluetooth issue and can't offer a solution to that at present but I'm wondering what you want to do with the connection ?
    If it's to Browse the iPhone (as if it was a disc or flash drive) then there's a handy utility called iPhone Explorer that allows you to do this.

  • ITunes 10.5 (XP) does not recognize iPhone 4S when I attach it via cable. ...

    I get the message, "USB Device Not Recognized ... One of the USB devices has malfunctioned [yadda yadda]." in the Windows notification area in the lower right of the screen.
    I have been to this page: http://www.apple.com/support/iphone/assistant/itunes/#section_2 .
    Two things seem to work to get my computer to re-recognize the iPhone:
    1) Restart the computer.
    2) Open iTunes, which doesn't recognize the phone since Windows doesn't recognize the phone. Keeping iTunes open and the iPhone attached via the cable, I restart the iPhone. iTunes then detects the phone.
    However, the minute I close iTunes (and then reopen it) or disconnect the phone (and then reconnect the phone), I have the same problem all over again.

    Having exactly the same problem with my new 4S and iOS5.  In fact, I could have written your original post, my experience was identical.  I am using Windows 7 Home Premium (64-bit) however.
    I can also add more data:  When I get the "USB Device Not Recognized" message in the system tray, I can often unplug the cable and plug it into a different USB port on the same computer and it will be recognized.  However, unplugging and replugging to the new port will often put IT INTO THE SAME STATE as the previous port, "USB Device Not Recognized".  Even though it just worked on that port.
    During the short period that I had iOS5 on the 3GS, it did not exhibit this behavior.  I cannot test this further, having sold the 3GS already.  But it's happening every day with my 4S.
    I'm pretty sure we're not the only ones.

  • When using a proxy server at work, Deezer page does not load normally?

    When using a proxy server at work, Deezer page does not load normally, but when I go home and use connection without proxy, everything is fine.
    It loads, and some features on the website work, but the look is not the same. Over the proxy it shows just text on the left side of the screen and I can't choose some of the options.
    When I go home and use my home connection without proxy, there are no problems, everything is OK.
    Could you please solve this?

    I found that after Firefox v29, a LOT of my settings and<BR>
    add-ons were changed / reset. Try this;
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode;<BR>
    '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.<BR>
    Then check ALL of your settings. Browser and add-ons. Then restart.

Maybe you are looking for

  • Virtualbox Win7 guest VM runs 1-2 minutes then freezes host

    I have a Windows 7 guest running on an Arch Linux host. It was created and ran perfectly for a long while on my old Lenovo Thinkpad T510, but when I moved it to my new W530, this problem started. W530 Specifications Processor: Intel Core i7-3740QM Pr

  • Podcast Producing in a Windows World

    I'm running into some major issues at the school I work for trying to get Podcast Producer up and running. I've got an Apple Xserve with 10.5.1 that is a member of a Windows Active Directory Domain (No way for that to change). My question really appl

  • Error on creating Incoming Payment that links to another Incoming Payment

    Hi Experts, I am trying to create an Incoming Payment to pay an Invoice, as well as to use another Incoming Payment with an open balance (with Payment On Account box checked) to offset part of this payment. Conceptually... Incoming Payment A (-$75)  

  • Unable to activate Adobe Acrobat 8

    Hello, I am unable to activate Adobe Acrobat 8 Professional, fully updated to 8.3.1 on two computers. Acrobat informs me that my computer is not connected to the internet, but it is. Phone activation does not work as the activation phoneline is no lo

  • Fully Color Managed Application (using calibrated monitor profiles)

    Hi, I'm new to JAVA 2D so I may be missing something obvious - apologies if I am, but I've been trawling the API and web to try and solve this for many hours - so any help would be much appreciated! I'm trying to write an application to open a JPEG w