if (httpPort==null){
httpPort="8080";
}
httpName = new ObjectName("HtmlAdaptor:name=HttpAdaptor,port=" + httpPort);
http = new HttpAdaptor();
http.setPort((new Integer(httpPort)).intValue());
http.setHost("0.0.0.0"); //For external access
processorName = new ObjectName("HtmlAdaptor:name=XSLTProcessor");