users@glassfish.java.net

Re: GF3 TP2: java.security.NoSuchAlgorithmException "DESede"

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Jul 2008 15:41:22 PDT

I'm getting the NoSuchAlgorithmException with the same simple servlet code.

OS: Server 2008 x64
JDK: 1.6.0_06
App Server: Glassfish v3 TP2
IDE: NetBeans 6.1

Steps

1) New Web Project (no frameworks)
2) Create new class: org.gftest.TestServlet
3) Copy/paste in your simple processRequest method.
4) Rename method processRequest to doGet
5) Add basic servlet definition and mapping to web.xml
6) Run

I see
java.security.NoSuchAlgorithmException: DESede SecretKeyFactory not available
(plus stack trace)
[Message sent by forum member 'massimoh' (massimoh)]

http://forums.java.net/jive/thread.jspa?messageID=284474