[EMAIL PROTECTED] wrote:
>
> I've compiled, successfully, the sample code in "eb" directory & also had no problem
>comiling ClientAccount.java for Container Managed example.
>
> When I try to run ClientAccount, I get following
> error:
>
> "Cannot create Account: java.rmi.ServerError: Server Error; nested exception is:
> java.lang.NoClassDefFoundError: com/bull/ejb/EntityContextImpl"
>
Could you please check if your CLASSPATH is update with the path
$JONAS_ROOT/classes/bullejb.jar ?
- from where you launch the rmiregistry,
- from where you launch the EJBServer
- from where you launch the client
(in case you don't used a WEB server to dynamically
download the classes).
> This is what I've found out when debugged ClientAccount
> code:
>
> a1 = BeanHome.create(109, "John Smith", 0);
>
> is the statment where it is choking. By the it
> was also choking in following
>
> alist = h.findAllAccounts();
>
> but I commented out the accountList method as,
> the findAllAccount defination in AccountImpl.properties
> file did not have any "Where" clause - Yes I double
> checked it.
findAllAccounts is a finder method without criterion of
selection. That's why no "where" clause is needed in the
AccountImpl.properties file.
>
> Help me out as I've spent hours & hours & I could'nt
> make the first example to run. ( I did evaluated
> WebLogic AppServer & it took me only few hours to
> make it work).
I hope it helps!
> Let me know if I can sent you some of those
> properties Or .TXT files.
>
> I thank you for assisting me on this.
Best regards.
H�l�ne.
PS: Please note this kind of mail may be send to the jonas-users
mailing list instead jonas-dev mailing list.
Indeed,
- jonas-users mailing list is for any question
or comment about using JOnAS,
- jonas-dev mailing list is for any question
or contribution related to the open source development.
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________