| Author | 
		  Message
		 | 
		
		  | bhupinder | 
		  
		    
			  
				 Posted: Thu Apr 23, 2015 4:50 am    Post subject: IIB is Unable to connect to WSRR | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 25 Mar 2015 Posts: 19
  
  | 
		  
		    
			  
				Hello All,
 
 
I have created a WLM Policy on WSRR and created JMS Configurations to get the Notifications from WSRR. For every change in the Policy we should get the Notifications from WSRR.
 
But I am getting below error in my system logs:
 
"
 
( MobilyBRK.MobilyEG ) Java node error: '[BIPmsgs:4640]BIP4640E: IIB JMSClient. 'Broker 'BRK'; Execution Group 'EG'; Message Flow 'HTTPNode_WLMPolicy'; Node 'ComIbmJMSClientInputNode::Policy Deleted::ComIbmJMSClientInputNode' ' There is a configuration problem with the JNDI Administered objects where:  Initial Context Factory  = 'com.ibm.websphere.naming.WsnInitialContextFactory'.  Location of the bindings = 'iiop:<PC Name>.riyadh.sa.ibm.com:7286'.  ConnectionFactory Name   = 'jms/SRConnectionFactory'.  JMS destination  = ''.  The exception text is : 'java.net.MalformedURLException: Malformed URL "iiop:<PC Name>.riyadh.sa.ibm.com:7286"'. 
 
 
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect. 
 
 
Check the JNDI Administered configuration for the JMS provider used by the node.  
 
 Either:  
 
 Modify the JNDI Administered objects and rebuild the bindings  
 
 or  
 
 Change the Configurable Service attributes associated with this JMS Provider and restart the execution group  
 
 or  
 
 Change the node attributes and redeploy the message flow. : [BIPmsgs:4640]BIP4640E: IIB JMSClient. 'Broker 'MobilyBRK'; Execution Group 'MobilyEG'; Message Flow 'HTTPNode_WLMPolicy'; Node 'ComIbmJMSClientInputNode::Policy Deleted::ComIbmJMSClientInputNode' ' There is a configuration problem with the JNDI Administered objects where:  Initial Context Factory  = 'com.ibm.websphere.naming.WsnInitialContextFactory'.  Location of the bindings = 'iiop:<PC Name>.riyadh.sa.ibm.com:7286'.  ConnectionFactory Name   = 'jms/SRConnectionFactory'.  JMS destination  = ''.  The exception text is : 'java.net.MalformedURLException: Malformed URL "iiop:<PC Name>.riyadh.sa.ibm.com:7286"'. 
 
 
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect. 
 
 
Check the JNDI Administered configuration for the JMS provider used by the node.  
 
 Either:  
 
 Modify the JNDI Administered objects and rebuild the bindings  
 
 or  
 
 Change the Configurable Service attributes associated with this JMS Provider and restart the execution group  
 
 or  
 
 Change the node attributes and redeploy the message flow. : Unable to find JMS Destination in JNDI'.   
 
 
Error message generated by user Java node.   
 
 
Contact the node provider for further details.  "
 
 
I have tried the multiple hit and trials related to the configuration but unable to resolve it. 
 
Please find the below commands which I have used for the configuration:
 
 
******************
 
 
mqsichangeproperties BRK -c JMSProviders -o WebSphere_WAS_Client -n jarsURL -v C:\certificates\BRK2certi\WebSphere_WAS_CLT
 
 
mqsichangeproperties BRK -c JMSProviders -o WebSphere_WAS_Client -n connectionFactoryName -v jms/SRConnectionFactory
 
mqsichangeproperties BRK -c JMSProviders -o WebSphere_WAS_Client -n initialContextFactory -v com.ibm.websphere.naming.WsnInitialContextFactory
 
mqsichangeproperties BRK -c JMSProviders -o WebSphere_WAS_Client -n jmsProviderXASupport -v true
 
mqsichangeproperties BRK -c JMSProviders -o WebSphere_WAS_Client -n jndiBindingsLocation -v corbaloc:iiop:<PC NAME>.riyadh.sa.ibm.com:7286
 
I have also tried above command with 2809 port (which is Bootstrap port mentioned in the WSRR Profile - About this Profile log file)
 
 
Configured Settings on WAS(under Resources-> JMS ->Topic Connection Factories -> SRConnectionFactory)
 
 
Scope:   Node=<PC Name>Node01,Server=server1 
 
