| Author | 
		  Message
		 | 
		
		  | Rogerkoh_2014 | 
		  
		    
			  
				 Posted: Tue Jul 15, 2014 10:06 pm    Post subject: JMSOUTPUT node integrate with ActiveMQ | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 15 Jul 2014 Posts: 3
  
  | 
		  
		    
			  
				Hi everyone,
 
 
   I am having an issue and hope to get some assistance from you all.
 
 
   I am trying to send JMS messages from Websphere Message broker ( v8 ) to Active MQ (5.10), using the JMSoutput node. Both are operating on 2 different machines, running on Windows platform.
 
 
   This is what I have done:
 
 
   1) Below is the configuration for the JMSoutput node.
 
 
 
   Basic Tab --> Source Queue: InPub
 
   JMS Connection Tab --> JMS Provider Name : ActiveMQ 
 
   JMS Connection Tab --> Initial Context Factory : org.apache.activemq.jndi.ActiveMQInitialContextFactory 
 
   JMS Connection Tab --> Location JNDI Bindings :tcp://{ActiveMQ IP}:61616
 
   JMS Connection Tab --> Connection Factory Name : connectionFactory
 
 
   2) Created a jndi.properties.jar file and copied to MQinstallDir\MQSI\8.0.0.0\Classes. The content is as follows:
 
 
    java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory 
 
   java.naming.provider.url = tcp://{ActiveMQ IP}:61616 
 
   connectionFactoryNames = connectionFactory
 
   queue.InPub = InPub
 
 
   3) Copied the activemq-all-5.10.0.jar to MQinstallDir\MQSI\8.0.0.0\Classes
 
 
   4) Created InPub Queue on the ActiveMQ
 
 
   Result: I keep getting the following errors from the JMSOutput:
 
   
 
   NullPointerException thrown from class name:"com.ibm.broker.jmsclienthelper.JMSClientHelper", method name: "jmsconnection" line 1094
 
 
   Does anyone know what did I miss out or did wrongly?
 
 
   Thank you so much of your time.
 
 
Regards
 
Roger | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sravan | 
		  
		    
			  
				 Posted: Thu Jul 17, 2014 9:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 02 Apr 2010 Posts: 104 Location: Charlotte 
  | 
		  
		    
			  
				Do you have all the required  jar files in the class path? _________________ skr_wmb | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Rogerkoh_2014 | 
		  
		    
			  
				 Posted: Fri Jul 18, 2014 2:36 am    Post subject: JMSOUTPUT node integrate with ActiveMQ | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 15 Jul 2014 Posts: 3
  
  | 
		  
		    
			  
				Hi,
 
 
   I have copied the activemq-all-5.10.0.jar & jndi.properties.jar file to MQinstallDir\MQSI\8.0.0.0\Classes. Is that what you mean by class path?
 
 
  Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Jul 18, 2014 5:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				The JMS configurable service is supposed to point to the directory where the jars for the implementation are available... You should not have to copy them...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sravan | 
		  
		    
			  
				 Posted: Fri Jul 18, 2014 6:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 02 Apr 2010 Posts: 104 Location: Charlotte 
  | 
		  
		    
			  
				not sure if steps 2),3) are required when it is directly configurable for Active MQ from the JMSOutput node for all the JMS properties? _________________ skr_wmb | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Rogerkoh_2014 | 
		  
		    
			  
				 Posted: Fri Jul 18, 2014 6:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 15 Jul 2014 Posts: 3
  
  | 
		  
		    
			  
				Hi, 
 
 
   Thanks for the replies. 
 
    So,  what should be the correct steps then? 
 
 
Roger | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |