You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Kevin Tran (JIRA)" <ji...@apache.org> on 2016/08/12 05:27:20 UTC

[jira] [Created] (FLUME-2969) IBM MQ initialContextFactory flume configuration issue

Kevin Tran created FLUME-2969:
---------------------------------

             Summary: IBM MQ initialContextFactory flume configuration issue
                 Key: FLUME-2969
                 URL: https://issues.apache.org/jira/browse/FLUME-2969
             Project: Flume
          Issue Type: Bug
          Components: Configuration
    Affects Versions: v1.6.0
         Environment: Linux
            Reporter: Kevin Tran
            Priority: Blocker
             Fix For: v1.6.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)