fixed a bug in  optional paramters.
fix optional bugs. Make JmxDataSource have optional parameters