Creating a Druable Queue in JBoss

Hi
Can anybody tell me how to create a Durable Queue in JBoss?
Regards
Swapna

Hi Sunil,
Please take a look at these..
http://help.sap.com/saphelp_erp2005/helpdata/en/bc/996b908db7485fabbacb9930714d7e/frameset.htm -- Queue sender and reciever
http://help.sap.com/saphelp_erp2005/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c1/739c4186c2a409e10000000a155106/frameset.htm
Hope they help!
cheers,
Prashanth
P.S Please mark helpful answers

Similar Messages

  • Creation of JMS queue in jboss server programmatically

    Hi Folks,
    How do we create a JMS queue in JBOSS server programmatically or dynamically?
    If anybody has a link or code that would be really helpful.
    Best Regards

    Hi,
    You can create a Queue programmatically. Once you've created a QueueSession, there is a method - QueueSession.createQueue( String name ). Just notice the JavaDoc:
    "This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.
    Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method."
    I hope this helps?
    Regards,
    J.

  • Error while creating a temp queue (JMSException sayin .Destination dosnt ex

    i will just post part of my code
    Properties env = new Properties();
                        env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.NamingContextFactory");
                        jndiContext = new InitialContext();
                        queueConnectionFactory = (QueueConnectionFactory)jndiContext.lookup("QueueConnectionFactory");
                        queue = (Queue) jndiContext.lookup(queueName);
                   }catch (NamingException e) {
                        System.out.println("JNDI API lookup failed: " + e.toString());
                        System.exit(1);
                   try {
                        queueConnection = queueConnectionFactory.createQueueConnection();
                        queueSession = queueConnection.createQueueSession (false, Session.AUTO_ACKNOWLEDGE);
                        queueConnection.start();
                        queueSender = queueSession.createSender(queue);
                        requestMessage = queueSession.createTextMessage();
                                                                requestMessage.setText("does");
    /* The code works fine  till here , but below as soon as i say  replyQueue = queueSession.createQueue("todo"); , it says the destination dosenot exist. why isnt it creating  a temporary queue for me . Exception thrown is javax.jms.JMSException :
    This Destination Does Not Exist.
                        replyQueue = queueSession.createQueue("todo");
                                            Destination replyDestination = replyQueue;

    createTemporaryQueue() already creates a unique
    destination; you don't need to do anything else.
    Note as we discussed in the previous thread; you
    should not create a temporary destination per
    request; you should create 1 temporary destination
    per consumer/process and reuse it across requests;
    using a correlationID to match requests to
    responses.
    James
    http://logicblaze.com/
    Hello Mr.James,
    pleeeeeeeeeeeeeeease give me one example of how do i create only one temporary queue and differentiate resposes based on CorrelationID, i mean i am just not able to do it , i feel i will have to browse through entire queue matching for CorrelationId's, however u had earlier rejected this approach
    THEN HOW DO I MATCH RESPONSES IN TEMPORARY QUEUES TO MY REQUESTS BASED ON CORRELATIONID , PLEASE GIVE ME AN EXAMPLE

  • I hope it's Kappy reading this. My HP Laserjet successfully installed but can't create a print queue...

    Hello Kappy - Thank you for persevering with my printer issues. Firstly, I use Firefox, recently updated & as yet have not discovered how to monitor downloads. The software for HP Laserjet 2200 was eventually automaticallly, and therefore correctly, installed.The Add Printer Pane accessed via the + button in the Printer & Scanner window is blank - the Name & Location and Print Using & Add areas are all grayed out, therefore I can't locate the printer driver even though it is in the Printer folder. I messed around with HP Direct Protocol & Line Daemon functions, entering my IP address, just to see if I could locate the printer driver - I could. However, I get a pop-up window which says 'Unable to verify the printer on your network' but it gives me the option of going ahead anyway, which I did. I was able to create a print queue, able to give a print command, the printer window opens, but the printer appears as 'busy', but of course it's not printing. To look at the issue from another perspective: previously I was running 10.5.8 on my old Power Mac G5 and a week before I shifted over the iMac I paused the printer but when tried to resume printing I got a pop-up message saying IPadmin > enter administrator name + password. Which of course I couldn't do - I discovered this was a bug afflicting10.5 & 10.6 operating systems; the only way I could get around it was by re-creating myself as a new administrator, which I did, and got the printer going again. So, if I have a "Network" printer perhaps there's another route to get the driver recognized... What do you think?
    Alex Carr

    Morning Alexander Carr,
    Thanks for using Apple Support Communities.
    Use this article to troubleshoot printer issues in OS X.
    For more information on this, take a look at this article:
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    Best of luck,
    Mario

  • Can't create a print queue on OS 10.7 via HP driver installed by Apple

    I've ust bought a reconditioned iMac and am getting applications up and running, but I'm unable to get my HP Laserjet 2200DN printer working. The Add Printer pane (Print & Scan Preferences) remains blank: Name & Location and Print Using & Add areas are all grayed out, therefore I can't locate the printer driver even though it has been installed in the Printer folder. I've messed around with HP Direct Protocol & Line Daemon functions, entering my IP address, just to see if the printer driver could be located - it could. However, I get a pop-up window which says 'Unable to verify the printer on your network' but it gives me the option of going ahead anyway, which I did. I was able to create a print queue, able to give a print command, the printer window opens, but the printer is  'busy', but of course it hasn't been given the command to print  anything.  Any ideas?
    Alex Car

    Morning Alexander Carr,
    Thanks for using Apple Support Communities.
    Use this article to troubleshoot printer issues in OS X.
    For more information on this, take a look at this article:
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    Best of luck,
    Mario

  • Defining/Creating a JMS Queue in XI

    Scenario: Third party system would post messages in XI Jms queue, the messages would ultimately be sent to SAP.
    Need to create this JMS queue in XI which receives Jms messages from third party.
    Steps done:
    1) Defined Sender Communication Channel 'CC_JMS'
    JNDILookup name:jmsfactory/default/QueueConnectionFactory
    JMSQueue:jmsqueues/default/JMS_queue
    initialcontextfactory:com.sap.engine.services.jndi.InitialContextFactoryImpl
    JNDIServerAddress:<<serverIP>>:50004
    2)Defined sender ID for the outbound interface in SXMSIF
    3) Added job(I've given the name, is it right?) in SXMb_Adm and Defined message filter for that job. activated.
    4)configured message filter for the above sender ID. Queue name XBT1
    5)when checked in adapter monitor for JMS_queue.Shows the following error message
      CC_JMS : Sender channel. Details: Object not found in lookup of JMS_Queue.
    Questions:
    1)Is that the right approach i am following
    2)How do i assign CC_JMS  to JMS_queue
    3)How do i know if JMS_queue is up and running
    thnx
    sunil

    Hi Sunil,
    Please take a look at these..
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/996b908db7485fabbacb9930714d7e/frameset.htm -- Queue sender and reciever
    http://help.sap.com/saphelp_erp2005/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c1/739c4186c2a409e10000000a155106/frameset.htm
    Hope they help!
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Internal Error ORA-0600 when creating multiple consumer queue table

    Hi,
    I tried to create a multiple consumer queue table with the following statements:
    exec DBMS_AQADM.GRANT_TYPE_ACCESS ('system');
    create type Change_History_Trigger_Data as object(Col1 VARCHAR2(255), Col2 VARCHAR2(128), Col3 VARCHAR2(255), Col4 TIMESTAMP, Col5 VARCHAR2(64), Col6 VARCHAR2(64), Col7 NUMBER(8));
    Works fine till this stage. But the following statement produces an ORA-0600 internal error message.
    EXEC DBMS_AQADM.CREATE_QUEUE_TABLE ('change_history_queue_tbl','Change_History_Trigger_Data', 'tablespace my_tblspace','ENQ_TIME',TRUE,DBMS_AQADM.TRANSACTIONAL);
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kcbgtcr_4], [14392], [0], [1], [], [], [], []
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2224
    ORA-06512: at "SYS.DBMS_AQADM", line 58
    ORA-06512: at line 1
    I tried creating the same queue table with Multiple consumer = FALSE, and it works fine. But not with multiple consumer = TRUE
    I'm running on Oracle9i Enterprise Edition Release 9.2.0.6.0
    Any possible solutions?

    Problem solved.
    The queue name was too long. Found a post with the same problem.
    Re: Create Queue Table ORA-00600 while dbms_aqadm.create_queue_table
    thanks anyway

  • Creating a destination queue programatically

    Is there any way to create a Destination Queue for a Connection Factory through my Java program, if I do not want to do it through the Admin console?
    Specifically, is there an API to create a JMS queue?
    Thanks.

    What do you mean by creating Queue for ConnectionFactory? ConnectionFactory is to create connection to the JMS server.
    JMS provides methods like createTopic and createQueue but they are for converting provider specific name into Topic or Queue object for destinations already existing. One can not create physical destinations through these methods. Exception is for temporary destinations. Methods are createTemporaryQueue and createTemporaryTopic. Their life period is that of the connection. They will be garbage collected when the connection is closed.
    Sagar
    http://www.sun.com/software/products/message_queue/

  • Create AQ Buffered Queue?

    How do you create an AQ buffered queue? I tried the following:
    DBMS_AQADM.CREATE_QUEUE_TABLE(
    queue_table => 'TEST_TABLE',
    queue_payload_type => 'SYS.ANYDATA',
    sort_list => 'PRIORITY,ENQ_TIME');
    DBMS_AQADM.CREATE_QUEUE('TEST_QUEUE','TEST_TABLE');
    DBMS_AQADM.START_QUEUE('TEST_QUEUE');
    which creates a test queue under my 'jmsuser' account. However, when I run 'select * from v$buffered_queues' as sys, it returns no rows (the view does not exist under jmsuser)!
    Three questions:
    1. Is the v$buffered_queues wrong?
    2. Did I create a buffered queue?
    3. And if not, how do you create a buffered queue? I thought that giving the payload as 'SYS.ANYDATA' would suffice...
    Thanks!

    How do you create an AQ buffered queue? I tried the following:
    DBMS_AQADM.CREATE_QUEUE_TABLE(
    queue_table => 'TEST_TABLE',
    queue_payload_type => 'SYS.ANYDATA',
    sort_list => 'PRIORITY,ENQ_TIME');
    DBMS_AQADM.CREATE_QUEUE('TEST_QUEUE','TEST_TABLE');
    DBMS_AQADM.START_QUEUE('TEST_QUEUE');
    which creates a test queue under my 'jmsuser' account. However, when I run 'select * from v$buffered_queues' as sys, it returns no rows (the view does not exist under jmsuser)!
    Three questions:
    1. Is the v$buffered_queues wrong?
    2. Did I create a buffered queue?
    3. And if not, how do you create a buffered queue? I thought that giving the payload as 'SYS.ANYDATA' would suffice...
    Thanks!

  • Really impossible to create a web service for JBoss using eclipse's WTP?

    I'm starting to get nuts!!!
    I'm an experienced J2SE and J2ME Java developer... but I have huge problems creating a web service using eclipse WTP!
    The tutorials I found are for tomcat... But I want to code for JBoss and not for tomcat...!!!
    There must be somebody out there with the same issues...
    This tutorial works fine for Tomcat...
    http://www.eclipse.org/webtools/community/tutorials/BottomUpWebService/BottomUpWebService.html
    But if I do the same with JBoss... it's not possible to incoke my web service method... ok, I thought... just need to check google... BUT I didn't find any solution in the whole WWW. Found a lot of questions of people with the same problems... but no solution! :(
    Still getting that:
    ERROR [EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
    I know a little bit what a wsdd does... but isn't it the job of the WTP to create that file???
    I really hope you have some places for me to start, 'cause I don't know anymore places to ask for...
    Maybe this is a JBoss issue... I don't know...
    Or is there a tutorial on how to create a web Service using JBoss IDE?
    Sascha

    Hi Massimo,
    Quiet a few points here.
    1. Oracle Type objects do not map to XML Complex type
    2. Oracle Type objects do not map to Apex Page Item Types
    3. Apex Page Item types are substituted into the WS Request XML by a process which is part of the Web Service Reference creation through the Wizard in Apex.
    >
    After created the web service (without any errors), I click on test.
    - I can select the Operation --> CREATE_LINGUA
    - I can input data for Basic Authentication
    - I can't view Input Parameters --> Report returned no rows.
    I've tried with normal type like Varchar2 and all was ok.
    Is possible in Apex to use web services based on complex type, tipically an Array?
    >
    As you have guessed the Wizard driven Web Service Reference definition process cannot handle complex types of input parameters required by a Request. By definition the number of complex types possible are infinite, so they are not likely to come built in.
    Passing an array is no solution because finally the values passed have to be plugged into the right SimpleTypes inside a ComplexType in the Request.
    Based on your WSDL your Request will be
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cre="http://xmlns.oracle.com/orawsv/GRIMALDI/PKG_WEBSERVICES/CREATE_LINGUA">
       <soapenv:Header/>
       <soapenv:Body>
          <cre:SNUMBER-CREATE_LINGUAInput>
             <cre:PLINGUA-LINGUAT-CIN>
                <cre:LINGUAT>
                   <cre:CODICE>?</cre:CODICE>
                   <cre:DESCRIZIONE>?</cre:DESCRIZIONE>
                </cre:LINGUAT>
             </cre:PLINGUA-LINGUAT-CIN>
          </cre:SNUMBER-CREATE_LINGUAInput>
       </soapenv:Body>
    </soapenv:Envelope>However, all is not lost. You can always use the UTL_HTTP package API to construct your Request.
    Regards,

  • How to limit max number of downloads at once (and create a download queue)

    I just "upgraded" to Mozilla 26.0 last night and was quite irritated that they changed the made it so that I cannot access the old download window. Was it really necessary to get rid of the work-around to get to the old download window?
    Anyway, besides being more visually appealing, it previously downloaded two files at a time, unless I manually forced it to do more. The rest of the files would go into a download queue to wait their turn. After the update, it no longer creates a queue, leading to much slower downloads and it also slows my computer if I download too much.
    Is there any way that I can limit the max number of downloads (unless I want to force it to download more) like I had on the previous version of firefox? I would prefer not to add more any add-ons, so if there is an check-box that I missed somewhere or something in about:config that would allow me to do this it would be better.
    Also, is there any way to pause downloads now?

    Check these 2 articles
    https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file?esab=a&s=how+to+put+a+file+in+download+queue&r=2&as=s
    https://support.mozilla.org/en-US/kb/find-and-manage-downloaded-files?esab=a&s=limit+maximum+number+of+downloads+and+create+a+download+queue&r=1&as=s
    This might help you.
    Thank you.

  • Error creating integration event queue

    I have Administrator role and has Integration: Integration Event privilege. All options are enabled in the Integration Settings section on the Company Profile page.
    When I tried to create a new queue, I got the below error
    Access Denied.(SBL-ODS-50085)
    Do you have any idea?
    Thanks

    Turned out this feature was turned off for my dev environment. I need to ask Customer Care to turn it on.
    Thanks

  • ThreadpoolExecutor not creating threads unless queue is full

    Hi I want to use the threadpool provided in java. i.e Threadpoolexecutor.
    The requirement is:
    1. I need to have a corepool size(1)
    2. I need to have Maxpoolsize(40)
    3. I need to have a Queue without predefined capacity. I can use a LinkedBlockingQueue for this.
    But the problem is, if i construct a threadpool,
    ThreadPoolExecutor threadPool = new ThreadPoolExecutor(1,40,600, TimeUnit.SECONDS,new LinkedBlockingQueue<Runnable>());
    No new threads are created until the queue is full. I.e the no more than corePoolSize threads will ever be created. (And the value of the maximumPoolSize therefore doesn't have any effect.). But what i need to have is everytime a task is submitted, it should create a thread until it reaches MaxpoolSize() and then it should start Queing requests.
    I know that this is a documented behaviour in javadoc. But i need to know if there is a proven workaround to do so.
    Is there a way to do So.....

    Please don't [double post|http://forums.sun.com/thread.jspa?threadID=5379100].

  • Trouble performing a lookup for the queue on JBoss/axis

    Hi all,
    I am trying to develop a webservice which can write messages to a JMS queue and read from a JMS topic. JBoss is the application server, and i have installed tomcat axis 1.1 on the server for developing the webservice.
    I am having trouble accessing looking up the queue, to be clear this is the code im using,
    QueueConnectionFactory cf_callset;
    TopicConnectionFactory cf_resultset;
    try
         Hashtable props = new Hashtable();
         props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
         props.put(Context.PROVIDER_URL,"jnp://localhost:1099");
         Context ctx = new InitialContext(props);
    cf_callset = (QueueConnectionFactory)ctx.lookup("XAConnectionFactory");
    cf_resultset = (TopicConnectionFactory) ctx.lookup("XAConnectionFactory");
    m_callSetQueue = (Queue)ctx.lookup("queue/CallSetQueue");
    m_resultSetTopic = (Topic)ctx.lookup("topic/ResultSetTopic");
    catch(NamingException ne)
         Logger log = new Logger();
         log.logError("221","Failed To Initialize JMS", ne.getStackTrace().toString());
    this code snippet throws a NamingException saying CallSetQueue not bound. but when i run this code snippet as a console application, it works just fine.
    i have also observed a strange thing.
    this class is in a different package, so i have copied this package files in to the /axis/web-inf/classes folder.
    I tried in a different way by, adding this code snippet to a method in the .jws file itself and it worked fine. im really confused as to why this is happening.
    Any help will be greatlly appreciated.
    Thanks

    Thank you for your response - I'm not sure I understand your question,  but hopefully this will help: I created a table, then dragged numeric fields into the cells from the object library. I clicked the numeric fields to name them Fed 1, Fed 2 etc.
    Does that help?

  • Creating a new Queue table

    Hi All
    Does any one knows how to create a queue table in the tablespace of the Oracle 10g database?

    Hi
    I used the command
    begin
    sys.dbms_aqadm.create_queue_table(
    queue_table => 'JMS_ABC_QUEUETABLE',
    queue_payload_type => 'SYS.AQ$_JMS_MESSAGE',
    sort_list => 'PRIORITY, ENQ_TIME',
    compatible => '10.0.0',
    primary_instance => 0,
    secondary_instance => 0,
    storage_clause => 'tablespace system pctfree 10 initrans 1 maxtrans 255
    storage ( initial 64K minextents 1 maxextents unlimited )');
    end;
    and it shows
    ORA-01950: no privileges on tablespace 'SYSTEM'

Maybe you are looking for

  • Disk utility won't let me erase my hard drive

    I'm giving my old PowerBook to a family member and want to erase the HD and reinstall 10.5.4 fresh. I opened Disk Utility and selected Erase and the drive bu the Erase... button is not available (transparent). How do I do this?

  • How do i get my tool bar  back on the screen

    How do I get my tool bar back on the bottom of my screen?

  • Stock Categories

    Where can I go to add in (or change the settings of) a new stock category? We are running the AFS version of SAP and I am looking for a way to block a grid value from being purchased or sold before it is completely setup.  This would be so that we do

  • Block plannng for non-configurable products

    Hi ALL, I wish to create blocks on a production rsource as follows, class- chemistry characteristics- chem1, chem2, chem3,chem4 when PPDS plans for products with chemistry chem1, the planned orders should be created in the block chem1 and so on, so t

  • Problem with Instead of Update

    Hello, I have a form that is based on a view. the query to create my view contains a Group by. I wrote this backend trigger that follows to insert and update in a table instead of on a the view. CREATE TRIGGER POPULER_GPV_OBJEC_PROD_AN INSTEAD OF INS