Hi..
When I do the lookup with "ejb/mgmt/MEJB" in Jboss 3.2.1 its working fine.
Ex:
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
env.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
InitialContext ctx = new InitialContext(env);
Object objref = ctx.lookup("ejb/mgmt/MEJB");
But When i tried with Jboss 3.2.3 its not working... So pls. give me the solution here or mail me with the lookp mapping for Jboss 3.2.3
mail : venkatasrikanth.kondeti@megasoft.com
Regards,
Srikanth Kondeti
The lookup is the same, but the ejb is not deployed by default. Copy the jboss-3.2.3/docs/examples/jmx/ejb-management.jar to the deploy directory.