replyWithFatalError(out, t, "Error caught during request processing");
return;
}
CallContext call = null;
DeploymentInfo di = null;
RpcContainer c = null;
try {
di = this.daemon.getDeployment(req);
} catch (RemoteException e) {
replyWithFatalError
(out, e, "No such deployment");
return;
/*
logger.warn( req + "No such deployment: "+e.getMessage());
res.setResponse( EJB_SYS_EXCEPTION, e);
res.writeExternal( out );
return;
*/
} catch (Throwable t) {
replyWithFatalError
(out, t, "Unkown error occured while retrieving deployment");
return;
}
// Need to set this for deserialization of the body
ClassLoader classLoader = di.getBeanClass().getClassLoader();
Thread.currentThread().setContextClassLoader(classLoader);
try {
req.getBody().readExternal(in);
} catch (Throwable t) {