Try specifying that lookups should be "physical" rather than "logical":

  <utilobject cachehomes="true" kind="physical"/>

I never got the logical lookups to work, but didn't really investigate
it. Once I switched to physical, they all worked.

David Harkness
Sony Pictures Digital Networks
(310) 482-4756


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 4:43 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Util generation


Hi all,

I'm trying to generate the util classes for my beans using XDoclet. But,
I 
can't get it to work.

I want to use the getLocalHome() method, but this method fails to lookup

the LocalHome:

13:30:30,692 ERROR [STDERR] javax.naming.NameNotFoundException:
UserLocal 
not bound

I'm already using the @ejb.ejb-ref attribute in my Beans as follows:

 * @ejb.ejb-ref
 *              ejb-name = "User"
 *              view-type = "local"
 *              ref-name = "ejb/User"

What am I doing wrong here?

Can somebody help?

Thanks,

Harm de Laat
 


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to