[jboss-user] [JBoss Messaging] - Configuration of HornetQ-Paging in JBoss6.1.0.Final

Ulrich Kriegel do-not-reply at jboss.com
Tue Apr 3 08:36:59 EDT 2012


Ulrich Kriegel [https://community.jboss.org/people/ukriegel] created the discussion

"Configuration of HornetQ-Paging in JBoss6.1.0.Final"

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

--------------------------------------------------------------
In order to send and receive large messages, we would like to use the paging feature of HornetQ.
However, after changing the address-full-policy to PAGE  in hornetq-configurations.xml (see below)

   <address-settings>
      <!--default for catch all-->
      <address-setting match="#">
         <dead-letter-address>jms.queue.DLQ</dead-letter-address>
         <expiry-address>jms.queue.ExpiryQueue</expiry-address>
         <redelivery-delay>0</redelivery-delay>
         <max-size-bytes>10485760</max-size-bytes>       
         <message-counter-history-day-limit>10</message-counter-history-day-limit>
         <address-full-policy>PAGE</address-full-policy>
      </address-setting>
   </address-settings>
JBoss brings a lot of errors like that given below during statup and hangs.

13:42:19,714 Information [org.hornetq.ra.inflow.HornetQActivation] Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter at 51483946 destination=topic/MSOInput destinationType=javax.jms.Topic ack=Auto-acknowledge durable=false clientID=null user=imsk password=**** maxSession=15)
13:42:19,714 Schwerwiegend [org.hornetq.ra.inflow.HornetQActivation] Unable to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter at 51483946 destination=topic/MSOInput destinationType=javax.jms.Topic ack=Auto-acknowledge durable=false clientID=null user=imsk password=**** maxSession=15): HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
          at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:711) [:]
          at org.hornetq.ra.inflow.HornetQActivation.setupSession(HornetQActivation.java:362) [:]
          at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:294) [:]
          at org.hornetq.ra.inflow.HornetQActivation.handleFailure(HornetQActivation.java:558) [:]
          at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:601) [:]
          at org.jboss.resource.work.WorkWrapper.run(WorkWrapper.java:172) [:6.1.0.Final]
          at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [:2.0.0.CR7]
          at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:801) [:2.0.0.CR7]
          at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) [:2.0.0.CR7]
          at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:821) [:2.0.0.CR7]
          at java.lang.Thread.run(Thread.java:722) [:1.7.0_03]
          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [:2.0.0.CR7]


With address-full-policy values DROP and BLOCK there are no problems during startup.

Did we miss something to configure?
--------------------------------------------------------------

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

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/20120403/a1b087e7/attachment.html 


More information about the jboss-user mailing list