1 Reply Latest reply on Jul 26, 2002 4:35 PM by Andreas Schaefer

    SpyJMSException

    Dean Friday Newbie

      Hi

      I've been trying some simple messaging using JBoss 2.4.4. I can start the server up but when I try to send a message to the MQ, the server produces the following error:

      [INFO,OILServerILService] Client request resulted in a server exception:
      java.lang.NullPointerException
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.add(PersistenceManager.java:296)
      at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:36)
      at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:100)
      at org.jboss.mq.server.JMSServer.addMessage(JMSServer.java:280)
      at org.jboss.mq.server.JMSServer.addMessage(JMSServer.java:265)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:253)
      at java.lang.Thread.run(Thread.java:484)

      I also get the following stack trace from the application trying to send the message:

      org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server
      at org.jboss.mq.Connection.sendToServer(Connection.java:616)
      at org.jboss.mq.SpySession.sendMessage(SpySession.java:478)
      at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:103)
      at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:64)
      at com.pindartech.filetransfer.FileSender.send(FileSender.java:87)
      at com.pindartech.filetransfer.FileSender.sendMessages(FileSender.java:144)
      at com.pindartech.filetransfer.FileSender.main(FileSender.java:116)
      linked exception is:
      java.lang.NullPointerException
      <<no stack trace available>>

      Has anyone got any ideas what is going wrong?

      Thanks

      Tony