Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IllegalArgumentException:"missing provider"

 
shekhar john
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic