0% found this document useful (0 votes)
36 views1 page

JMX Connection: Tomcat8w //ES//%SERVICENAME%

The document provides instructions for skipping unit tests during a Maven install, making HTTP POST and GET requests using cURL, starting Tomcat with JMX enabled on port 8082, and connecting to it with JConsole to view metrics. It also shows a SQL query to read the system time zone from the Windows registry.

Uploaded by

Rahul Bisht
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views1 page

JMX Connection: Tomcat8w //ES//%SERVICENAME%

The document provides instructions for skipping unit tests during a Maven install, making HTTP POST and GET requests using cURL, starting Tomcat with JMX enabled on port 8082, and connecting to it with JConsole to view metrics. It also shows a SQL query to read the system time zone from the Windows registry.

Uploaded by

Rahul Bisht
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Skip Unit tests:

mvn install deploy -Dmaven.test.skip=true

http Pie request:

echo {"fromDate":"2018-10-05","thruDate":"2018-10-
05","filters":{"persons":{"idType":"EMPLOYEE","ids":["00052"]}}} | http POST :8080/telestaff-
web/api/v1/wfts/schedule/multi_read --auth 00102:1234 --auth-type basic

CURL request

curl --url http://localhost:8080/telestaff-web/api/v1/wfts/schedule/multi_read --basic --user 00102 -


d '{"fromDate":"2018-10-05","thruDate":"2018-10-
05","filters":{"persons":{"idType":"EMPLOYEE","ids":["00052"]}}}' -H 'Content-Type:
application/json'

curl --url http://localhost:8080/telestaff-web/api/v1/wfts/position/external/multi_upsert -X POST --


basic --user 00102 -d '@Position_50.json' -H 'Content-Type: application/json' --trace-time

tomcat8w //ES//%SERVICENAME%

JMX connection
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8082
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=<host ip address>

Jconsole localhost:8082

DECLARE @TimeZone VARCHAR(50)


EXEC MASTER.dbo.xp_regread 'HKEY_LOCAL_MACHINE',
'SYSTEM\CurrentControlSet\Control\TimeZoneInformation',
'TimeZoneKeyName',@TimeZone OUT
SELECT @TimeZone

You might also like