Maximum number of messages sent to a Queue?I hav

I am currently using Glassfish v2.1 and I have set up a queue to send and receive messages from with Sesion beans and MDBs respectively. However, I have noticed that I can send only a maximum of 1000 messages to the queue. Is there any reason why I cannot send more than 1000 messages to the queue? I do have a "developer" profile setup for the glassfish domain. Could that be the reason? Or is there some resource configuration setting that I need to modify?
I have setup the configuration properties as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Resource Definitions //EN" "http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd">
<resources>
  <admin-object-resource
        enabled="true"
        jndi-name="jms/UpdateQueue"
        object-type="user"
        res-adapter="jmsra"
        res-type="javax.jms.Queue">
    <description/>
    <property name="Name" value="UpdatePhysicalQueue"/>
  </admin-object-resource>
  <connector-resource
        enabled="true" jndi-name="jms/UpdateQueueFactory"
        object-type="user"
        pool-name="jms/UpdateQueueFactoryPool">
    <description/>
  </connector-resource>
  <connector-connection-pool
        associate-with-thread="false"
        connection-creation-retry-attempts="0"
        connection-creation-retry-interval-in-seconds="10"
        connection-definition-name="javax.jms.QueueConnectionFactory"
        connection-leak-reclaim="false"
        connection-leak-timeout-in-seconds="0"
        fail-all-connections="false"
        idle-timeout-in-seconds="300"
        is-connection-validation-required="false"
        lazy-connection-association="false"
        lazy-connection-enlistment="false"
        match-connections="true"
        max-connection-usage-count="0"
        max-pool-size="32"
        max-wait-time-in-millis="60000"
        name="jms/UpdateFactoryPool"
        pool-resize-quantity="2"
        resource-adapter-name="jmsra"
        steady-pool-size="8"
        validate-atmost-once-period-in-seconds="0"/>
</resources>Edited by: happy_go_lucky_mate on Nov 16, 2009 10:00 AM

The imqbroker log states:
[17/Nov/2009:10:27:57 CST] ERROR sendMessage: Sending message failed. Connection ID: 427038234214377984:
com.sun.messaging.jmq.jmsserver.util.BrokerException: transaction failed: [B4303]: The maximum number of messages [1,000] that the producer can process in a single transaction (TID=427038234364096768) has been exceeded. Please either limit the # of messages per transaction or increase the imq.transaction.producer.maxNumMsgs property.Looks like the imq.transaction.producer.maxNumMsgs property is set to the default value of 1000. As per the documentation,
The maximum number of messages that a producer can process in a single transaction. It is recommended that the value be less than 5000 to prevent the exhausting of resources.
So what do I need to do if I need to send more than 5000 messages?

