[jboss-user] [Security JAAS/JBoss] - Re: Getting Exception while trying to access a Stateless EJB

2006-12-12 Thread dvuday
jaikiran wrote : anonymous wrote : Properties props = new Properties(); | | | | props.put(Context.INITIAL_CONTEXT_FACTORY,org.jboss.naming.HttpNamingContextFactory); | | props.put(Context.PROVIDER_URL,jnp://localhost:8080); | | Context ctx = new InitialContext(props); | |

[jboss-user] [Security JAAS/JBoss] - Re: Getting Exception while trying to access a Stateless EJB

2006-12-11 Thread jaikiran
anonymous wrote : Properties props = new Properties(); | | props.put(Context.INITIAL_CONTEXT_FACTORY,org.jboss.naming.HttpNamingContextFactory); | props.put(Context.PROVIDER_URL,jnp://localhost:8080); | Context ctx = new InitialContext(props); This should be: Properties props = new