Hi Dan,

You can use the JonasAdmin tool and its -j option to get the
list of the registered JNDI names.

Hope this helps.
Hélène.

Dan Winfield wrote:
> 
> Hi
> 
> I have successfully installed Jonas and run the session bean example.
> 
> I have tried to install my Session Bean called
> com.remoteapps.database.IDAllocationEJBHome and have an xml descriptor as
> follows.
> ---
> <?xml version="1.0"?>
> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
> <ejb-jar>
>         <description>IDAllocation</description>
>         <enterprise-beans>
>                 <session>
>                         <description>IDAllocator</description>
>                         <display-name>IDAllocator</display-name>
>                         <ejb-name>ejb/IDAllocation</ejb-name>
> 
> <home>com.remoteapps.database.IDAllocationEJBHome</home>
> 
> <remote>com.remoteapps.database.IDAllocationEJB</remote>
> 
> <ejb-class>com.remoteapps.database.IDAllocationEJBClass</ejb-class>
>                         <session-type>Stateful</session-type>
>                         <transaction-type>Container</transaction-type>
>                 </session>
>         </enterprise-beans>
> ---
> Additionally my jonas-ejb-jar.xml looks like
> 
> ----
> <!DOCTYPE jonas-ejb-jar SYSTEM "../../../xml/jonas-ejb-jar.dtd">
> <jonas-ejb-jar>
>   <jonas-session>
>     <ejb-name>ejb/IDAllocation</ejb-name>
>     <jndi-name>ejb/IDAllocation</jndi-name>
>   </jonas-session>
> </jonas-ejb-jar>
> --------
> 
> However when I run the EJBServer It starts and says
> 
> "EJBHome:com.remoteapps.database.JOnASIDAllocationEJBClassIDAllocationEJBHom
> e for ejb/IDAllocation available"
> 
> I would have expected my Home name to have appeared here. In the Session
> bean example it prints the right EJBHome name on start of the EJBServer.
> 
> This is causing me to have problems with the client as it seems to be set up
> with the wrong Home Interface.
> 
> Anyone have any ideas?
> 
> Dan Winfield
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to