The initial context is normaly a RMI reference. So if no RMI server is running, this will fail. To my knowledge if you do not set the provider_URL then the NamingContext uses the VM Naming instance set by the Main MBean. Hope this does the trick, I have not tested it. Make sure that no jndi.properties file is sitting around.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860337#3860337 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860337 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
