Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1509

Olingo cannot be used in a tomcat 10 environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.8.0
    • None
    • odata4-server
    • None

    Description

      When migrating my code from tomcat 9 to tomcat 10 I had to change all HttpServletRequest/Response from javax.servlet to jakarta.servlet.

      Otherwise the tomcat app cannot find any servlets is it does search for all jakarta.* implementations.

      But that breaks the Olingo servlet, its handler expects javax.* objects.

      Also getting javax libraries as dependencies is not nice either, so olingo itself should not use javax package in such an environment either, e.g. javax.http.

       

      I was a bit surprised having seen just two other issues in Jira related to that but none making the full request. For Java9 you just have to manually add the javax dependency and you are good to go. Does not help when the servlet engine itself requires you to use jakarta.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wdaehn Werner Daehn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: