No, where are the ldap provider jars on the classpath? A resource-env-ref is
just an alias to an existing binding in JNDI that has been created by
an adimistrator. It causes nothing to be created other than an alias from
the bean ENC to the existing binding.

----- Original Message ----- 
From: "Nick Betteridge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 1:04 AM
Subject: Re: [JBoss-dev] jboss + jndi + ldap for ejb referencing


> The LDAP provider is defined in the <resource-env-ref-type>
> 
> The ejb-jar.xml file is :
> 
> <ejb-jar>
>    <enterprise-beans>
>                                                                        
>      <session>
>        <ejb-name>ClientEJB</ejb-name>dmin
>        <home>com.syntactics.server.admin.ejb.ClientHome</home>
>        <remote>com.syntactics.server.admin.ejb.Client</remote>
>        <ejb-class>com.syntactics.server.admin.ejb.ClientEJB</ejb-class>
>        <session-type>Stateful</session-type>
>        <transaction-type>Container</transaction-type>
>        <resource-env-ref>
>          <resource-env-ref-name>
>            ClientEJB
>          </resource-env-ref-name>
>          <resource-env-ref-type>
>            com.sun.jndi.ldap.LdapCtxFactory
>          </resource-env-ref-type>
>        </resource-env-ref>
>      </session>
> 
>    </enterprise-beans>
>  </ejb-jar>
> 



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to