Thanks that really helped........

Now I am having another problem. I tried to run the EJB from servlet as
given in the JBoss tutorial. I was able to compile the servlet without
any error. But while calling the servlet from browser I am getting the
following message 

"Servlet interface to EJB
Calling EJB...
Could not connect to Interest bean. Is EJB Container running? "

But my EJB container is running and I am able to call it from separate
application and not from this servlet. 
I am using JBoss combined with Tomcat. 

Can someone please help me with this also?

thx,
Anand.

-----Original Message-----
From: Aaron Metzger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 12:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] running the EJB client in the jboss EJB
tutorial



Add jbosssx-client.jar to the client's classpath.


anand wrote:
> 
> Hi all,
> 
> I am new to jboss and want to learn EJB through jboss. I was trying to
> follow the 7 step tutorial (using the interest example) given and was
> successful in deploying the EJB in jboss. But I am having problems in
> running the client(InterestClient).
> 
> I was able to successfully compile the InterestClient.java without any
> error. But when I try to run it is giving the following error while I
> run it.
> 
> Got context
> Got reference
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jboss/security/SecurityAssociation
>         at
>
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.getPrincipal(GenericP
> roxy.java:184)
>         at
>
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:23
> 1)
>         at $Proxy0.create(Unknown Source)
>         at InterestClient.main(InterestClient.java:49)
> 

-- 
Aaron Metzger

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to