Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6715

Wrong exports of javax.transaction package from jre.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0, 4.2.9
    • karaf
    • None

    Description

      For example, for JDK8 there's:

       javax.transaction; javax.transaction.xa; partial=true; mandatory:=partial, \
      

      while it should rather be:

       javax.transaction; partial=true; mandatory:=partial, \
       javax.transaction.xa; partial=true; mandatory:=partial, \
      

      I have problem with DBCP2 2.7:

      Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.commons.commons-dbcp2/2.7.0: missing requirement [org.apache.commons.commons-dbcp2/2.7.0] osgi.wiring.package; mandatory:=partial; filter:="(&(osgi.wiring.package=javax.transaction.xa)(version>=1.1.0)(partial=true))"
      	at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
      	... 14 more
      

      Even if I have mvn:javax.transaction/javax.transaction-api/1.2 bundle installed.

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: