Hi Farooq,

Looking at Destination=outgoing,Type=Queue, the EnqueueCount/DequeueCount/QueueSize seem odd (14976 - 14975 <> 2).

Can you link/find some logic between those ActiveMQ numbers and the numbers shown in the James MBeans?

Do you run with the embedded ActiveMQ shipped by default? Any changes in the configuration?

Thx, Eric

On 19/02/2013 11:44, Farooq Ahmed wrote:
Hi Eric,

Here you go..
        Attributes Value
BeanName        ConsumerCount
        ProducerCount   QueueSize       DequeueCount    EnqueueCount    browse
Destination=ActiveMQ.DLQ,Type=Queue     0       0       1       0       0       
Shows 1 message in
outgoing queue,
invalid recepient
Destination=outgoing,Type=Queue         10      5       2       14976   14975   
shows 1 message
in outgoing queue,the one which we sends after every 30 sec
Destination=spool,Type=Queue    2       3       0       15146   15146   no 
emails
Destination=ActiveMQ.Advisory.TempQueue,Type=Topic      1       0       0       
0       146     no
emails
Destination=ActiveMQ.Advisory.Queue,Type=Topic  0       0       0       0       
6       no emails
Destination=ActiveMQ.Advisory.Producer.Queue.spool,Type=Topic   0
0       0       0       3       no emails
Destination=ActiveMQ.Advisory.Producer.Queue.outgoing,Type=Topic
0       0       0       0       5       no emails
Destination=ActiveMQ.Advisory.Consumer.Queue.spool,Type=Topic   0
0       0       0       253212  no emails
Destination=ActiveMQ.Advisory.Consumer.Queue.outgoing,Type=Topic
0       0       0       0       1232626         no emails
Destination=ActiveMQ.Advisory.Connection,Type=Topic     0       0       0       
0       1       no
emails



Now I can see the mail stuck in outgoing queue, the one which we send
every 30 sec..

Regards,
Farooq


On Tue, Feb 19, 2013 at 4:38 PM, Eric Charles <e...@apache.org
<mailto:e...@apache.org>> wrote:

    Hi,
    All, except the first and the last ones.
    Thx, Eric


    On 19/02/2013 10:57, Farooq Ahmed wrote:

        Hi Eric,

        Which mbean of activemq would you like me to check from the
        following ...
        
org.apache.activemq:__BrokerName=james,__ConnectorName=tcp_//localhost___0,Type=Connector
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Connection,__Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Consumer.__Queue.outgoing,Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Consumer.__Queue.spool,Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Producer.__Queue.outgoing,Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Producer.__Queue.spool,Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.Queue,Type=__Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.Advisory.TempQueue,__Type=Topic
        
org.apache.activemq:__BrokerName=james,Destination=__ActiveMQ.DLQ,Type=Queue
        org.apache.activemq:__BrokerName=james,Destination=__outgoing,Type=Queue
        org.apache.activemq:__BrokerName=james,Destination=__spool,Type=Queue
        org.apache.activemq:__BrokerName=james,Type=Broker

        Regards,
        Farooq

        On Tue, Feb 19, 2013 at 4:16 PM, Eric Charles <e...@apache.org
        <mailto:e...@apache.org>> wrote:

            Any chance to compare those numbers with the ones given by
            the activemq
            mbeans?

            Thx, Eric


            On 19/02/2013 10:42, Farooq Ahmed wrote:

                Hi Eric,

                i have used jmxterm-1.0-alpha-4-uber jmx cli,

                "You mean to 'push out' the queue.
                The mail you send triggers the pending mails to go out?"

                Yes this new mail push the earlier mail out but itself
                gets stuck in
                spool,to which a new mail after 30 sec pushes out and
                that mail gets
                struck
                and soon...

                Can you guide me how to figure out the reason as to why
                the size attribute
                value is 5 and the browse List only contains 3 mails
                details.
                Also Why The mail which gets stuck in spool its count is
                incremented in
                attribure Size but its details are not present in browse
                List..?

                Regards,
                Farooq

                On Tue, Feb 19, 2013 at 3:30 PM, Eric Charles
                <e...@apache.org <mailto:e...@apache.org>> wrote:

                   Hi Farooq,



                    On 18/02/2013 12:39, Farooq Ahmed wrote:

                       Hi Eric,


                        Here is the output which i get when i use Bean
                        
org.apache.james:name=queue,**__**queue=outgoing,type=__component

                        $>bean
                        
