Can it be done from the sar?
-jason
On Feb 12, 2004, at 4:59 PM, Scott M Stark wrote:
Try excluding BC classes from being intercepted and see if it works.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Essington Sent: Thursday, February 12, 2004 3:09 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Adding JCE providers at runtime.
Hi Scott
I think the problem is being caused by the AspectManagerService. If I take this out of conf/jboss-service.xml the provider will install just fine, but when it's running, I get the java.lang.SecurityException: The provider BC may not be signed by a trusted party exception.
So for the record this guy:
<mbean code="org.jboss.aop.deployment.AspectManagerService" name="jboss.aop:service=AspectManager"> <attribute name="MethodFilter">ALL</attribute> <attribute name="FieldFilter">ALL</attribute> <attribute name="ConstructorFilter">ALL</attribute> <attribute name="ConvertAll">true</attribute> </mbean>
was giving me the trouble.
I haven't looked at the AspectManagerService at all, so I am not sure why it's messing things up, but I am certain that when I comment it out (with nothing in the deploy directory other than your bouncycastle.sar) the provider loads fine.
-jason
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development