Hi Rajender ,
Are you are trying to call ejb bean from different jar files in the
same container ?
If yes , you need to set ejb-ref in ejb-jar.xml like below :
<ejb-ref>
<ejb-ref-name>ejb/Sequencekeys</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.cesma.sequence.SequencekeysHome</home>
<remote>com.cesma.sequence.Sequencekeys</remote>
<ejb-link></ejb-link> //--> no ejb-link for different jars in same
containers
</ejb-ref>
You need to import the home,remote classes to ejb jar that accessed the
ejb.
Thanks wt.
Rajender A wrote:
>
> Here i am facing problems with Ejb Extrenal refrences.
> I am trying to call Cmpeb from StatefulSB within same Jboss server different
> jar files.
>
> Problem getting while running client is
>
> Javax.naming.CommunicationException(RootException is
> java.lang.ClassnotFoundException : EntityHome)
>
> But same examples i have tried with internal references igot the result.
>
> Is there any configuration needed for this problem?
>
> Please send a solution as early as possible.
>
> With Regards
> Raj
> CSIS Ltd.
> Hyderabad,India.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> _______________________________________________
> 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