Hi,

  I'm trying to establish a call through a local interface for a bean from
an other. I've tried using this tags (beside all the others) in the beans:

1st bean:
@ejb:bean ... local-jndi-name=".." ...

2nd bean:
@ejb:ref ejb-name=".." view-type="local"
@jboss:ejb-ref-jndi ref-name=".." jndi-name=".."

After running XDoclet on these, it turns out that in jboss.xml, no
local-jndi-name is generated in the first bean. The ejb-jar.xml looks
correct, but jboss.xml is not correct imho. All the interface files are
generated, but the descriptors seem to be wrong for me. Do I need some
additional @jboss:.. tags?

The problem turned out when I was trying to establish a local connection
from the first bean to the second, and after the lookup I always got back a
remote home, not a local one. I believe the problem stays in the
local-jndi-name not generated, therefore JBoss might go back to the default
settings and give back a remote home? I'm not sure though..

Someone please show me what tags do I miss, or what the real problem is in
the above situation..

Thanks,
Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to