org.apache.james:name=queue,**__**queue=outgoing,type=__component

                        #bean is set to org.apache.james:name=queue,**
                        queue=outgoing,type=component
                        $>info
                        #mbean =
                        
org.apache.james:name=queue,**__**queue=outgoing,type=__component
                        #class name =
                        org.apache.james.queue.****__library.MailQueueManagement


                        # attributes
                              %0   - Size (long, r)
                        # operations
                              %0   - java.util.List browse()
                              %1   - long clear()
                              %2   - long flush()
                              %3   - long
                        removeWithName(java.lang.****__String p1)
                              %4   - long
                        removeWithRecipient(java.lang.__****String p1)
                              %5   - long
                        removeWithSender(java.lang.***__*String p1)


                        #there's no notifications
                        $>get Size
                        #mbean =
                        
org.apache.james:name=queue,**__**queue=outgoing,type=__component:
                        Size = 7;


                    Cool, it seems like you have found a JXM CLI which
                    works fine.
                    Which one is it?



                       Let me know if you need any further details.

                        can you educate me as to Size= 7 is the no of
                        mails still in outgoing
                        spool
                        or is some default size of outgoing queue.


                           It is the number of pending mails in the queue.

                    So you have 7 mails waiting to be sent to the
                    outside world/


                        Also note that do deal with this spooling
                    problem, the workaround that
                    we

                        did temporarily is that we created an
                        application that sends an email to
                        some email address every 30 sec.


                    You mean to 'push out' the queue.
                    The mail you send triggers the pending mails to go out?

                    Thx, Eric



                       Regards,

                        Farooq

                        On Mon, Feb 18, 2013 at 4:19 PM, Eric Charles
                        <e...@apache.org <mailto:e...@apache.org>> wrote:

                            Hi,


                            Maybe the cloud's firewall blocks your requests.

                            For JMX command line, type 'jmx cli' in
                            google and experiment (tried
                            one
                            of these long time ago).

                            Thx, Eric


                            On 18/02/2013 10:11, Farooq Ahmed wrote:

                                Hi Eric,


                                I tried remotely connecting to JMX using
                                Jconsole and remote jmx
                                connection
                                method specified on
                                http://james.apache.org/****
                                
server/3/config-system.html<__ht**tp://james.apache.org/****
                                <http://james.apache.org/****>
                                
server/3/config-system.html<ht__tp://james.apache.org/**__server/3/config-system.html
                                
<http://james.apache.org/**server/3/config-system.html>>


                                
<ht**tp://james.apache.org/**__server/**3/config-system.html
                                
<http://james.apache.org/**server/**3/config-system.html><__http://james.apache.org/__server/**3/config-system.html
                                
<http://james.apache.org/server/**3/config-system.html>>
                                
<**http://james.apache.org/**__server/3/config-system.html
                                
<http://james.apache.org/**server/3/config-system.html><ht__tp://james.apache.org/server/__3/config-system.html
                                
<http://james.apache.org/server/3/config-system.html>>





                                But i could not get connected to jmx on
                                my email server.

                                Note that the server where i have
                                deployed james is on azure cloud PAS
                                network and is Ubunto system.
                                Is there any mechanism where i can
                                observe the message queue contents
                                on
                                local ubunto system using ssh only.

                                Regards,
                                Farooq

                                On Tue, Feb 12, 2013 at 11:02 PM, Ajay
                                Navgale <
                                ajay.navg...@centralogic.net
                                <mailto:ajay.navg...@centralogic.net>

                                    wrote:





                                   ---------- Forwarded message ----------

                                    From: Eric Charles <e...@apache.org
                                    <mailto:e...@apache.org>>
                                    Date: Tue, Feb 12, 2013 at 7:52 PM
                                    Subject: Re: James Server SMTP
                                    Spooling Issue
                                    To: James Users List
                                    <server-user@james.apache.org
                                    <mailto:server-user@james.apache.org>>


                                    Hi,
                                    You mean you the newly spooled mails
                                    'push-out' the remaining ones.
                                    After that, the latest one remains
                                    stucked in the queu?

                                    If such, that's very strange and we
                                    never saw that before.
                                    Do you use JMX to inspect the queue
                                    content/size?

                                    Thx, Eric


                                    On 12/02/2013 11:45, Ajay Navgale wrote:

                                         Hi,


                                        We are using james 3.0 beta4.
                                        We have an issue while sending
                                        an email. There is always one
                                        outgoing
                                        mail
                                        left in spool and is delivered
                                        when any new outgoing mail is to be
                                        sent.
                                        Now previous mail gets delivered
                                        and this recent once sits in the
                                        spool.
                                        This is happening for Remote
                                        delivery.

                                        Can anyone throw some light on this.

                                        Thanks & Regards,
                                        Ajay



                                        
