users@glassfish.java.net

Re: can not loacte local seesion bean in glassfish v2.1

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Sun, 2 May 2010 14:25:30 +0200

2010/5/2 <glassfish_at_javadesktop.org>:
> can not loacte local seesion bean from another web appliaction running in the same JVM using Glassfish v2.1
>
> as i know from EJB3 specs we can use local seesion from the same JVM, what ever it is web appliaction or ejb appliaction
>
> or glassfish run every appliaction in diffrent JVM?
> [Message sent by forum member 'tarek7elmy']
>
> http://forums.java.net/jive/thread.jspa?messageID=399952
>

As far as I know, local session beans are available only within the
same module or application.
In your case, if you have one EJB module and one WAR module - you have
to put them into EAR. Make sure to undeploy standalone EJB and WAR
modules and deploy EAR as single application.

--
Witold Szczerba