• Post Reply Bookmark Topic Watch Topic
  • New Topic

Loading problem of signed applet on MAC OS  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I�m trying to test my application on MAC OS (For versions: 10.2.6 as well as 10.4.x)

For MAC 10.2.6 OS Java version is 1.4.1_01 and
For MAC 10.4.x OS Java version is 1.4.2_07

The code is compiled on Windows machine having Java version 1.4.2_07

There�s a functionality which is calling signed applet (signed JAR for applet) and when this functionality is called, following error encounters:

Java(TM) Plug-in: Version 1.4.1_01

Using JRE version 1.4.1_01 Java HotSpot(TM) Client VM

User home directory = /Users/admin


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>


java.io.IOException: Server returned HTTP response code: 403 for URL: http://myMachineName ort/appName/UploadDownloadAppletJava.jar

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:384)

at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)

at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:302)

at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:128)

at sun.plugin.cache.JarCache.get(JarCache.java:172)

at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:93)

at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)

at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580)

at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541)

at sun.misc.URLClassPath$3.run(URLClassPath.java:319)

at java.security.AccessController.doPrivileged(Native Method)

at sun.misc.URLClassPath.getLoader(URLClassPath.java:308)

at sun.misc.URLClassPath.getLoader(URLClassPath.java:285)

at sun.misc.URLClassPath.getResource(URLClassPath.java:155)

at java.net.URLClassLoader$1.run(URLClassLoader.java:190)

at java.security.AccessController.doPrivileged(Native Method)

Due to which cannot access Applet class (which is inside UploadDownloadAppletJava.jar) and operation is failed.

(It works perfectly fine on Windows XP with both IE 6 and Firefox browsers).
On MAC I'm testing on FireFox.

Code which calls to applet is:
width=0 height=0>
<PARAM NAME=cabbase VALUE=UploadDownloadApplet.cab>
<PARAM NAME=action VALUE=<%= action %>>
<PARAM NAME=workingAreaMac VALUE="<%= workingAreaMac %>">
<PARAM NAME=workingAreaPC VALUE="<%= workingAreaPC %>">
<PARAM NAME=processId VALUE=<%= processId %>>
<PARAM NAME=downloadBaseProductInd VALUE=<%= downloadBaseProductInd %>>
<PARAM NAME=initTime VALUE=<%= initTime %>>
<PARAM NAME=httpSessionId VALUE="<%= httpSessionId %>">
<PARAM NAME=userId VALUE="<%= userId %>">

Please suggest some guidelines
author and iconoclast
Posts: 24217
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Nicknames or "handles" aren't OK here. You can change your display name here. Thanks!
Posts: 42972
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a server error message, and means that the server refused to honor the request. You might want to look at the server logs to see which file was specifically requested, whether that's in fact the file that should be accessed, and if there are possibly more error messages in the server log.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!