ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMSAdmin problem (unable to bind NoSuchElementException)

Post new topic  Reply to topic
 JMSAdmin problem (unable to bind NoSuchElementException) « View previous topic :: View next topic » 
Author Message
lcsysoa
PostPosted: Tue Jan 22, 2008 2:50 pm    Post subject: JMSAdmin problem (unable to bind NoSuchElementException) Reply with quote

Newbie

Joined: 18 Jan 2008
Posts: 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
Code:
./JMSAdmin -v

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
View user's profile Send private message
lcsysoa
PostPosted: Tue Jan 22, 2008 3:44 pm    Post subject: Reply with quote

Newbie

Joined: 18 Jan 2008
Posts: 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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMSAdmin problem (unable to bind NoSuchElementException)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.