|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| JMSAdmin problem (unable to bind NoSuchElementException) | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | lcsysoa | 
			  
				|  Posted: Tue Jan 22, 2008 2:50 pm    Post subject: JMSAdmin problem (unable to bind NoSuchElementException) |   |  |  
		  | Newbie
 
 
 Joined: 18 Jan 2008Posts: 9
 
 
 | 
			  
				| I'm trying to define a qcf using JMSAdmin. 
 My JMSAdmin.config reads:
 
 
   
	| Code: |  
	| INITIAL_CONTEXT_FACTORY=com.sun.jndi.ldap.LdapCtxFactory
 PROVIDER_URL=ldap://myldapipaddress:389/dc=something,dc=com
 SECURITY_AUTHENTICATION=simple
 PROVIDER_USERDN=cn=Manager,dc=something,dc=com
 USE_INITIAL_DIR_CONTEXT=TRUE
 NAME_PREFIX=cn=
 
 |  
 I verified connecting to the LDAP with this manager account and I do have the ability to create new entries.
 
 Then I run
 It takes a surprisingly very long time, but eventually, I am prompted for the password.
 
 Then I do
 
 
   
	| Code: |  
	| def qcf(fooqcf) qmgr(myqueuemanagername) tran(client) chan(SYSTEM.DEF.SVRCONN) host(ipaddressofmymqserver) port(1414) |  
 Again, after a ridiculously long time, I finally get the error:
 
 
 
   
	| Code: |  
	| Unable to bind object java.util.NoSuchElementException: no more elements
 
 |  What is that all about?
 |  |  
		  | Back to top |  |  
		  |  |  
		  | lcsysoa | 
			  
				|  Posted: Tue Jan 22, 2008 3:44 pm    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 18 Jan 2008Posts: 9
 
 
 | 
			  
				| I found my problem. I didn't have a proper jre installed on that machine 
 
 
   
	| Code: |  
	| [root@mq1 ~]# java -version
 java version "1.4.2"
 gcj (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
 Copyright (C) 2004 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 |  |  |  
		  | Back to top |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  |  |  |