System.out.println("file not found "+f.getAbsolutePath());
//return null;
}
Configuration localConf = new BaseConfiguration();
localConf.addProperty("wrapper.config", config);
YajswConfigurationImpl _config = new YajswConfigurationImpl(localConf, true);
int port = _config.getInt("wrapper.jmx.rmi.port", Constants.DEFAULT_RMI_PORT);
String xname = _config.getString("wrapper.console.title");
if (xname == null)
xname = _config.getString("wrapper.ntservice.name");
if (xname == null)
xname = "yajsw.noname";
ObjectName oName = new ObjectName("org.rzo.yajsw", "name", xname);
JMXServiceURL url = new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:"+port+"/server");
jmxc = JMXConnectorFactory.connect(url, null);