[Logo] JForum - Powering Communities
  [Search] 搜尋   [Recent Topics] 最新主題   [Hottest Topics] 熱門主題   [Top Downloads] 熱門下載   [Groups] 回首頁 
[Register] 會員註冊 /  [Login] 登入 


JForum 2.8.3 is out with various fixes and improvements. Read all about it here

Support for Jakarta EE 9+ RSS feed
討論區首頁 » Integration Forum
發表人 內容
floechen


註冊時間: 2023/3/13
文章: 1
離線
Hi there,

I integrated JForum2 into my Jakarta EE 8 application successfully.

Trying to migrate it to Jakarta EE 10, I succeeded with my part of the application, but I failed with JForum2, as it relies on libraries which aren't Jakarta 9+ compatible, such as commons-fileupload (which is in fact obsolete and OWASP CSRFGuard.

I'd love to use JForum2 in the future as well! Hence my question: Do you intend to migrate JForum2 to Jakarta 9+ (and therefore Java 11 as well) in the near future?

Thanks
Florian
udittmer


註冊時間: 2013/2/21
文章: 424
離線
I haven't encountered problems running JForum on Java 11. If there were any, that would certainly be a bug that would likely be fixed soon.

As to Jakarta 9, I have just done a quick test on Tomcat 10.1, and it seems to runs fine in Tomcat's webapps-javaee folder. Have you tried that? I'm not sure if other servlet containers have a similar facility.

As to the underlying question: eventually we'll certainly require newer Java and JakartaEE versions, but given that it seems to run fine as is, it's not a high priority right now.

Ping & Net - my free Android app for TCP/IP network diagnostics
[Email] [WWW]
rv2650ce29-bf55-4b06-adb2-6cf13518c5a1


註冊時間: 2023/5/21
文章: 1
離線
floechen wrote:Hi there,

I integrated JForum2 into my Jakarta EE 8 application successfully.

Trying to migrate it to Jakarta EE 10, I succeeded with my part of the application, but I failed with JForum2, as it relies on libraries which aren't Jakarta 9+ compatible, such as commons-fileupload (which is in fact obsolete and OWASP CSRFGuard.

I'd love to use JForum2 in the future as well! Hence my question: Do you intend to migrate JForum2 to Jakarta 9+ (and therefore Java 11 as well) in the near future?

Thanks
Florian


Hello, I have successfully created a patch , which makes commons-fileupload Jakarta 9+ compatible.
- Please, see: https://code.nanoboot.org/nanoboot-forks/commons-fileupload/commit/0c5fc58b5cda2948a848196ff2f91c209652ca9f
You probably will want to use only part of this commit, as there are some not needed changes.

I am successfully using commons-fileupload on Tomcat 10 (=Jakarta EE) here:
- https://code.nanoboot.org/nanoboot/nanodata
- https://code.nanoboot.org/nanoboot/color-shapes-archive

See this, here commons-fileupload and Tomcat 10 are used: https://nanodata.nanoboot.org

You can try to use this Maven artifact in your pom.xml: https://maven.nanoboot.org/#/snapshots/org/nanoboot/commons-fileupload
- But be aware, that this is a snapshot - I am going to delete old snapshots at maven.nanoboot.org in the future (I want the releases at maven.nanoboot.org to be never deleted smilie
 
討論區首頁 » Integration Forum
前往:   
行動版
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer