<!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]
  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142)
  at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
  at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
  at org.jboss.system.ServiceController.install(ServiceController.java:274)
  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
  ... 34 more
below is my serverPeer mbean conf
  
<span class="jive-xml-tag"><mbean code="org.jboss.jms.server.ServerPeer"
      name="jboss.messaging:service=ServerPeer"
      xmbean-dd="xmdesc/ServerPeer-xmbean.xml"></span>
      <span class="jive-xml-comment"><!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer -->
      <span class="jive-xml-tag"><attribute name="ServerPeerID"></span>${jboss.messaging.ServerPeerID:0}<span class="jive-xml-tag"></attribute></span>
     
      <!-- The default JNDI context to use for queues when they are deployed without specifying one -->
     
      <span class="jive-xml-tag"><attribute name="DefaultQueueJNDIContext"></span>/queue<span class="jive-xml-tag"></attribute></span>
     
      <!-- The default JNDI context to use for topics when they are deployed without specifying one -->
     
      <span class="jive-xml-tag"><attribute name="DefaultTopicJNDIContext"></span>/topic<span class="jive-xml-tag"></attribute></span>
            <span class="jive-xml-tag"><attribute name="PostOffice"></span>jboss.messaging:service=PostOffice<span class="jive-xml-tag"></attribute></span>
           
      <!-- The default Dead Letter Queue (DLQ) to use for destinations.
           This can be overridden on a per destinatin basis -->
     
      <span class="jive-xml-tag"><attribute name="DefaultDLQ"></span>jboss.messaging.destination:service=Queue,name=DLQ<span class="jive-xml-tag"></attribute></span>
     
      <!-- The default maximum number of times to attempt delivery of a message before sending to the DLQ (if configured).
           This can be overridden on a per destinatin basis -->
     
      <span class="jive-xml-tag"><attribute name="DefaultMaxDeliveryAttempts"></span>10<span class="jive-xml-tag"></attribute></span>
     
      <!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis -->
     
      <span class="jive-xml-tag"><attribute name="DefaultExpiryQueue"></span>jboss.messaging.destination:service=Queue,name=ExpiryQueue<span class="jive-xml-tag"></attribute></span>
     
      <!-- The default redelivery delay to impose. This can be overridden on a per destination basis -->
     
      <span class="jive-xml-tag"><attribute name="DefaultRedeliveryDelay"></span>10000<span class="jive-xml-tag"></attribute></span>
     
      <!-- The periodicity of the message counter manager enquiring on queues for statistics -->
     
      <span class="jive-xml-tag"><attribute name="MessageCounterSamplePeriod"></span>5000<span class="jive-xml-tag"></attribute></span>
     
      <!-- The maximum amount of time for a client to wait for failover to start on the server side after
           it has detected failure -->
     
      <span class="jive-xml-tag"><attribute name="FailoverStartTimeout"></span>60000<span class="jive-xml-tag"></attribute></span>
     
      <!-- The maximum amount of time for a client to wait for failover to complete on the server side after
           it has detected failure -->
     
      <span class="jive-xml-tag"><attribute name="FailoverCompleteTimeout"></span>300000<span class="jive-xml-tag"></attribute></span>
      <span class="jive-xml-tag"><attribute name="StrictTck"></span>false<span class="jive-xml-tag"></attribute></span>
     
      <!-- The maximum number of days results to maintain in the message counter history -->
     
      <span class="jive-xml-tag"><attribute name="DefaultMessageCounterHistoryDayLimit"></span>-1<span class="jive-xml-tag"></attribute></span>
     
      <!-- The name of the connection factory to use for creating connections between nodes to pull messages -->
     
      <span class="jive-xml-tag"><attribute name="ClusterPullConnectionFactoryName"></span>jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory<span class="jive-xml-tag"></attribute></span>
     
      <!-- When redistributing messages in the cluster. Do we need to preserve the order of messages received
            by a particular consumer from a particular producer? -->
           
      <span class="jive-xml-tag"><attribute name="DefaultPreserveOrdering"></span>false<span class="jive-xml-tag"></attribute></span>
     
      <!-- Max. time to hold previously delivered messages back waiting for clients to reconnect after failover -->
     
      <span class="jive-xml-tag"><attribute name="RecoverDeliveriesTimeout"></span>300000<span class="jive-xml-tag"></attribute></span>
     
      <!-- Set to true to enable message counters that can be viewed via JMX -->
     
      <span class="jive-xml-tag"><attribute name="EnableMessageCounters"></span>false<span class="jive-xml-tag"></attribute></span>
     
      <span class="jive-xml-tag"><attribute name="SuckerPassword"></span>${queues.database.password}<span class="jive-xml-tag"></attribute></span>
     
      <!-- The name of the server aspects configuration resource
      <span class="jive-xml-tag"><attribute name="ServerAopConfig"></span>aop/jboss-aop-messaging-server.xml<span class="jive-xml-tag"></attribute></span>
      -->
      <!-- The name of the client aspects configuration resource
        <span class="jive-xml-tag"><attribute name="ClientAopConfig"></span>aop/jboss-aop-messaging-client.xml<span class="jive-xml-tag"></attribute></span>
      -->
      <span class="jive-xml-tag"><depends optional-attribute-name="PersistenceManager"></span>jboss.messaging:service=PersistenceManager<span class="jive-xml-tag"></depends></span>
     
      <span class="jive-xml-tag"><depends optional-attribute-name="JMSUserManager"></span>jboss.messaging:service=JMSUserManager<span class="jive-xml-tag"></depends></span>
     
      <span class="jive-xml-tag"><depends></span>jboss.messaging:service=Connector,transport=bisocket<span class="jive-xml-tag"></depends></span>
      <span class="jive-xml-tag"><depends optional-attribute-name="SecurityStore"
          proxy-type="org.jboss.jms.server.SecurityStore"></span>jboss.messaging:service=SecurityStore<span class="jive-xml-tag"></depends></span>
   <span class="jive-xml-tag"></mbean></span>
following is security store conf
 
<span class="jive-xml-tag"><bean name="SecurityStore" class="org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore"></span>
      <!-- default security configuration -->
      <span class="jive-xml-tag"><property name="defaultSecurityConfig"></span>
         <![CDATA[
            <span class="jive-xml-tag"><security></span>
               <span class="jive-xml-tag"><role name="guest" read="true" write="true" create="true"/></span>
            <span class="jive-xml-tag"></security></span>
         ]]>
      <span class="jive-xml-tag"></property></span>
      <span class="jive-xml-tag"><property name="suckerPassword"></span>CHANGE ME!!<span class="jive-xml-tag"></property></span>
      <span class="jive-xml-tag"><property name="securityDomain"></span>messaging<span class="jive-xml-tag"></property></span>
      <span class="jive-xml-tag"><property name="securityManagement"></span><span class="jive-xml-tag"><inject bean="JNDIBasedSecurityManagement"/></span><span class="jive-xml-tag"></property></span>
      <!-- @JMX annotation to export the management view of this bean -->
      <span class="jive-xml-tag"><annotation></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"></annotation></span>
      <!-- Password Annotation to inject the password from the common password utility
       <span class="jive-xml-tag"><annotation></span>@org.jboss.security.integration.password.Password(securityDomain="messaging",methodName="setSuckerPassword")<span class="jive-xml-tag"></annotation></span>
       --></span>
   <span class="jive-xml-tag"></bean></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>