Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2969

IBM MQ initialContextFactory flume configuration issue

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: Configuration
    • Labels:
      None
    • Environment:

      Linux

      Description

      Hi,
      I test the JMS source using IBM MQ7 with below configuration:

      ggflume.sources.jms.type = jms
      ggflume.sources.jms.providerURL = tcp://server.com:1711
      ggflume.sources.jms.initialContextFactory = com.ibm.mq.jms.context.WMQInitialContextFactory
      #ggflume.sources.jms.initialContextFactory = com.ibm.websphere.naming.WsnInitialContextFactory
      ggflume.sources.jms.destinationType=QUEUE
      ggflume.sources.jms.destinationName=<channelName>
      ggflume.sources.jms.userName=username
      ggflume.sources.jms.passwordFile=password.txt
      ggflume.sources.jms.connectionFactory=com.ibm.mq.jms.MQQueueConnectionFactory
      ggflume.sources.jms.batchSize=1

      Copy MQ lib jars to Flume lib and getting ClassNotFoundException for both WMQInitialContextFactory and WsnInitialContextFactory.

      These classes does not exist in jars file. Do we have any initialContextFactory alternative class or Flume implementation?

      Thanks,
      Kevin.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kevintvh Kevin Tran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified