简体   繁体   中英

Is it possible to replace org.apache.axis2.wso2 artifacts with org.apache.axis2 artifacts?

folks!

I need to update artifacts in a project that is running on wso2 server. There were used wso2 specific artifacts like org.apache.axis2.wso2 or org.apache.ws.commons.axiom.wso2.

If I want to replace these wso2 specific artifacts with more up-to-date regular org.apache.axis2 artifacts could it lead to errors or I can use non specific artifacts freely?

WSO2 creates its own versions of such 3rd party libraries in 2 cases.

  1. When the original jar is not OSGi
  2. When WSO2 needs to add new fixes and improvement which are not there is the original jar

In either case, changing a jar to its original version can break the server.

On the other hand, new versions of those 3rd party jars can have API (signature) changes too. So it can also break the server.

So the bottom line is it won't be possible to do such jar upgrades without internal code changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM