According to GlassFish: Java vm vendor: Sun Microsystems Inc. Java vm name = Java HotSpot(TM) Client VM Java vm version = 17.0-b16
According to a plain java app: Java vm vendor: Sun Microsystems Inc. Java vm name = Java HotSpot(TM) Client VM Java vm version = 17.0-b16 I've found that javax.crypto lives in jce.jar, which I've plastered all over my server's classpaths, and put into the Xwiki war's WEB-INF/lib but to no avail: I still get the same result. Call me confused. On Thu, Jan 6, 2011 at 10:40 PM, Sergiu Dumitriu <[email protected]> wrote: > On 01/07/2011 05:27 AM, Mike wrote: > > I ran this in groovy: > > > > > println(javax.crypto.Cipher.getInstance("DES/CBC/PKCS5Padding").getProvider().toString() > > + "\n" + > > > javax.crypto.Cipher.getInstance("DES/CBC/PKCS5Padding").getProvider().getClass().getName()); > > > > and got this: > > > > SunJCE version 1.6 > > com.sun.crypto.provider.SunJCE > > > > So I wrote a little java program that did the same thing, and got the > same > > result. > > > > Then, I wrote a little web app and deployed it on my server, and I got > the > > result that Xwiki is giving me. > > > > So, obviously something is lacking from my server's classpath. However, > I'm > > not smart enough to track down exactly what it is that is missing -- I > don't > > know how to find out from where a given class is being resolved. > > Can you run this in your server: > > System.out.println(System.getProperty("java.vm.vendor") + " " + > System.getProperty("java.vm.name") + " " + > System.getProperty("java.vm.version")); > > > > A clue for the clueless would be gratefully received. > > > > Many thanks. > > > > Regards, > > Mike > > On Thu, Jan 6, 2011 at 8:04 PM, Caleb James DeLisle< > > [email protected]> wrote: > > > >> println(javax.crypto.Cipher.getProvider().toString() + "\n" + > >> javax.crypto.Cipher.getProvider().getClass().getName()); > >> > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > -- > Sergiu Dumitriu > http://purl.org/net/sergiu/ > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
