From activemq-users-return-6159-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Fri Dec 08 10:41:49 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 41596 invoked from network); 8 Dec 2006 10:41:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 10:41:49 -0000 Received: (qmail 73071 invoked by uid 500); 8 Dec 2006 10:41:56 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 73058 invoked by uid 500); 8 Dec 2006 10:41:56 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 73049 invoked by uid 99); 8 Dec 2006 10:41:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 02:41:56 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.235.254.11] (HELO exodus.exist.com) (209.235.254.11) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 02:41:44 -0800 Received: from [192.168.241.109] ([58.71.14.245]) (authenticated bits=0) by exodus.exist.com (8.13.1/8.13.1) with ESMTP id kB8Af84O019891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Dec 2006 05:41:12 -0500 Message-ID: <4579414D.2050609@exist.com> Date: Fri, 08 Dec 2006 18:41:17 +0800 From: Jonas Lim User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: activemq-users@geronimo.apache.org Subject: Re: tempdestination authorization entry error References: <7694164.post@talk.nabble.com> <45753012.3080204@exist.com> <7698448.post@talk.nabble.com> <45759014.3050201@exist.com> <7714011.post@talk.nabble.com> <7716380.post@talk.nabble.com> <45769CEA.9070603@exist.com> <7733980.post@talk.nabble.com> <4577C272.7030804@exist.com> <7753634.post@talk.nabble.com> <45792418.1010609@exist.com> <7754535.post@talk.nabble.com> In-Reply-To: <7754535.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org No. You can disable advisory support by setting it to false in your broker confiiguration : eg. .... Regards, Jonas pradeep wrote: > Thanks. Is it mandatory ? > > Pradeep > > > jlim wrote: > >> These are advisory messages which allows you to watch the system by >> creating jms messages. >> >> http://www.activemq.org/site/what-are-those-topics-activemqadvisory.html >> >> regards, >> Jonas >> >> pradeep wrote: >> >>> Thanks. I have noticed that without the authorizationEntry for >>> topic="ActiveMQ.Advisory.>" my program fails. Why do we need this. >>> >>> Thanks >>> Pradeep >>> >>> >>> >>> jlim wrote: >>> >>> >>>> I'm not really sure when 4.2 will be released since 4.1 just got out. >>>> Hopefully soon :-) >>>> >>>> Jonas >>>> >>>> >>>> pradeep wrote: >>>> >>>> >>>>> Thank you. I am seeing this problem only in 4.2 version. >>>>> >>>>> Another question - When will 4.2 be released ? >>>>> >>>>> Pradeep >>>>> >>>>> >>>>> jlim wrote: >>>>> >>>>> >>>>> >>>>>> It appears the jms client lost its connection to the broker. >>>>>> >>>>>> You may want to try failover transport : >>>>>> http://activemq.org/site/how-can-i-support-auto-reconnection.html >>>>>> >>>>>> Regards, >>>>>> Jonas >>>>>> >>>>>> >>>>>> >>>>>> pradeep wrote: >>>>>> >>>>>> >>>>>> >>>>>>> jlim >>>>>>> >>>>>>> Can you please tell me why the WARN message was displayed? >>>>>>> >>>>>>> thanks a lot >>>>>>> pradeep >>>>>>> >>>>>>> >>>>>>> pradeep wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Thank you. It worked with the Dec 3 build but I am seeing this >>>>>>>> warning >>>>>>>> message >>>>>>>> >>>>>>>> 11:20:12 [ActiveMQ Transport: tcp://localhost/127.0.0.1:61616] WARN >>>>>>>> org.apache.activemq.ActiveMQConnection - Async exception with no >>>>>>>> exception >>>>>>>> listener: java.io.EOFException >>>>>>>> java.io.EOFException >>>>>>>> at java.io.DataInputStream.readInt(Unknown Source) >>>>>>>> at >>>>>>>> org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267) >>>>>>>> at >>>>>>>> org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:156) >>>>>>>> at >>>>>>>> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:136) >>>>>>>> at java.lang.Thread.run(Unknown Source) >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> jlim wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Can you try downloading again the latest 4.2 nighlty build (Dec 3)? >>>>>>>>> I >>>>>>>>> believe this feature was just added last Nov 27 to the svn trunk . >>>>>>>>> I >>>>>>>>> think you may have downloaded an older 4.2 build >>>>>>>>> >>>>>>>>> Jonas >>>>>>>>> >>>>>>>>> pradeep wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> I downloaded the activemq 4.2 nightly build but I am still seeing >>>>>>>>>> the >>>>>>>>>> same >>>>>>>>>> problem. I don't see the TempDestincationAuthorization entry class >>>>>>>>>> in >>>>>>>>>> the >>>>>>>>>> jar file. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> jlim wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> The Tempdestination authorization entry was just added on the >>>>>>>>>>> 4.2 >>>>>>>>>>> trunk >>>>>>>>>>> (revision 479639). I don't believe it made it to the 4.1 build. >>>>>>>>>>> You >>>>>>>>>>> can >>>>>>>>>>> checkout the latest from trunk or download a nightly build >>>>>>>>>>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/activemq/apache-activemq/4.2-incubator-SNAPSHOT/ >>>>>>>>>>> >>>>>>>>>>> The ">" is a wildcard. You can use it as is to indicate all >>>>>>>>>>> queue/topic or you can append it to a destination name (ie. >>>>>>>>>>> USERS.>) >>>>>>>>>>> indicating all destinations that starts with "USERS." >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Regard, >>>>>>>>>>> Jonas >>>>>>>>>>> >>>>>>>>>>> pradeep wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> I am using the Tempdestination authorization entry as mentioned >>>>>>>>>>>> in >>>>>>>>>>>> http://activemq.org/site/security.html. >>>>>>>>>>>> >>>>>>>>>>>> I am getting this error when starting embeded activemq server >>>>>>>>>>>> Failed to load type: tempDestinationAuthorizationEntry. Reason: >>>>>>>>>>>> java.lang.ClassNotFoundException: >>>>>>>>>>>> tempDestinationAuthorizationEntry; >>>>>>>>>>>> nested >>>>>>>>>>>> exception is java.lang.ClassNotFoundException: >>>>>>>>>>>> tempDestinationAuthorizationEntry >>>>>>>>>>>> >>>>>>>>>>>> I am using activeMQ 4.1 >>>>>>>>>>>> >>>>>>>>>>>> Also what does ">" right angle bracker indicate in the below tag >>>>>>>>>>>> ? >>>>>>>>>>>> >>>>>>>>>>> admin="admins" >>>>>>>>>>>> /> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> > >