3 Replies Latest reply on Jul 16, 2007 6:01 PM by Kurt Stam

    HelloWorld client trouble

    Greg Zoller Newbie

      Hello,

      I've got my server up and running (AS 4.2.0.GA, Messaging 1.3, ESB 4.2). After some fiddling (docs not clear on setting jms.destinations.file in build script--kept defaulting to JBoss MQ not Messaging) I got the Quickstart_helloworld.esb deployed and presumably running w/o complaint.

      Now I'm struggling with the client. From this post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=105433 I learned I needed to upgrade my JBoss Messaging client file. I replaced the one in ESB/lib/ext directory with the client jar from the Messaging 1.3 distribution I'm using.

      I get this exception when doing an 'ant runtest' in the command line:

      runtest:
       [echo] Runs Test JMS Sender
       [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/aop/Advised
       [java] at java.lang.ClassLoader.defineClass1(Native Method)
       [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
       [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
       [java] at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
       [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
       [java] at java.security.AccessController.doPrivileged(Native Method)
       [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
       [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       [java] at java.lang.Class.forName0(Native Method)
       [java] at java.lang.Class.forName(Class.java:247)
       [java] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:154)
       [java] at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
       [java] at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
       [java] at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
       [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
       [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
       [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
       [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
       [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
       [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
       [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
       [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
       [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
       [java] at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
       [java] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
       [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
       [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
       [java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
       [java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.setupConnecti
      on(Unknown Source)
       [java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMessage.main(Unknown
      Source)
      


      Any ideas? Do I need some other JARs?
      Thanks,
      Greg