Thanks Peter!
I no longer get the NoInitialContext exception.
Now when I do a look up with the code
BurdenRateFacade bean = (BurdenRateFacade)context.lookup("BurdenRateFacade");
I get a Classcast exception.
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
I did a context.lookup("BurdenRateFacade").getClass()
and it prints org.jnp.interfaces.NamingContext
I have the following entries in my jndi.properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=jnp://localhost:1099
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203404#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...