IBM Support

IT30311: ILLEGALACCESSEXCEPTION WITH JDBC DRIVERS WHICH USE NON-PUBLIC JAVA INTERFACE TYPES WHEN JDBC CONNECTION POOLING IS ENABLED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • An IllegalAccessException can be thrown when using a 3rd party
    JDBC driver whose JDBC API implementation classes use Java
    interface types that are not "public".
    
    A service trace will show an entry similar to the following:
    
    com.ibm.broker.jdbctype4.connpool.ProxyContainer@37212a48.ProxyC
    ontainer constructor 'java.lang.IllegalAccessException: Class
    com.ibm.broker.jdbctype4.connpool.ProxyContainer can not access
    a member of class oracle.jdbc.driver.$Proxy1 with modifiers
    "public"
      at
    sun.reflect.Reflection.ensureMemberAccess(Reflection.java:114)
      at
    java.lang.reflect.AccessibleObject.slowCheckMemberAccess(Accessi
    bleObject.java:399)
      at
    java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.
    java:391)
      at
    java.lang.reflect.Constructor.newInstance(Constructor.java:427)
      at
    com.ibm.broker.jdbctype4.connpool.ProxyContainer.<init>(ProxyCon
    tainer.java:138)
      at
    com.ibm.broker.jdbctype4.connpool.ProxyFactory.proxify(ProxyFact
    ory.java:182)
      ...
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of JDBC connections in IBM Integration Bus v10 and IBM
    App Connect Enterprise v11.
    
    
    Platforms affected:
    z/OS, MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    An IllegalAccessException can be thrown when using a 3rd party
    JDBC driver whose JDBC API implementation classes use Java
    interface types that are not "public".
    
    A service trace will show an entry similar to the following:
    
    com.ibm.broker.jdbctype4.connpool.ProxyContainer@37212a48.ProxyC
    ontainer constructor 'java.lang.IllegalAccessException: Class
    com.ibm.broker.jdbctype4.connpool.ProxyContainer can not access
    a member of class oracle.jdbc.driver.$Proxy1 with modifiers
    "public"
      at
    sun.reflect.Reflection.ensureMemberAccess(Reflection.java:114)
      at
    java.lang.reflect.AccessibleObject.slowCheckMemberAccess(Accessi
    bleObject.java:399)
      at
    java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.
    java:391)
      at
    java.lang.reflect.Constructor.newInstance(Constructor.java:427)
      at
    com.ibm.broker.jdbctype4.connpool.ProxyContainer.<init>(ProxyCon
    tainer.java:138)
      at
    com.ibm.broker.jdbctype4.connpool.ProxyFactory.proxify(ProxyFact
    ory.java:182)
      ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT30311

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-17

  • Closed date

    2020-01-15

  • Last modified date

    2020-01-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INTEGRATION BUS

  • Fixed component ID

    5724J0540

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 January 2020