<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Problem upgrading to JBoss Messaging from 1.4.3 to 1.4.5
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/niteshmehta">Nitesh Mehta</a> in <i>JBoss Messaging</i> - <a href="https://community.jboss.org/message/777410#777410">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><pre class="jive-pre"><code class="jive-code jive-xml">
I am trying to upgrade JBoss Messaging from 1.4.3 to 1.4.5
After changing jars and configuration files I see following exception


 java.lang.RuntimeException: No Attribute found with name: SecurityStore for jboss.messaging:service=ServerPeer, attributes: [JMSMinorVersion, Instance, DefaultRedeliveryDelay, MessageCounterSamplePeriod, ServerPeerID, SuckerConnectionRetryInterval, ClusterPullConnectionFactoryName, RecoverDeliveriesTimeout, JMSVersion, MessageCounters, JMSUserManager, FailoverCompleteTimeout, DefaultMessageCounterHistoryDayLimit, StrictTck, DefaultTopicJNDIContext, DefaultDLQ, DefaultMaxDeliveryAttempts, PostOffice, JMSMajorVersion, SecurityDomain, FailoverStartTimeout, SupportsFailover, DefaultPreserveOrdering, ProviderMajorVersion, DefaultExpiryQueue, SuckerPassword, MessageStatistics, ProviderVersion, DefaultQueueJNDIContext, Destinations, SuckerConnectionRetryTimes, JMSProviderName, EnableMessageCounters, ProviderMinorVersion, PersistenceManager, DefaultSecurityConfig]
&#160; at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)
&#160; at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
&#160; at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
&#160; at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
&#160; at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
&#160; at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
&#160; at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
&#160; at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
&#160; at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
&#160; at org.jboss.system.ServiceController.install(ServiceController.java:274)
&#160; at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
&#160; ... 34 more






below is my serverPeer mbean conf
&#160;&#160; 
<span class="jive-xml-tag">&lt;mbean code="org.jboss.jms.server.ServerPeer"
&#160;&#160;&#160;&#160;&#160; name="jboss.messaging:service=ServerPeer"
&#160;&#160;&#160;&#160;&#160; xmbean-dd="xmdesc/ServerPeer-xmbean.xml"&gt;</span>




&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-comment">&lt;!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer --&gt;




&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ServerPeerID"&gt;</span>${jboss.messaging.ServerPeerID:0}<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default JNDI context to use for queues when they are deployed without specifying one --&gt; 
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultQueueJNDIContext"&gt;</span>/queue<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default JNDI context to use for topics when they are deployed without specifying one --&gt; 
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultTopicJNDIContext"&gt;</span>/topic<span class="jive-xml-tag">&lt;/attribute&gt;</span>




&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="PostOffice"&gt;</span>jboss.messaging:service=PostOffice<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default Dead Letter Queue (DLQ) to use for destinations.
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; This can be overridden on a per destinatin basis --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultDLQ"&gt;</span>jboss.messaging.destination:service=Queue,name=DLQ<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default maximum number of times to attempt delivery of a message before sending to the DLQ (if configured).
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; This can be overridden on a per destinatin basis --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultMaxDeliveryAttempts"&gt;</span>10<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultExpiryQueue"&gt;</span>jboss.messaging.destination:service=Queue,name=ExpiryQueue<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The default redelivery delay to impose. This can be overridden on a per destination basis --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultRedeliveryDelay"&gt;</span>10000<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The periodicity of the message counter manager enquiring on queues for statistics --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="MessageCounterSamplePeriod"&gt;</span>5000<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The maximum amount of time for a client to wait for failover to start on the server side after
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; it has detected failure --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="FailoverStartTimeout"&gt;</span>60000<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The maximum amount of time for a client to wait for failover to complete on the server side after
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; it has detected failure --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="FailoverCompleteTimeout"&gt;</span>300000<span class="jive-xml-tag">&lt;/attribute&gt;</span>




&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="StrictTck"&gt;</span>false<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The maximum number of days results to maintain in the message counter history --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultMessageCounterHistoryDayLimit"&gt;</span>-1<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The name of the connection factory to use for creating connections between nodes to pull messages --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ClusterPullConnectionFactoryName"&gt;</span>jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- When redistributing messages in the cluster. Do we need to preserve the order of messages received
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; by a particular consumer from a particular producer? --&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="DefaultPreserveOrdering"&gt;</span>false<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- Max. time to hold previously delivered messages back waiting for clients to reconnect after failover --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="RecoverDeliveriesTimeout"&gt;</span>300000<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- Set to true to enable message counters that can be viewed via JMX --&gt;
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="EnableMessageCounters"&gt;</span>false<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="SuckerPassword"&gt;</span>${queues.database.password}<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; &lt;!-- The name of the server aspects configuration resource
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ServerAopConfig"&gt;</span>aop/jboss-aop-messaging-server.xml<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; --&gt;
&#160;&#160;&#160;&#160;&#160; &lt;!-- The name of the client aspects configuration resource
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;attribute name="ClientAopConfig"&gt;</span>aop/jboss-aop-messaging-client.xml<span class="jive-xml-tag">&lt;/attribute&gt;</span>
&#160;&#160;&#160;&#160;&#160; --&gt;




&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;depends optional-attribute-name="PersistenceManager"&gt;</span>jboss.messaging:service=PersistenceManager<span class="jive-xml-tag">&lt;/depends&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;depends optional-attribute-name="JMSUserManager"&gt;</span>jboss.messaging:service=JMSUserManager<span class="jive-xml-tag">&lt;/depends&gt;</span>
&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;depends&gt;</span>jboss.messaging:service=Connector,transport=bisocket<span class="jive-xml-tag">&lt;/depends&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;depends optional-attribute-name="SecurityStore"
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; proxy-type="org.jboss.jms.server.SecurityStore"&gt;</span>jboss.messaging:service=SecurityStore<span class="jive-xml-tag">&lt;/depends&gt;</span>
&#160;&#160; <span class="jive-xml-tag">&lt;/mbean&gt;</span>


following is security store conf



&#160; 

<span class="jive-xml-tag">&lt;bean name="SecurityStore" class="org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore"&gt;</span>
&#160;&#160;&#160;&#160;&#160; &lt;!-- default security configuration --&gt;
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;property name="defaultSecurityConfig"&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;![CDATA[
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;security&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;role name="guest" read="true" write="true" create="true"/&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/security&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]]&gt;
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/property&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;property name="suckerPassword"&gt;</span>CHANGE ME!!<span class="jive-xml-tag">&lt;/property&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;property name="securityDomain"&gt;</span>messaging<span class="jive-xml-tag">&lt;/property&gt;</span>
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;property name="securityManagement"&gt;</span><span class="jive-xml-tag">&lt;inject bean="JNDIBasedSecurityManagement"/&gt;</span><span class="jive-xml-tag">&lt;/property&gt;</span>
&#160;&#160;&#160;&#160;&#160; &lt;!-- @JMX annotation to export the management view of this bean --&gt;
&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;annotation&gt;</span>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.messaging:service=SecurityStore",exposedInterface=org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStoreMBean.class)<span class="jive-xml-tag">&lt;/annotation&gt;</span>
&#160;&#160;&#160;&#160;&#160; &lt;!-- Password Annotation to inject the password from the common password utility
&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;annotation&gt;</span>@org.jboss.security.integration.password.Password(securityDomain="messaging",methodName="setSuckerPassword")<span class="jive-xml-tag">&lt;/annotation&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</span>
&#160;&#160; <span class="jive-xml-tag">&lt;/bean&gt;</span>


</code></pre></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/777410#777410">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>