[
http://www.stripesframework.org/jira/browse/STS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11338#action_11338
]
Lawrence E. Lewis commented on STS-546:
---------------------------------------
My new testing shows this isn't a Stripes bug per se. It happens on my
non-Stripes test servlet. The problem, though, is in util/CryptoUtil.java where
it tries to creat a KeyGenerator with a call to:
KeyGenerator.getInstance(ALGORITHM), where ALGORITHM is "AES". Apparently the
library containing:javax.crypto.KeyGenerator, sunjce_provider.jar either isn't
available or something. Interestingly, I can't resolve the problem by manually
including sunjce_provider.jar in my .war file.
A better workaround for me would be to allow a configuration time class to be
specified to generate the key.
Again, this works fine on my local machine, but only has a problem at my shared
host:lunarpages
> 500 Servlet Exception:java.security.NoSuchAlgorithmException: AES
> KeyGenerator not available
> --------------------------------------------------------------------------------------------
>
> Key: STS-546
> URL: http://www.stripesframework.org/jira/browse/STS-546
> Project: Stripes
> Issue Type: Bug
> Affects Versions: Release 1.4.3
> Environment: Shared account on linux server at lunarpages.com.
> Container is Apache 1.3->Resin 3.1, Java 5
> Reporter: Lawrence E. Lewis
>
> My little servlet (one action bean, a few lines of code, 2 jsp's) works fine
> on my local Tomcat 6 environment under Vista SP1. When I upload it to
> lunarpages, which uses Resin 3.1 instead of Tomcat, it fails immediately with
> a 500 Servlet Exception, while it is apparently trying to generate the random
> key for the session id.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development