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 API Support » Help needed: running IBM Support pack BS01

Post new topic  Reply to topic
 Help needed: running IBM Support pack BS01 « View previous topic :: View next topic » 
Author Message
mikeHT
PostPosted: Wed May 03, 2006 12:05 pm    Post subject: Help needed: running IBM Support pack BS01 Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

C:\ms0b>echo %CLASSPATH%
c:\ms0b\com.ibm.mq.pcf.jar;c:\ms0b\com.ibm.mq.jar

C:\ms0b>java PCFMessageListQueueDepth QMGR1 10.20.104.54 1414 SYSTEM.DEF.SVRCONN

Exception in thread "main" java.lang.NoClassDefFoundError: PCFMessageListQueueDepth

Please someone point out what I'm doing wrong? Thanks.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed May 03, 2006 12:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I think you need more classes than what you have in the classpath.
What you are running, I think is a sample program that you need to compile and run.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mikeHT
PostPosted: Wed May 03, 2006 12:37 pm    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

C:\ms0b>dir PCFMessageListQueueDepth*
Volume in drive C has no label.
Volume Serial Number is 78FA-DDEE

Directory of C:\ms0b

05/03/2006 03:30 PM 2,546 PCFMessageListQueueDepth.class
05/03/2006 03:16 PM 2,949 PCFMessageListQueueDepth.java
06/05/2003 04:14 PM 3,620 PCFMessageListQueueDepthNoAgent.class
11/02/2002 12:41 AM 4,317 PCFMessageListQueueDepthNoAgent.java
4 File(s) 13,432 bytes
0 Dir(s) 58,992,943,104 bytes free

In the support pack BS01, the java programs are already compiled.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed May 03, 2006 1:15 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

But this directory is not in the classpath.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mikeHT
PostPosted: Thu May 04, 2006 7:32 am    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

Correct. Fixed with set CLASSPATH=.;%CLASSPATH%. Thanks
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 API Support » Help needed: running IBM Support pack BS01
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.