In this post I will provide a detailed description of the different settings applied to solve the persistency problems.
1. According to EJB 2.1 Standard I set the receiver MDB to Durable and give clientId and subscriptionName properties in the ejb-jar.xml. (Actually I set guestimate values to latter two attributes.) <activation-config> | <activation-config-property> | <activation-config-property-name>subscriptionDurability</activation-config-property-name> | <activation-config-property-value>Durable</activation-config-property-value> | </activation-config-property> | <activation-config-property> | <activation-config-property-name>clientId</activation-config-property-name> | <activation-config-property-value>10001</activation-config-property-value> | </activation-config-property> | <activation-config-property> | <activation-config-property-name>subscriptionName</activation-config-property-name> | <activation-config-property-value>dur1</activation-config-property-value> | </activation-config-property> | </activation-config> 2. I changed the security settings in the xml containing Topic descriptions. <mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=MessagingTopic"> | <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> | <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends> | - | <attribute name="SecurityConf"> | - | <security> | <role name="guest" read="true" write="true" create="true"/> | <role name="publisher" read="true" write="true" create="false"/> | <role name="durpublisher" read="true" write="true" create="true"/> | </security> | </attribute> | <attribute name="JNDIName">jms/MessagingTopic</attribute> | </mbean> 3. As provided in my previous posts, I set everything in connection with message sending to PERSISTENT. 4. I do not have any additional components (like IBM-MSMQ Series, etc.) installed on my system. Can it be a possibble problem source? Any further help would be greatly appreciated: Frank-15 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862759#3862759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862759 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
