I'm running jboss-3.2.1_tomcat-4.1.24. I am using the web console to look at
JndiNames of my Beans, though as I mentioned, I see the same results when I
look up home interfaces from an MBean, namely that local entity beans seem
to have JNDI names based on <ejb-name> whereas the JNDI names of stateless
session beans are based on <jndi-name>, both as defined in jboss.xml. 

In the example below looking up "SiteLocalHome" and "AssociationSvcEJB" from
an MBean at server startup will give me "not bound", whereas I can look up
"SiteEJB" and "AssociationSvcLocalHome". I can live with this, but I thought
it was odd. Is it this disparity that you say has been fixed?

-----Original Message-----
From: Adrian Brock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 6:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JNDI names for session and entity beans?


Are you talking about jsr77 and the web-console?
This was fixed in 3.2.2RC1

Regards,
Adrian

On Tue, 2003-10-07 at 19:18, Steven Harris wrote:
> I've got local entity beans and remote stateless session beans, with JNDI
> names defined in jboss.xml. Jboss seems to use the <ejb-name> as the JNDI
> name of my local entity beans and the <jndi-name> as the JNDI name of my
> stateless session beans. For example:
> 
> >From ejb.jar
> --------------
> 
> <session>
> <ejb-name>AssociationSvcEJB</ejb-name>
>
<home>com.pfn.wirepower.srv.service.associationSvc.AssociationSvcHome</home>
>
<remote>com.pfn.wirepower.srv.service.associationSvc.AssociationSvc</remote>
>
<ejb-class>com.pfn.wirepower.srv.service.associationSvc.impl.AssociationSvcB
> ean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Bean</transaction-type>
> ......etc
> </session>
> 
> <entity>
> <ejb-name>SiteEJB</ejb-name>
>
<local-home>com.pfn.wirepower.srv.persistence.site.SiteLocalHome</local-home
> >
> <local>com.pfn.wirepower.srv.persistence.site.SiteLocal</local>
>
<ejb-class>com.pfn.wirepower.srv.persistence.site.impl.SiteBean</ejb-class>
> <persistence-type>Container</persistence-type>
> <prim-key-class>java.lang.Integer</prim-key-class>
> ......etc
> </entity>
> 
> 
> >From JBoss.xml
> ---------------
> <session>
>       <ejb-name>AssociationSvcEJB</ejb-name>
>       <jndi-name>AssociationSvcHome</jndi-name>
> </session>
> 
> <entity>
>       <ejb-name>SiteEJB</ejb-name>
>       <jndi-name>SiteLocalHome</jndi-name>
> </entity>
> 
> The JBoss console shows the jndiName=AssociationSvcHome and
> jndiName=SiteEjb. Referencing them programatically from an MBean confirms
> this. 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to