Error accessing the file prematurely when accessing the URL

I use Coldfsuion 8.0.1 and Solaris 10, and when I try to run this URL, http: // IPADDRESS / flex2gateway / http I get the error "Premature end of file". Please help me if I am missing any installation / fix.

And when I click the same URL from the browser, it shows:

<amfx ver="3">
<body targetURI="/onStatus" responseURI="">
<object type="flex.messaging.messages.ErrorMessage">
<traits>
<string>headers</string>
<string>rootCause</string>
<string>body</string>
<string>correlationId</string>
<string>faultDetail</string>
<string>faultString</string>
<string>clientId</string>
<string>timeToLive</string>
<string>destination</string>
<string>timestamp</string>
<string>extendedData</string>
<string>faultCode</string>
<string>messageId</string>
</traits>
<object>
<traits/>
</object>
<null/>
<null/>
<null/>
<null/>
<string>Premature end of file.</string>
<null/>
<double>0.0</double>.........

Error Details (server side):

[Flex] Premature end of file.
flex.messaging.MessageException: Premature end of file.
        at flex.messaging.io.amfx.AmfxMessageDeserializer.fatalError(AmfxMessageDeserializer.java:249)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
        at flex.messaging.io.amfx.AmfxMessageDeserializer.parse(AmfxMessageDeserializer.java:103)
        at flex.messaging.io.amfx.AmfxMessageDeserializer.readMessage(AmfxMessageDeserializer.java:90)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:113)
+3
source share
1 answer

Is xml dynamic generated response?

, XML . , , , , .

+1

Source: https://habr.com/ru/post/1739848/


All Articles