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 » General IBM MQ Support » Error while executingJMSAdminGUI: No class definition found

Post new topic  Reply to topic Goto page 1, 2  Next
 Error while executingJMSAdminGUI: No class definition found « View previous topic :: View next topic » 
Author Message
amoljoshi28
PostPosted: Wed Jun 10, 2009 1:52 pm    Post subject: Error while executingJMSAdminGUI: No class definition found Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

I am using WebSphere MQ 7.0 with the latest fix pack 7.0.0.2 on Windows XP SP2. I also have RAD 7.0 and have downloaded the latest packs ms0b.zip, ms0n.zip and me01.zip.

As mentioned in this article: ( please see the next message for link) i have created a queue manager.

And have followed the steps to "create the administered objects". In that i did n`t understand what to give as VM Arguments because the file system for RAD 7.0 is bit different than that is for 6.0 ( which is used in that article. ).

I gave the path which points to the 3 jar files and the <WebSphereMQ7.0_ParentFolder>\Java\lib. And tried running the JMSAdminGUI.class file in rad.

I`m getting an error saying: "The java class is not found: Files\IBM\Websphere".

After that i tried running the jmsadmingui.bat while by changing the cur and mqj variables. While executing i got this exception:
"
C:\Program Files\IBM\MQTools>JMSADMINGUI
JMS Administrator (GUI) - Version 1.4 RC4 for WebSphere MQ.
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/jms/servic
es/Trace
at com.ibm.mq.jms.admin.JMSAdminGUI.processArgs(JMSAdminGUI.java:4319)
at com.ibm.mq.jms.admin.JMSAdminGUI.main(JMSAdminGUI.java:4185)
Caused by: java.lang.ClassNotFoundException: com.ibm.mq.jms.services.Trace
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 2 more
"

I have tried searching for this error here in developerworks. But did n`t get any help.

Hope i`ll get some help to run that jmsadmingui.class/ jmsadmingui.bat file.

Hope to see a reply soon.

Thanks a lot.

P.S: I only tried installing the Fix Pack ( dated 11 May 2009. ) after i fed up with the same error screen. I have actually downloaded the IBM MQ 7.0 two weeks ago.


Last edited by amoljoshi28 on Wed Jun 10, 2009 2:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Wed Jun 10, 2009 1:54 pm    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

I`m a total newbie in this websphere mq world..(

Only started using it by reading the some of the articles on ibm.

Please reply so that i can start using the websphere mq 7.0..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 10, 2009 7:50 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you are using MQ V7 you should be using the MQExplorer as a GUI to admin JMS.
Have fun.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
amoljoshi28
PostPosted: Wed Jun 10, 2009 10:39 pm    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

fjb_saper wrote:
If you are using MQ V7 you should be using the MQExplorer as a GUI to admin JMS.
Have fun.


Link of the article that i was mentioning was :

http://www.ibm.com/developerworks/edu/i-dw-i-mqrad1.html


Can anybody tell me a link where i can find about how to go about thing with Websphere MQ 7.0 and JMS?
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Wed Jun 10, 2009 11:14 pm    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

What does this mean?

"Caused by: java.lang.ClassNotFoundException: com.ibm.mq.jms.services.Trace"
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Wed Jun 10, 2009 11:43 pm    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

amoljoshi28 wrote:
What does this mean?

"Caused by: java.lang.ClassNotFoundException: com.ibm.mq.jms.services.Trace"


Now it`s giving me an error called:
Error occurred during initialization of VM
Unable to load native library: Can't find dependent libraries

