creates a wrong JNDI Name, if the SessionBean has a local and a remote JNDI name. E.g. if you define both XDoclet tags "@ejb.bean jndi-name" and "@ejb.bean local-jndi-name" then the value for "beanJndiName" will be pieced together from both names.
I might be wrong as I dont't know the XDoclet template language very well. But XDoclet generated the wrong tag in my test scenario.