[jboss-user] [JBoss Messaging] - Problem upgrading to JBoss Messaging from 1.4.3 to 1.4.5

Nitesh Mehta do-not-reply at jboss.com
Tue Nov 20 07:18:54 EST 2012


Nitesh Mehta [https://community.jboss.org/people/niteshmehta] created the discussion

"Problem upgrading to JBoss Messaging from 1.4.3 to 1.4.5"

To view the discussion, visit: https://community.jboss.org/message/777410#777410

--------------------------------------------------------------
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
   
<mbean code="org.jboss.jms.server.ServerPeer"
      name="jboss.messaging:service=ServerPeer"
      xmbean-dd="xmdesc/ServerPeer-xmbean.xml">




      <!-- The unique id of the server peer - in a cluster each node MUST have a unique value - must be an integer -->




      <attribute name="ServerPeerID">${jboss.messaging.ServerPeerID:0}</attribute>
      
      <!-- The default JNDI context to use for queues when they are deployed without specifying one --> 
      
      <attribute name="DefaultQueueJNDIContext">/queue</attribute>
      
      <!-- The default JNDI context to use for topics when they are deployed without specifying one --> 
      
      <attribute name="DefaultTopicJNDIContext">/topic</attribute>




            <attribute name="PostOffice">jboss.messaging:service=PostOffice</attribute>
            
      <!-- The default Dead Letter Queue (DLQ) to use for destinations.
           This can be overridden on a per destinatin basis -->
      
      <attribute name="DefaultDLQ">jboss.messaging.destination:service=Queue,name=DLQ</attribute>
      
      <!-- 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 -->
      
      <attribute name="DefaultMaxDeliveryAttempts">10</attribute>
      
      <!-- The default Expiry Queue to use for destinations. This can be overridden on a per destinatin basis -->
      
      <attribute name="DefaultExpiryQueue">jboss.messaging.destination:service=Queue,name=ExpiryQueue</attribute>
      
      <!-- The default redelivery delay to impose. This can be overridden on a per destination basis -->
      
      <attribute name="DefaultRedeliveryDelay">10000</attribute>
      
      <!-- The periodicity of the message counter manager enquiring on queues for statistics -->
      
      <attribute name="MessageCounterSamplePeriod">5000</attribute>
      
      <!-- The maximum amount of time for a client to wait for failover to start on the server side after
           it has detected failure -->
      
      <attribute name="FailoverStartTimeout">60000</attribute>
      
      <!-- The maximum amount of time for a client to wait for failover to complete on the server side after
           it has detected failure -->
      
      <attribute name="FailoverCompleteTimeout">300000</attribute>




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




      <depends optional-attribute-name="PersistenceManager">jboss.messaging:service=PersistenceManager</depends>
      
      <depends optional-attribute-name="JMSUserManager">jboss.messaging:service=JMSUserManager</depends>
      
      <depends>jboss.messaging:service=Connector,transport=bisocket</depends>
      <depends optional-attribute-name="SecurityStore"
          proxy-type="org.jboss.jms.server.SecurityStore">jboss.messaging:service=SecurityStore</depends>
   </mbean>


following is security store conf



  

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

Reply to this message by going to Community
[https://community.jboss.org/message/777410#777410]

Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121120/92b1044f/attachment-0001.html 


More information about the jboss-user mailing list