• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

IllegalArgumentException:"missing provider"  RSS feed

 
Ranch Hand
Posts: 38
  • 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);.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • 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
 
Screaming fools! It's nothing more than a tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!