Similar Messages

  • How to set up the maximum number of messages on a queue programmatically

    Hi,
    I am using IMQ 3.5 to implement a message layer for one of my projects. I created a "Job Status Queue", which receives job status report from a java application every minute. But I just want to keep the most current status report instead of all the job running history. How can I restrict the maximum number of messages to 1 programmatically?
    Any suggestion or help will be appreciated.
    Xiaoyun Tang

    You can't limit the destination size programmatically, but you can do it administratively and associate a behavior to occur when the limit is reached. In your case it sounds like you want a queue, 1 message deep, and to discard the oldest message when the queue is full. When you create the physical queue on the broker you can specify these attributes (you can also update them on an existing queue). For example:
    imqcmd create dst -t q -n StatusQ -o maxNumMsgs=1 -o limitBehavior=REMOVE_OLDESTFor more information see Chapter 6 of the Message Queue Administration Guide. In particular the "Managing Destinations" section:
    http://docs.sun.com/app/docs/coll/MessageQueue_35_SP1
    Joe

  • HT4863 i am receiving a message that i have reached the maximum number of messages i can send out today but i have not even sent 5 emails out yet today ?

    i am receiving a message that i have reached the maximum number of messages i can send out today but i have not even sent 5 emails out yet today ?

    I'll add that this can happen when snapshotting is used as a backup method. You can set max endpoints to 32 and still see the issue. Please ensure that you're backing up using the supported PowerShell commands: http://technet.microsoft.com/en-us/library/hh202170.aspx
    and not just a snapshot of the VM. If raising max endpoints does not resolve the issue, try backing up with the management shell commands within a recurring scheduled task or try http://gallery.technet.microsoft.com/office/Backup-script-for-Lync-2013-aacbb9b9
    . Then disable the snapshot ting for your front ends, bounce them one at a time, and ensure the data exports you've made are backed up as flat files.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel rec

    I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • TS2755 how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    how do i track the number of messages sent? i am on a limited sms plan so i want to know how many messages was i able to send in a month. is there an (free) app for it??

    Doubtful unless your carrier has an app that includes the option.
    My carrier has an app that I can check current usage and past usage with a previous bill and pay the bill.

  • How to list total number of message in specific Topic/queue using wlst comm

    Hi All,
    Message queue
    How to list total number of message in specific Topic/queue using wlst command

    aaaah sorry, I didn't notice you were looking for a SPECIFIC topic, bad me
    then do something like
    <pre>
    connect('weblogic','weblogic','t3://localhost:8001')
    servers = domainRuntimeService.getServerRuntimes();
    if (len(servers) > 0):
    for server in servers:
    jmsRuntime = server.getJMSRuntime();
    jmsServers = jmsRuntime.getJMSServers();
    for jmsServer in jmsServers:
    destinations = jmsServer.getDestinations();
    for destination in destinations:
    if destination.getName() == 'YOURQUEUE':
    print "Destination ", destination.getName(), " MessageCount ", destination.getMessagesCurrentCount()
    </pre>
    of course performance-wise this is a terrible script because you loop on all destinations, I am sure there is a way to lookup a specific destination, but I am too lazy to investigate....

  • Maximum number of parameters sent to stored procedure

    I have a web form from where I insert data to Oracle. There are at least 20 fileds on the form. For INSERT I want to use Stored Procedure. But in this case for VALUES section of the INSERT statement I need to send that many- in this case 20 parameters. Is this normal for a procedure to receive 20 parameters? If it's not, then what way should I follow to perform this? I know technically there's no problem but is this normal programming or database managementwise? I think this is the basic thing all web developer do all the time.

    He's got 20 fields on a web form and you think using SQL*Loader is a good idea ?because I do not believe that he has to enter these fields once time.
    You want him to write the values to a flat file, generate a control file, then invoke SQL*Loader ?I know that the first time you create all those files can be a problem, but when you have all , the next times its just change the information into flat file.
    Did you read the question ?Yes, i did
    It's only my opinion, He can accept it or not.
    any other question not related to help him to solve his problem?

  • Maximum number of basic combination permitted is 1000 error message in DP

    Hi Friends,
    When we run forecasting in interactive mode, we receive the following error in messages tab and doesn't provides any results after the run.
    "Number of basic combinations processed is 3032"
    "Maximum number of basic combination permitted is 1000"
    We have selected closed to 3000 CVC combination in the selection profile and execute the forecast at material level
    When we choose the CVC less than 1000, then it works fine for us.
    Can anybody provide some pointer where this 1000 limit is configured / maintained in DP? Can I increase the number or is it standard?
    Thanks in advance
    Regards,
    Rajesh Manoharan

    Hi,
    you can set the values using report /sapapo/rmdp_fcst_agglc_cust.
    You may face memory and/or performance problems by increasing the
    parameter since more details can (and need to) be read.
    Please also see note 642593.
    Best regards
    Rico Frenzel

  • Is there an APP to monitor call usage and number of texts sent

    Is there an APP to monitor call usage (in minutes) and number of texts sent etc so I can ensure I am keeping within my contract? I am getting my 3GS on Thursday so do not know if the phone has this facility already inbuilt or whether there is an app I can buy to do this for me?
    Thank you for any help and info to answer my question.

    Unless O2 has an app available via the iTunes app store that provides for this as AT&T does for the iPhone sold in the U.S., I don't believe so.
    The iPhone includes a usage indicator for Call Time and Cellular Network Data usage, which can be reset on a monthly basis based on your billing cycle, but there is no usage indicator for the number of messages sent or received.

  • Maximum number of pictures and pages in book?

    What is the maixmum number of pictures you can use when ordering a book?
    What is the maximum number of pages for each book you can have when ordering through Apple?
    Thanks

    What is the maixmum number of pictures you can use when ordering a book?
    Depends on the theme you choose - see Liz Castro's page for examples of each theme and all of the layouts available for each theme - http://www.lizcastro.com/iphotobookthemes/
    So if you chose the picture book theme and choose to have 16 photos per page you could have 1600 photos in a book
    On the other hand if you chose the folio theme then you would be limited to 200 photos in a book
    What is the maximum number of pages for each book you can have when ordering through Apple?
    50 sheets of paper - 100 pages
    LN

  • Maximum number of tabs in a tab control

    Hi,
    does anybody know which is the maximum number of tabs that a tab control can have?
    Thank you very much!
    Solved!
    Go to Solution.

    Here is an example that loads a 'fortune' style text file and randomly selects one of the elements. (LV 8.6) 
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    lv_fortune.zip ‏20 KB

  • Maximum number of pictures when ordering prints??

    I ordered prints last night -- from about 225 images. Some 4x6. Some 5x7. Etc. The upload was about 500MB. All was going well - until it got within 10mb of finishing - and showed that it had uploaded 224 of the 225 images. The blue bar was still doing its thing -- and the web connection was still live, which I checked by using Safari, etc.
    So - I left it overnight -- figuring it was finalizing or something like that. I woke up to find the upload in the same exact position. 10MB and one image short of being done.
    Is there a maximum number of photos you can upload to print?

    What is the maixmum number of pictures you can use when ordering a book?
    Depends on the theme you choose - see Liz Castro's page for examples of each theme and all of the layouts available for each theme - http://www.lizcastro.com/iphotobookthemes/
    So if you chose the picture book theme and choose to have 16 photos per page you could have 1600 photos in a book
    On the other hand if you chose the folio theme then you would be limited to 200 photos in a book
    What is the maximum number of pages for each book you can have when ordering through Apple?
    50 sheets of paper - 100 pages
    LN

  • Queue's have to be unlocked again and again in ECC

    Hi All,
    We are facing a issue in ECC, that when ever a new message comes in ECC, the queue gets locked and we have to unlock it again and again. The queue gets into Ready state and they have to be unlocked using unlock button on top in SMQR TXN.
    I have tried selecting all queues and regestring them again but it doesn't help.
    please advice.
    XIer

    queues are locked when the load to the processor is hight..and the second task is in queue while first one is processing at that time..secodn process will be locked after some time..extent
    1) clear the queues in SMQ2,first try to activate them,if that doesn't work them delete them
    2)You may need to re-register your queues.
    Follow SXMB_ADM -> Manage Queues -> Deregister Queues
    Afterwards, re-register the queues and activate from the same screen
    3)Only use SMQ1 (outbound queues) and SMQ2 (inbound queues) if re-registering doesn't fix it. You will need to give the queues sometime to get activated so be patient.
    4)From SXMB_MONI go to Queue ID of the message, a click here shall take you to qRFC monitor.
    if the messages are stuck, you should see an entry indicating number of messages stuck in the queue.
    a double click on the entry shall take you to detailed list.
    if the messages are stuck because of any error (other than queue not registered etc for e.g. a message failure) then the first message shall show you that.
    if indeed you find a message stuck in the queue then the way is to delete the stuck message (DONT DO THIS IN PRODUCTION SERVER without being sure of what does this mean for that particular process !!) and unlock the queue from previous screen.
    5)Go to smq2 and execute F8. Then it should come as Nothing was Selected.
    If any queues are present then open a queue.if the status is SYS ERROR check the entries,right click on the status text and give save LUW.This brings queue to READY. .
    GoTo-> Qin Scheduler: check for the scheduler status to be inactive->Edit-> Activate Scheduler: status frm inactive to starting to wait.Now the queue will be RUNNING.U can see the entries in the queue moving.
    Now go to SMQ3, right click on the queue and give Restore LUW.
    6)this basically means tht message is waiting in the queue.
    in sxmb_moni go to queue Id column and double click on the entry .It will take u to SMQ2.Check the status of the queue
    If its SYSFAIL or STOP then double click on it and try to correct the error.After correcting the error send the message again.Also check whether the Queeu is Registred in transaction SMQR.
    7)Select your queue form the sxmb_moni, you will reacht he QRFC monitor.
    Here you will see some lock figures on the , Select on the 'Unlock Queues'. Activate your queues once again.
    This is if your data is correct and queue is stuck. You should only delete the queue if it has errored out due to incorrect data and you need to urgenetly process the rest of the data in the queue.
    If you drill down one step more than selct the error message and on the menu select edit-->Save LUW.
    AND
    Due to connection failure or some other system failure the queue will stop...
    If once any failure in the queue then after posting msg also stop...
    so that we need to run the 3 reports in Xi system..
    it will automate the queue process if any error accure ...
    If periodicaly u ill run this reports then the reports will Automate your failure messages ..
    Trfc- RSQIWKEX
    Qrfc – RSARFCEX
    OtherErrors- RSXMB_RESTART_MESSAGES...

  • ORA-20001: Maximum number of email messages per workspace exceeded

    Greetings. We are running APEX 4.1.1. I have an application where we have to send out email messages to a list of emails. Currently there are 2469 email addresses. Originally we put the email addresses in the BCC but we received an error that we had exceeded the size limit of the BCC. So we modified our procedure to send one email at a time, in a loop.
    Now we are receiving the following error message:
    "ORA-20001: You have exceeded the maximum number of email messages per workspace"
    Has anyone else run into this issue? What is maximum number or email messages per workspace? Is it a limit per day, per session?
    We have not added emails to this table since last year, so the maximum number of email messages allowed may have changed recently?
    I did find this Forum post that addressed the issue but no one responded:
    How many mails i can send at a time per day using APEX mail system?
    Thanks,
    John

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • How should I find out the number of messages on queue?

    I am using iMQ 3.0. Point-to-point messaging.
    I have sent some messages to the queue. How should I
    find out the number of messages on queue ?

    You can use MQ's admin tools (imqcmd or imqadmin)
    to find that out.
    'imqcmd query dst -n queuename -t q' will print out what
    you want.
    Check the administration guide for more info.

