AnsweredAssumed Answered

Can CEM export tool work with secured CEM?

Question asked by xin.peng on Sep 30, 2015
Latest reply on Oct 1, 2015 by xin.peng

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,




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

        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodB

        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j


        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt

        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe

        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav


        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav


        at com.export.CEMExportTool.setupWebServices(

        at com.export.CEMExportTool.main(