Ludovic Orban
2002-12-06 12:11:08 UTC
Hi,
There is a couple of problems with generated jndi names that's causing me
some troubles. Middlegen is generating jndi names with the
local-jndi-name="${table.localJNDIName}" tag.
Problem one: the generated name is simply the fully-qualified class name
but some app servers like Orion don't like jndi names containing dots.
Problem two: Are those tags really useful ? If no jndi name is set, the
application server should still be able to resolve the ejb using its name.
I removed those tags for my personal version of middlegen and everything
works flawlessly. But I'm not sure, maybe some app server would absolutely
require it ?
Thanks,
Ludovic
There is a couple of problems with generated jndi names that's causing me
some troubles. Middlegen is generating jndi names with the
local-jndi-name="${table.localJNDIName}" tag.
Problem one: the generated name is simply the fully-qualified class name
but some app servers like Orion don't like jndi names containing dots.
Problem two: Are those tags really useful ? If no jndi name is set, the
application server should still be able to resolve the ejb using its name.
I removed those tags for my personal version of middlegen and everything
works flawlessly. But I'm not sure, maybe some app server would absolutely
require it ?
Thanks,
Ludovic