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 » WebSphere Message Broker (ACE) Support » mqsideleteexecutiongroup failing

Post new topic  Reply to topic
 mqsideleteexecutiongroup failing « View previous topic :: View next topic » 
Author Message
sjensen
PostPosted: Tue Apr 18, 2006 6:01 am    Post subject: mqsideleteexecutiongroup failing Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi,

WMB 6, tolkit on Windows XP-Pro, configMgr and Broker on Solaris 8.

I am not sure if this is supposed to be allowed but I tried to delete an execution group on the Solaris platform and got this:

Code:

$ mqsideleteexecutiongroup -i testbox -p 1414 -q CFGQM  -b TSTBRK -e testEG
BIP1044I: Connecting to the Configuration Manager's queue manager...
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence
        at com.ibm.broker.config.proxy.ConfigManagerProxy.<init>(ConfigManagerProxy.java:171)
        at com.ibm.broker.config.proxy.ConfigManagerProxy.getInstance(ConfigManagerProxy.java:291)
        at com.ibm.broker.config.util.ParameterList.connectToCM(ParameterList.java:309)
        at com.ibm.broker.config.util.ExecutionGroupControl.main(ExecutionGroupControl.java:325)

Can you only issue this command on the platform where the toolkit is runing ?

Many thanks
Stefan
Back to top
View user's profile Send private message
TheBigEasy
PostPosted: Tue Apr 18, 2006 6:10 am    Post subject: Reply with quote

Apprentice

Joined: 04 Jul 2005
Posts: 33
Location: London

Hi Stefan

The Config Manager Proxy API has now been exposed, so anything you can do from the toolkit I believe you can issue as a command or script. Extract from the docs below

Best wishes


Quote:
deleteExecutionGroup
public void deleteExecutionGroup(String name)
throws ConfigManagerProxyLoggedException,
contact admin the Configuration Manager to remove the execution group with the supplied name from the broker. The method returns as soon as the deletion request has been enqueued for sending to the Configuration Manager.

Once it has been processed by the Configuration Manager, if the request is successful any resources used by the execution group will be removed and the execution group will no longer appear in the output of mqsilist for that broker. If the execution group had never been successfully deployed to the broker, the execution group reference is simply removed from the Configuration Manager's repository.

If the execution group being deleted is being used as the broker's default execution group (denoted by defaultExecutionGroup 'true' on the execution group BIP2201 start message), note that the broker will not completely remove the execution group until the broker is restarted.


Parameters:
name - of the execution group to be deleted from the Broker.
Throws:
ConfigManagerProxyPropertyNotInitializedException - if the name could not be resolved because the broker information was not supplied by the Configuration Manager.
ConfigManagerProxyLoggedException - If the request to delete the Execution Group could not be sent to the Configuration Manager.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Tue Apr 18, 2006 6:15 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Looks like an incompatible version of Java - the command requires Java 1.4.2 in the PATH and CLASSPATH. Specifically, check that pre-1.4 classes are not being picked up.
Is the mqsiprofile set up correctly?
Back to top
View user's profile Send private message
fschofer
PostPosted: Tue Apr 18, 2006 6:16 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

Code:
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence

i suppose you are using a JVM < 1.4

For using the class CharSequence you need at least a 1.4 JVM
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/CharSequence.html

Run the follwing command to see which JVM you are using
java -version

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
sjensen
PostPosted: Wed Apr 19, 2006 6:33 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi,

Thanks! You were all correct wrong java. As Matt suspected the PATH and CLASSPATH were wrong.

Thanks again

Stefan
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 » WebSphere Message Broker (ACE) Support » mqsideleteexecutiongroup failing
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.