You are using the wrong URL to connect to JBoss, you should try the following: -
h.put(Context.PROVIDER_URL,"jnp://localhost:1099"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878857#3878857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878857 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user