|
@@ -17,7 +17,7 @@ public class CollectMetric {
|
|
public static void main(String... args) {
|
|
public static void main(String... args) {
|
|
Logger LOG = LoggerFactory.getLogger(CollectMetric.class);
|
|
Logger LOG = LoggerFactory.getLogger(CollectMetric.class);
|
|
|
|
|
|
- // prepare connection objects
|
|
|
|
|
|
+ // declare connection objects
|
|
InitialContext ctx;
|
|
InitialContext ctx;
|
|
ConnectionFactory cf;
|
|
ConnectionFactory cf;
|
|
Connection c;
|
|
Connection c;
|