We do use to restart the system after that the spooled mails are delivered and after restart first mail is sent out with out getting stuck in outgoing queue but from second mail onwards one mail always keeps stuck in outgoing queue.
Regards, Farooq On Tue, Feb 19, 2013 at 6:15 PM, Eric Charles <[email protected]> wrote: > Did you already tried a stop/start of James to see if those numbers change? > > Thx, Eric > > > On 19/02/2013 12:33, Farooq Ahmed wrote: > >> Hi Eric, >> >> The QueueSize is 2 in mbean Destination=outgoing,Type=**Queue(ActiveMQ) >> and >> Size is also 2 in name=queue,queue=outgoing,**type=component (james) >> >> The only logical relation that i can see between ActiveMQ and James is the >> outgoing queue size in both is 2. Where as there are no messages in List >> returned by james bean and ActiveMQ bean shows one message in queue. >> >> we have'nt done any changes in ActiveMQ, but we have changed configuration >> files of james for spams, fakeipaddress, baeysian algorithm and we dont >> store copy of sent mails. >> >> Regards, >> Farooq >> >> On Tue, Feb 19, 2013 at 5:31 PM, Eric Charles <[email protected]> wrote: >> >> 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 <[email protected] >>>> <mailto:[email protected]>> 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 <[email protected] >>>> <mailto:[email protected]>> 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 >>>> <[email protected] <mailto:[email protected]>> 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 >>>> <[email protected] <mailto:[email protected]>> >>>> 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> >>>> <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> >>>> > >>>> >>>>> >>>>>> >>>> >>>> >>>> <ht**tp://james.apache.org/**_****<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<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> >>>>> **> >>>>> >>>> <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/**_****<http://james.apache.org/**_**> >>>> _server/3/config-system.html<h**ttp://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> >>>> > >>>> >>>>> <**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<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 < >>>> [email protected] >>>> <mailto:ajay.navgale@**central** >>>> ogic.net >>>> <http://centralogic.net><ajay.navgale@**centralogic.net<[email protected]> >>>> > >>>> >>>> >>>>> >>>> >>>> wrote: >>>> >>>> >>>> >>>> >>>> >>>> ---------- Forwarded message >>>> ---------- >>>> >>>> From: Eric Charles < >>>> [email protected] >>>> <mailto:[email protected]>> >>>> >>>> Date: Tue, Feb 12, 2013 at 7:52 PM >>>> Subject: Re: James Server SMTP >>>> Spooling Issue >>>> To: James Users List >>>> <[email protected] >>>> <mailto:server-user@james.** >>>> apache.org <[email protected]>**>> >>>> >>>> >>>> >>>> >>>> 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> >>>> <[email protected] >>>> <mailto:unsubscribe@james.** >>>> apache.org <[email protected]>**>>__> >>>> >>>> >>>> <server-user-**unsubscribe@****j** >>>> __ames.apache.org <http://j__ames.apache.org> >>>> <http://james.apache.org><** >>>> unsubscribe@__james.apache.org >>>> <mailto:unsubscribe@james.** >>>> apache.org <[email protected]>**>> >>>> <server-user-**unsubscribe@__**j** >>>> ames.apache.org <http://james.apache.org> >>>> <mailto:unsubscribe@james.** >>>> apache.org <[email protected]>**><server-user-__** >>>> [email protected] <server-user-__unsubscribe@** >>>> james.apache.org <[email protected]>> >>>> <mailto:server-user-** >>>> [email protected] <server-user-unsubscribe@** >>>> james.apache.org <[email protected]>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> For additional commands, >>>> e-mail: >>>> [email protected]. >>>> **** >>>> __** >>>> ** >>>> >>>> ****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://apach__e.org> <http://apache.org><server-** >>>> user-help@james.__apache.org >>>> <mailto:server-user-help@** >>>> james.apache.org >>>> <server-user-help@james.**apache.org<[email protected]> >>>> >>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------**** >>>> __******----------------------****--__--** >>>> >>>> >>>> >>>> --** >>>> >>>> --**--------- >>>> To unsubscribe, e-mail: >>>> server-user-unsubscribe@james.****__****** >>>> apache.org >>>> <http://apache.org> >>>> < >>>> server-user-**unsubscribe@****ja** >>>> __mes.apache.org <http://ja__mes.apache.org> >>>> <http://james.apache.org><****unsubscribe@ >>>> __ >>>> james.apache.org >>>> >>>> <mailto:unsubscribe@james.**ap**ache.org<http://apache.org> >>>> <unsubscribe@james.**apache.org <[email protected]>> >>>> >>>>> >>>>>> <server-user-**unsubscribe@__**j** >>>> ames.apache.org <http://james.apache.org> <mailto:unsubscribe@james.** >>>> apache.org <[email protected]>**><server-user-__** >>>> [email protected] <server-user-__unsubscribe@** >>>> james.apache.org <[email protected]>> >>>> <mailto:server-user-** >>>> [email protected] <server-user-unsubscribe@** >>>> james.apache.org <[email protected]>>>> >>>> >>>> >>>> >>>> >>>> For additional commands, e-mail: >>>> [email protected].****__** >>>> >>>> ****org< >>>> server-user-help@james.**__****apach** >>>> e.org >>>> <http://e.org> <http://apache.org> < >>>> server-user-help@james.****apach**__e.org< >>>> http://apach__**e.org <http://apach__e.org>> >>>> <http://apache.org><server-**** >>>> user-help@james. >>>> __apache.org >>>> <mailto:server-user-help@**jam** >>>> es.apache.org <http://james.apache.org><server-user-** >>>> [email protected] <[email protected]>> >>>> >>>>> >>>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------**** >>>> __****------------------------****--__--** >>>> >>>> --**--------- >>>> To unsubscribe, e-mail: >>>> server-user-unsubscribe@james.****__****apache.org >>>> <http://apache.org>< >>>> server-user-**unsubscribe@__**ja**mes.apache.org< >>>> http://**james.apache.org <http://james.apache.org>> >>>> >>>> <mailto:unsubscribe@james.**ap**ache.org<http://apache.org> >>>> <unsubscribe@james.**apache.org <[email protected]>> >>>> >>>>> <server-user-__**unsubscribe@**james.apache.org<[email protected]> >>>>> <server-user-_**[email protected]<[email protected]> >>>>> > >>>>> >>>> <mailto:server-user-**unsubscr** >>>> [email protected] <[email protected]><server-** >>>> [email protected].**org<[email protected]> >>>> > >>>> >>>>> >>>>>> >>>> >>>> For additional commands, e-mail: >>>> [email protected].****__****org< >>>> server-user-help@james.****apach**__e.org< >>>> http://apach__**e.org <http://apach__e.org>> >>>> <http://apache.org> >>>> <server-user-help@james.__**apac**he.org< >>>> http://apache.org**> >>>> >>>> <mailto:server-user-help@**jam**es.apache.org<http://james.apache.org> >>>> <server-user-**[email protected]<[email protected]> >>>> > >>>> >>>>> >>>>>>> >>>> >>>> >>>> >>>> ------------------------------**** >>>> __**--------------------------****--__--**--------- >>>> To unsubscribe, e-mail: >>>> server-user-unsubscribe@james.****__**apache.org >>>> <http://apache.org><server-****user-__unsubscribe@james.** >>>> apache.org >>>> <server-user-__unsubscribe@**james.apache.org<[email protected]> >>>> > >>>> >>>> <mailto:server-user-**unsubscr**[email protected]<[email protected]> >>>> <server-**[email protected].**org<[email protected]> >>>> > >>>> >>>>> >>>>>> For additional commands, e-mail: >>>> [email protected].** >>>> **__**org<server-user-help@** >>>> james.__apache.org >>>> >>>> <mailto:server-user-help@**jam**es.apache.org<http://james.apache.org> >>>> <server-user-**[email protected]<[email protected]> >>>> > >>>> >>>>> >>>>>> >>>> >>>> >>>> >>>> ------------------------------****__--------------------------** >>>> --** >>>> --__--------- >>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****__ >>>> apache.org >>>> >>>> <mailto:server-user-**unsubscr**[email protected]<[email protected]> >>>> <server-**[email protected].**org<[email protected]> >>>> > >>>> >>>>> >>>>> For additional commands, e-mail: [email protected].* >>>> *** >>>> __org >>>> <mailto:server-user-help@**jam**es.apache.org<http://james.apache.org> >>>> <server-user-**[email protected]<[email protected]> >>>> > >>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------****----------------------------** >>>> --**--------- >>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org< >>>> server-user-**[email protected]<[email protected]> >>>> > >>>> For additional commands, e-mail: [email protected].****org< >>>> server-user-help@james.**apache.org <[email protected]> >>>> > >>>> >>>> >>>> ------------------------------****----------------------------** >>> --**--------- >>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org< >>> server-user-**[email protected]<[email protected]> >>> > >>> For additional commands, e-mail: [email protected].****org< >>> server-user-help@james.**apache.org <[email protected]>> >>> >>> >>> >> > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-user-unsubscribe@james.**apache.org<[email protected]> > For additional commands, e-mail: > [email protected].**org<[email protected]> > >
