((WebForwardTypeItem) WebForwardTypes.WEB_FORWARD_TYPES.get(wf.getType())).getName());
CoreServlet.getServlet().fireCoreEvent(evt);
VariableReplacement replacer = new VariableReplacement();
replacer.setLaunchSession(launchSession);
URL url = new URL(replacer.replace(wf.getDestinationURL()));
MultiplexedConnection agent = DefaultAgentManager.getInstance().getAgentBySession(getSessionInfo(request));
int port = DefaultAgentManager.getInstance().openURL((AgentTunnel)agent, url, launchSession);
if(port == -1) {
throw new Exception("Agent couldn't open tunnel.");
}