Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-571

Back to OSGi import of `javax.transaction.xa` package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I'd like to refer to DBCP-445 and DBCP-454 issues, which left commons-dbcp2 OSGi bundle with these headers:

      Import-Package = 
      ...
      	javax.transaction;version=1.1.0,
      	javax.transaction.xa;mandatory:=partial;partial=true;version=1.1.0,
      

      I've described some findings in https://github.com/ops4j/org.ops4j.pax.transx/issues/33 and I'd like to know what's the rationale behind this "partial" attribute?

      First, javax.transaction.xa package is complete in both JDK 8 and 9+ (JPMS) and it's not missing any class in JDK itself.
      javax.transaction on the other hand do miss important classes and if anything, this package should be special, not javax.transaction.xa.

      I'll do some resolution test with Karaf and will add more comments later. But if you (DBCP2 devs) know more about the mentioned issues, I'd be happy to learn more

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ggrzybek Grzegorz Grzybek
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: