Are you saying that line 

System.out.println(dSource.toString());

prints

org.jnp.interfaces.NamingContext

If that is true, then I am not surpised about the class cast exception.

I would try:

Object dSource = context.lookup("java:qpmDS");

Also, have you used JNDIView to see what is in the namespace?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968161
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to