Nick,
I don't know if this helps, but the server always attempts to bind the home
interface into the directory. The code is in
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker method start. For a
local home, the code is located in
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker. Hopefully this helps
to get your feet pointed in the right direction.
-dain
----- Original Message -----
From: "Nick Betteridge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 10:04 AM
Subject: Re: [JBoss-dev] jboss + jndi + ldap for ejb referencing
> I think I may have made some progress:
>
> I reduced my test application to be as simple as possible and now the
> application deploys. However, if I look at the directory server log
> file, I can see my client searching for the EJB home interface, but
> there is no record of the deployer adding the home reference to the
> directory server.
>
> I'm currently going though the deployment and naming dirs to see if I
> can pick out the problem. If anyone can add any input, I'd be very
> grateful.
>
> -------------
>
>
> [J2EE Deployer Default] Deploy J2EE application:
> file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/admin-ejb.jar
> [J2EE Deployer Default] Create application admin-ejb.jar
> [J2EE Deployer Default] install module admin-ejb.jar
> [Container factory]
>
Deploying:file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/De
fault/admin-ejb.jar
> [Verifier] Verifying
>
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admi
n-ejb.jar/ejb1002.jar
> [Container factory] Deploying ClientEJB
> [ContainerManagement] Initializing
> [ContainerManagement] Initialized
> [ContainerManagement] Starting
> [ContainerManagement] Started
> [Default] Added ClassLoader: org.jboss.web.WebClassLoader@5db13f URL:
> http://wotan:8083/WebClassLoader@6140223/
> [Container factory] Deployed application:
>
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/deploy/Default/admi
n-ejb.jar
> [J2EE Deployer Default] J2EE application:
> file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/deploy/admin-ejb.jar
> is deployed.
>
>
> <ejb-jar>
> <enterprise-beans>
> <session>
> <ejb-name>ClientEJB</ejb-name>dmin
> <home>com.syntactics.server.admin.share.ClientHome</home>
> <remote>com.syntactics.server.admin.share.Client</remote>
> <ejb-class>com.syntactics.server.admin.ejb.ClientEJB</ejb-class>
> <session-type>Stateful</session-type>
> <transaction-type>Bean</transaction-type>
> </session>
> </enterprise-beans>
> </ejb-jar>
>
>
> <jboss>
> <enterprise-beans>
> <session>
> <ejb-name>ClientEJB</ejb-name>
> <jndi-name>clients</jndi-name>
> </session>
> </enterprise-beans>
> </jboss>
>
>
> <!-- Bind a remote LDAP server -->
> <mbean code="org.jboss.naming.ExternalContext"
> name="DefaultDomain:service=ExternalContext,jndiName=clients" >
> <attribute name="JndiName">clients</attribute>
> <attribute name="Properties">syntactics.ldap</attribute>
> <attribute
> name="InitialContext">javax.naming.ldap.InitialLdapContext</attribute>
> <attribute name="RemoteAccess">true</attribute>
> </mbean>
>
> syntactics.ldap:
> java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
> java.naming.provider.url=ldap://ds.syntactics.com:389/o=application
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development