Provider: Default messaging provider 
 
Name: SRConnectionFactory
 
JNDI name: jms/SRConnectionFactory
 
Provider endpoints
 
<PC Name>:7286:BootstrapSecureMessaging
 
Bus Name: ServiceIntegrationBus
 
Client Identifier: WSRR
 
Durable Subscription Home: <PC Name>Node01.server1-ServiceIntegrationBus
 
Authentication alias for XA Recovery: WSRR JMS Alias
 
Mapping Configuration Alias: DefaultPrincipalMapping
 
 
 
 
Also I have below configuration set on the JMS Input Nodes:
 
JMS Provider Name: Client for Websphere Application Server
 
InitialContext Factory: com.ibm.websphere.naming.WsnInitialContextFactory
 
Application property: action='CREATE'
 
 
Kindly check and please help to resolve this issue. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Thu Apr 23, 2015 4:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				Please Obfuscate any real IP host names, IP addresses and other data that could be used to aide hackers etc.
 
In some companies revealling even internal network names/address is grounds for dismissal. _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Apr 23, 2015 4:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				did you try 
   
	| Code: | 
   
  
	| "iiop://<PC Name>.riyadh.sa.ibm.com:7286" | 
   
 
 
Note the 2 forward slashes after iiop:... The error said malformed URL.
 
So concentrate on that...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bhupinder | 
		  
		    
			  
				 Posted: Thu Apr 23, 2015 9:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 25 Mar 2015 Posts: 19
  
  | 
		  
		    
			  
				That's why i have used Host name as <PC Name> not the actual host name here.
 
I have tried changing that also but still the error. Now malformed URL is not coming but different error is coming. Even yesterday I was having this error..
 
 
( BRK.DefaultEG ) Java node error: '[BIPmsgs:4640]BIP4640E: IIB JMSClient. 'Broker 'BRK'; Execution Group 'DefaultEG'; Message Flow 'HTTPNode_WLMPolicy'; Node 'ComIbmJMSClientInputNode::Policy Detached::ComIbmJMSClientInputNode' ' There is a configuration problem with the JNDI Administered objects where:  Initial Context Factory  = 'com.ibm.websphere.naming.WsnInitialContextFactory'.  Location of the bindings = 'corbaloc:iiop:<HOST NAME with port>'.  ConnectionFactory Name   = 'jms\SRConnectionFactory'.  JMS destination  = ''.  The exception text is : 'Error getting WsnNameService properties'. 
 
 
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect. 
 
 
Check the JNDI Administered configuration for the JMS provider used by the node.  
 
 Either:  
 
 Modify the JNDI Administered objects and rebuild the bindings  
 
 or  
 
 Change the Configurable Service attributes associated with this JMS Provider and restart the execution group  
 
 or  
 
 Change the node attributes and redeploy the message flow. : [BIPmsgs:4640]BIP4640E: IIB JMSClient. 'Broker 'BRK'; Execution Group 'DefaultEG'; Message Flow 'HTTPNode_WLMPolicy'; Node 'ComIbmJMSClientInputNode::Policy Detached::ComIbmJMSClientInputNode' ' There is a configuration problem with the JNDI Administered objects where:  Initial Context Factory  = 'com.ibm.websphere.naming.WsnInitialContextFactory'.  Location of the bindings = 'corbaloc:iiop:<HOST NAME WITH PORT>/'.  ConnectionFactory Name   = 'jms\SRConnectionFactory'.  JMS destination  = ''.  The exception text is : 'Error getting WsnNameService properties'. 
 
 
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect. 
 
 
Check the JNDI Administered configuration for the JMS provider used by the node.  
 
 Either:  
 
 Modify the JNDI Administered objects and rebuild the bindings  
 
 or  
 
 Change the Configurable Service attributes associated with this JMS Provider and restart the execution group  
 
 or  
 
 Change the node attributes and redeploy the message flow. : Unable to find JMS Destination in JNDI'.   
 
 
Error message generated by user Java node.   
 
 
Contact the node provider for further details.  
 
 
I am not sure whether I should set JMS Destination as well. If yes, kindly share format of that. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Apr 23, 2015 11:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Can't help you much here. What I understand from this error message is that something that is stored in WSRR is not correct or not fully configured... 
 
 
Have fun ;innocent: _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |