Hi there,
I am new to Jboss-3.2.1 and trying to
test a small stateless session bean. I hv created a war file with ejb-jar.xml,jboss.xml,web.xml,jboss-web.xml.
In a simple
jsp file i created the naming context thru this:
Properties props = new Properties();
props.setProperty ("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.factory.url.pkgs","org.jboss.naming
rg.jnp.interfaces");
props.setProperty("java.naming.provider.url","jnp://localhost:1099");
Context ctx = new InitialContext(props);
when i am looking up with ctx.lookup() it says
Name not bound exception.
help needed urgently
regards
mohan