How to define a persistant queue in glassfish v2.x

Hi Everyone,
I just wanted to ask how to define a persistent queue in glassfish v2.x.
Basically I want that, if there are un-consumed messages in the queue and the goes goes down, the messages will still be there once the queue comes up.
I haven't seen where I can configure these features, or whether it's a default setting.
If you can provide some screen shots for the configuring that'd be great.
If glassfish can't do it what other similar program can I use?
Thanks

Hi Peter,
You can find all information you need on Oracle Application Server JMS in the documentation:
http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
HTH,
Bas

Similar Messages

  • How to define a transaction queue in xmlgateway setup?

    Hi folks:
    I have made a sample in XMLgateway successfully. But that is using the OTA way, which I send the request use the Oracle Transport Agent with this link:http://[hostname]:[port]/webservices/ECXOTAInbound, and I can see the status in Transaction Monitor is successful. And From Oracle DB, I can see the message is enqueued the ecx_inqueue table(Inbound Message Queue) first, and then the workflow BES enqueues the message to the ecx_in_oag_q_table(inbound transaction queue) for XML gateway to process.
    And my question is: When I try to send the message rather by axis client than by the link http://[hostname]:[port]/webservices/ECXOTAInbound, there is no record for this message in Transaction Monitor. And from Oracle DB, I can see the message is enqueued the wf_ws_jms_in table(Inbound Message Queue) first, and then the message is not enqueued into ecx_in_oag_q_table(Inbound transaction queue). But a error message is insert into ecx_inbound_logs.
    So,What I want to ask for help are following:
    1.How can I define the transaction queue for trading partner's transaction?
    2.Is there another inbound transaction queue I can use for wf_ws_jms_in(Inbound Message Queue)?
    3.Is this transaction queue(ecx_in_oag_q_table) only receive the message from ecx_inqueue table(Inbound Message Queue)? If yes, what's the transaction queue receive the message from wf_ws_jms_in table(Inbound Message Queue), and How can I assign this transaction queue to my JMS and web service request trading partner?
    I really appreciate if anyone can help me to make such thing clear. Thanks very much.I'm always waitting...

    i have  a program in production system if i type the request and execute its sends a mail to my admin saying to transport the request to production system.....thats y??????
    just tell me ur idea.............

  • How to define a queue in SPAM?

    how to define a queue in SPAM?
    And also tell me the steps or procedure to apply support packs .

    Hello kumar,
    - Download the support packs from service.sap.com (provided you have a login ID) to the usr\sap\trans directory.
    - Open a command prompt and change the directory to
    NT: :\usr\sap\trans
    UNIX: /usr/sap/trans
    - Unpack the support packs using the following command:
    NT: CAR -xvf :
    .CAR
    UNIX: CAR -xvf ///.CAR
    This command unpacks the files that need to be imported into your SAP instance into the usr\sap\trans\eps\in directory.
    - Log into client 000 as user DDIC
    - Call transaction SPAM
    - Once in transaction SPAM, go to menu option Support Package->Load Packages->From Application Server. It will ask you if you want to upload the files - click the green check mark on the box that appears to upload the files.
    - Another screen will appear listing the files that you uploaded successfully - just click on the Back arrow to get back to the SPAM screen.
    - On the SPAM screen, click on the Display/Define button.
    - A box will appear with the Support Package categories (Basis, ABA, etc.)
    - Click on the category for the support packages that you uploaded and it will list them in order.
    - You can apply them individually or the whole list at one time.
    - To apply individually, select the first one in the list and then hit the green check mark at the bottom left of the box. Then on the SPAM screen, go to menu Support Package->Import Queue.
    - Confirm that you want to import the support package.
    - Once it is done importing, you have to confirm the queue by clicking on the
    Confirm Queue button - this will turn the yellow light in the Status area to green.
    *Always check your logs after applying support packages by clicking on the Logs button in the SPAM screen.
    Regards,
    Raju.

  • How to define a JMS queuen in AppServer? Firewall-Ports?

    How do I define a JMS queue in Oracles AppServer (for usage in SoaSuite)?
    Which ports do I have to open in firewall to get the JMS queue be accessible from other (remote) computers?
    Peter

    Hi Peter,
    You can find all information you need on Oracle Application Server JMS in the documentation:
    http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
    Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
    I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
    HTH,
    Bas

  • How to define JMS-Adapter WSDL?

    Is there somewhere a short guide on how to define a WSDL für accessing
    a JMS queue through an JMS adapter?
    How do I have to define the XSD for the payload of a JMS message?
    Peter

    Srini,
    the URL format u need to give while creating webservice is ....
    <b>http://url:port/XISOAPAdapter/MessageServlet?channel=:service:channel</b>
    here
    service= <b>sender business ser</b>vice /<b>business system</b> whatever u have used.
    channel= sender communication channel
    for example
    <b>http://xyz.com:59600/XISOAPAdapter/MessageServlet?channel=:BS100:Sender_SOAP</b>
    BS100= sender business system
    SEnder_SOAP = sender communication channel
    hope u r clear now!!!!
    regrads
    biplab
    Use a Good Subject Line, One Question Per Posting - Award Points

  • How to manage an Asynchronous Queue???

    Hi all,
    Been searching for quite some time on what the best way is/simply how to manage an Asynchronous Queue.
    I would have thought it was easy, but I'm definately getting the impression I am wrong. Here is some information that I would like to be front-facing on my client (whether Swing/Applet/Web-based hopefully does not make a difference):
    1. The number of messages waiting
    2. The number of messages being processed at the moment
    3. The date/timestamp of each message in waiting
    4. (optional) a user or programatically assigned name for each message in the queue (so that I will know what message I am looking at in-waiting).
    Seems pretty standard, but I don't see a standard way of getting this information! Someone, please show me I'm not insane! =)
    Environment is JDK 1.4.2, J2EE 1.3, JBoss 3.2.2, Message-Driven Beans.
    TIA,
    -D

    1,3 & 4 are possible from the QueueBrowser

  • Non-persistent Queues and JMS API

    Hi,
    Is it possible to use non-persistent queues via JMS API. My application will always get an NullPointerException when trying to create a queue receiver i.e.
    QueueReceiver rec = qsession.createReceiver(queue);
    Any ideas and thx in advance,
    Wolfgang

    Mark,
              If you want this persistent behavior for non-persistent messages, presumably
              for performance reasons, use a persistent QOS backed by a JMS server with
              a file store that has synchronous-writes-disabled. As long as the O/S and/or
              hardware
              doesn't crash, no data will be lost, even if the WebLogic server is killed.
              See the JMS performance whitepaper on dev2dev.bea.com for details.
              Tom
              Mark wrote:
              > If you define a queue to be non-persistent, then all data is lost in the event
              > of a hardware or software failure.
              > What about in the case of a clean shutdown of the weblogic server hosting the
              > queue?
              > Are the messages held in the queue, paged to disk and restored when the server
              > is restarted?
              

  • Histing Persistant Queues on a SAN

    We are currently developing a HA solution for a client who are using JCAPS 6, that involves hosting the JMS queues on a shared SAN but we're having trouble setting this model up.
    From what I've read around the traps, you can set the physical location of the queues using a config variable "IMQ_VARHOME" in the imqenv.conf file but, while we can get the queue directory structure to be created in a nominated location, when we deploy a project, the application server it creates the queue in the default location.
    We've also tried setting the IMQ_DEFAULT_VARHOME to the same location but the result is the same.
    Is there a document that describes how to place the JMS queues in a location remote from the app. server?
    Had anyone had any experience in doing this?
    Many thanks in advance.
    John R.

    The creation of persistent queues is not managed by JMS but by JMS providers.
    You would simply connect to the JMS broker, and reconnect to the queue... But you would have to know the queue name, so you would need to store it locally.
    Depening on the configuration of the client, the message consumption can be auto_acknowledged, or you would need to do an explicit commit to get a message off the queue. Where the message is queued when there is a processing error is jms implementation dependent.
    Ordering of the messages is not a JMS feature, so make sure your JMS provider (and the way you have it configured) supports it.
    HTH
    TE

  • How to define our own selection screen for logical database  in abap-hr?

    Hi Friends,
    Can u please help me
    How to define your own selection screens for  logical database.
    we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using  customer table like t599c, t599f and how to add to my logical database?
    Thanks in advance
    charan

    check out this online help
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
    Regards
    Raja

  • How can I clean up queue one-time on Sun Java system messaging 6.3

    Hi,
    <address>Our Email server have a problem, When I run _./imsimta qm directory tcp_local_, There are about 5 Millions of messages in the queue.</address>
    Now our Email server send messages very slowly, how can I clean up queue one-time?
    the command _./imsimta qclean_ is very slowly.
    What can I do to prevent this problem?
    our Email server version is :
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)
    libimta.so 6.3-6.03 (built 17:12:37, Mar 14 2008; 32bit)
    SunOS email-1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V890
    Thank you !

    If you have more than 100,000 messages in the queue, then look at the MAX_MESSAGES parameter in [the job_controller.cnf file|http://wikis.sun.com/display/CommSuite/Job+Controller+Configuration+File]. If the parameter is not specified, it defaults to 100000. If you have more than that number of messages in the channel queues, it will take a long time for new/legitimate messages to be sent because job_controller is only considering the first 100,000 messages in the queue.
    If you get into the "imsimta qm" command do do "sum -database", it will show a summary of what job_controller has in its internal cache and therefore what job_controller is working on. If you compare that to "sum -directory" you will probably see a difference.
    If these are all legitimate messages, you need to increase MAX_MESSAGES, cnbuild, and restart job_controller.
    If they are not, then preventing this in the future will require determining how they got into your queue and correcting that.
    As for removing them, the "imsimta qm" commands allow you to select messages by various criteria and then you can "return" or "delete" them. But yes, that will take a long time if there are many messages because it is a single threaded process and it needs to open and examine each message. You may be able to accomplish the task more quickly with a shell script that works on individual channel queue subdirectories and then run multiple copies of that script in parallel. After you have cleaned out the queue, restart job_controller.
    Also, you might want to consider [the subdirs channel keyword|http://msg.wikidoc.info/index.php/Subdirs_and_nosubdirs_Channel_Options].

  • How to define namespace with one XSD using in two different DB-Locations ?

    I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
    when using one common schema.xsd-definition
    in two different database-locations for exchange xml-documents?
    when insert xml-document I've got an error ORA-30937
    do you have an good exsample ?
    thanks
    Norbert
    schema :
    <xs:schema
    xmlns="http://sourcehost.com/namespace"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:oraxdb="http://xmlns.oracle.com/xdb"
    targetNamespace="http://sourcehost.com/namespace"
    xml-document :
    xmlns="http://Sourcehost.com/namespace"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
    SQL> insert into ADRESSEN values
    (XMLType
    (bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
    , 0 )
    --> error :
    ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"

    Norbert
    The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
    I can use the same URL , for instance
    http://xmlns.example.scom/xsd/myXMLSchema.xsd
    on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
    I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure.

  • How to define BPC architecture?

    Hi All,
    Iu2019m a BI and BPS consultant and Iu2019m doing a prototype for evaluating BPC for Sales Planning and I need some help.
    Process flow as:
    a.     Extract sales from COPA (amount and quantities);
    b.     Copy Actual to Budget version;
    c.     Create new customers;
    d.     Delete old customers;
    e.     Calculate the seasonality of sales & and adjust budget;
    f.     Load & adjust prices
    g.     Load & adjust sales costs
    h.     Calculate Net Revenue
    i.     Calculate costs
    My file format is as given below:
    Account|Category|Time|RptCurrency|Entity|Customer|Product|Amount|Quantity
    Questions:
    1- There is a specific KF to load quantity or I should use another account? If so how do I load the unit measures?
    2- I tried to load my file in u201CEuru201D but I received an error. The upload only finished OK when I changed the currency to u201CLCu201D. There is any trick?
    3- In customer dimension, I add the sales org. attribute but it didnu2019t work out because a customer can have more than one sales org. There is any way to define a compound key for a dimension?
    4- Where can I find relevant documentation about BPC?
    Thanks for reading my post.
    Regards, Fred

    Hi Shyam!
    Thanks for your answer.
    1. I followed your suggestion and load the data twice (one for amount and another for quantity) but I still have de unit measure problem (KG, TON, etc.). Any suggestion about how to handle this situation?
    2. Yes is easy for me to convert LC in any other currency after the data load. But the problem is that I must load data in multiple currencies (EUR, USD)u2026
    3. No it didnu2019t work out. Let me give you an example:
    Customer       Sales Org            Distribution Channel
    100001      AX01          1
    100001      AX02          2
    When I tried to process dimension I received the following message u201CMember ID must be   uniqueu201D. Any other idea about how to define the compound key Customer and Sales Org?
    Regards,
    Frederico

  • How to define Composite primary key for a Table

    Hi ,
    I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
    Can anybody please tell me how to define a Composite Primary Key on a Table .
    Thanks in advance .
    Edited by: user672373773 on Sep 25, 2009 8:54 AM

    Here is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
    Example creating composite index
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
    Syntax for adding a PK (composite or not)
    alter table oooooooo.tttttttt
    add constraint tttttttt_PK
    primary key (sample_column2,
    sample_column1)
    using index
    tablespace IDXSPC
    pctfree 05
    initrans 04
    maxtrans 08
    storage (initial 16k
    next 16k
    maxextents 32
    pctincrease 0);
    -- dictionary management with restricted storage, change as desired.
    HTH -- Mark D Powell --

  • How to delete the delta queue in the ECC

    Hi everyone!
    After I tryed to save a new Infopackage and I have the error :
    (Deltas already loaded for request REQU_41Q82WJLR9AZCE9ZMKQLVG3RG init. selection; no 2. init
    Message no. RSM1071
    Diagnosis
    Deltas have already been loaded for the init. selection of request REQU_41Q82WJLR9AZCE9ZMKQLVG3RG. A second initialization is therefore not possible with these selection conditions.
    Procedure
    If you want to carry out a new initialization, you have to choose selections that do not overlap.
    If you want to repeat the init. for the same selection, you have to delete the delta queue in the source system, and restart the delta process.
    As the error says - Deltas have already been loaded for the init. selection.
    Can you please give me some links/guids which describes how to  delete the delta queue in the source system, and restart the delta process.
    thank you, Ron

    Hi,
    Assuming as you need to the reinit for same selections.
    in such case you need to delete old init.
    how to delete init:
    Go to your info pack screen, menu Scheduler--> initialization options for source system--> here you can see the existing init, select init(green) and delete it.
    Later you can trigger your init info pack with selections.
    Thanks

  • How to define default element in SAP-Script?

    Hi Guys,
    How to define default element in SAP-Script?
    Can you tell me to do this...is it possible in all the windows or only in main window?
    Regards,
    GURU

    Hi,
    Welcome to SDN
    You can't post ur questions in other's threads .Open a new thread.
    click on post new thread and open new thread.
    Regards

Maybe you are looking for