[jboss-user] [JBoss Messaging] - Re: _JMS Mesage delivery not working
do-not-reply at jboss.com
Wed Nov 15 04:07:47 EST 2006
Thanks for the help so far.
The code in Class SessionAspect line 161 is interesting. You are using an array for the acknowledgements and hardcode to use array index "0"? In my case it happens that the array of acknowledgements is empty, hence the Array out of bounds exception.
If someone who wrote that code could give a hint why that is this way?
I mean you must have been pretty sure that there will be at least one element contained in this array, so I think the reason that the array is empty should be easily to figure out for you guys, shouldn't it?
The strange thing is, the messages get delivered anyways, it just throws this exception when I am sending messages from within a stateless session bean. I can not give something into production that works but throws Exception no one can explain.
I am sorry, but I can't post more code here as this is a large financial trading application with it's own messaging layer that I am trying to port to JBoss (currently running smoothless under Weblogic since three years...).
That would be to much code to post here...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986057#3986057
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986057
More information about the jboss-user