Object obj = jndiContext.lookup("StatefulSession");
StatelessSessionHome home = (StatelessSessionHome)obj;
getLog().debug("Found StatefulSession Home");
StatelessSession bean = home.create();
getLog().debug("Created StatefulSession");
IString echo = bean.copy("jrmp-dl");
getLog().debug("bean.copy(jrmp-dl) = " + echo);
Class clazz = echo.getClass();
CodeSource cs = clazz.getProtectionDomain().getCodeSource();
URL location = cs.getLocation();
getLog().debug("IString.class = " + clazz);
getLog().debug("IString.class location = " + location);
assertTrue("CodeSource URL.protocol != file", location.getProtocol().equals("file") == false);