简体   繁体   English

您可以使用OpenJDK在生产中运行WSO2产品吗?

[英]Can you run WSO2 products in production using OpenJDK?

I have tested WSO2 AM 1.10.0 in Linux with OpenJDK 1.7. 我已经在Linux和OpenJDK 1.7中测试了WSO2 AM 1.10.0。 It seems to be working fine, so far. 到目前为止,它似乎运行良好。

However, all WSO2 product's documentations say OpenJDK is not supported? 但是,所有WSO2产品文档都说不支持OpenJDK吗? Why and what could happen if we put this in PRODUCTION? 如果将其放入PRODUCTION,为什么会发生什么情况? Should we be concerned? 我们应该关注吗?

We prefer OpenJDK so wanted to use it if possible as our other products are also running on top of it. 我们更喜欢OpenJDK,因此希望尽可能使用它,因为我们的其他产品也在其之上运行。

As Amila mentioned, we faced some issues, mainly related with threading and garbage collections issues with OpenJDK. 正如Amila提到的,我们面临一些问题,主要与OpenJDK的线程和垃圾回收问题有关。 The gap between the Oracle JDK we support and OpenJDK has considerably been reduced with JDK8. 使用JDK8,我们所支持的Oracle JDK与OpenJDK之间的差距已大大缩小。 However, all our QA is done with OracleJDK, which is why we say we will not support any other JDK in production. 但是,我们所有的质量检查都是通过OracleJDK完成的,这就是为什么我们说我们将不支持生产中的任何其他JDK的原因。 You can run with OpenJDK if you want, but if you encounter an issue and want to report it, you will need to reproduce the same error with Oracle JDK. 您可以根据需要使用OpenJDK运行,但是如果遇到问题并希望报告该问题,则需要使用Oracle JDK重现相同的错误。 Note that with the next generation of the WSO2 platform (Carbon 5) we will test both OpenJDK and OracleJDK and therefore both will be officially supported. 请注意,在下一代WSO2平台(碳5)中,我们将同时测试OpenJDK和OracleJDK,因此将正式支持这两个平台。

This decision was made some time ago based on some experiences we had with open jdk (about 5-6 years ago). 这个决定是在不久前根据我们在开放式jdk上的经验(大约5至6年前)做出的。 I dont remember what were they. 我不记得他们是什么。 If it is working fine for you, you may use it (may be its improved now). 如果它适合您,则可以使用它(现在可以对其进行改进)。 As long as you do not purchase support from WSO2, that wont be a problem. 只要您不从WSO2购买支持,就不会有问题。 We don't recommend it to our customers who buy production support from us, because 我们不推荐给从我们这里购买生产支持的客户,因为

  1. We don't test our products on Open JDK 我们不会在Open JDK上测试我们的产品
  2. We are not willing to troubleshoot issues which are caused because of Open JDK. 我们不愿意对由于Open JDK引起的问题进行故障排除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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