You need to have jboss_jaas.jar in your client's classpath.
Regards,
Bill
Andrew Tan wrote:
> Hi,
>
> I have a problem when I tried to run a client to access the EJB. It
> managed to get a reference to this EJB object, but when it tried
> called home.create() this error came up.
>
>
>
> I am using:
>
> Jboss2.1
>
> Windows 2000
>
> JDK1.3
>
>
>
> If anyone can help me solve it problem, I would be grateful.
>
>
>
> Regards,
>
> Andrew T.
>
>
>
> -------------------------------
>
> The error looks like this:
>
>
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/security/SecurityAssociation
> at
>
>org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericProxy.java:184)
> at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:231)
> at $Proxy0.create(Unknown Source)
> at InterestClient.main(InterestClient.java:51)
>
>
>
> line 51 is ---> Interest interest = home.create(); // where Interest
> is the EJB Bean
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user