throw new EJBException("ReferenceTest was not serialized");
}
private CallerSessionHome lookupHome(String ejbName) throws NamingException
{
CallerSessionHome home = null;
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.OBJECT_FACTORIES, "org.jboss.naming:org.jnp.interfaces");
env.setProperty(Context.PROVIDER_URL, System.getProperty("jboss.bind.address", "localhost") + ":1099");