On 10/18/2012 08:24 PM, Fabián Mandelbaum wrote: > Hello Hussein, > > thanks for your answer. > > I did read the docs and the XXE applet page at > http://www.xmlmind.com/xmleditor/xxe_applet.html, as well as XXE > limitations page at http://www.xmlmind.com/xmleditor/limitations.html,
The "Known Problems" page also contains useful information about the applet: http://www.xmlmind.com/xmleditor/known_problems.html#applet_problems > before writing my email, and since I didn't find anything relevant > there, I decided to write you. > > Our certificate is still valid, and I can deploy the XXE5.3.0 applet > using Java6 with it with no problems. > > I've done other tests today and I'd like to share the results with > you, to possibly help other people still using Java6 and because I > think there may be an issue deploying the XXE 5.4.0 applet with Java6. > > I've installed Java7u9 (latest version available as of today), re-run > the same command to deploy the applet, using the same certificate, on > the same machine, redeployed the resulting applet and it works OK, no > certificate authentication warning (I've tested the applet with both > the Java7 and the Java6 browser plugins). Good news. > > So, it seems that the Java6 version I was using does have some issue > with XXE5.4.0's deploywebstart command. I was using Java6u33 on a 64 > bit Linux system: > > fabman@mediaserver:~$ java -version > java version "1.6.0_33" > Java(TM) SE Runtime Environment (build 1.6.0_33-b04) > Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) > fabman@mediaserver:~$ > > I know it's not the latest one (the latest one is Java6u37), but it > was the one available on that machine. I don't have time right now to > test Java6u37, and I don't pretend you do that either. > > So, bottomline, at least on our machines (we've tested in more than > one, with more than one version of Linux, both 32 and 64 bit), Java6 > (probably its jarsigner program) cannot be used to generate an > XXE5.4.0 applet signed with a certificate, because the browser warns > you that the certificate is not valid when the applet is open. > > I hope this new information is helpful. > > Thanks again for your support. > Thank you for this information. What you are saying seems logic. However in my experience, this kind of problem never comes from the tools used to deploy the applet (i.e. the jarsigner of Java 6 is probably OK. FYI, our applet demo has been created using Java 6). In my experience, these problems always come from the class loader of the Java plug-in used to run the applet. This class loader, whether Java 6 or Java 7, is either very, very, buggy (with nasty *random* bugs) or it does not like the way XXE classes and resources are distributed among multiple .jar files (I mean: may be there would be 0 problem with a single, gigantic, .jar file containing everything). -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

