It seems pretty clear to me...
1) There is a bean bound to java:/segmentation/list
2) If I do a lookup on java:/segmentation where there
is nothing bound. which should result in a naming exception
3) Naming Exception is not thrown instead it continues on
and evetually throws ClassCastException when I attempt
to cast the instance that is returned...
4) I use the same remote and home interface for all my beans
so if I am gettting a ClassCastException then I don't know
what the heck it coming back from jboss in this situation.
** Note: I have a bean bound to java:merchandising/item and the same thing
happens when I lookup merchandising. This does not happend when
I type in something random, only when it matches the prefix of a real
jndi name
cheers,
d.
-----Original Message-----
From: Scott M Stark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 10:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] jndi performs unexpdectedly
Details are required.
----- Original Message -----
From: "Ferguson, Doug" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 7:02 PM
Subject: [JBoss-user] jndi performs unexpdectedly
> Hi,
>
> I have a jndiName segmentation/list and when I do a lookup on segmentation
a
> naming exception isn't thrown
> but I get unexpected results, like ClassCastException....
>
> I don't believe this should work this way...
>
> Thanks,
> d.
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user