(
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Jun 11, 2009 12:03 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

amoljoshi28 wrote:
What does this mean?

"Caused by: java.lang.ClassNotFoundException: com.ibm.mq.jms.services.Trace"


It means the class: com.ibm.mq.jms.services.Trace was not found. This is normally caused by not having the correct jar on your classpath.

But as fjb_saper says, why dont you try MQExplorer?
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Thu Jun 11, 2009 1:10 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

WMBDEV1 wrote:
amoljoshi28 wrote:
What does this mean?

"Caused by: java.lang.ClassNotFoundException: com.ibm.mq.jms.services.Trace"


It means the class: com.ibm.mq.jms.services.Trace was not found. This is normally caused by not having the correct jar on your classpath.

But as fjb_saper says, why dont you try MQExplorer?



Because i have no idea about how to use it..

As i told earlier i`m total newbie. Just following whatever written in this article: http://www.ibm.com/developerworks/edu/i-dw-i-mqrad1.html


How irritating this error would!

I`m running the class file called: C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin\JMSAdminGUI.class by setting the class path properly.

Look what error i get:


"
C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin>set classpath=C:\P
rogram Files\Java\jre1.6.0_04\bin;C:\Program Files\IBM\MQTools;C:\Program Files\
IBM\WebSphere MQ\java\lib

C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin>dir
Volume in drive C has no label.
Volume Serial Number is 1440-D5BF

Directory of C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin

06/11/2009 02:33 PM <DIR> .
06/11/2009 02:33 PM <DIR> ..
07/13/2000 12:17 AM 123 adminObj.gif
11/25/2004 11:19 AM 8,099 AdminServicePlus.class
11/25/2004 11:19 AM 1,544 AuthenticationDialog$1.class
11/25/2004 11:19 AM 1,133 AuthenticationDialog$2.class
11/25/2004 11:19 AM 1,224 AuthenticationDialog$3.class
11/25/2004 11:19 AM 3,922 AuthenticationDialog.class
11/25/2004 11:19 AM 662 AuthWrapper.class
07/13/2000 12:07 AM 112 closedFolder.gif
11/25/2004 11:19 AM 5,172 ConfigFile.class
11/25/2004 11:19 AM 991 ContextTreeRenderer.class
11/25/2004 11:19 AM 1,020 ContextWrapper.class
11/25/2004 11:19 AM 1,435 DisplayOptionsDialog$1.class
11/25/2004 11:19 AM 1,635 DisplayOptionsDialog$2.class
11/25/2004 11:19 AM 3,092 DisplayOptionsDialog$3.class
11/25/2004 11:19 AM 1,037 DisplayOptionsDialog$4.class
11/25/2004 11:19 AM 1,187 DisplayOptionsDialog$5.class
11/25/2004 11:19 AM 8,482 DisplayOptionsDialog.class
11/25/2004 11:19 AM 1,592 EnumProperty.class
11/25/2004 11:19 AM 918 ExceptionDialog$1.class
11/25/2004 11:19 AM 3,949 ExceptionDialog.class
07/13/2000 01:16 AM 111 fileObj.gif
11/25/2004 11:19 AM 580 GUIClipboard.class
11/25/2004 11:19 AM 695 GUITreeModel.class
06/11/2009 02:33 PM <DIR> help
07/13/2000 12:25 AM 89 icon.gif
11/25/2004 11:19 AM 1,175 JMSAdminFileFilter.class
11/25/2004 11:43 AM 901 JMSAdminGUI$1.class
11/25/2004 11:43 AM 1,041 JMSAdminGUI$2.class
11/25/2004 11:43 AM 69,365 JMSAdminGUI.class
11/25/2004 11:19 AM 2,743 JMSAdminGUIDialog.class
11/25/2004 11:19 AM 394 JMSAdminGUIException.class
11/25/2004 11:19 AM 1,718 JMSAdminGUIHelpDialog$1.class
11/25/2004 11:19 AM 996 JMSAdminGUIHelpDialog$2.class
11/25/2004 11:19 AM 1,594 JMSAdminGUIHelpDialog$3.class
11/25/2004 11:19 AM 7,264 JMSAdminGUIHelpDialog.class
11/25/2004 11:19 AM 655 JNDIConfigDialog$1.class
11/25/2004 11:19 AM 1,595 JNDIConfigDialog$2.class
11/25/2004 11:19 AM 2,707 JNDIConfigDialog$3.class
11/25/2004 11:19 AM 1,005 JNDIConfigDialog$4.class
11/25/2004 11:19 AM 1,158 JNDIConfigDialog$5.class
11/25/2004 11:19 AM 9,210 JNDIConfigDialog.class
11/25/2004 11:19 AM 1,405 LeftAlignHeaderRenderer.class
11/25/2004 11:19 AM 2,806 ObjectRowRenderer.class
11/25/2004 11:19 AM 5,518 ObjectTableModel.class
07/13/2000 12:08 AM 120 openFolder.gif
07/13/2000 12:24 AM 112 otherObj.gif
11/25/2004 11:19 AM 660 ProgressIndicator$1.class
11/25/2004 11:19 AM 2,874 ProgressIndicator.class
11/25/2004 11:19 AM 1,662 Property.class
11/25/2004 11:19 AM 1,625 PropertyEditorDialog$1.class
11/25/2004 11:19 AM 1,183 PropertyEditorDialog$2.class
11/25/2004 11:19 AM 996 PropertyEditorDialog$3.class
11/25/2004 11:19 AM 1,820 PropertyEditorDialog$4.class
11/25/2004 11:19 AM 3,039 PropertyEditorDialog$5.class
11/25/2004 11:19 AM 12,445 PropertyEditorDialog.class
11/25/2004 11:19 AM 1,369 PropertyTemplate.class
11/25/2004 11:19 AM 19,049 PropertyTemplateBundle.class
07/13/2000 12:36 AM 120 q.gif
07/13/2000 12:36 AM 123 qcf.gif
11/25/2004 11:19 AM 3,346 QM2RepSyncDialog$1.class
11/25/2004 11:19 AM 1,006 QM2RepSyncDialog$2.class
11/25/2004 11:19 AM 1,159 QM2RepSyncDialog$3.class
11/25/2004 11:19 AM 12,674 QM2RepSyncDialog.class
11/25/2004 11:19 AM 766 QMObjectWrapper.class
11/25/2004 11:19 AM 2,001 Rep2QMSyncDialog$1.class
11/25/2004 11:19 AM 1,006 Rep2QMSyncDialog$2.class
11/25/2004 11:19 AM 1,157 Rep2QMSyncDialog$3.class
11/25/2004 11:19 AM 15,192 Rep2QMSyncDialog.class
11/25/2004 11:19 AM 2,606 Rep2RepSyncDialog$1.class
11/25/2004 11:19 AM 2,128 Rep2RepSyncDialog$2.class
11/25/2004 11:19 AM 1,011 Rep2RepSyncDialog$3.class
11/25/2004 11:19 AM 1,162 Rep2RepSyncDialog$4.class
11/25/2004 11:19 AM 11,786 Rep2RepSyncDialog.class
11/25/2004 11:19 AM 968 SimpleProperty.class
11/25/2004 11:19 AM 4,319 SpringUtilities.class
11/25/2004 11:19 AM 665 SyncProgressDialog$1.class
11/25/2004 11:19 AM 768 SyncProgressDialog$2.class
11/25/2004 11:19 AM 4,832 SyncProgressDialog.class
07/13/2000 12:36 AM 120 t.gif
07/13/2000 12:36 AM 123 tcf.gif
11/25/2004 11:19 AM 1,246 WelcomeDialog$1.class
11/25/2004 11:19 AM 1,773 WelcomeDialog$2.class
11/25/2004 11:19 AM 1,657 WelcomeDialog$3.class
11/25/2004 11:19 AM 959 WelcomeDialog$4.class
11/25/2004 11:19 AM 1,140 WelcomeDialog$5.class
11/25/2004 11:19 AM 6,032 WelcomeDialog.class
09/10/2000 11:25 PM 152 xaqcf.gif
09/10/2000 11:25 PM 152 xatcf.gif
87 File(s) 291,157 bytes
3 Dir(s) 41,162,043,392 bytes free

C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin>java JMSAdminGUI
Exception in thread "main" java.lang.NoClassDefFoundError: JMSAdminGUI
Caused by: java.lang.ClassNotFoundException: JMSAdminGUI
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: JMSAdminGUI. Program will exit.

C:\Program Files\IBM\MQTools\jmsadmingui\com\ibm\mq\jms\admin>


"

As you can see there`s the jmsadmingui.class file present in that directory.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 11, 2009 1:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amoljoshi28 wrote:
Just following whatever written in this article: http://www.ibm.com/developerworks/edu/i-dw-i-mqrad1.html


That was written for v6 - you're using v7. Times have changed. Use MQExplorer's facilities, and the documentation in the v7 InfoCentre.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Thu Jun 11, 2009 1:56 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

Vitor wrote:
amoljoshi28 wrote:
Just following whatever written in this article: http://www.ibm.com/developerworks/edu/i-dw-i-mqrad1.html


That was written for v6 - you're using v7. Times have changed. Use MQExplorer's facilities, and the documentation in the v7 InfoCentre.



Okay.

Lemme try that one too..
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Thu Jun 11, 2009 6:21 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

amoljoshi28 wrote:
Vitor wrote:
amoljoshi28 wrote:
Just following whatever written in this article: http://www.ibm.com/developerworks/edu/i-dw-i-mqrad1.html


That was written for v6 - you're using v7. Times have changed. Use MQExplorer's facilities, and the documentation in the v7 InfoCentre.



Okay.

Lemme try that one too..



can somebody tell me what to set as the -Dsun.boot.library.path= ?

I`m continuously getting an error while running the program..

Right now i`m setting it to be equal to:

-Dsun.boot.library.path=C:\Program Files\IBM\SDP70\jdk\jre\bin;C:\Program Files\IBM\WebSphere MQ\java\lib

Error says: The java class is not found: Files\IBM\SDP70\jdk\jre\bin;C:\Program
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jun 11, 2009 6:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amoljoshi28 wrote:
I`m continuously getting an error while running the program..


What program? The GUI? MQExplorer?

If it's Explorer, is it the downloaded support pac or the one from the server install?

How was the install performed (in either case)?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 11, 2009 6:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Your -D paths need either quotes or shortforms.
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Thu Jun 11, 2009 7:14 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

mqjeff wrote:
Your -D paths need either quotes or shortforms.



Well got that problem sorted out..Successfully created Administered object and successfully solved VM Arguments part too..

Now one more error!
Exception: javax.naming.ServiceUnavailableException: Unable to connect to the target queue manager Ender [Root exception is com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2495'.]

This happens when my program tries to connect with the Queue Manager..
Back to top
View user's profile Send private message
amoljoshi28
PostPosted: Thu Jun 11, 2009 7:17 am    Post subject: Reply with quote

Novice

Joined: 10 Jun 2009
Posts: 24

mqjeff wrote:
Your -D paths need either quotes or shortforms.


Well, i solved this by deleting the spaces between Program Files and WebSphere MQ in the path written..

So You Should Not Use and Spaces other than one used between the Arguments ( for seperation )..
Lesson Well Learned!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Error while executingJMSAdminGUI: No class definition found
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.