Inteqam
asked on
Signed Aplplet jar file not loading via IIS
I have the jar file a.jar, and the a.html in the same folder in an IIS web site,
the HTMl code contains the following Applet tag
<applet archive="a.jar" code="com.mindprod.availab le.Availab le"></Appl et>
i can access the jar file directly from the web browser, but opening the a.html file give a CLASSNOTFOUNDEXCEPTION exception, and looking at the IIS log files i see that the applet is trying to access the class files directly.
I know that this is an IIS problem, but i dont know what,
Help please
the HTMl code contains the following Applet tag
<applet archive="a.jar" code="com.mindprod.availab
i can access the jar file directly from the web browser, but opening the a.html file give a CLASSNOTFOUNDEXCEPTION exception, and looking at the IIS log files i see that the applet is trying to access the class files directly.
I know that this is an IIS problem, but i dont know what,
Help please
and in which folder is the jar file?
you sure the jar contains the class, and its in the correct directory? Check with the following
jar tvf a.jar
Also check that the Available class is an applet subclass
Can you run it with appletviewer?
jar tvf a.jar
Also check that the Available class is an applet subclass
Can you run it with appletviewer?
ASKER
ok, i am not a Java Guru (and apparently not an IIS one too :) )
Venabill, i was getting the following error
java.io.IOException: open HTTP connection failed:http://www.MySite.com/thankyou/com/mindprod/available/Available.class
then i got
java.io.IOException: open HTTP connection failed:http://www.MySite.com/thankyou/com/mindprod/available/Available/class.class
and
>> I have the jar file a.jar, and the a.html in the same folder
Objects:
yes, i am sure, actually, it works locally (with no IIS)
i dont know what is jar tvf ?!! but i opened the file with winrar
as said, i can open it locally and it opens a.html and displays the applet with no problems, but i didnt test it with appletviewer (dont know what is that :) )
Venabill, i was getting the following error
java.io.IOException: open HTTP connection failed:http://www.MySite.com/thankyou/com/mindprod/available/Available.class
then i got
java.io.IOException: open HTTP connection failed:http://www.MySite.com/thankyou/com/mindprod/available/Available/class.class
and
>> I have the jar file a.jar, and the a.html in the same folder
Objects:
yes, i am sure, actually, it works locally (with no IIS)
i dont know what is jar tvf ?!! but i opened the file with winrar
as said, i can open it locally and it opens a.html and displays the applet with no problems, but i didnt test it with appletviewer (dont know what is that :) )
ASKER
as noticed in my reply to Venabill, the applet is trying to access the class file, while what i understood is that it should get the jar file to the client browser. am i wrong?
> but i opened the file with winrar
did it contain a file Available.class
in directory /com/mindprod/available/
ie. /com/mindprod/available/Av ailable.cl ass
did it contain a file Available.class
in directory /com/mindprod/available/
ie. /com/mindprod/available/Av
ASKER
yes
sorry that i didnt mention that
again, a.html with the a.jar opens ok when opened locally.
sorry that i didnt mention that
again, a.html with the a.jar opens ok when opened locally.
> again, a.html with the a.jar opens ok when opened locally.
yes understand that.
If you rename a.jar to something else does it still work locally?
yes understand that.
If you rename a.jar to something else does it still work locally?
ASKER
without changing the applet tag?
either way, i will have to wait till tomorrow when i reach workplace to test.
either way, i will have to wait till tomorrow when i reach workplace to test.
correct, need to confirm it is using the jar when you run it locally
other thing to try when you get to work is clearing your browser cache
other thing to try when you get to work is clearing your browser cache
ASKER
i already disabled caching (using java at control panel)
another thing to check is to download the jar using the browser and open it with winrar to check it is valid
ASKER
renaming the jar file yielded the following error
Caused by: java.io.FileNotFoundExcept ion: C:\Users\Inteqam\Desktop\c om\mindpro d\availabl e\Availabl e.class (The system cannot find the path specified)
as for downloading the jar file:
>>i can access the jar file directly from the web browser
as for testing it, yes, it downloaded and working as expected
Caused by: java.io.FileNotFoundExcept
as for downloading the jar file:
>>i can access the jar file directly from the web browser
as for testing it, yes, it downloaded and working as expected
open up the java console, turn up logging by pressing 5 in the console, and reload the applet
post what the console shows
post what the console shows
ASKER
Trace level set to 5: all ... completed.
basic: Added progress listener: sun.plugin.util.GrayBoxPai nter$GrayB oxProgress Listener@d da25b
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite:80/ with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.18382771 08.1219156 488.126927 8992.12710 88317.19; __utmz=130688647.126374083 4.16.1.utm ccn=(direc t)|utmcsr= (direct)|u tmcmd=(non e); __qca=1218237061-74621697- 42471906"
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.18382771 08.1219156 488.126927 8992.12710 88317.19; __utmz=130688647.126374083 4.16.1.utm ccn=(direc t)|utmcsr= (direct)|u tmcmd=(non e); __qca=1218237061-74621697- 42471906"
basic: load: class com.mindprod.available.Ava ilable not found.
load: class com.mindprod.available.Ava ilable not found.
java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
at sun.plugin2.applet.Applet2 ClassLoade r.findClas s(Unknown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.plugin2.applet.Plugin2 ClassLoade r.loadCode (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager.cr eateApplet (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager$Ap pletExecut ionRunnabl e.run(Unkn own Source)
at java.lang.Thread.run(Unkno wn Source)
Caused by: java.io.IOException: open HTTP connection failed:http://MySite/XYZ/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2 ClassLoade r.getBytes (Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r.access$0 00(Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r$1.run(Un known Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
... 7 more
Exception: java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
basic: Added progress listener: sun.plugin.util.GrayBoxPai
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite:80/ with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.18382771
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.18382771
basic: load: class com.mindprod.available.Ava
load: class com.mindprod.available.Ava
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: java.io.IOException: open HTTP connection failed:http://MySite/XYZ/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
hmm, you sure thats the applet tag that is loaded by the browser
can you do a view source and post the html
can you do a view source and post the html
ASKER
unfortunately, cannot post the full HTML.
here is the Applet Code
<applet class="cmp" archive="available.jar" code="com.mindprod.availab le.Availab le" width="600" height="410" alt="You need Java 1.5 or later to run this Applet.">Sorry, you need Java 1.5 or later to run this Applet.
</applet>
here is the Applet Code
<applet class="cmp" archive="available.jar" code="com.mindprod.availab
</applet>
ASKER
i apologize, the jar file name is actually available.jar not a.jar
so the code is correct, but i forget to change that.
so the code is correct, but i forget to change that.
hmm, running out of things to check
> i already disabled caching (using java at control panel)
disabling caching and clearing the cache are a little different
can you renable caching, clear the cache, and repeat:
> open up the java console, turn up logging by pressing 5 in the console, and reload the applet
> post what the console shows
> i already disabled caching (using java at control panel)
disabling caching and clearing the cache are a little different
can you renable caching, clear the cache, and repeat:
> open up the java console, turn up logging by pressing 5 in the console, and reload the applet
> post what the console shows
ASKER
Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Inteqam
-------------------------- ---------- ---------- ------
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>
-------------------------- ---------- ---------- ------
Trace level set to 5: all ... completed.
basic: Added progress listener: sun.plugin.util.GrayBoxPai nter$GrayB oxProgress Listener@1 8d9850
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite80/ with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.49816455 4.12578476 93.1271087 935.127109 1287.66; __utmz=130688647.126207330 6.17.4.utm ccn=(refer ral)|utmcs r=pcsuppor t.about.co m|utmcct=/ gi/o.htm|u tmcmd=refe rral"
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.49816455 4.12578476 93.1271087 935.127109 1287.66; __utmz=130688647.126207330 6.17.4.utm ccn=(refer ral)|utmcs r=pcsuppor t.about.co m|utmcct=/ gi/o.htm|u tmcmd=refe rral"
basic: load: class com.mindprod.available.Ava ilable not found.
load: class com.mindprod.available.Ava ilable not found.
java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
at sun.plugin2.applet.Applet2 ClassLoade r.findClas s(Unknown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.plugin2.applet.Plugin2 ClassLoade r.loadCode (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager.cr eateApplet (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager$Ap pletExecut ionRunnabl e.run(Unkn own Source)
at java.lang.Thread.run(Unkno wn Source)
Caused by: java.io.IOException: open HTTP connection failed:http://MySite/XYZ/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2 ClassLoade r.getBytes (Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r.access$0 00(Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r$1.run(Un known Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
... 7 more
Exception: java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Inteqam
--------------------------
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>
--------------------------
Trace level set to 5: all ... completed.
basic: Added progress listener: sun.plugin.util.GrayBoxPai
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite80/ with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.49816455
network: Cache entry not found [url: http://MySite/XYZ/com/mindprod/available/Available.class, version: null]
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with proxy=DIRECT
network: Connecting http://MySite/XYZ/com/mindprod/available/Available.class with cookie "__utma=130688647.49816455
basic: load: class com.mindprod.available.Ava
load: class com.mindprod.available.Ava
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: java.io.IOException: open HTTP connection failed:http://MySite/XYZ/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
thats weird, it doesn't look like there is an archive attribute in the applet tag it is loading.
Do you get the same problem when you try it from a different box?
Do you get the same problem when you try it from a different box?
ASKER
all of them, but my dev machine, which i dont use for testing, since different errors by the second on it.
I'm stumped, not much else I can think of without being able to load it myself.
ASKER
i am already trying to enable you to do that
please hold.
please hold.
ASKER
DNS might not have refreshed yet (at least at my place, so i didnt test it yet), but please check the following link
http://java.strategynm.com
http://java.strategynm.com
ASKER
a friend of mine returned me this
basic: Added progress listener: sun.plugin.util.GrayBoxPai nter$GrayB oxProgress Listener@1 1756a4
network: Cache entry not found [url: http://java.strategynm.com/a.jar, version: null]
basic: Loading Java Applet ...
network: Connecting http://java.strategynm.com/a.jar with proxy=HTTP @ /172.16.64.50:80
java.io.IOException: Server returned HTTP response code: 999 for URL: http://java.strategynm.com/a.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFil eCallBack. downloadJA R(Unknown Source)
at sun.plugin.PluginURLJarFil eCallBack. access$000 (Unknown Source)
at sun.plugin.PluginURLJarFil eCallBack$ 2.run(Unkn own Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at sun.plugin.PluginURLJarFil eCallBack. retrieve(U nknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.ja r.CachedJa rURLConnec tion.conne ct(Unknown Source)
at sun.plugin.net.protocol.ja r.CachedJa rURLConnec tion.getJa rFileInter nal(Unknow n Source)
at sun.plugin.net.protocol.ja r.CachedJa rURLConnec tion.getJa rFile(Unkn own Source)
at sun.misc.URLClassPath$JarL oader.getJ arFile(Unk nown Source)
at sun.misc.URLClassPath$JarL oader.acce ss$600(Unk nown Source)
at sun.misc.URLClassPath$JarL oader$1.ru n(Unknown Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at sun.misc.URLClassPath$JarL oader.ensu reOpen(Unk nown Source)
at sun.misc.URLClassPath$JarL oader.<ini t>(Unknown Source)
at sun.misc.URLClassPath$3.ru n(Unknown Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at sun.misc.URLClassPath.getL oader(Unkn own Source)
at sun.misc.URLClassPath.getL oader(Unkn own Source)
at sun.misc.URLClassPath.getR esource(Un known Source)
at sun.plugin2.applet.Plugin2 ClassLoade r$2.run(Un known Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
at sun.plugin2.applet.Plugin2 ClassLoade r.findClas sHelper(Un known Source)
at sun.plugin2.applet.Applet2 ClassLoade r.findClas s(Unknown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.plugin2.applet.Plugin2 ClassLoade r.loadCode (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager.cr eateApplet (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager$Ap pletExecut ionRunnabl e.run(Unkn own Source)
at java.lang.Thread.run(Unkno wn Source)
network: Cache entry not found [url: http://java.strategynm.com/a.jar, version: null]
network: Connecting http://java.strategynm.com/a.jar with proxy=HTTP @ /172.16.64.50:80
network: Cache entry not found [url: http://java.strategynm.com/com/mindprod/available/Available.class, version: null]
network: Connecting http://java.strategynm.com/com/mindprod/available/Available.class with proxy=HTTP @ /172.16.64.50:80
network: Cache entry not found [url: http://java.strategynm.com/com/mindprod/available/Available.class, version: null]
network: Connecting http://java.strategynm.com/com/mindprod/available/Available.class with proxy=HTTP @ /172.16.64.50:80
basic: load: class com.mindprod.available.Ava ilable not found.
load: class com.mindprod.available.Ava ilable not found.
java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
at sun.plugin2.applet.Applet2 ClassLoade r.findClas s(Unknown Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at java.lang.ClassLoader.load Class(Unkn own Source)
at sun.plugin2.applet.Plugin2 ClassLoade r.loadCode (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager.cr eateApplet (Unknown Source)
at sun.plugin2.applet.Plugin2 Manager$Ap pletExecut ionRunnabl e.run(Unkn own Source)
at java.lang.Thread.run(Unkno wn Source)
Caused by: java.io.IOException: open HTTP connection failed:http://java.strategynm.com/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2 ClassLoade r.getBytes (Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r.access$0 00(Unknown Source)
at sun.plugin2.applet.Applet2 ClassLoade r$1.run(Un known Source)
at java.security.AccessContro ller.doPri vileged(Na tive Method)
... 7 more
Exception: java.lang.ClassNotFoundExc eption: com.mindprod.available.Ava ilable
NOTICE error 999
basic: Added progress listener: sun.plugin.util.GrayBoxPai
network: Cache entry not found [url: http://java.strategynm.com/a.jar, version: null]
basic: Loading Java Applet ...
network: Connecting http://java.strategynm.com/a.jar with proxy=HTTP @ /172.16.64.50:80
java.io.IOException: Server returned HTTP response code: 999 for URL: http://java.strategynm.com/a.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFil
at sun.plugin.PluginURLJarFil
at sun.plugin.PluginURLJarFil
at java.security.AccessContro
at sun.plugin.PluginURLJarFil
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.ja
at sun.plugin.net.protocol.ja
at sun.plugin.net.protocol.ja
at sun.misc.URLClassPath$JarL
at sun.misc.URLClassPath$JarL
at sun.misc.URLClassPath$JarL
at java.security.AccessContro
at sun.misc.URLClassPath$JarL
at sun.misc.URLClassPath$JarL
at sun.misc.URLClassPath$3.ru
at java.security.AccessContro
at sun.misc.URLClassPath.getL
at sun.misc.URLClassPath.getL
at sun.misc.URLClassPath.getR
at sun.plugin2.applet.Plugin2
at java.security.AccessContro
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
network: Cache entry not found [url: http://java.strategynm.com/a.jar, version: null]
network: Connecting http://java.strategynm.com/a.jar with proxy=HTTP @ /172.16.64.50:80
network: Cache entry not found [url: http://java.strategynm.com/com/mindprod/available/Available.class, version: null]
network: Connecting http://java.strategynm.com/com/mindprod/available/Available.class with proxy=HTTP @ /172.16.64.50:80
network: Cache entry not found [url: http://java.strategynm.com/com/mindprod/available/Available.class, version: null]
network: Connecting http://java.strategynm.com/com/mindprod/available/Available.class with proxy=HTTP @ /172.16.64.50:80
basic: load: class com.mindprod.available.Ava
load: class com.mindprod.available.Ava
java.lang.ClassNotFoundExc
at sun.plugin2.applet.Applet2
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at sun.plugin2.applet.Plugin2
at java.lang.Thread.run(Unkno
Caused by: java.io.IOException: open HTTP connection failed:http://java.strategynm.com/com/mindprod/available/Available.class
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at sun.plugin2.applet.Applet2
at java.security.AccessContro
... 7 more
Exception: java.lang.ClassNotFoundExc
NOTICE error 999
what do the IIS logs show?
ASKER
nothing specific, requests for class files
are you looking for something specific?
BTW: we have the following installed on the server, can it cause things like this?
1- WebKnight
2- OpenOffice
3- Norton Anti-Virus (i think, i will double check tomorrow).
are you looking for something specific?
BTW: we have the following installed on the server, can it cause things like this?
1- WebKnight
2- OpenOffice
3- Norton Anti-Virus (i think, i will double check tomorrow).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was WebKnight !!!!!!!!!!!!!!!
it prevented access to jar files only, and returned error 999 (no hack).
strange !
it prevented access to jar files only, and returned error 999 (no hack).
strange !
<applet archive="a.jar" code="com.mindprod.availab
as a start. (if the applet class is com.mindprod.available.Ava
and post the full error if that does not help