Hi,
A couple of months ago I made an eID application in Java EE, which worked (after a couple of tries). I test it in Netbeans using Glassfish.
Now I wanted to expand the functionality, but suddenly the old one doesn't work anymore (nor the new one). When I try to run the applet, it gives a ClassNotFoundException, appearently on be.fedict.eid.applet.Applet.class. When I click on more details, the Java Console gives a not really useful "stacktrace":
Exception in thread "Thread-13" java.lang.InternalError: The parameter is incorrect.
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
My Glassfish doesn't give any output though.
I don't think I touched the parameters of launching the applet, but in case I did, the page is below. The applet package jar is in the higher folder.
Any idea where it goes wrong, or how I can find out?
Thanks!
<h1>${param.title}</h1>
<script src="https://www.java.com/js/deployJava.js"></script>
<script>
var attributes = {
code :'be.fedict.eid.applet.Applet.class',
archive :'../eid-applet-package-1.1.0.RC2.jar',
width :600,
height :300
};
var parameters = {
TargetPage :'result.jsp',
AppletService :'identification-service;jsessionid=<%=session.getId()%>',
BackgroundColor : '${param.bgColorApplet}',
Language : '${param.langApplet}'
};
var version = '1.6';
deployJava.runApplet(attributes, parameters, version);
</script>