Applet Behavior in (IE6/JRE1.5u11) vs (IE8/JRE1.6u32)
Hi,
i observed different applet behavior between the following environments
1. Internet Explorer 6 with JRE 1.5 u11
2. Internet Explorer 8 with JRE 1.6 u32
I setup the following test environment.
1. Create a page that loads an applet.
2. There is a button in the page that allow me to navigate to another page.
3. In my applet init() method, I place a sleep(5000) to simulate some activities.
I ran the following test.
1. Load the page
2. while the init() method is still running, I click on the button to navigate to another page.
Results as follows.
1. IE 6 Environment -- Applet will complete init(), execute start() , stop() before navigate to the new page.
2. IE8 Environment - Init() method will throws an InterruptedException.
Question is:
1. I tried searching for documentation for the above behavior but was unable to find any, can any kind souls help?
2. How do I achieve the behavior in IE6 env in the IE8 env? ie. ensure that the applet is successfully executed before allow it to be interrupted.
Thanks.
Edited by: user4546295 on Feb 26, 2013 1:42 AM
Similar Messages
-
Unwanted reloading Applet behavior
I have a dynamic JTree component on an applet and as and when the user uses the application, nodes are added to or deleted from the JTree. But looks like the Applet behavior is to reload the applet everytime it is revisited or minimized/maximized, and hence the JTree goes back to the initial empty tree state. The JTree's root is initialized in the init() and every time the user adds/deletes a node, the JTree is modified to reflect those node changes. But since the applet is part of a multi-frame HTML, the applet gets reloaded each time and reverts back to its initial state.
How can I stop the applet from invoking the init(), start() and stop() method each time? Or is the alternative to using a custom JTree Data model, one that reads its data from a Database make more sense? In that way, everytime the applet is reloaded, the JTree reads the latest data from the database and does not go back to initial empty tree state?
Thanks for all your replies in advance!If your applet is reloading, then it will go back to the initial state - invokes init method. To create persistent objects, you may be better off to store the state of the object on your server as a file (object serialization) or a data base. So, that you can reload the previous state even when the init method is invoked - applet reloaded.
But if you are just maximizing, minimizing, cover/uncover the broswer that has the JApplet with the JTree it should be able to maintain it's current state since only repaint methods are invoked and not init. -
Applets, Javascript and IE6.0 (WinXP)
I've been trying to implement Javascript to Applet communication in IE6.0 on WinXP but found that it refuses to work. Normally:
<script>
function getCountry() {
countryVal = document.countries.country.value;
alert(RegionHelper.getCountry(countryVal);
}</script>
<applet name="RegionHelper" ... MAYSCRIPT></applet>
Get Country
<form name="countries">
<input type="text" name="country">
calls the od of the applet "RegionHelper" which returns a value and displays it in a dialog box.
Running this through Netscape 6, not a problem. Try it with IE6.0 no luck!
Okay I understand this is a WinXP-No Java support problem but is it the Javascript failing or does Microsoft have an Anti-Java applet functionality built in? Aside from the fact that all new PC's are shipped with WinXP now as well, it is a real problem if I need to implement any Java functionality.
Is it worthwhile offering a link to run the applet through WebStart instead?
I've tried embed and object but neither support the 'MAYSCRIPT' attribute and using a <jsp:plugin...> refuses to accept the 'MAYSCRIPT' attribute.
Anyone have a work around at all?
I beleive N6 uses Javascript 1.5 but I'm not sure about IE6
Anthony.Forget it. I found the solution in the Java-Plugin forum.
Cheers,
Anthony -
No Links on home page in IE6 or IE7 or IE8, but IE9 works
Hi,
I'm now looking at the Browserlab info on my home page. this page includes a (standard) stack which brings up a popup if the browser is IE6 or some other very obsolete browser.
In IE6, although I click the link to close the popup to enable me to continue working, it won't close. So none of the links work.
In IE7, no links show either, although they all have the right colour. eg. the url at the top, the waterfall image, the nav pane down the left. None of the links work now.
Nor do any links show in IE8.
But in IE9, I do get links showing on hover. And they do appear to work.
So this seems to be roughly the same as one of my earlier posts started Oct 7, some seven weeks ago, - links don't show url in IE8, IE7, or IE6 - only in IE9
No revisions to Browserlab yet? Or is my Browser Reject stack upsetting it?
I'm using the main Browserlab interface with Mac Snow Leopard 10.6.8 and Firefox 5.0.1 to check that my site works in Windows Internet Explorer.
Warm regards,
CrisSorry, Mark, I do know to give the url - seems like I messed up!
http://www.ReduceStressNow.net
a very similar page but without the nav menu and without the Browser-Reject stack is:
http://www.ReduceStressNow.net/LP/find-out-how-4t
warm regards,
Cris -
IE6 to IE7 or IE8 compatability issues
Hi,
Now we r working on portal(EP 7.0) with IE6, working fine for All SSO and non-SSO , according to user request we r planned to change IE7 or IE8. I tested with IE7 and IE8 I found some problem's like below
1) when the user clicking one iview(non-sso) its asking user id and password even user mapping is fine.
But same iview(non-sso) is working fine in IE6( its not asking userid and password)
2) I have taken another dealer and tested its working fine (Point 1) but when I delete the cookies, files its asking the user name and
password
Now what i need to do for resolving the problem.
Thanks in advance !
Polaka
Edited by: polaka123 on Nov 18, 2010 9:22 AM
Edited by: polaka123 on Nov 18, 2010 9:26 AMHello,
The official support comes with SPS20 for IE8 on Windows XP Professional and with SPS21 on Windows 7. For example the Web Dynpro runtime won't be supported with IE8 on your current stack and there are other issues.
You will find more information within the PAM and the following SAP Notes:
http://service.sap.com/pam
http://service.sap.com/sap/support/notes/1347768
http://service.sap.com/sap/support/notes/1296463
They will refer to more related Notes.
You may also refer to this previous discussion:
Re: IE 8 Compatibility with Portal 7.0
Regards,
Andre -
Swing applet refresh problem in JRE1.6
Now , i met a problean in java swing project which troubled me for a long time, that i want to ask for some suggestions, I really very very thank you.
The problean is :
we use the swing in the applet , and run it with JRE 1.6, we find that the interface often disappear and appears blank when refresh the page , but when we use the mouse to over the control which in the interface ,then this control will appear . Then we try to reduce some not used codes/packets in this project , then we find that this phenomenon will appear less often.
This defect will not appear in JRE 1.4 and JRE 1.5. And also it will not appear when just run it as a desktop program.
I don't know if it is a bug in JRE 1.6 or it is due to our program. Can you give me some suggestions ? Thank you!
More information like following document :
=================================================================================================
2, Problem happen condition :
Applet with swing;
Run in JRE1.6 environment;
Open or refresh the applet web page;
IE, Netscape, Mozilla , almost all explorers.
3, Problean describe :
Open the Start.html page and click the �Pre-Provisioning Tool� button to open the PPT.html page. There is a configuration applet which uses swing in the PPT page. When we open or refresh this page , the applet often disappear and show blank. And when we move the mouse over the position of the control which in the applet , these controls then will appear again. But if we use the buttons which in the applet to open and back to the applet tab page, it will not show blank.
At last we find that this problem is a very common problem when run applet in JRE1.6. It may happen whenever you run the applet which uses swing controls in JRE1.6.
And I find that we use �Ctrl + Alt + Del� to lock the computer and then login in again when the page is blank, then the page will turn ok and the applet will appear.
This prolem just happen in JRE1.6 environment . If in JRE1.4 or 1.5 it performes good.
4, What cause this issue :
Until now , we have no successful and perfect solution to solve this problem completely. And we still don�t know the real reasons that causes this issue.. We find that there are some people in internet also met this issue and has no solution.
But we can give some options to try to find the real reasons. And we also have been try some time :
It may a bug for JRE1.6. We can sure that it is not a bug for explorers, because it happens the same in all explorers. If it�s a JRE bug , I think we can only to waite the newer version JRE to solve this issue.
It due to our program. If this is true, I think we may modify the program to solve this sssue. But I�m afraid that it may need us to modify too much.
5, What works we have been try :
5.2 For our program : We try such ways :
1) If the project too big and too much to download : We remove the not needed modules that in TCOTool project. .
Result : This problem happened less often
2) If some methods are not compatible between JRE 1.4/1.5 and JRE1.6 : I try to modify these method to fit JRE1.6 and compile the project by jDK1.6. (Methed such as show() to setVisible(true), hidden() to setVisible(false) )
result : This problem happened less often but it�s also will happen.
3) If operator too much when open PPT/SUT : such as load xml file too much times and so on.
6, About our project :
6.1 The applet web page :
<OBJECT
classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase = "application/x-java-applet;version=1.6"
width="860" height="640">
<PARAM NAME = CODE VALUE = "com.installApplet" >
<PARAM NAME = CODEBASE VALUE = "./jar/" >
<PARAM NAME = ARCHIVE VALUE = "TCOTools.jar" >
<PARAM NAME = MAYSCRIPT VALUE = true >
<PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.6">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "java.security.manager" VALUE>
<PARAM NAME = "java.security.policy" VALUE="java.policy" />
<PARAM NAME = "func" VALUE="1" />
<COMMENT>
<EMBED
type = "application/x-java-applet;version=1.6" \
CODE = "com.installApplet" \
JAVA_CODEBASE = "./jar/" \
ARCHIVE = "TCOTools.jar" \
WIDTH = "100px" height="30px" \
MAYSCRIPT = true \
java.security.manager = \
java.security.policy ="java.policy" / \
func="1" \
scriptable = false \
pluginspage = "application/x-java-applet;version=1.6">
<NOEMBED>
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
6.2 The TCOTools.jar is almost 15Mb totally. So it need sometime to download this file. But we just test it in local.
=======================================================================================================
Welcome you to send mail to [email protected]I will start by stating that I really have no idea what the problem could be. I will add to that by stating that I am going way out on a limb here.
That said - have you checked all your browser settings, cleared your cache and all the other things one usually does when an Applet acts quirky?
Also, have you tried the Applet tag instead of Object just for a test?
Sorry I can't do better than that, but w/o seeing the code, it's going to be difficult for anyone to help I think unless they have had a similar problem. -
We have planned to migrate the Applet screens from JRE 1.5.13 to JRE 1.6.05 browser,
but the APPLET files are still compiled using JDK 1.5.
If any of you have had experience in this migration ,let me know the issues
you have encountered.
One problem which i understood through one of the thread
from this site is performance is really bad with JRE 1.6 browsers.
Please share the other issues which i need to take care.
Thanks in advance>
We have planned to migrate the Applet screens from JRE 1.5.13 to JRE 1.6.05 browser,
but the APPLET files are still compiled using JDK 1.5. >Then the applet should work in 1.6 without alteration. (Barring bugs that cropped up in 1.6, or changes to 1.6 that revealed broken code from applets compiled for earlier versions.)
Your best way to check is to test the applet (as is, without any changes or recompilation) using a browser running a 1.6 JRE.
Is the applet publicly available? If so, what is the URL? (I have a couple of browsers here, all using 1.6.)
>
One problem which i understood through one of the thread
from this site is performance is really bad with JRE 1.6 browsers.>Which thread, do you have a link? -
I can get any applet running on IE6
I tested the applet on applet viewer. It works with out any problem. The problem occurs, when I try to run it on the browser. What settings are necessary to solve this problem? I will add the error message below.
Java(TM) Plug-in: �o�[�W���� 1.4.2_10
�g�p���� JRE ���o�[�W���� 1.4.2_10 Java HotSpot(TM) Client VM
���[�U���z�[���f�B���N�g�� = xxx
�v���L�V������: ��������
�v���L�V: xxx
�����������v���L�V: xxx
c: �R���\�[���E�B���h�E���N���A
f: �t�@�C�i���C�Y�L���[���I�u�W�F�N�g���t�@�C�i���C�Y
g: �K�x�[�W�R���N�g
h: �����w���v���b�Z�[�W���\��
l: �N���X���[�_���X�g���_���v
m: �������g�p�����\��
o: �g���K���O
p: �v���L�V�����������[�h
q: �R���\�[�������\��
r: �|���V�[�����������[�h
s: �V�X�e���v���p�e�B���_���v
t: �X���b�h���X�g���_���v
v: �X���b�h�X�^�b�N���_���v
x: �N���X���[�_�L���b�V�����N���A
0-5: �g���[�X���x���� <n> ������
java.security.PrivilegedActionException: java.net.ConnectException: Connection timed out: connect
at java.security.AccessController.doPrivileged(Native Method)
at java.net.SocksSocketImplFactory.guessVersion(Unknown Source)
at java.net.SocksSocketImplFactory.<init>(Unknown Source)
at java.net.Socket.checkSocks(Unknown Source)
at java.net.Socket.setImpl(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
at sun.plugin.cache.JarCache.get(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.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$3.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 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.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.SocksSocketImplFactory$1.run(Unknown Source)
... 50 moreUse the HTMLConverter tool.
-
I am having issue with Applet on a .jspx page when using IE8 browser.
I am running on:
JDEVADF_11.1.1.7.0_GENERIC_121026.1729.6438
This blocking our progress at the moment, so any help please.
I created a simple ADF Web Application with a single page that loads an Applet:
+<?xml version='1.0' encoding='UTF-8'?>+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
+<jsp:directive.page contentType="text/html;charset=UTF-8"/>+
+<f:view>+
+<af:document id="d1">+
+<af:form id="f1">+
+<af:commandButton text="commandButton 1" id="cb1"/>+
+<af:switcher id="s1" defaultFacet="true">+
+<f:facet name="true">+
+<f:verbatim>+
+<applet id="MyApplet" name="MyApplet" width="1" height="1" hidden="true"+
scriptable="true" pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
code="com.oracle.HelloWorld"
archive="/Application23-ViewController-context-root/MyApplet.jar"
cache_archive="MyApplet.jar" cache_version="11.1.7.0"/>
+</f:verbatim>+
+</f:facet>+
+</af:switcher>+
+<af:commandButton text="commandButton 2" id="cb2"/>+
+</af:form>+
+</af:document>+
+</f:view>+
+</jsp:root>+
I found that the behavior is different on IE8 and IE9:
on IE9:_
The page was rendered and Applet was loaded.
Clicked on the button and I could see the page refresh.
Clicked refresh on the browser and the page refreshed correctly.
on IE8:_
the page was rendered and Applet was loaded.
Clicked on the button and nothing happened.
Clicked refresh on the browser and it took me to a different URL.
I have tested on Firefox and Chrome and they were fine.
I also tested loading applet using HTML file (not ADF app) and it was fine in IE8.
Hence, this seems to be an ADF specific issue.
any suggestions or idea?
Is there any ADF specific way to load an Applet?Hi,
you are sitting on an Oracle internal build of JDeveloper. So can you verify the behavior with a public release (JDeveloper 11.1.1.6) to ensure its not an issue with a non-production build? Note that the OTN forum is a public forum and not meant to address Oracle internal builds.
Something to check:
- Is IE8 running in native mode or in compatibility mode (please check the same for IE9)?
- If Applet caching is disabled, does it make a difference?
- If you removed the af:swicther tag surrounding it, does it make a difference?
Frank -
How to run Applets on IE6.0 with jdk1.4.1 installation
Hi All,
I have IE6.0 on my machine. Without any jdk installations applets were working fine on IE6.0. Then I installed jdk1.4.1 on my machine and all the applets stopped working on IE6.0.
I uninstalled jdk1.4.1 and then again installed jdk1.3.1 hoping that things will become normal.
But nothing changed and now applets are not working on IE6.0 even with jdk1.3.1.
I will really appreciate incase some could help me understand or tell me incase there is some MS JVM plug in which will make applets work on IE6.0.
Regards,
AnandJust disable Sun's Java. In IE go to "Tools|Internet Options|Advanced" and uncheck the option that says something like "Sun Java 2".
-
Is jre1.4 still support javascript to applet communication?
is jre1.4 still support javascript to applet communication?
I can't get the method in applet from javascript in jre1.4. Are there have a different way to communication?I have a similiar problem. Left a post in the Signed Applet board. I can get the methods called on my applet when operating over HTTP, but when I am on a page served from HTTPS, the browser chews up memory, goes to 100% processor utilization, and the method is never called. This is with the 1.4 plugin.
Suppose this is related ? -
Problem Launching Java Applet with Plug-in: Version 1.4.2_01
Hello out there:
I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
Thanks,
Mike Coucke
Hi Jeff:
Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
1) I'm using MS Windows Me version 4.90.3000
2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
Thanks for the help.
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Friday, September 05, 2003 1:02 PM
Subject: RE: Registration with Lowell Education Online
Mike,
Rats! What version of Windows are you using? It's a little strange to
see the user directory set to C:\Windows; if you're using XP, I'd expect
it to be something like C:\Documents and Settings\Mike Coucke. In any
event, the output that is of concern is these two lines:
java.lang.ClassNotFoundException: LPRemote.class
Caused by: java.net.UnknownHostException: proxy
It looks like your browser is not finding our server's IP when it comes
time to download the necessary Java code.
LPRemote.class is the fundamental code that runs LOPARC, and your
browser should be downloading it automatically when you click connect.
LPRemote.class is stored along with a bunch of other classes in a file
called "LP.jar" that you download from our server. So, if you go to C:
in Windows Explorer and do a file search for LP.jar, you should find it.
On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
user home directory. Let me know if you have this file, or the
jpi-cache directory.
One other thing you might try is going to a different site that you know
uses Java applets -- I think some of the online game rooms at Yahoo use
Java. See if other sites that use Java load correctly. Then we'll know
if it's our server specifically, or a more general problem on your end.
Jeff Hall
Lowell Observatory
Hello Jeff:
I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
Following is a copy of the log from my Java Console during all of this:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
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 properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class LPRemote.class not found.
java.lang.ClassNotFoundException: LPRemote.class
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.net.UnknownHostException: proxy
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
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
I followed this up by executing the following three console commands:
"dump system properties"
"dump classholder list"
"dump thread list"
and obtained the following listings:
Dump system properties ...
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
deployment.javaws.jre.0.enabled = true
deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.osarch = x86
deployment.javaws.jre.0.osname = Windows
deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
deployment.javaws.jre.0.platform = 1.4
deployment.javaws.jre.0.product = 1.4.2_01
deployment.javaws.jre.0.registered = true
deployment.javaws.version = javaws-1.4.2_01
deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.profile = C:\WINDOWS
deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
deployment.user.profile = C:\WINDOWS\Application Data
deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows Me 4.90)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
java.io.tmpdir = C:\WINDOWS\TEMP\
java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_01-b06
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_01
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_01-b06
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 142_01
javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
javaplugin.proxy.config.type = manual
javaplugin.version = 1.4.2_01
javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows Me
os.name.applet = true
os.version = 4.90
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level =
trustProxy = true
user.country = US
user.dir = C:\WINDOWS\Desktop
user.home = C:\WINDOWS
user.language = en
user.name = Michael G. Coucke
user.timezone =
user.variant =
Done.
Dump classloader list ...
codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
Done.
Dump thread list ...
Group main,ac=11,agc=2,pri=10
main,5,alive
AWT-Windows,6,alive,dameon
AWT-Shutdown,5,alive
Java2D Disposer,10,alive,dameon
AWT-EventQueue-0,6,alive
Group Plugin Thread Group,ac=3,agc=0,pri=10
Main Console Writer,6,alive
AWT-EventQueue-1,6,alive
TimerQueue,5,alive,dameon
Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
thread applet-LPRemote.class,4,alive
AWT-EventQueue-2,4,alive
Done.
I'm not a Java expert, so this may be more information than you ever wanted to see.
Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
Thanks fo your help,
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Thursday, September 04, 2003 11:48 AM
Subject: RE: Registration with Lowell Education Online
Hi Mike,
Try it now. I think this problem has arisen because Sun just
released a new version of the Plug-in (1.4.2), and when we released the
public beta of LOPARC, only one relevant version (1.4.0) was available
and the LOPARC code was written to look for that by default. I have
just recoded the relevant routines so they should now cause your browser
to simply pick up the latest 1.4 version of the Plug-in you have
installed, whatever it is. I "broke" Java on my machine to replicate
your problem, and the code I inserted today did fix it. Hopefully it
will have the same effect for you. I am running IE 6 and plugin
1.4.2_01 (as accessed via Tools->Sun Java Console).
One broader problem: some (non-LOPARC-specific) users on the Sun
forums have reported the "JRE collision" you are seeing when multiple
versions of the Plug-in are installed on the same machine. So if the
fix I made to our code doesn't work, one option would be to uninstall
all Java components from your computer and do a fresh install of the
latest runtime environment.
Let me know how/if this works. Thanks for the feedback and for your
patience.
Best regards,
Jeff Hall
Lowell Observatory
-----Original Message-----
From: Mike Coucke [mailto:[email protected]]
Sent: Wednesday, September 03, 2003 6:30 PM
To: [email protected]
Subject: Re: Registration with Lowell Education Online
Hello Jeff:
So far, I have been unable to launch a LOPARC session. I repeatedly
get the following error message:
"Exception: java.lang.ClassNotFoundException: LPRemote.class"
My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
using Java Plug-In version 1.4.1 and received the error message. I went
to the Sun website and downloaded/installed Java Plug-In version 1.4.2
and still get the message.
Before I try to launch LOPARC, I can select Tools->Sun Java Console from
IE's pull down menu to check my Java Plug-In version. When I try to
launch LOPARC, I get the following message:
"Applet(s) in this HTML page requires a version of Java different from
the one the browser is currently using. In order to run the applet(s)
in this HTML page, a new browser session is required, press 'Yes' to
start a new browser session." If I select 'No', I get the following
message: "Java Plug-in detected JRE collission"
If I select 'Yes', a new browser window opens and then I get the first
message above.
Can you help?
Mike Coucke
[email protected]
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Monday, September 01, 2003 5:30 PM
Subject: Registration with Lowell Education Online
September 1, 2003
Dear Michael Coucke:
Thank you for registering with Lowell Observatory's online education
site. We hope you enjoy using it and visit regularly as we continue to
expand its features and capabilities. This is a one-time welcoming
email.
For your records, your user ID is xxxxx, and your password is #########.
You'll need to supply these each time you log in.
This site gives you access to research-grade equipment including a 16"
telescope, CCD detector, and image processing software. Our online
archive of data is now available 24/7. The telescope will be opening to
our onsite users in May, and on select nights to the Internet at large
in June.
We have designed this site so you don't need a huge monitor or a
supercomputer to use it. All pages are viewable on screens running at
800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
browser with the Java 1.4 plug-in installed. If you don't have the
plug-in, you'll be prompted to download it the first time you attempt to
connect. This is an admittedly large (9 MB) but one-time-only download.
This site works correctly under Internet Explorer version 5 or higher.
If you use Netscape, you must be running version 6 or higher, and
display or applet behavior anomalies may occur.
If at any time you can't connect to our server, simply try again later.
We do experience several power outages each year, particularly during
Flagstaff's summer thunderstorm season. Our server is fully protected
and backed up, and can be quickly brought back on line, but any active
user sessions will be lost. Thanks for your patience during these
inevitable downtimes.
Your questions, comments, suggestions, and bug reports about this site
are always welcome. On behalf of the LOPARC development team, thanks
for signing up!
Jeffrey Hall
Assistant Research Scientist
Associate Director, Education and Special Programs
Lowell Observatory
Flagstaff, ArizonaHi Mike,
I see this in your logs:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
I just helped my Dad set up his computer with a new
cable modem, and had the situation where we couldn't
access any secure Web sites. The cable folks had us
disable the proxy. It looks like the error message is
saying it can't find your proxy server, and the logs
you posted say that you've decided to configure your
proxy manually, rather than using the settings from
IE (which is how mine is set up in the plugin
control panel.)
Could that be the problem?
--Steve -
Do I need to pass a applet test with Java before the Flash player will function?
I have downloaded the unstall and install programs for Adobe Flash Player and followed all the steps poster, "eidnolb" noted to prior poster greenie41180 on March 6th, 2010, 8:05PM. The flash player test did not work. I also do not see applets, when I use the latest version of Java on an applet test. I might try reinstalling IE8, or going to IE7 and reinstalling Flash Player. Gawd! hours have been used, just trying to get Flash Player going so I can resume watching the tutorials at Mathtutordvd.com.
What other troubleshooting steps can be taken? I have tried everything eidnolb suggested in prior posts.
Hello everyone, When I try to download the Flash player I get the error message listed above. I turned off the firewall and virus modes on my TrendMicro protection program, when downloading the player. I already have Java 6, update 18 in the system. I restarted the computer. I also adjusted the configurations for Javascript and ActiveX under the "Tools" menu for the Security and Advanced tabs of Internet options. I have Windows XP, service pack 3, with Internet Explorer 8.
Also, I tested the recent, most updated program, Java and I still can not see an applet. I have spent 7 or more hours on this. I thought initially this process was going to be straight forward. I desperately need this Flash player so I can learn math at the streaming video site called, Mathtutordvd.com Oh! gosh maybe someone here can help me help myself by giving me more troubleshooting steps. I did follow Adobe's troubleshooting steps, but I still get the same, above error box with, MSXML2.XSL Template 3.0 (Original exception: undefined)
I hope, eventually to watch the streaming site, once this Flash Player is loaded. I really do not understand what is going on here. Thanks for your help.
Information: Windows\System32\Macromed\Flash
These items are in the Flash folder:
Flash10e.ocx version 10.0.45.2
Install text document
Uninstall_activeX 10.0.45.2
FlashUtil10e Adobe Flash Player Helper 10.0.45.2
Should not FlashUtil10e be listed as FlashUtil10e.exe ???
FlashInstall text document
Genuinst Microsoft application file version
6.0.2800.1531 KB913433 Setup Information
This is the Java version and also, these are listed and enabled in the “Manage add-ons” for Internet Explorer 8: C:\Program Files\Java\jre\bin
Java Plug-in 1.6.0_18 ActiveX control
File: npjpi160_18.dll version: 1.6.0.18
Java™Plug-in 2 SSV version: 6.0.180.7 , file: jp2ssv.dll
JQSIEStartDetectorImpl Class version: 6.0.180.7, file: jqs_plugin.dll for program Files\Java\jre6\lib\deploy\jqs\ie
Adobe PDF link Helper, version 9.0.0.332
File: AcroIEHelperShim.dll
For C:\Program Files\Adobe the listed files are:
Reader 9.0
Acrobat.com
Photoshop 7.0
Also, under common files: C:\Program Files\Common Files\Adobe\Acrobat\ActiveX the following files are present:
Pdfshell.dll
AcroIE HelperShim.dll
AcroPDF.dll
AcroIEHelper.dll
There is also a file called Adobe AIR under the Common Files category.
Next, there are some Java undate files listed as: C:\program Files\Common Files\Java\Java Update
Also, listed in the “Manage add-ons” is: Shockwave Flash Object, Flash10e.ocx,
which is enabled.
When I checked the C:\program Files I reviewed all listed folders and did not see folders named, Adobe Flash Player 10 ActiveX, or Adobe Flash Player 10 plug-in. The only folder found label with Adobe, was the prior mentioned folder, Adobe containing Reader9.0, Acrobat.com, and Photoshop7.0.Hi, May I suggest that you read your previous 3 threads that have been responded to?
You need to stop starting threads, this is the 4th one. You need to stop copying and pasting from the first thread to the new threads that you are starting. It serves no positive purpose.
eidnolb -
Applets work in NS but not in IE
Hello,
I would very much appreciate tips on setting up sun java so that I can make applets that work in IE.
Now, my IE have no problems with applets found on the web, for example this one is ok:
http://java.sun.com/applets/jdk/1.1/demo/Animator/example1.html
But, the examples installed with j2sdk1.4.1_07 will only work in Netscape. In IE these applets just display a grey applet area. (IE6/XP and IE5.5/Win98)
So far:
Have read installations instruction and ReadMe files. Installed j2sdk1.4.1_07, added PATH, code compiles fine. Console programs work ok. I also compiled a Hello World applet, which also worked in NS, but not in IE.
Any help greatly appreciated.Me again...
Right... Maybe I am answering my own question here? It seems that the programs compiled with j2sdk1.4.1_07 will NOT run under the JVM 1.1.4 from Microsoft Corp?
So, anything that I compile with the later sun package will most likely fail on IE browsers unless the user have upgraded their JVMs?
If so, then what version of Sun Java can be recommended to achieve reasonable amount of compatibility with the IE5.5 and IE6 that are out there? -
Loading PNG image file from Applet?
Hi All,
My applet running on IE6 and it will often loads 100 PNG image files from a webserver.
Size of PNG file is about 60Kb so 100*60=6000 Kb ~ 6M.
In theory, the applet will took 6M of memory to store all 100 files. In practical, it tooks about
6M* 25 = 150M of memory, that make my applet run in out of memory sometimes.
I know the reason, may be the brower/applet convert the PNG file format to BMP file format before showing on the screen.
So the main point here is the applet should not loads all 100 files into the memory,
it should loads only 10 files at the same time, another 90 files should be cached in memory as PNG file format, not BMP image file format to save the memory usage.
Is this solution possible in applet field?
If it is possible how can I implement it?
And please show me better solution if anys.
Many Thanks.I know the reason, may be the brower/applet convert the PNG file format to
BMP file format before showing on the screen.This sounds VERY unlikely! Why should the browser do that? And the applet does what you have coded I hope!
Your problem is probably somewhere else. And it has nothing to do with applets I presume. Use a heap analyzer tool to find out what hogs the memory. A thorough code review can't hurt either. If you still thinks it is the images though, then just don't load them all at once then.
Maybe you are looking for
-
Macbook Pro Retina 15" what's a normal temperature to touch supposed to be ?
I've spent about 8 days setting up my new MBPr with all my music and video production apps. Just starting to do professional workhorse tasks for hours in a row plugged into wall not on batteries. I love the performance and the extendend desktop on a
-
I am installing a larger harddrive on my Mac. Can I copy the Aperture library from my backup disk running Time Machine without loosing anything? I am getting help migrating everything else on to the new harddrive, but since copying the 350Gb Aperture
-
Here is the code: package ui.components; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.
-
E3000 file and printer sharing issues
Yes, there is at least one other thread on this but it looked a bit stale. Last Friday I replaced my BEFSR41 router and WRT54G wireless access point (which had gone brick on me) with an E3000.The E3000 is configured as a DHCP server at 192.168.168.65
-
Do I need my pass code in order to backup my iPad?
I forgot my password and have tried nine times to "guess" what I had previously set it at. If it is required to lock the device to back it up, would shutting off suffice? Thanks!