AnsweredAssumed Answered

CEMExportTool compatible with 9.7 and 10?

Question asked by jfaldmova on Oct 20, 2015
Latest reply on Oct 21, 2015 by Hiko_Davis

I've used the CEMExportTool with previous versions of CA APM. I'm getting errors when trying to use the tool with 9.7 and 10. Can I do something to get around these errors or is the tool not compatible with 9.7 and 10?

 

When running this against 9.7 I get the following output.

command number: 36

Export file : dat-20151020.csv

application : <removed>

Query start time : 10/20/2015 06:00:00

Query end time : 10/20/2015 09:15:00

- Redirect requested but followRedirects is disabled
!!!!!Failed to execute command 36 due to:
; nested exception is:
        org.xml.sax.SAXParseException: Content is not allowed in prolog.
Here is the stack trace:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Content is not allowed in prolog.
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1476)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1037)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:513)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:815)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:744)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:128)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:543)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at com.ca.wily.cemwebservices.ConfigurationDataOutServiceSoapBindingStub.getAllApplicationDefinitions(ConfigurationDataOutServiceSoapBindingStub.java:1036)
        at com.export.Samples.findApplicationId(Samples.java:2041)
        at com.export.Samples.getDefectsDataByApplication(Samples.java:1694)
        at com.export.CEMExportTool.getData(CEMExportTool.java:922)
        at com.export.CEMExportTool.main(CEMExportTool.java:87)

        {http://xml.apache.org/axis/}hostname:<removed>

org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at com.ca.wily.cemwebservices.ConfigurationDataOutServiceSoapBindingStub.getAllApplicationDefinitions(ConfigurationDataOutServiceSoapBindingStub.java:1036)
        at com.export.Samples.findApplicationId(Samples.java:2041)
        at com.export.Samples.getDefectsDataByApplication(Samples.java:1694)
        at com.export.CEMExportTool.getData(CEMExportTool.java:922)
        at com.export.CEMExportTool.main(CEMExportTool.java:87)
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1476)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1037)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:513)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:815)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:744)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:128)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1208)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:543)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        ... 13 more

 

 

When running it against a CA APM 10 ---

command number: 36

Export file : dat-20151020.csv

application : <preprod>

Query start time : 10/20/2015 09:00:00

Query end time : 10/20/2015 09:15:00

- Redirect requested but followRedirects is disabled

Exception in thread "main" java.lang.StackOverflowError

        at org.apache.axis.AxisFault.addHostnameIfNeeded(AxisFault.java:881)

        at org.apache.axis.AxisFault.initFromException(AxisFault.java:280)

        at org.apache.axis.AxisFault.<init>(AxisFault.java:181)

        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)

        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)

        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)

        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)

        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)

<The above two lines repeat many times>

Outcomes