try using localhost:1099 for java.naming.provider.url and obviously make sure jboss has started successfully.
Reply to this message by going to Community
Start a new discussion in EJB 3.0 at Community