Hi,

I follow the HOWTO to integrate a Custom Service via MBeans.
It work's

But my Client dont't work.

I get this exception:
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference

I use this:
InitialContext ctx = new InitialContext();
HashMap map = (HashMap) ctx.lookup("inmemory/maps/MapTest");

Can anyone help?

Many thanks

Holger

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to