Is this a bug?
I'm trying to set up my ejb referencing in jboss to use ldap.
When I set ejb-jar.xml to ...
<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>
and jboss.xml to ...
<jboss>
<enterprise-beans>
<session>
<ejb-name>ClientEJB</ejb-name>
<jndi-name>ds.syntactics.com:389/o=application</jndi-name>
</session>
</enterprise-beans>
</jboss>
... I get
[Container factory] End java:comp/env for EJB: ClientEJB
[Container factory] JRMP 1.3 CI initialized
[Container factory] Storing sessions for ClientEJB
in:/export/home/nick/servers/
jboss/JBoss-2.4.0BETA/db/sessions/ClientEJB
[Container factory] 0 old sessions removed
[Container factory] Bound ClientEJB to
ds.syntactics.com:389/o=application
[Default] javax.management.MalformedObjectNameException: ObjectName:
Invalid val
ue -> ds.syntactics.com:389/o=application
If I correctly set the jndi-name to
ldap://ds.syntactics.com:389/o=application .... then I get another
deployment failure of ...
[AutoDeployer] org.jboss.deployment.J2eeDeploymentException: Error
while
startin
g admin-ejb.jar: Could not deploy
file:/export/home/nick/servers/jboss/JBoss-2.4
.0BETA/tmp/deploy/Default/admin-ejb.jar, Cause:
org.jboss.ejb.DeploymentExceptio
n: Could not deploy
file:/export/home/nick/servers/jboss/JBoss-2.4.0BETA/tmp/dep
loy/Default/admin-ejb.jar, Cause:javax.naming.NamingException [Root
exception is
java.net.MalformedURLException: Not an LDAP URL: ldap:]
Any ideas?
Thanks and regards
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development