Hi, I am triyng to deploy the most simple MDB. This just only displays a text through standard output.
onMessage(Message message){
System.out.println("Got a message!");
}
The MDB deploys well, but when I send a message to the
linked queue I get the following message:
14:44:44,627 ERROR [STDERR] java.lang.NoSuchMethodError
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:293)
at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:603)
at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:417)
at org.jboss.mq.SpySession.run(SpySession.java:296)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:178)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
at java.lang.Thread.run(Thread.java:479)
I have tried this on Windows2000 and Solaris and with both BMP and CMP.
Some idea?
Thanks in advance.