PDA

View Full Version : Problems hosting Java Applet in IIS6


deckberg
2007-09-05, 15:16 PM
Ok, I have a very strange problem. I'm not sure if it's a client-side problem or server-side, or a combination. We're using IIS6 on a Windows 2003 server.

Here's a link to the broken tour:
http://www.360onlinetours.com/viewer.asp?TourID=2946&mode=pano&pano=0

When I view it in Internet Explorer 6 or 7 with the Microsoft Java VM it works just fine. When I view it in IE 6 or 7 with the Sun Java RE it gives me a red x. When I move the tour to another IIS6 Windows 2003 server it will work with either Microsoft Java VM or Sun Java RE. Maybe some problem with the MIME types in IIS6. I'm not quite sure and I need to get it working ASAP.

Here is a short (1 min) video to help explain the problem:
http://www.360onlinetours.com/help/index.html

Here's what I get from the Java Console:
----------------------------------------------------
Trace level set to 5: all ... completed.
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@14fe5c
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@108786b, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@108786b
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Quiting applet ...
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@108786b, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@fe748f
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
network: Cache entry not found [url: http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer.class, version: null]
network: Connecting http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer.class with proxy=DIRECT
network: Connecting http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer.class with cookie "ASPSESSIONIDSADQRTCS=MEHNBAEDPOOMAABGGGKNJJIK"
network: Cache entry not found [url: http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer/class.class , version: null]
network: Connecting http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer/class.class with proxy=DIRECT
network: Connecting http://www.360onlinetours.com/tours/2946/0/com/easypano/tw/TWViewer/class.class with cookie "ASPSESSIONIDSADQRTCS=MEHNBAEDPOOMAABGGGKNJJIK"
load: class com.easypano.tw.TWViewer.class not found.
java.lang.ClassNotFoundException: com.easypano.tw.TWViewer.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.io.IOException: open HTTP connection failed.
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
basic: Exception: java.lang.ClassNotFoundException: com.easypano.tw.TWViewer.class

deckberg
2007-09-05, 15:39 PM
Nevermind. I fixed it. Sorry for cluttering up the forums. :)

DXD
2007-09-05, 15:48 PM
What was the fix? I was about to post it seemed like you had some files in the wrong place.

http://www.goldenseaside.com/ragwort/ragwort_applet/ragwort.html

That link works for me but yours didn't