wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes IllegalArgumentException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "IllegalArgumentException:"missing provider" " Watch "IllegalArgumentException:"missing provider" " New topic
Author

IllegalArgumentException:"missing provider"

shekhar john
Ranch Hand

Joined: Feb 02, 2011
Posts: 38
I am using jboss 5.1.0 and i am facing an unusual problem with bouncy castle jar.

I have 4 different machine with same configured os ,jdk, jboss servers and bouncy castle jar in jboss/server/default/lib.

But I am facing problem of IllegalArgumentException:"missing provider" and I found that it is occurring due to jar but i couldn't find out why it is working on my 2 systems but not in other 2 .

on windows it is working fine.

I am installing BouncyCastle dynamically by Security.insertProviderAt(new org.bouncycastle.jce.provider.BouncyCastleProvider(), 2);.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5838
    
    7

Try coping the bouncy castle jar file to the java_home/jre/lib/ext directory and edit the java.security file as mentioned here: http://www.bouncycastle.org/wiki/display/JA1/Provider+Installation


JBoss In Action
 
 
subject: IllegalArgumentException:"missing provider"