Maybe you are looking for

  • No longer have access to old account email or password and need it to do a cloud restore

    I just got a new iphone 5s today and while doing the restore from the cloud, it asks me for the password of an old username (email) that I no longer have access to.  If I choose to skip this step, the restore won't complete and tells me to choose ano

  • Issue with Adobe Form Layout

    Hi, I have an issue with the Adobe Form Layout.Although I have added a field in the Context Menu of the Form Builder but the context has not been added to the Data View. Could you please help me to understand how to include the parameters and structu

  • Read external XML stream into a field

    Hello all - I have been trying to get this working for a week now and still no luck. It seems like it's possible to find field values to external XML file, but Acrobat tries to parse the XML and be smart about it. I have a custom form logic that need

  • HT4052 how to upgrade iphoto 8.1.2 to iPhoto 11?

    I have MBP OS 10.6.8 and want to upgrade iPhoto 8.1.2 to iPhoto '11 so my iPhoto Library from my MBA which uses iPhoto '11 with OS 10.6.8 can be opened. I have gone to the Apps stall to purchase the upgrade and I get this message "iPhoto 8.1.2 is alr

  • Synchronizing contatcs from Outlook 2003

    Does anyone know how to sync contatcs from Outlook 2003 to my iPod using iTunes (Windows XP)? On Apple support I have found a way to do it mannually by just saving from Outlook a contact as a vCard file, but doing this way I always lose the photo of