Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: V3
    • Component/s: jms
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      10,987

      Description

      This typo:

      ce.initCause( ce );

      causes this error:

      java.lang.IllegalArgumentException: Self-causation not permitted
      at java.lang.Throwable.initCause(Throwable.java:322)
      at
      com.sun.enterprise.connectors.jms.system.ActiveJmsResourceAdapter.setValuesFromConfiguration(ActiveJmsResourceAdapter.java:1943)

        Activity

        Hide
        marina vatkina added a comment -

        I see it at least twice in the same file. I didn't check other files.

        Show
        marina vatkina added a comment - I see it at least twice in the same file. I didn't check other files.
        Hide
        marina vatkina added a comment -

        Sorry, the other one is correct

        Show
        marina vatkina added a comment - Sorry, the other one is correct
        Hide
        Satish Kumar added a comment -

        Checked in a fix -
        — jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/ActiveJmsRes
        ourceAdapter.java (revision 33556)
        +++ jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/ActiveJmsRes
        ourceAdapter.java (working copy)
        @@ -1940,7 +1940,7 @@
        } catch(Exception ce)

        { String msg = sm.getString("ajra.mdb_cf_not_created", cfName); ConnectorRuntimeException cre = new ConnectorRuntimeException( msg ); - ce.initCause( ce ); + cre.initCause( ce ); throw cre; }
        Show
        Satish Kumar added a comment - Checked in a fix - — jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/ActiveJmsRes ourceAdapter.java (revision 33556) +++ jms-core/src/main/java/com/sun/enterprise/connectors/jms/system/ActiveJmsRes ourceAdapter.java (working copy) @@ -1940,7 +1940,7 @@ } catch(Exception ce) { String msg = sm.getString("ajra.mdb_cf_not_created", cfName); ConnectorRuntimeException cre = new ConnectorRuntimeException( msg ); - ce.initCause( ce ); + cre.initCause( ce ); throw cre; }
        Hide
        jthoennes added a comment -

        That's why we are encourage long variable names...

        Sorry I could not resist.

        Show
        jthoennes added a comment - That's why we are encourage long variable names... Sorry I could not resist.

          People

          • Assignee:
            Satish Kumar
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: