| Author | 
		  Message
		 | 
		
		  | bpolimera | 
		  
		    
			  
				 Posted: Mon May 06, 2002 12:19 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Apr 2002 Posts: 14
  
  | 
		  
		    
			  
				Hello All,
 
 
   I am using JNDI with File System Context (MQ5.2 on Solaris).
 
   Created a Queue Connection Factory (ivtQCF) and a Queue (ivtQ).
 
   Whenever I change one of the properties of ivtQ using ALTER 
 
   command from JMSAdmin, ivtQCF is disappearing from the context.
 
   What could be wrong?
 
 
Regards,
 
Balaji. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sanjays30 | 
		  
		    
			  
				 Posted: Mon May 06, 2002 2:10 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 May 2002 Posts: 18 Location: USA 
  | 
		  
		    
			  
				| File systems bindinng is not stable and not advised to be used for production systems. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tony@work | 
		  
		    
			  
				 Posted: Mon May 06, 2002 4:22 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 12 Nov 2001 Posts: 9 Location: Australia 
  | 
		  
		    
			  
				Sanjays30 - Can you provide some examples/exidence to support your claim of File System usage being unstable?
 
 
I am in the process of evaluating the configuration and setup options available for rolling our JMS in out MQ infrastructure, and as it turns out, the File System option is becoming a preference.
 
 
Thanks.
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | amurugan | 
		  
		    
			  
				 Posted: Wed May 08, 2002 12:31 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 10 Sep 2001 Posts: 75 Location: india 
  | 
		  
		    
			  
				hi , 
 
i too agree with tony . File system context turns out to be the defacto JNDI standard for mqseries jms . bpolimera after altering the qcf  dies display ctx list   the qcf too or not 
 
 
Regards,
 
murugan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bpolimera | 
		  
		    
			  
				 Posted: Wed May 08, 2002 6:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Apr 2002 Posts: 14
  
  | 
		  
		    
			  
				Murugan,
 
 
   After I alter the properties of Queue(ivtQ), the display ctx doesnt list
 
   the ivtQcf, the queue connection factory.
 
 
   Have you guys come across this kind of problem?
 
 
   Also, if I want to use LDAP bindings with MQ/JMS, do I need to install
 
   and run an LDAP server or does it come as part of MQ installation?
 
   If it comes as part of MQ, how do I enable it?
 
 
Thanks,
 
Balaji. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sanjays30 | 
		  
		    
			  
				 Posted: Tue May 14, 2002 10:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 May 2002 Posts: 18 Location: USA 
  | 
		  
		    
			  
				I tried using file systems binding and MQ With JMS. I tries to create JNDI names with sub contexts e.g. cxom/jms/WSQCF1 , it did not work with Websphere, 
 
But it did work if i give name like "WSQCF1"
 
 
sanjay | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | amurugan | 
		  
		    
			  
				 Posted: Tue May 14, 2002 10:03 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 10 Sep 2001 Posts: 75 Location: india 
  | 
		  
		    
			  
				hi , 
 
 it sounds strange  . bcos you are altering the properties of queue and you are telling that  you ae not able to find the queue connection factory . is your fiel system stable . are you  doing this check from the command line by running the jms admin program . lemme know 
 
 
regards,
 
Murugan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | amurugan | 
		  
		    
			  
				 Posted: Tue May 14, 2002 10:16 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 10 Sep 2001 Posts: 75 Location: india 
  | 
		  
		    
			  
				hi sanjay , 
 
Are u trying to define subcontexts in mqseries jms or in wesphere jms . let me know . i dont think you can define subcontext in  mqseries jms . 
 
 
cheers,
 
Murugan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | amurugan | 
		  
		    
			  
				 Posted: Tue May 14, 2002 10:17 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 10 Sep 2001 Posts: 75 Location: india 
  | 
		  
		    
			  
				hi sanjay , 
 
Are u trying to define subcontexts in mqseries jms or in wesphere jms . let me know . i dont think you can define subcontext in  mqseries jms . 
 
 
cheers,
 
Murugan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sanjays30 | 
		  
		    
			  
				 Posted: Wed May 15, 2002 10:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 05 May 2002 Posts: 18 Location: USA 
  | 
		  
		    
			  
				I am trying to create subcontext using JMSAdmin into Filie System binding, 
 
and then connecting FileSystem binding to WebSphere JNDI using websphere Admin under "JMS Resources". | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bpolimera | 
		  
		    
			  
				 Posted: Wed May 15, 2002 12:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Apr 2002 Posts: 14
  
  | 
		  
		    
			  
				Hi Murugan,
 
 
   I verified the objects in my file system bindings using JMSAdmin
 
   tool from the command line. I am pasting here the output of the
 
   commands with in the JMSAdmin tool. Also, our file system is
 
   stable. As you can see from the output, I also created a subcontext
 
   "sub1".
 
 
Thanks
 
Balaji.
 
 
================== Output =======================
 
 
$ /opt/mqm/java/bin/JMSAdmin
 
 
5648-C60 (c) Copyright IBM Corp. 1999. All Rights Reserved.
 
Starting MQSeries Classes for Java(tm) Message Service Administration
 
 
User DN:
 
User Password:
 
 
InitCtx> display ctx
 
 
  Contents of InitCtx
 
 
  [D] sub1                      javax.naming.Context
 
      .bindings                 java.io.File
 
   a  ivtQCF                    com.ibm.mq.jms.MQQueueConnectionFactory
 
   a  ivtQ                      com.ibm.mq.jms.MQQueue
 
 
  4 Object(s)
 
    1 Context(s)
 
    3 Binding(s), 2 Administered
 
 
InitCtx> alter Q(ivtQ) PER(PERS)
 
 
InitCtx> display ctx
 
 
  Contents of InitCtx
 
 
  [D] sub1                      javax.naming.Context
 
      .bindings                 java.io.File
 
   a  ivtQ                      com.ibm.mq.jms.MQQueue
 
 
  3 Object(s)
 
    1 Context(s)
 
    2 Binding(s), 1 Administered
 
 
 
InitCtx> | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |