112113114115116117118119120121122
_resin.start(); _server = _resin.getServer(); if (_httpPort >= 0) { HttpEmbed httpEmbed = new HttpEmbed(_httpPort); httpEmbed.bindTo(_server); } HostConfig hostConfig = new HostConfig(); _server.addHost(hostConfig); _host = _server.getHost("", 0);