[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on JNDI context.Lookup();

jaikiran do-not-reply at jboss.com
Fri Jun 27 12:29:50 EDT 2008


anonymous wrote : thru debugging I foud that the Object that context.lookup() returns is an instance of class Proxy.
  | 
  | Is this normal?

Yes, its normal. The proxy will implement the appropriate bean interface. Follow the steps mentioned at http://wiki.jboss.org/wiki/DisplayTheJNDITreeWithTheJMXConsole and see what object is bound to ParticularManagerBean/local jndi-name. If you are not able to understand the output from the JNDIView, post that output here (remember to wrap it in a code block while posting).




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161247#4161247

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161247



More information about the jboss-user mailing list