3 Replies Latest reply on Mar 17, 2002 8:35 PM by tsmets

    Monitor.bat  javax/jms/MessageListener

    pai_deepak

      Has anyone tried to run this monitor?

      This fails with the following exception:


      Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/MessageList
      ener
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      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)
      at org.jboss.admin.monitor.MonitorFrame.setVisible(MonitorFrame.java:195
      )
      at org.jboss.admin.monitor.Main.main(Main.java:31)


      I tried to set classpath to the correct jboss-j2ee.jar file. But this did not help cause there is no class file javax.jms.MessageListener in the jar (i opened it with winzip and did not find it :S )

      Can anyone look into this please thanks :O

        • 1. Re: Monitor.bat  javax/jms/MessageListener
          pai_deepak

          That should have been a :) instead of this :O

          Thanks
          Deepak

          • 2. Re: Monitor.bat  javax/jms/MessageListener
            jlevy

            Does the change of mood mean you figured it out? I so, what was the problem?
            Regards,Jon

            • 3. Re: Monitor.bat  javax/jms/MessageListener
              tsmets

              Issuing the command :
              C:\cygwin\opt\jboss\admin>jar tvf C:\cygwin\opt\jboss\admin\client\lib\jboss-j2ee.jar
              return the following output (partually reduced).


              2602 Sat Dec 29 02:04:18 CET 2001 javax/jms/Message.class
              491 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageConsumer.class
              245 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageEOFException.class
              248 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageFormatException.class
              129 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageListener.class
              253 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageNotReadableException.class
              254 Sat Dec 29 02:04:18 CET 2001 javax/jms/MessageNotWriteableException.class


              So adding all the jars I could find under the directory : jboss\admin & especially jboss\admin\client I thought I would solve the problem but NO...

              Does some one has a solution for that ?

              Tx,

              thomas,