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

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to