the following code works in 4.0.3 but not in 4.0.4RC1
InitialContext ctx = new InitialContext();
return (sessionDomainMng) ctx.lookup(sessionDomainMng.class.getName());
I got exception:
10:49:49,784 ERROR [STDERR] javax.naming.NameNotFoundException: org.jboss.pdns.sessionejb.sessionDomainMng not bound
10:49:49,784 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
10:49:49,784 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
10:49:49,784 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
10:49:49,784 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
10:49:49,784 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
10:49:49,784 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
10:49:49,784 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
anyone has same problem? any suggestion will be appreciated.