[jboss-dev] Howto debug jndi lookup issues?
thomas.diesler at jboss.com
Mon Dec 7 12:09:12 EST 2009
Still, is there a way to know what class is missing exactly?
On 12/07/2009 05:29 PM, Thomas Diesler wrote:
> java.lang.ClassCastException: javax.naming.Reference cannot be cast to
> a JNDI client lookup may fail for various reasons . AFAIK, the above CCE
> happens because there is some calss missing on the client classpath.
> JNDI gives up internally and simply returns the reference.
> To solve the problem I could do
> but this gives me an insanely big dependency tree
> (http://pastebin.com/m3776fc85). I'd much rather find out, what exactly
> is missing and use a client that contains just that.
> Is there a way to debug these kind of JNDI client issues?
JBoss OSGi Lead
JBoss, a division of Red Hat
More information about the jboss-development