5 Replies Latest reply on Apr 11, 2007 9:43 AM by Tim Fox

    Set MaxDeliveryAttempts parameter

    Daniele Cottone Newbie

      Hi, all
      I'd like to know if it's possible to set the "MaxDeliveryAttempts" parameter for each distinct and separate queue.

      Thanks

        • 1. Re: Set MaxDeliveryAttempts parameter
          mskonda Apprentice

          JBM UserGuide says:

          The maximum number of delivery attempts can be specified using the attribute DefaultMaxDeliveryAttempts for a global default or individually on a per destination basis.


          So, this should work for a individual destination(I have not tried):

           <mbean code="org.jboss.jms.server.destination.TopicService"
           name="jboss.messaging.destination:service=Topic,name=testTopic"
           xmbean-dd="xmdesc/Topic-xmbean.xml">
           <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
           <depends>jboss.messaging:service=PostOffice</depends>
           <attribute name="DefaultMaxDeliveryAttempts">3</attribute>
           </mbean>
          


          The DefaultMaxDeliveryAttempts will set the delivery retries to three.

          Thanks
          /Madhu

          • 2. Re: Set MaxDeliveryAttempts parameter
            Daniele Cottone Newbie

            I've tried, but i've got this error :

            
            D:\sviluppo\application_server\jboss-4.0.5.GA\bin>run.bat -c messaging-node0 -Djboss.partition.name=DanielePartition -Dj
            boss.partition.udpGroup=230.34.32.12
            ===============================================================================
            
             JBoss Bootstrap Environment
            
             JBOSS_HOME: D:\sviluppo\application_server\jboss-4.0.5.GA\bin\\..
            
             JAVA: D:\jdk1.5.0\\bin\java
            
             JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.ser
            ver.gcInterval=3600000 -Dcom.sun.management.jmxremote
            
             CLASSPATH: D:\jdk1.5.0\\lib\tools.jar;D:\sviluppo\application_server\jboss-4.0.5.GA\bin\\run.jar
            
            ===============================================================================
            
            11:03:04,194 INFO [Server] Starting JBoss (MX MicroKernel)...
            11:03:04,194 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
            11:03:04,194 INFO [Server] Home Dir: D:\sviluppo\application_server\jboss-4.0.5.GA
            11:03:04,194 INFO [Server] Home URL: file:/D:/sviluppo/application_server/jboss-4.0.5.GA/
            11:03:04,194 INFO [Server] Patch URL: null
            11:03:04,194 INFO [Server] Server Name: messaging-node0
            11:03:04,194 INFO [Server] Server Home Dir: D:\sviluppo\application_server\jboss-4.0.5.GA\server\messaging-node0
            11:03:04,194 INFO [Server] Server Home URL: file:/D:/sviluppo/application_server/jboss-4.0.5.GA/server/messaging-node0/
            
            11:03:04,194 INFO [Server] Server Log Dir: D:\sviluppo\application_server\jboss-4.0.5.GA\server\messaging-node0\log
            11:03:04,194 INFO [Server] Server Temp Dir: D:\sviluppo\application_server\jboss-4.0.5.GA\server\messaging-node0\tmp
            11:03:04,194 INFO [Server] Root Deployment Filename: jboss-service.xml
            11:03:04,849 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
            11:03:04,849 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
            11:03:04,849 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
            11:03:06,579 INFO [Server] Core system initialized
            11:03:15,728 INFO [WebService] Using RMI server codebase: http://WKST1820:8083/
            11:03:15,775 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
            11:03:24,565 INFO [ServiceConfigurator] Problem configuring service jboss.messaging.destination:service=Queue,name=Queu
            eWithOwnDLQAndExpiryQueue
            org.jboss.deployment.DeploymentException: No Attribute found with name: DefaultMaxDeliveryAttempts
             at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:318)
             at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
             at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
             at org.jboss.system.ServiceController.install(ServiceController.java:226)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy4.install(Unknown Source)
             at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
             at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
             at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy8.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26
            3)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
             at org.jboss.Main.boot(Main.java:200)
             at org.jboss.Main$1.run(Main.java:490)
             at java.lang.Thread.run(Thread.java:595)
            11:03:25,329 INFO [ServerPeer] ServerPeer[0] creating server peer with ID 0
            11:03:31,127 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
            11:03:35,273 INFO [SnmpAgentService] SNMP agent going active
            11:03:36,364 INFO [InterceptorChainFactory] interceptor chain is:
            class org.jboss.cache.interceptors.CallInterceptor
            class org.jboss.cache.interceptors.PessimisticLockInterceptor
            class org.jboss.cache.interceptors.UnlockInterceptor
            class org.jboss.cache.interceptors.ReplicationInterceptor
            class org.jboss.cache.interceptors.TxInterceptor
            class org.jboss.cache.interceptors.CacheMgmtInterceptor
            11:03:36,675 INFO [STDOUT]
            -------------------------------------------------------
            GMS: address is WKST1820:4059
            -------------------------------------------------------
            11:03:38,717 INFO [TreeCache] viewAccepted(): [WKST1820:4059|0] [WKST1820:4059]
            11:03:38,764 INFO [TreeCache] TreeCache local address is WKST1820:4059
            11:03:38,764 INFO [TreeCache] State could not be retrieved (we are the first member in group)
            11:03:38,779 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
            11:03:39,761 INFO [DanielePartition] Initializing
            11:03:39,824 INFO [STDOUT]
            -------------------------------------------------------
            GMS: address is WKST1820:4062 (additional data: 15 bytes)
            -------------------------------------------------------
            11:03:41,897 INFO [DanielePartition] Number of cluster members: 1
            11:03:41,897 INFO [DanielePartition] Other members: 0
            11:03:41,897 INFO [DanielePartition] Fetching state (will wait for 30000 milliseconds):
            11:03:42,333 INFO [DanielePartition] State could not be retrieved (we are the first member in group)
            11:03:42,395 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
            11:03:42,411 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.34.32.12, HA-JNDI
            address=10.89.1.65:1100
            11:03:43,564 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D6
            96E67436F6E746578744578743A312E3000000000000200000000000000E8000102000000000B31302E38392E312E363500000DC80000000000114A4
            26F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C000000000001000100000001050
            100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000B313
            02E38392E312E363500000DC900400000000000000000000000100401000806066781020101010000000000000000000000000000000000000000000
            0002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F00000004000
            00003]
            11:03:43,860 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F
            69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E8000102000000000B31302E38392E312E36
            3500000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00
            0000000001000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00
            000000000000010000000B31302E38392E312E363500000DC90040000000000000000000000010040100080606678102010101000000000000000000
            00000000000000000000000000002000000004000000000000001F000000040000000300000001000000200000000000000002000000200000000400
            0000000000001F0000000400000003]
            11:03:45,419 INFO [Embedded] Catalina naming disabled
            11:03:45,481 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rul
            e set.
            11:03:45,481 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rul
            e set.
            11:03:46,900 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
            11:03:46,900 INFO [Catalina] Initialization processed in 1419 ms
            11:03:46,900 INFO [StandardService] Starting service jboss.web
            11:03:46,915 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
            11:03:46,946 INFO [StandardHost] XML validation disabled
            11:03:46,978 INFO [Catalina] Server startup in 78 ms
            11:03:47,539 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
            11:03:48,271 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
            11:03:49,082 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
            11:03:50,219 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp17103jbossws-context-exp.war/
            11:03:50,765 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
            11:03:51,451 INFO [RegistryServlet] Loading jUDDI configuration.
            11:03:51,466 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
            11:03:51,466 INFO [RegistryServlet] Initializing jUDDI components.
            11:03:52,589 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-conso
            le.war/
            11:03:54,132 INFO [MailService] Mail Service bound to java:/Mail
            11:03:54,412 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.
            rar
            11:03:54,490 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
            
            11:03:54,552 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
            
            11:03:54,661 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
            11:03:54,708 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms-ra.rar
            11:03:54,755 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
            11:03:55,815 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultD
            S' to JNDI name 'java:DefaultDS'
            11:03:57,186 WARN [JDBCPersistenceManager]
            
            JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently REPEA
            TABLE_READ.
             Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
            
             Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
            
            11:03:58,386 INFO [ServerPeer] JBoss Messaging 1.2.0.GA server [0] started
            11:03:59,150 INFO [STDOUT]
            -------------------------------------------------------
            GMS: address is 127.0.0.1:4094
            -------------------------------------------------------
            11:04:01,301 INFO [DefaultClusteredPostOffice] ClusteredPostOffice[0:Clustered JMS:127.0.0.1:4094] got new view [127.0.
            0.1:4094|0] [127.0.0.1:4094]
            11:04:01,348 INFO [STDOUT]
            -------------------------------------------------------
            GMS: address is 127.0.0.1:4097
            -------------------------------------------------------
            11:04:04,169 INFO [ConnectionFactory] Connector bisocket://10.89.1.65:4457 has leasing enabled, lease period 10000 mill
            iseconds
            11:04:04,169 INFO [ConnectionFactory] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConne
            ctionFactory] started
            11:04:04,184 INFO [ConnectionFactory] Connector bisocket://10.89.1.65:4457 has leasing enabled, lease period 10000 mill
            iseconds
            11:04:04,184 INFO [ConnectionFactory] [/NonClusteredConnectionFactory, /NonClusteredXAConnectionFactory, java:/NonClust
            eredConnectionFactory, java:/NonClusteredXAConnectionFactory] started
            11:04:04,262 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,278 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,278 INFO [TopicService] Topic[/topic/testTopic] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,294 INFO [TopicService] Topic[/topic/securedTopic] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            
            11:04:04,294 INFO [TopicService] Topic[/topic/testDurableTopic] started, fullSize=200000, pageSize=2000, downCacheSize=
            2000
            11:04:04,309 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,309 INFO [QueueService] Queue[/queue/A] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,325 INFO [QueueService] Queue[/queue/B] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,325 INFO [QueueService] Queue[/queue/C] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,340 INFO [QueueService] Queue[/queue/D] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,340 INFO [QueueService] Queue[/queue/ex] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,356 INFO [QueueService] Queue[/queue/PrivateDLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            11:04:04,356 INFO [QueueService] Queue[/queue/PrivateExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSiz
            e=2000
            11:04:04,371 INFO [TopicService] Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=200000, pageSize=2000, d
            ownCacheSize=2000
            11:04:04,387 INFO [QueueService] Queue[/queue/QueueWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, dow
            nCacheSize=2000
            11:04:04,387 INFO [TopicService] Topic[/topic/TopicWithOwnRedeliveryDelay] started, fullSize=200000, pageSize=2000, dow
            nCacheSize=2000
            11:04:04,403 INFO [QueueService] Queue[/queue/testDistributedQueue] started, fullSize=200000, pageSize=2000, downCacheS
            ize=2000
            11:04:04,418 INFO [TopicService] Topic[/topic/testDistributedTopic] started, fullSize=200000, pageSize=2000, downCacheS
            ize=2000
            11:04:04,543 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding
            ,name=JmsXA' to JNDI name 'java:JmsXA'
            11:04:04,995 INFO [EjbModule] Deploying MagRequestMDB
            11:04:07,083 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/QueueWithOwnDLQAndExpiryQu
            eue
            11:04:07,099 WARN [JMSContainerInvoker] destination not found: queue/QueueWithOwnDLQAndExpiryQueue reason: javax.naming
            .NameNotFoundException: QueueWithOwnDLQAndExpiryQueue not bound
            11:04:07,099 WARN [JMSContainerInvoker] creating a new temporary destination: queue/QueueWithOwnDLQAndExpiryQueue
            11:04:07,099 WARN [JMSContainerInvoker] JMS provider failure detected for MagRequestMDB
            org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.InstanceNotFou
            ndException: jboss.mq:service=DestinationManager is not registered.)
             at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
             at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:272)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy58.start(Unknown Source)
             at org.jboss.ejb.EjbModule.startService(EjbModule.java:429)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy25.start(Unknown Source)
             at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
             at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
             at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
             at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java
            :188)
             at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy26.start(Unknown Source)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy8.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26
            3)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
             at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:417)
             at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
             at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
             at org.jboss.Main.boot(Main.java:200)
             at org.jboss.Main$1.run(Main.java:490)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.
             at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createDestination(JMSContainerInvoker.java:1113)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:777)
             ... 158 more
            11:04:07,676 WARN [DLQHandler] Destroying failed DLQHandler
            java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.container.
            ClosedInterceptor
             at org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:141)
             at org.jboss.aop.advice.GenericAspectFactory.createPerInstance(GenericAspectFactory.java:182)
             at org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:100)
             at org.jboss.aop.InstanceAdvisorDelegate.initialize(InstanceAdvisorDelegate.java:72)
             at org.jboss.aop.ClassInstanceAdvisor.<init>(ClassInstanceAdvisor.java:75)
             at org.jboss.jms.client.delegate.ClientConnectionDelegate._getInstanceAdvisor(ClientConnectionDelegate.java)
             at org.jboss.jms.client.delegate.ClientConnectionDelegate.closing(ClientConnectionDelegate.java)
             at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:154)
             at org.jboss.ejb.plugins.jms.DLQHandler.destroyService(DLQHandler.java:224)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalDestroy(ServiceMBeanSupport.java:345)
             at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:221)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:958)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContaine
            rInvoker.java:1404)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.container.ClosedInterceptor
            
             at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
             at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport.loadClass(AspectFactoryWithClassLoaderSupport.java:8
            0)
             at org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:137)
             ... 13 more
            11:04:07,785 INFO [JMSContainerInvoker] Waiting for reconnect internal 10000ms for MagRequestMDB
            11:04:07,816 INFO [EJBDeployer] Deployed: file:/D:/sviluppo/application_server/jboss-4.0.5.GA/server/messaging-node0/de
            ploy/jmsAckTest.jar
            11:04:08,237 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
            11:04:09,203 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
            
            --- MBeans waiting for other MBeans ---
            ObjectName: jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue
             State: FAILED
             Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DefaultMaxDeliveryAttempts
             I Depend On:
             jboss.messaging:service=ServerPeer
             jboss.messaging:service=PostOffice
            
            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
            ObjectName: jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue
             State: FAILED
             Reason: org.jboss.deployment.DeploymentException: No Attribute found with name: DefaultMaxDeliveryAttempts
             I Depend On:
             jboss.messaging:service=ServerPeer
             jboss.messaging:service=PostOffice
            
            
            11:04:10,107 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
            11:04:10,575 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
            11:04:10,637 INFO [JkMain] Jk running ID=0 time=0/327 config=null
            11:04:10,637 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m
            :6s:443ms
            11:04:17,760 INFO [JMSContainerInvoker] Trying to reconnect to JMS provider for MagRequestMDB
            11:04:17,822 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/QueueWithOwnDLQAndExpiryQu
            eue
            11:04:17,822 WARN [JMSContainerInvoker] destination not found: queue/QueueWithOwnDLQAndExpiryQueue reason: javax.naming
            .NameNotFoundException: QueueWithOwnDLQAndExpiryQueue not bound
            11:04:17,838 WARN [JMSContainerInvoker] creating a new temporary destination: queue/QueueWithOwnDLQAndExpiryQueue
            11:04:17,838 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure detected for MagRequestMDB
            org.jboss.deployment.DeploymentException: Error during queue setup; - nested throwable: (javax.management.InstanceNotFou
            ndException: jboss.mq:service=DestinationManager is not registered.)
             at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContaine
            rInvoker.java:1428)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: javax.management.InstanceNotFoundException: jboss.mq:service=DestinationManager is not registered.
             at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createDestination(JMSContainerInvoker.java:1113)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:777)
             ... 2 more
            11:04:17,884 WARN [DLQHandler] Destroying failed DLQHandler
            java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.container.
            ClosedInterceptor
             at org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:141)
             at org.jboss.aop.advice.GenericAspectFactory.createPerInstance(GenericAspectFactory.java:182)
             at org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:100)
             at org.jboss.aop.InstanceAdvisorDelegate.initialize(InstanceAdvisorDelegate.java:72)
             at org.jboss.aop.ClassInstanceAdvisor.<init>(ClassInstanceAdvisor.java:75)
             at org.jboss.jms.client.delegate.ClientConnectionDelegate._getInstanceAdvisor(ClientConnectionDelegate.java)
             at org.jboss.jms.client.delegate.ClientConnectionDelegate.closing(ClientConnectionDelegate.java)
             at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:154)
             at org.jboss.ejb.plugins.jms.DLQHandler.destroyService(DLQHandler.java:224)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalDestroy(ServiceMBeanSupport.java:345)
             at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:221)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:958)
             at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContaine
            rInvoker.java:1404)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.container.ClosedInterceptor
            
             at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
             at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport.loadClass(AspectFactoryWithClassLoaderSupport.java:8
            0)
             at org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:137)
             ... 13 more
            11:04:17,994 INFO [JMSContainerInvoker] Waiting for reconnect internal 10000ms for MagRequestMDB
            11:04:27,968 INFO [JMSContainerInvoker] Trying to reconnect to JMS provider for MagRequestMDB
            
            


            Thanks

            • 3. Re: Set MaxDeliveryAttempts parameter
              mskonda Apprentice

              Looking at the code, I don't think that's been implemented although mentioned in the doc:

              Here's DestinationMBean's definition@

              public interface DestinationMBean
              {
               // JMX attributes
              
               String getName();
              
               String getJNDIName();
              
               void setJNDIName(String jndiName) throws Exception;
              
               ObjectName getServerPeer();
              
               void setServerPeer(ObjectName on);
              
               ObjectName getDLQ();
              
               void setDLQ(ObjectName on) throws Exception;
              
               ObjectName getExpiryQueue();
              
               void setExpiryQueue(ObjectName on) throws Exception;
              
               long getRedeliveryDelay();
              
               void setRedeliveryDelay(long delay);
              
               int getMaxSize();
              
               void setMaxSize(int maxSize) throws Exception;
              
               Element getSecurityConfig();
              
               void setSecurityConfig(Element securityConfig) throws Exception;
              
               int getFullSize();
              
               void setFullSize(int fullSize);
              
               int getPageSize();
              
               void setPageSize(int pageSize);
              
               int getDownCacheSize();
              
               void setDownCacheSize(int downCacheSize);
              
               boolean isClustered();
              
               void setClustered(boolean clustered);
              
               boolean isCreatedProgrammatically();
              
               int getMessageCounterHistoryDayLimit();
              
               void setMessageCounterHistoryDayLimit(int limit) throws Exception;
              
               // JMX operations
              
               void removeAllMessages() throws Exception;
              
              }
              


              And here's TopicMBean's code def:

              public interface TopicMBean
              {
               //JMX attributes
              
               int getAllMessageCount() throws Exception;
              
               int getDurableMessageCount() throws Exception;
              
               int getNonDurableMessageCount() throws Exception;
              
               int getAllSubscriptionsCount() throws Exception;
              
               int getDurableSubscriptionsCount() throws Exception;
              
               int getNonDurableSubscriptionsCount() throws Exception;
              
               // JMX operations
              
               void removeAllMessages() throws Exception;
              
               List listAllSubscriptions() throws Exception;
              
               List listDurableSubscriptions() throws Exception;
              
               List listNonDurableSubscriptions() throws Exception;
              
               String listAllSubscriptionsAsHTML() throws Exception;
              
               String listDurableSubscriptionsAsHTML() throws Exception;
              
               String listNonDurableSubscriptionsAsHTML() throws Exception;
              
               List listAllMessages(String subscriptionId) throws Exception;
              
               List listAllMessages(String subscriptionId, String selector) throws Exception;
              
               List listDurableMessages(String subscriptionId) throws Exception;
              
               List listDurableMessages(String subscriptionId, String selector) throws Exception;
              
               List listNonDurableMessages(String subscriptionId) throws Exception;
              
               List listNonDurableMessages(String subscriptionId, String selector) throws Exception;
              
               List getMessageCounters() throws Exception;
              }


              As far as I can see, the implementation is absent. In the xmdesc/Topic-mbean.xml, there' s no attribute reference to deliveryAttemts indicating the destinations can not have the attribute set.

              I may be wrong, let's wait some one from team to throw some light on this issue.

              Thanks
              Madhu

              • 4. Re: Set MaxDeliveryAttempts parameter
                Daniele Cottone Newbie

                Thanks for your quick answer