1 Reply Latest reply on Jan 4, 2002 2:14 PM by George III

    JMS Examples failing

    George III Newbie

      I am trying to get the JMS examples to work please educate me:

      1) Here is the error portion from ant jms-hello-queue
      [echo] Using resources from: /usr/users/jboss/examples/resources
      [java] Sending message: Hello World no. 1
      [java] An exception occured while testing HelloSender25: org.jboss.mq.SpyJM
      SException: Cannot send a message to the JMS server
      [java] org.jboss.mq.SpyJMSException: Cannot send a message to the JMS serve
      [java] at org.jboss.mq.SpySession.sendMessage (SpySession.java:398) (pc 50)
      [java] at org.jboss.mq.SpyQueueSender.send(javax.jms.Queue,javax.jms.Message,int,int,long) (SpyQueueSender.java:103) (pc 109)
      [java] at org.jboss.mq.SpyQueueSender.send(javax.jms.Queue,javax.jms.Message) (SpyQueueSender.java:69) (pc 15)
      [java] at org.jboss.docs.jms.client.HelloSender.send (HelloSender.java:98) (pc 26)
      [java] at org.jboss.docs.jms.client.HelloSender25.main (HelloSender25.java:49) (pc 64)
      [java] linked exception is:
      [java] java.lang.NullPointerException

      This same exception happens for the bmt example as well

      2) Here is the server.log message
      [J2EE Deployer Default] J2EE application: file:/usr/users/jboss/examples/build-e
      xamples/jms/HelloQueueMDB.jar is deployed.
      [OILServerILService] The OILClientIL Connection is set up
      [OILServerILService] Client request resulted in a server exception:
      [JMSServer] JMSServer->connectionClosing(dc=SpyDistributedConnection:ID38)

      And here is part of my jboss.jcml what Am I messing up
      OOPS I am using JBoss-2.4.3_Jetty-3.1.3-1

      <!-- The following three line create 3 topics named: testTopic, example, and bob -->

      <!-- The following 9 line create 9 topics named: testQueue, controlQueue, A, B, -->
      <!-- C, D, E, F, and ex -->