We have exactly the same problem with JBoss 3.2.7, Java5 using Messaging without
JMSTemplates of Spring.
2006-08-13 21:08:24,716 TRACE [org.jboss.mq.il.uil2.SocketManager] sendMessage will throw
error
| java.lang.reflect.UndeclaredThrowableException
| at org.jboss.mq.il.uil2.msgs.BaseMsg.setError(BaseMsg.java:301)
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:371)
| at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
| at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.NoSuchMethodError:
org.jboss.util.Primitives.valueOf(Z)Ljava/lang/Boolean;
| at org.jboss.mq.selectors.Operator.equal(Operator.java:201)
| at org.jboss.mq.selectors.Operator.apply(Operator.java:902)
| at org.jboss.mq.selectors.Selector.test(Selector.java:128)
| at org.jboss.mq.Subscription.accepts(Subscription.java:93)
| at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:156)
| at org.jboss.mq.Connection.asynchDeliver(Connection.java:409)
| at org.jboss.mq.il.uil2.UILClientILService.handleMsg(UILClientILService.java:94)
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361)
| ... 3 more
| 2006-08-13 21:08:24,716 TRACE [org.jboss.mq.server.ClientConsumer] Could not send
messages to a receiver. It is closed.
| java.lang.reflect.UndeclaredThrowableException
| at org.jboss.mq.il.uil2.msgs.BaseMsg.setError(BaseMsg.java:301)
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:371)
| at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
| at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.NoSuchMethodError:
org.jboss.util.Primitives.valueOf(Z)Ljava/lang/Boolean;
| at org.jboss.mq.selectors.Operator.equal(Operator.java:201)
| at org.jboss.mq.selectors.Operator.apply(Operator.java:902)
| at org.jboss.mq.selectors.Selector.test(Selector.java:128)
| at org.jboss.mq.Subscription.accepts(Subscription.java:93)
| at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:156)
| at org.jboss.mq.Connection.asynchDeliver(Connection.java:409)
| at org.jboss.mq.il.uil2.UILClientILService.handleMsg(UILClientILService.java:94)
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:361)
| ... 3 more
|
If messages which should be read are already on the queue everything works fine. But if
the Receiver is started before the messages are on the queue we get the above error.
The jboss-common.jar in the server and the jbossall-client.jar the client is using match.
Can anyone assist?
Thanks, Harald
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964923#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...