Hi Michael,
Thanks very much for the prompt response to my query.
I tried a number of modifications to the code at the base of the swfobject.js file, but nothing seemed to work. I am not sure if I am changing the correct value. The last change I did was as follows:
Code:
function includeTfuApplet(autoparam) {
document.write("<applet codebase=\".\var\tfu\fsa\" code=\"de.tfu.FileSplitApplet\" name=\"de.tfu.FileSplitApplet\" width=400 height=300 archive=\"fsa_signed.jar\" align=top><param name=\"automaticSize\" value=\"" + autoparam + "\"></applet>");
}
I am trying to deploy this in a Xaraya CMS Framework instance where any additional applications incorporated into the framework are typically included under the "\var\" directory. So under that directory, I have the directory structure "tfu\fsa\".
Everything that I need to get FSA working is in the \fsa\ directory, including the swfobject.js file. If I call it from the "fsa_signed.htm" file in the /var/tfu/fsa directory, everything works just fine. But I can't call it from my file at the web root level.
The error I get from the applet is:
Code:
Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Users\wayne.walker
----------------------------------------------------
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
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>
----------------------------------------------------
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file de/tfu/FileSplitApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file de/tfu/FileSplitApplet
Any additional help you are able to provide in identifying what I have wrong would be most appreciated.
Cheers,
Wayne