File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "IllegalArgumentException:"missing provider" " Watch "IllegalArgumentException:"missing provider" " New topic

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

Joined: May 14, 2008
Posts: 5852

Try coping the bouncy castle jar file to the java_home/jre/lib/ext directory and edit the file as mentioned here:

JBoss In Action
I agree. Here's the link:
subject: IllegalArgumentException:"missing provider"
It's not a secret anymore!