The machine in CCBN exhibition visited the PAGE of OSS system, Error #2032 Stream Error occurred, and the SWF file could not be viewed.
Environment:
The biggest difference is that the second way of compiling the files that depend on the Flex framework is Merged into the SWF of the source. It is much larger than the first SWF file that is compiled using the RSL.
Compiling with the RSL requires the Flex framework file to be placed in the same directory as the source SWF.
Flex frame files are divided into two types: framework_swz (for example, framework_4.0.0.14159.swz) at compile time and frame_swf (for example, framework_4.0.0.14159.swf) at run time. According to analysis, framework_4.0.0.14159.SWz is priority to load framework_4.0.0.14159.SWz when client machine access, it will be put into the Flash Player’s cache directory after successful loading. Flash Player automatically downloads framework _4.0.0.14159.swF (either of these files can be downloaded and displayed properly).
Problem analysis:
In the flash directory of the OSs_system_web_page project of our current OSS system, there are only Flex framework related SWF files (6 in total), and no related SWZ files. When the machine of the exhibition visited the system, the SWZ file of the frame could not be found, and the SWF file of the frame was not found automatically, so the access error occurred. In our company, the desktop machine automatically finds the SWF file of the frame, so there is no problem.
Solutions:
SWZ, OSMF_flex. 4.0.0.13495.SWz, RPC_4.0.0.14159.SWz, SPARk_4.0.0.14159.SWz, SPARkskins_4.0.0.14159.SWz, SPARkskins_4.0.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, SPARkskins_4.0.14159.SWz, Textlayout_1.0.0.595.swz) in the FLASH directory of the OSs_system_web_page project, and then configure the web.xml file of the project, so that the Tomcat server can recognize the SWZ file:
<mime-mapping>
<extension>swz</extension>
<mime-type>application/octet-stream</mime-type>
</mime-mapping>
This way, when the exhibition machine accesses the system, it will find the Flex frame-related SWZ files and will be able to access the system SWF files correctly. Problem solving.
Refer to http://blog.csdn.net/hanxing0/article/details/5556042
http://www.blogjava.net/aiaiwoo/articles/338454.html
Read More:
- Solutions to flex4 error ා 2032 stream error
- Notes on flex RSL application
- Error loading in flex integration: Java / jdk1.6.0_ 35\jre\bin\server\ jvm.dll
- [vue/no-parsing-error]Parsing error: control-character-in-input-stream.eslint-plugin-vue
- [leetcode] 295. Find Median from Data Stream Python
- IntelliJ idea debugging Java 8 stream
- Objectinputstream of IO stream reports an error (resolved)
- Error analysis of veeam backup: failed to create NFC download stream
- move_uploaded_file() failed to open stream: Permission denied
- Solve the unexpected end of stream exception thrown by jedis
- error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
- Eo ferror: compressed file ended before the end of stream marker was reached
- [PHP]stream_socket_client(): Failed to enable crypto
- Converting H264 bit stream to. MP4 format by ffmpeg
- failed to open stream: HTTP wrapper does not support writeable connections
- Opencv detection yolov4 target detection video stream error
- IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
- The too many open files solution appears in stream classes such as files.list
- Error in ffmpeg decoding real-time stream “non existing PPS 0 referenced, decode”_ slice_ header error,no frame!”
- Failed to open stream: http request failed!