----- Original Message -----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Date: Monday, June 24, 2002 6:15 pm
Subject: Re: [Xdoclet-user] getLocalHome()
> On Sat, Jun 22, 2002 at 06:09:06PM +0200, Aslak Hellesoy wrote:
> +
> +
> + > -----Original Message-----
> + > From: [EMAIL PROTECTED]
> + > [mailto:[EMAIL PROTECTED]]On Behalf Of
> + > [EMAIL PROTECTED]
> + > Sent: 21. juni 2002 23:56
> + > To: [EMAIL PROTECTED]
> + > Subject: [Xdoclet-user] getLocalHome()
> + >
> + >
> + > hi,
> + >
> + > can someone show me how to use Util.getLocalHome()?
> + >
> + > my generated Util class has getHome(), getHome(Hashtable), and
> + > getLocalHome().
> + >
> + > when i call getLocalHome() i get
> + >
> + > Need to specify class name in environment or system property, or
> + > as an applet
> + > parameter, or in an application resource file:
> + > java.naming.factory.initial
> + >
Since you're running in the same VM, it's weird that you have to
specify this. You shouldn't have to. I suggest you seek help in a JBoss
forum.
/Aslak
> + > since i can't specify an env to getLocalHome() like i can with
> + > getHome(Hashtable) how am i expected to use getLocalHome()?
> + >
> +
> + Local homes/interfaces can only be used within the app server
> VM. (You
> + typically call this from the web tier). So there is no need to
> specify the
> + java.naming.factory.initial property because it's set by the app
> server. It
> + sounds as if you're trying to access the local home from a
> different VM
> + (standalone app?) You're not allowed to do that (according to
> the EJB spec).
> + Am I right or wrong?
> +
> + Aslak
>
> No, this is running in the same VM. I just have one entity bean
> trying to
> get the local home of a second entity bean via this getLocalHome()
> utility.These entity beans are both in the same jboss deployment.
>
> barbee.
>
>
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user