Stephan Gruschke wrote:

> Hi,
> 
> 
> If I deploy two ejb components named ejb/foo and ejb/foo/fooBar in
> jboss I get a class cast exception ($Proxy<XX>) while rebinding the
> components.


You have two things with the same name - the component (ejb/foo) and the 
context (ejb/foo, which must be created to hold the fooBar component). 
Think of this as a filesystem.


> 
> Is this allowed to have directories and component names in the same
> jndi lookup folder?

The problem is that you've given them the same name - would any other 
directory let you have a file named 'foo' and a directory named 'foo' in 
the same directory?





_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to