ActiveMQ
  1. ActiveMQ
  2. AMQ-3803

ActiveMQWASInitialContextFactory throws ClassCastException in WebSphere 8

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.6.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      WebSphere 8

    • Patch Info:
      Patch Available

      Description

      WebSphere 8 includes values other than Strings in the Hashtable provided to configure the external initial context factory when setting up a Generic JMS Provider.

      The org.apache.activemq.jndi.AcuityActiveMQWASInitialContextFactory class does not anticipate non-string values in the Hashtable and throws a ClassCastException.

      Key: osgi.service.jndi.bundleContext (String)
      Value: com.ibm.osgi.jndi.fep.GatewayBundleContextProxy

        Activity

        Brent Shikoski created issue -
        Brent Shikoski made changes -
        Field Original Value New Value
        Attachment ActiveMQWASInitialContextFactory.java.patch [ 12521510 ]
        Brent Shikoski made changes -
        Brent Shikoski made changes -
        Comment [ Test Case, I didn't see an existing one. ]
        Hide
        Timothy Bish added a comment -

        Patch applied with thanks.

        Show
        Timothy Bish added a comment - Patch applied with thanks.
        Timothy Bish made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.6.0 [ 12317974 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        8d 7h 2m 1 Timothy Bish 13/Apr/12 23:21

          People

          • Assignee:
            Unassigned
            Reporter:
            Brent Shikoski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development