Hi Chad,

thank you for your quick response. The workaround works fine. And tomorrow
I will get the new nightly build.

Regards
Stefan




|--------+----------------------->
|        |          Chad Brandon |
|        |          <[EMAIL PROTECTED]|
|        |          ahoo.com>    |
|        |                       |
|        |          08.06.2004   |
|        |          14:17        |
|        |                       |
|--------+----------------------->
  
>------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                    |
  |       An:     [EMAIL PROTECTED], [EMAIL PROTECTED]                                 
 |
  |       Kopie:                                                                       
                                    |
  |       Thema:  Re: [Andromda-user] EntityRef for ejb cartridge doesn't work?        
                                    |
  
>------------------------------------------------------------------------------------------------------------------------|




Hi Stefan,

That's a bug in the ejb cartridge, which was actually
just fixed in CVS.  If you wait until tonight when our
nightly build runs, you should be able to get a
nightly build distribution with the fix:
http://team.andromda.org/maven/andromda/distributions/In
the meantime you could go in and change the following
in in the SessionBean.vsl from "#set ($viewtype =
${superclass.type.viewType})" to "#set ($viewtype =
${superclass.viewType})" and repackage the template
back in the ejb cartridge.

Chad

--- [EMAIL PROTECTED] wrote:
> Hello,
>
> I'm just trying to work with the andromda ejb
> cartridge (I'm using AndroMDA
> 3.0M1).
> I have a <<Service>> Kinoservice, an Entity <<Kino>>
> and a <<EntityRef>>
> Dependency from Kinoservice to Kino.
> In KinoserviceBean a method getKinoLocalHome() is
> generated which tries to
> lookup "java:/comp/env/ejb/KinoBeanRef", and there's
> a class level XDoclet
> tag:
>  * @ejb.ejb-ref
>  *     ejb-name="Kino"
>  *     view-type=""
>  *     ref-name="ejb/KinoBeanRef"
>
> but when I try to call getKinoLocalHome() in my
> KinoserviceBeanImpl class,
> a "javax.naming.NameNotFoundException: ejb not
> bound" occurs.
>
> I haven't found an ejb-local-ref in the ejb-jar.xml.
>
> In jboss.xml there's only the following tag for
> Kino:
>       <entity>
>          <ejb-name>Kino</ejb-name>
>
>
<local-jndi-name>ejb/de.moviepalace.entities/Kino/Local</local-jndi-name>
>       </entity>
>
> Can anyone help me with this problem?
>
> Regards
> Stefan
>
>
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite!  GUADEC: The world's #1 Open Source
> Desktop Event.
> GNOME Users and Developers European Conference,
> 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/andromda-user







-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to