Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...JAVA Applet in a DNN module generates error....JAVA Applet in a DNN module generates error....
Previous
 
Next
New Post
4/16/2006 10:37 AM
 

Hello,
I started a new hobby recently, panoramic photography.
I want to show these panoramas within a DNN module, the DOCUMENTS module witch I rebuild to show these panorama's
When I use the applet in ordinary HTML code, there's no problem. The panorama shows and I can move around in the picture.
But when I place the same code in my new DNN module, I get the JAVA Icon with the turning starshape, but then I get an error that the applet cannot be found.
This is the code:
<APPLET height="200" archive="ptviewer.jar" width="320" code="ptviewer.class" name="ptviewer"

mayscript="true" VIEWASTEXT>

<PARAM NAME="frame" VALUE="panoramas/frame.gif">

<PARAM NAME="applet1" VALUE="{code= ptcompass.class} {compass_map=panoramas/compass.gif} {compass_x=220} {compass_y=185} {compass_pan=45}">

<PARAM NAME="applet0" VALUE="{code= ptmedia.class} {file=images/sound.au}">

<PARAM NAME="shotspot9" VALUE="x126 y186 a168 b200 u'ptviewer:PlaySound(0)'">

<PARAM NAME="shotspot8" VALUE="x84 y186 a126 b200 u'ptviewer:moveTo(-136,13.4,46.3,200)'">

<PARAM NAME="shotspot7" VALUE="x42 y186 a84 b200 u'ptviewer:gotoView(161.0, 28, 30.0)'">

<PARAM NAME="shotspot6" VALUE="x0 y186 a42 b200 u'ptviewer:newPanoFromList(0,100,50.0,40.0)'">

<PARAM NAME="shotspot5" VALUE="x306 y186 a320 b200 u'ptviewer:gotoView(0,0,80)'">

<PARAM NAME="bar_height" VALUE="20">

<PARAM NAME="shotspot4" VALUE="x292 y186 a306 b200 u'ptviewer:toggleHS()'">

<PARAM NAME="shotspot3" VALUE="x278 y186 a292 b200 u'ptviewer:startAutoPan(0,0,1.03)'">

<PARAM NAME="shotspot2" VALUE="x264 y186 a278 b200 u'ptviewer:startAutoPan(0,0,0.97)'">

<PARAM NAME="bar_width" VALUE="193">

<PARAM NAME="shotspot1" VALUE="x250 y186 a264 b200 u'ptviewer:stopAutoPan()'">

<PARAM NAME="shotspot0" VALUE="x236 y186 a250 b200 u'ptviewer:startAutoPan(0.5,0,1)'">

<PARAM NAME="wait" VALUE="panoramas/wait.jpg">

<PARAM NAME="shotspot10" VALUE="x168 y186 a210 b200 u'ptviewer:startApplet(0)'">

<PARAM NAME="pano0" VALUE="{file=panoramas/PanoSerre_klein.jpg} {pan=-45} {tilt=-50} {fov=80} {fovmax=120} {fovmin=30} {auto=0.5}">

<PARAM NAME="file" VALUE="ptviewer:0">

<PARAM NAME="sound0" VALUE="panoramas/sound.au">

<PARAM NAME="inits" VALUE="ptviewer:startApplet(1)">

<PARAM NAME="bar_y" VALUE="169">

<PARAM NAME="bar_x" VALUE="115">

</APPLET>

 

When I start my module I get an errormessage down under:
Load: class ptviewer.class not found
and a popup error from JAVA:

Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\jos
network: Loading user-defined proxy configuration ...
network: Proxy list: http=10.0.0.2:6588
network: Proxy override: null
network: Done.
network: Loading manual proxy configuration ...
network: Done.
network: Proxy Configuration: Manual Configuration
Proxy: http=10.0.0.2:6588
Proxy Overrides:

basic: Cache is enabled
basic: Location: C:\Documents and Settings\jos\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 0

----------------------------------------------------
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 and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1bd7848 <mailto:sun.plugin.util.GrayBoxPainter@1bd7848>
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting <http://www.java.com/jsp_utils/jreCheck.class> with proxy=HTTP @ /10.0.0.2:6588
network: Connecting <http://www.java.com/jsp_utils/jreCheck.class> with cookie "JSESSIONID=BD39C2FE65DA0E3627755CE4971E7645; s_cc=true; s_sq"
basic: Loading <http://www.java.com/jsp_utils/jreCheck.class> from cache
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1bd7848 <mailto:sun.plugin.util.GrayBoxPainter@1bd7848>
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Quiting applet ...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@14e3f41 <mailto:sun.plugin.util.GrayBoxPainter@14e3f41>
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@14e3f41 <mailto:sun.plugin.util.GrayBoxPainter@14e3f41>
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Quiting applet ...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@76ab2f <mailto:sun.plugin.util.GrayBoxPainter@76ab2f>
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Stopped loading ...
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@76ab2f <mailto:sun.plugin.util.GrayBoxPainter@76ab2f>
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@1df8b99 <mailto:sun.plugin.ClassLoaderInfo@1df8b99>
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4fc156 <mailto:sun.plugin.ClassLoaderInfo@4fc156>, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1d1e730 <mailto:sun.plugin.util.GrayBoxPainter@1d1e730>
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: httpCompression = true
network: Connecting <http://visualdata.no-ip.org/VD_DNN_32/MyModules/VD_Panorama/tabid/108/ptviewer.jar> with proxy=HTTP @ /10.0.0.2:6588
network: Connecting <http://visualdata.no-ip.org/VD_DNN_32/MyModules/VD_Panorama/tabid/108/ptviewer.class> with proxy=HTTP @ /10.0.0.2:6588
network: Connecting <http://visualdata.no-ip.org/VD_DNN_32/MyModules/VD_Panorama/tabid/108/ptviewer/class.class> with proxy=HTTP @ /10.0.0.2:6588
load: class ptviewer.class not found.
java.lang.ClassNotFoundException: ptviewer.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: ptviewer.class
java.lang.ClassNotFoundException: ptviewer.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: Modality pushed
basic: Modality popped
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1d1e730 <mailto:sun.plugin.util.GrayBoxPainter@1d1e730>
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@4fc156 <mailto:sun.plugin.ClassLoaderInfo@4fc156>, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@4fc156 <mailto:sun.plugin.ClassLoaderInfo@4fc156>
basic: Current classloader cache size: 2
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4fc156 <mailto:sun.plugin.ClassLoaderInfo@4fc156>, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@cc7439 <mailto:sun.plugin.util.GrayBoxPainter@cc7439>
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting <http://visualdata.no-ip.org/VD_DNN_32/MyModules/VD_Panorama/tabid/108/ptviewer.class> with proxy=HTTP @ /10.0.0.2:6588
network: Connecting <http://visualdata.no-ip.org/VD_DNN_32/MyModules/VD_Panorama/tabid/108/ptviewer/class.class> with proxy=HTTP @ /10.0.0.2:6588
load: class ptviewer.class not found.
java.lang.ClassNotFoundException: ptviewer.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: ptviewer.class
java.lang.ClassNotFoundException: ptviewer.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: Modality pushed
basic: Modality popped


Does anybody know how to implement this type of JAVA applet into a DNN module?

Thanks,

Jos


jos Richters www.visualdata.nl
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...JAVA Applet in a DNN module generates error....JAVA Applet in a DNN module generates error....


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out