Hi,
I am creating a initialcontext with the following
Hashtable props = new Hashtable(); props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); props.put(Context.PROVIDER_URL, "jnp://localhost:8080"); props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); return new InitialContext(props);
11:30:55,203 INFO [STDOUT] java.lang.Exception: Couldn't find MRManagerSession home class in JNDI 11:30:55,203 INFO [STDOUT] at mr.massconnections.client.MarketingRequestService.getMRManagerSession(MarketingReques tService.java:118) 11:30:55,203 INFO [STDOUT] at mr.massconnections.client.MarketingRequestService.createRequest(MarketingRequestServi ce.java:40) 11:30:55,203 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:30:55,203 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 11:30:55,203 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Hi,
Ok I found the problem, my url should have port 1099 and not 8080. DUH!!
Rajesh J