I'm not accessing the cacerts file explicitly, I'm calling JCE KeyGenerator to create a key. When I call KeyGenerator.getInstance("DES"), I get the SecurityException when I'm running in container. I don't get this exception while running out of container. As far as I can tell, I'm using the same JVM for both Jboss and outside of jboss.
Do I need to include the JCE jars in the EJB/EAR or include them in the classpath when I startup JBoss? The JCE jars are in the <java_home>/jre/bin/ext and the cacerts file is in <java_home>/jre/bin/security.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956805#3956805
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956805