$ appletviewer http://www.mycgiserver.com/~movegaga/pacman.htm
load: class cottage.Cottage.class not found.
java.lang.ClassNotFoundException: cottage.Cottage.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
at sun.applet.AppletPanel.run(AppletPanel.java:292)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
... 8 more
$ java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
BTW: Thats on linux.
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/scottpalmer
Proxy Configuration: No proxy
----------------------------------------------------
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:140)
at sun.plugin.cache.CachedJarLoader.decompress(CachedJarLoader.java:397)
at sun.plugin.cache.CachedJarLoader.access$500(CachedJarLoader.java:53)
at sun.plugin.cache.CachedJarLoader$5.run(CachedJarLoader.java:335)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.cache.Cache.privileged(Cache.java:219)
at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:320)
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)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:574)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1828)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:503)
at sun.applet.AppletPanel.run(AppletPanel.java:292)
at java.lang.Thread.run(Thread.java:554)
load: class cottage.Cottage.class not found.
java.lang.ClassNotFoundException: cottage.Cottage.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:574)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1828)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:503)
at sun.applet.AppletPanel.run(AppletPanel.java:292)
at java.lang.Thread.run(Thread.java:554)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
... 10 more
And that’s on Mac
I got the ZLIB exception too on linux when I used the Java plugin.
Yeah, I noticed.
I got serious problems with FTP on mycgiserver.com.
Like 49 out of 50 times it fails somehow, leaving a corrupted jar on the server. >:(
Anyway, I finally managed to upload a correct one again.
But it has a bug or 2:
- You have to refresh everytime a score is submitted (at gameover).
- In pacman, when pacman is cought by a ghost in attract mode, my game-over trigger reacts too, resulting in resubmitting the last score. The strange thing is that this doesn’t happen in mspacman (which is a hacked pacman).
Bleh, have to find me a new breakpoint for pacman :-[
I have to find me a good host and stop relying on free crap.
For what it’s worth … this now works perfectly on the Mac
Cool, gotta another problem in the appletviewer.
Submitting score to server
java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:572)
at org.apache.xml.utils.TreeWalker.<init>(TreeWalker.java:149)
at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:1608)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:189)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTMHandleFromNode(DTMManagerDefault.java:438)
at org.apache.xpath.XPathContext.getDTMHandleFromNode(XPathContext.java:195)
at org.apache.xpath.XPathAPI.eval(XPathAPI.java:274)
at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:163)
at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:124)
at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:104)
at cottage.HSClient$ScoreDownloader.run(HSClient.java:187)
[ .... cut same exception 10 times ... ]
Offline (max. retries exhausted)
I would have assumed this was a problem on my end but the applet view has the access set to “unrestricted”.
[quote]Cool, gotta another problem in the appletviewer.
Submitting score to server
java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:572)
at org.apache.xml.utils.TreeWalker.<init>(TreeWalker.java:149)
at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:1608)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:189)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTMHandleFromNode(DTMManagerDefault.java:438)
at org.apache.xpath.XPathContext.getDTMHandleFromNode(XPathContext.java:195)
at org.apache.xpath.XPathAPI.eval(XPathAPI.java:274)
at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:163)
at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:124)
at org.apache.xpath.XPathAPI.selectSingleNode(XPathAPI.java:104)
at cottage.HSClient$ScoreDownloader.run(HSClient.java:187)
[ .... cut same exception 10 times ... ]
Offline (max. retries exhausted)
I would have assumed this was a problem on my end but the applet view has the access set to “unrestricted”.
[/quote]
This is probably what you’re getting at game-over and it’s the reason of the problem of having to reload the applet after a score is submitted (it won’t submit again because it wrongly assumes you’re offline).
[quote]as far as hosting, you could try portland
[/quote]
Thanks for the tip :D, but I prefer a host based in my home country (NL).
Greetings,
Erik
About the ‘java.security.AccessControlException’, this happens when I call XPathAPI.selectSingleNode().
I guess this makes XPathAPI unusable in an applet?
Erik
u need a domain name
i had 12k points and I didnt get registered on high score =/
Did you have a look at the console by any chance?
mycgiserver.com isn’t exactly well known for its outstanding up time so I wouldn’t be at all surprised the servlet runner was overloaded again.
Hmmm… I did see a 12.500 score by you (darcone) on the number 1 position.
Maybe you didn’t refresh, or you didn’t see your score because of browser caching.
oh ok