------------------------------__********----------------------__--**
                                        --**
                                        --**

                                           --**---------

                                    To unsubscribe, e-mail:
                                    server-user-unsubscribe@james.__********
                                    apache.org <http://apache.org>
                                    <
                                    
server-user-**unsubscribe@**__ja**mes.apache.org
                                    
<http://mes.apache.org><http://__james.apache.org
                                    <http://james.apache.org>>
                                    <unsubscribe@**james.apache.__org
                                    <http://james.apache.org>
                                    <unsubscr...@james.apache.org
                                    <mailto:unsubscr...@james.apache.org>>__>


                                    
<server-user-**unsubscribe@**j__ames.apache.org
                                    
<http://james.apache.org><unsubscribe@__james.apache.org
                                    <mailto:unsubscr...@james.apache.org>>
                                    
<server-user-**unsubscribe@__james.apache.org
                                    
<mailto:unsubscr...@james.apache.org><server-user-__unsubscr...@james.apache.org
                                    
<mailto:server-user-unsubscr...@james.apache.org>>






                                            For additional commands,
                                        e-mail:
                                        server-user-help@james.apache.__**
                                        **

                                    ****org<
                                    server-user-help@james.****__apach**e.org
                                    <http://e.org> <http://apache.org> <

                                    server-user-help@james.**__apach**e.org
                                    <http://e.org> <http://apache.org><
                                    server-user-help@james.**apach__e.org 
<http://apache.org><server-user-help@james.__apache.org
                                    <mailto:server-user-h...@james.apache.org>>










                                    
------------------------------__******------------------------__--**

                                --**

                            --**---------
                            To unsubscribe, e-mail:
                            server-user-unsubscribe@james.__******apache.org
                            <http://apache.org>
                            <
                            server-user-**unsubscribe@**ja__mes.apache.org
                            
<http://james.apache.org><unsubscribe@__james.apache.org
                            <mailto:unsubscr...@james.apache.org>>
                            <server-user-**unsubscribe@__james.apache.org 
<mailto:unsubscr...@james.apache.org><server-user-__unsubscr...@james.apache.org
                            <mailto:server-user-unsubscr...@james.apache.org>>




                                   For additional commands, e-mail:
                                server-user-help@james.apache.__**

                            ****org<
                            server-user-help@james.**__apach**e.org
                            <http://e.org> <http://apache.org> <
                            server-user-help@james.**apach__e.org
                            
<http://apache.org><server-user-help@james.__apache.org
                            <mailto:server-user-h...@james.apache.org>>







                        
------------------------------__****--------------------------__--**

                    --**---------
                    To unsubscribe, e-mail:
                    server-user-unsubscribe@james.__****apache.org
                    <http://apache.org><
                    server-user-**unsubscribe@__james.apache.org
                    
<mailto:unsubscr...@james.apache.org><server-user-__unsubscr...@james.apache.org
                    <mailto:server-user-unsubscr...@james.apache.org>>


                    For additional commands, e-mail:
                    server-user-help@james.apache.__****org<
                    server-user-help@james.**apach__e.org
                    <http://apache.org>
                    <server-user-help@james.__apache.org
                    <mailto:server-user-h...@james.apache.org>>>




            
------------------------------__**----------------------------__--**---------
            To unsubscribe, e-mail:
            server-user-unsubscribe@james.__**apache.org
            <http://apache.org><server-user-__unsubscr...@james.apache.org
            <mailto:server-user-unsubscr...@james.apache.org>>
            For additional commands, e-mail:
            
server-user-help@james.apache.__**org<server-user-help@james.__apache.org
            <mailto:server-user-h...@james.apache.org>>




    ------------------------------__------------------------------__---------
    To unsubscribe, e-mail: server-user-unsubscribe@james.__apache.org
    <mailto:server-user-unsubscr...@james.apache.org>
    For additional commands, e-mail: server-user-help@james.apache.__org
    <mailto:server-user-h...@james.apache.org>





---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to