Hi,
I installed the latest version on MAC OS 10.3, but unfortunately neither Firefox 1.0.4 nor Mozilla 1.7.8 work. I get always the message that a class was not found. I'm using a proxy which is correctly shown by the applet console :
Java(TM) Plug-in: Version 1.4.2_05
Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
User home directory = /Users/markuskohler
Proxy Configuration: Automatic Proxy Configuration
URL: http://proxy:8083
----------------------------------------------------
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>
----------------------------------------------------
MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Tue May 24 22:19:21 CEST 2005]
load: class freemind.main.FreeMindApplet.class not found.
java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1946)
at jep.AppletHolderPanel.createApplet(AppletHolderPanel.java:94)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.net.UnknownHostException: freemind.sourceforge.net
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 10 more
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1946)
at jep.AppletHolderPanel.createApplet(AppletHolderPanel.java:94)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.net.UnknownHostException: www.java.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 10 more
Any help would be appreciated.
Regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does your applet work in Safari, or in Mozilla/Firefox on other
platforms (like Windows or Linux)? If not, there may be something
wrong with your applet or (more likely) with the html code you're
using to invoke it.
If your applet does work in Safari and/or on other platforms, please
give me a URL that I can test.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You've chosen "Automatic Proxy Configuration" in the "Proxies" tab of
the Network System Preferences panel ... but you've configured it
incorrectly. In the URL box you should (as the comment tells you)
enter the URL for an "automatic proxy configuration (.pac) file". But
instead you've entered an (invalid) URL to a particular machine and
port number.
And you're trying to use the MindTerm ssh applet from some web site
(whose URL you haven't provided).
Try using Safari (on the same Mac) to connect to this URL -- I assume
this will also fail, in exactly the same way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Actually I tried more than one applet. All fail with a similiar message. One applet I tried is from http://freemind.sourceforge.net/PublicMaps.html.
The applet works in Safari. The proxy settings seem to work for safari.
Regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some more questions: Are you sure you're using the same proxy
settings in Firefox and Mozilla as you're using in Safari? Where/how
did you set your Safari settings?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Problem solved !
Actually I first used "automatic proxy configuration" in the MAC OS System Preferences.
This doesn't seem to work well together with the java plugin.
The url http://proxy:8083 was correct. Specifying the complete domain name also made no difference.
The plugin wouldn't pick up a new proxy configuration until I rebooted. Pressing the "p" key inside the Java console does not seem to work.
I now configured the proxy manually and everything seems to work now :)
If you want to make any fixes for this, and you would need a tester , please contact me.
Regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm glad to hear you've fixed the problem. But it still sounds like
it was due to your misconfiguration, and has nothing to do with the
Java Embedding Plugin.
Take another look at my second message above (the third message in
this thread): The "automatic proxy configuration" setting requires a
URL for an "automatic proxy configuration (.pac) file". http://proxy:8083/, though it turns out to be valid, isn't a URL for a
.pac file. I don't think this setting could have worked in Safari
... unless it was overridden by a different (correct) setting
somewhere else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I installed the latest version on MAC OS 10.3, but unfortunately neither Firefox 1.0.4 nor Mozilla 1.7.8 work. I get always the message that a class was not found. I'm using a proxy which is correctly shown by the applet console :
Java(TM) Plug-in: Version 1.4.2_05
Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
User home directory = /Users/markuskohler
Proxy Configuration: Automatic Proxy Configuration
URL: http://proxy:8083
----------------------------------------------------
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>
----------------------------------------------------
MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Tue May 24 22:19:21 CEST 2005]
load: class freemind.main.FreeMindApplet.class not found.
java.lang.ClassNotFoundException: freemind.main.FreeMindApplet.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1946)
at jep.AppletHolderPanel.createApplet(AppletHolderPanel.java:94)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.net.UnknownHostException: freemind.sourceforge.net
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 10 more
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1946)
at jep.AppletHolderPanel.createApplet(AppletHolderPanel.java:94)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.net.UnknownHostException: www.java.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 10 more
Any help would be appreciated.
Regards,
Markus
Does your applet work in Safari, or in Mozilla/Firefox on other
platforms (like Windows or Linux)? If not, there may be something
wrong with your applet or (more likely) with the html code you're
using to invoke it.
If your applet does work in Safari and/or on other platforms, please
give me a URL that I can test.
Ok, now I think I understand what's going on.
You've chosen "Automatic Proxy Configuration" in the "Proxies" tab of
the Network System Preferences panel ... but you've configured it
incorrectly. In the URL box you should (as the comment tells you)
enter the URL for an "automatic proxy configuration (.pac) file". But
instead you've entered an (invalid) URL to a particular machine and
port number.
And you're trying to use the MindTerm ssh applet from some web site
(whose URL you haven't provided).
Try using Safari (on the same Mac) to connect to this URL -- I assume
this will also fail, in exactly the same way.
Hi,
Actually I tried more than one applet. All fail with a similiar message. One applet I tried is from http://freemind.sourceforge.net/PublicMaps.html.
The applet works in Safari. The proxy settings seem to work for safari.
Regards,
Markus
Where/how did you set your proxy settings? What settings did you use?
What proxy (or kind of proxy) are you using?
http://proxy:8083/ may not be a valid URL (though
"http://www.proxy.com:8083/", for example, would be).
Some more questions: Are you sure you're using the same proxy
settings in Firefox and Mozilla as you're using in Safari? Where/how
did you set your Safari settings?
Hi,
Problem solved !
Actually I first used "automatic proxy configuration" in the MAC OS System Preferences.
This doesn't seem to work well together with the java plugin.
The url http://proxy:8083 was correct. Specifying the complete domain name also made no difference.
The plugin wouldn't pick up a new proxy configuration until I rebooted. Pressing the "p" key inside the Java console does not seem to work.
I now configured the proxy manually and everything seems to work now :)
If you want to make any fixes for this, and you would need a tester , please contact me.
Regards,
Markus
I'm glad to hear you've fixed the problem. But it still sounds like
it was due to your misconfiguration, and has nothing to do with the
Java Embedding Plugin.
Take another look at my second message above (the third message in
this thread): The "automatic proxy configuration" setting requires a
URL for an "automatic proxy configuration (.pac) file".
http://proxy:8083/, though it turns out to be valid, isn't a URL for a
.pac file. I don't think this setting could have worked in Safari
... unless it was overridden by a different (correct) setting
somewhere else.