We used https protocol to access CEM. It seems the CEM export tool doesn't work with https. Is it anyway to make it work with https? Thanks,
https://apmhost:8081
java -jar CEMExportTool.jar -host apmhost t-username admin -password password -port 8081 -command 17 -output "mydata.csv" -interval 2 -start "2015-09-28 00:00:00" -end "2015-09-28 23:59:59" -appname "myapp"
CEM Host: apmhost
CEM webservice login username: admin
CEM webservice login password: *******
CEM webservice listen port: 8081
command number: 17
Export file : mydata.csv
Aggregation Type: 2
Query start time : 2015-09-28 00:00:00
Query end time : 2015-09-28 23:59:59
application : myapp
!!!!!Failed to execute command 17 due to:
The server apmhost failed to respond with a valid HTTP response
Here is the stack trace:
org.apache.commons.httpclient.ProtocolException: The server apmhost failed
to respond with a valid HTTP response
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMetho
dBase.java:1846)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodB
ase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
ava:995)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt
pMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
thodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:324)
at com.export.CEMExportTool.setupWebServices(CEMExportTool.java:708)
at com.export.CEMExportTool.main(CEMExportTool.java:77)