Could you try this property in the activation spec
"endpointExceptionRedeliveryAttempts"
instead of "RedeliveryAttempts"
-Ramesh
glassfish_at_javadesktop.org wrote On 08/16/07 00:10,:
> Sun Java System Application Server 9.1 (build b33) - Glassfish
> Java 1.6.0-b105
>
> I'm not sure of the etiquette for cross-forum posts, so I am including a link back to my original post. I haven't received any answers to that one and this forum seems appropriate.
> http://forum.java.sun.com/thread.jspa?threadID=5206238&tstart=0
>
> I found the list of supported activation-config-properties for the Glassfish app server at:
> https://glassfish.dev.java.net/javaee5/docs/AG/abljw.html
> The bottom of the page includes the list of possible properties. I have a MDB that I set the 'RedeliveryAttempts' property to 0, however it is not being initialized correctly during app server startup and I am seeing the messages being resent when an exception is thrown in my onMessage() function. I have included the error messages that I am getting from the log files during startup. Any clue as to why this is happening?
>
> The documentation says that this property is supported, so I must be missing something. I have included my sun-ejb-jar.xml as well.
>
> [code]
> <ejb>
> <ejb-name>MyQueue</ejb-name>
> <mdb-resource-adapter>
> <activation-config>
> <activation-config-property>
> <activation-config-property-name>RedeliveryAttempts</activation-config-property-name>
> <activation-config-property-value>0</activation-config-property-value>
> </activation-config-property>
> </activation-config>
> </mdb-resource-adapter>
> </ejb>
> [/code]
>
>
> [#|2007-08-15T14:01:46.013-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;setRedeliveryAttempts;com.sun.messaging.Queue;_RequestID=8c954bf7-1680-4633-8d7c-c59f76d3c44b;|RAR8000 : The method setRedeliveryAttempts is not present in the class : com.sun.messaging.Queue|#]
>
> [#|2007-08-15T14:01:46.014-0700|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;RedeliveryAttempts;com.sun.messaging.Queue;_RequestID=8c954bf7-1680-4633-8d7c-c59f76d3c44b;|RAR7097: No setter method present for the property RedeliveryAttempts in the class com.sun.messaging.Queue|#]
>
>
> I came across this bug that explains the same issue I am seeing, but it and a referenced "root cause" bug have both been fixed and closed since late 2006. What am I missing?
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6489088
> [Message sent by forum member 'kjsempire' (kjsempire)]
>
> http://forums.java.net/jive/thread.jspa?messageID=231054
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>