WebLogic Integration CXF Error: Cannot create a secure xmlinputfactory

Source: Internet
Author: User

WebLogic Integration CXF Error: Cannot create a secure xmlinputfactory

================================

? Copyright Sweet Potato Yiu May 17, 2018

https://www.cnblogs.com/fanshuyao/

First, the problem description

WEBLOGIC10 integration cxf start times wrong:

Java code
    1. Cannot create a secure xmlinputfactory

Cause of Error:

This should be due to a conflict between the Jax-WS package inside the WebLogic and the CXF jar package that you added.

Two solutions:

Modify the Web-inf\weblogic.xml file

XML code
  1. <!--write-off CXF
  2. <!--
  3. <container-descriptor>
  4. <servlet-reload-check-secs>20</servlet-reload-check-secs>
  5. </container-descriptor>
  6. -->
  7. <!--add to CXF: Adjust the order in which the WebLogic loads the jar packages, prioritize using your own jar--
  8. <container-descriptor>
  9. <index-directory-enabled>true</index-directory-enabled>
  10. <prefer-web-inf-classes>true</prefer-web-inf-classes>
  11. </container-descriptor>

Also, note the CXF-dependent jar package:

Java code
    1. cxf-2.6. 15.jar
    2. neethi-3.0. 3.jar
    3. stax2-api-3.1. 4.jar
    4. woodstox-core-asl-4.4. 0.jar
    5. wsdl4j-1.5. 1.jar
    6. xmlschema-core-2.0. 3.jar

================================

? Copyright Sweet Potato Yiu May 17, 2018

https://www.cnblogs.com/fanshuyao/

WebLogic Integration CXF Error: Cannot create a secure xmlinputfactory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.