Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-413

JCA will not compile with J2EE1.3 classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0, 1.0.1
    • 1.1
    • jackrabbit-jca
    • None
    • JDK1.4.2
      SunOne AppServer 7

    Description

      In JCAManagedConnectionFactory, the constructor invoked to throw ResourceException does not exist under J2EE1.3 / JCA1.1 classes.
      throw new ResourceException(e) - line 136 and line 277.

      Instead the code needs to do something like:

      ResourceException exception = new ResourceException("Failed to create session");
      exception.setLinkedException(e);
      throw exception;

      This will allow it to compile/run under J2EE1.3

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            ross.black Ross Black
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: