String pSessionId) {
if (getAppServerConfigPath() != null) {
// check AppServerConfig to make sure it is set properly for
// session-scoped resolution to work.
AppServerConfig config = (AppServerConfig) pNucleus.resolveName(getAppServerConfigPath());
if ("das".equals(config.getAppServer())) {
throw new RuntimeException(
getAppServerConfigPath() +
".appServer must be set to a non-das property (like \"Tomcat\"" +
" in order for session name resolution to work."
);