How do I create an object store on JMQ 2.0?

I have a question about creating an object store in JMQ 2.0 using the
administration tool.
The documentation doesn't explain it that clearly because it says for
development purposes, you should be able to get away with the default
configuration. The default configuration as far as I can see has no object
store for JNDI lookup.
What I need is an object store that I can connect with using an
InitialContextFactory to the broker URL. I'd like to then use that
Connection to lookup ConnectionFactories (topic and queue).
Again, I thought the documentation would explain all of this, but haven't
been able to find anything. Please advise.

To answer your question, you can use the 'jmqadmin'
(graphical interface) or 'jmqobjmgr' (command line interface)
to configure administered objects that you store in a
JNDI service provider. This object store has to be set up
in advance which may mean creating a directory if a file store
is used, or setting up an LDAP server.
Here as the basic steps to add administered objects
if you're using the graphical implementation ('jmqadmin'):
1. Set up some sort of object store repository outside the admin
tool (you can use LDAP or create a file system directory).
2. Add an Object Store connection to the repository you
just set up:
- Run 'jmqadmin', click on the tree node "JMQ Object Stores".
- Select Actions->Add Object Store.
- Name this Object Store with a value in "Object Store Label".
- Fill in the values for java.naming.factory.initial
and java.naming.provider.url and any other necessary JNDI values.
- Select OK
3. To add objects to this object store you just set up:
- First make a connection to this store:
Select Actions->Connect to Object Store
- Click on the "Destinations" or "Connection Factories" node
under this object store.
- Click on Actions->Add Destination Object or Add Connection Factory Object
and fill in the values in the dialog.

Similar Messages

  • Create an Object(Store) based on Store Id,it should display Store Name

    Hi,
    My Question is, Create an Object(Store) based on Store Id,it should display Store name at report level.
    I did the list of values Name changed from Store Id to Store Name in Object Properties in Universe level. These values are changed in the universe level, but not displaying in Report level. How it is possible? can any one give the reply.
    Thanks & Regards
    Madhu...

    What i understand is you wan the user to be prompted with STORE_ID values and when they select a store_id or multiple store _id then you want to display the store names for these store _id selected in the report . If this is correct then follow below
    In Universe create a object whose definition is store_name and not store id. In the LOV of this object click edit and then in the LOV add STOREID, STORE_NAME COLUMN with STORE_ID so now the user will see the store-id and the store name for that store_id but when you select any values it will show only the store name.

  • How can I create a object for a note?

    Hi experts,
        I need to apply the note 501905 but when I try in the SNOTE transacction I receive this error:
    Object REPS Z_MRM_DELETE_PP does not exist; create it
    Diagnosis
    The SAP Note that you want to implement contains changes to an object that does not yet exist in your system.
    SAP Notes contain only changes to objects that already exist. This means that the the system cannot automatically create new objects during the implementation of this SAP Note.
    Procedure
    1. Cancel the SAP Note implementationl.
    2. Create an empty object REPS Z_MRM_DELETE_PP with the corresponding object editor.
    3. Restart the SAP Note implementation.
    How can I create that Object??
    Thanks for the help!

    Hi Carlos,
    It says that you have to create a new program with a name Z_MRM_DELETE_PP.
    Once you create and activate the program you can execute the SAP Note.
    All this processure will be written in the SAP Note.
    Please Go through the Note using below:
    Step1: Use T.code SNOTE.
    Step2: Use menu GOTO --> NOTE BROWSER. Provide the Note no and EXECUTE.
    Step3: Double click on the displayed line.
    Here you will get the information to do before implementing the note.
    Go through all the documentation, and once you did all the development given in the note then you can implement the note.
    Regards,
    Sreekanth.

  • How do I create an object from a filename?

    I'm traversing directories and storing a list of files in a File array. Then I traverse the array looking at the extension of the file. If it is .java then I would like to instantiate it as a class so that I may pass the new object to another function which will examine its methods. I've tried Class.forName(file.getCanonicalPath()) and it throws a ClassNotFound exception. How can I create an object from a valid filename, please?

    Rick_Avlonitis wrote:
    If it is .java then I would like to </snip>.java files contain source code, they can't be "instantiated". Class.forName() takes a classname as parameter, i.e. "mypackage.MyClass". A class name is not a file name, and it doesn't have an extension. As stated in the other reply, you'll need to have the class on your class path.

  • How can I create a Online Store using Muse? (with not Business Catalyst)

    How can I create a Online Store using Muse with not Business Catalyst for example three services
    _ttps://orders.self-pub.net/checkout.php?m=fastcheckout
    _ww.self-pub.net/services/covers.html

    Hi,
    Unfortunately there is no option stand alone in Muse to create an online store. However if any hosting plan uses CMS feature like Business Catalyst and ecommerce using modules and tags, you can use the same proceedure as for Business Catalyst and integrate that system and host the Muse site on their platform and that would work.
    There is other thing that you can try is, Insert HTML codes to link the pages and some contents in Muse to your desired CMS. What you can also do is after you create the site in Muse, you can export the Muse site and get the layout and design of your site and copy paste the codes for pages with some HTML and coding skills to integrate with your desired hosting.
    Hope this helps.
    Regards,
    Rajan

  • How can I create a Online Store using Muse?

    How can I create a Online Store using Muse?
    I have been looking around for solutions but I can't find one.
    I was just hoping that someone else might have known of a way.
    Thanks!

    Since you can access the Alpha File Manager it means the option to "Enable online content editing (incompatible with Muse)" is ticked up under your profile details. With this enabled you can create Web Forms under Site Manager. Once you create the contact form open the Alpha File Manager (AFM), select the page where you want to insert this and choose the Web Forms from the right hand column. On the pop-up window select the web form to insert and click Insert.
    Regarding the upgrade, as long as the site is in trial mode you can choose any plan for the site, see my answer #7. Create a new trial site, choose the link to the new trial site created from PP and publish your site there for testing purposes so you will have ecommerce included and available for you to try out.
    If things go well you can request an upgrade to your current site to have the ecommerce included (the only situation in which this upgrade won't be available is when the site is published on one of the 5 sites received with the CCM subscription, they are webBasics and cannot be upgraded: http://www.adobe.com/products/creativecloud/publish-anywhere.html under "Publish websites" section, and the option will be to create the site from partner portal and publish the content from Muse)
    At this moment indeed there's little documentation on how to integrate the two but this is because Muse is just not ready to take advantage of BC capabilities. It was never intended for CMS features of BC to be available in version 1 of Muse. This has already been mentioned a few times (one relevant example: http://forums.adobe.com/message/4355214#4355214#4355214)
    Regards,
    Cristian

  • How do I create variables and store them?

    How do I create variables and store them?

    As someone already said, we need to know a little more about what you want to do with these variables, but in general, APEX Items are probably what you want. You can create APEX Items at the Application or Page level. Once you set the value of an item, you can reference it anywhere else in the application. So, if you have an item on page 1 called P1_ENAME, you can reference it on page 32 using bind variable syntax :P1_ENAME. If you just want to store but not display some information, you can use either a hidden page item or an Application Level item. Take a look at the 2 Day Developers Guide for more info.
    Tyler

  • How do I create multiple objects during runtime?

    I don't know how to create multiple objects during runtime, here's my problem:
    I get a String as input. Then I create an object called newobject. I put the object in a hashtable with the above string as key.
    Then comes the problem, in order to create a new object, I have to rerun the same class, which uses the same name (newobject) to create a 2nd object. Now my hashtable doesn't reference to my 1st object anymore...
    Is there anyway I can fill up the hashtable with different objects, and make each key point to each object it was supposed to?
    For those who want to see a bit of the program:
    public class PlayBalloon{
    public Hashtable ht = new Hashtable();
    for(){
    Balloon pB = newBalloon;
    newBalloon=new Balloon(pB);
    ht.put("Some input from user", newBalloon);
    for(){
    ht.get(s).draw;<= s=string, draw=own meth. in Balloon
    }

    I think i can see the problem that you are having. You have, in effect, duplicate keys in your hashtable - ie, two strings used as keys with the same name.
    The way that a hashtable works is as follows...
    When you ask for a value that is mapped to a key it will go through the table and return the first occurence it finds of the key you asked for. It does this by using the equals() method of whatever object the key is (in your case it is a String).
    If you cant use different Strings for your keys in your hashtable then i would consider writing an ObjectNameKey class which contains the String value that you are trying to put in the hashtable and an occurrence number/index or something to make it unique. Remember to override the equals method in your ObjectNameKey object or else the hash lookup will not work. For example
    class ObjectNameKey {
        private String name;
        private int occurence;
        public ObjectNameKey(String name, int occ) {
            this.name = name;
            this.occurence = occ;
        public String getName() {
            return name;
        public String getOccur() {
            return occurence;
        public boolean equals(Object o) {
            if (!(o instanceof ObjectNameKey)) {
                return false;
            ObjectNameKey onk = (ObjectNameKey)o;
            if (onk.getName().equals(name) && onk.getOccur() == occurence) return true;
            return false;

  • How do I create an object on the fly

    Hello there,
         I was wondering if it is possible to create an object on-the-fly. For example:- I have a class called Customer which holds the name, address and phone number of a customer. While the program is running I get a new customer, Mr Brown. How can I create a new Customer object which will hold the details of Mr Brown.
    yours in anticipation
    seaview

    If I understood you right, you are thinking far too complicated.
    So, when you click a button, a new object shall be created and stored. So basically you write a listener to your button that contains a method like this:
    public void actionPerformed(ActionEvent e){
       Customer newCustomer = new Customer(textfield.getText());
       listOfCustomers.add(newCustomer);
    }Maybe what got you confused is the object's name. Remember this: variables and field names DON'T exist anymore at runtime! They are just meant to help you when programming. If you want Mr. Brown as a customer, you have to provide a field in the customer class for the name. If a field is required for the existence of an object, you usually write a custom constructor for it, which accepts an according parameter.

  • How do i create a Object & Sort.

    Sorry . This is a post of the same question as the replies on the last thread seems not enough to let me carry on the next step to finish a project.
    Firstly => I am creating a ranking page .
    The records is record in Summary.txt as followed :
    [playername,numberOfAttempts]
    bravo1,3
    1234567,3
    woshibao2,5
    This record is as can be seen , first is playername follow by numberOfAttempts.
    I am trying to do a Top 10 Ranking base on the[b] LEAST attempts to win will be ranked the highest.
    Many people told me that i can use Array[].sort in my previous thread.
    However, firstly i will need to break the playerName and numberOfAttempts into 2 parts which is
    StringTokenizer st = new StringTokenizer(brInFile.readLine(),",");
    String playerName = st.nextToken(); // the use of string tokenizer.
    String numberOfAttempts = st.nextToken(); But how do i create a ARRAY / OBJECT that can
    SORT base on numberOfAttempts , then get Back the PlayerName and then i will use this information to be display on my ServerView.
    Array cannot contain String , when i use StringTokenizer to break my records , by default the output will be string ? How would i able to rank by String or i should maybe convert by Integer.parseInt ?
    Sorry , i am quite confused. Hope i can get some help.
    [ Hope i can get some codes help or samples ]
    i readed the API but i still not sure how to create the Object or etc..
    Message was edited by:
    baoky

    Firstly , how do i hold all the datas .
    What Object or Array should i use to hold the
    playerName and numberOfAttempts.You don't know what a class is?
    class Car {
        String make;
        int yearOfManufacture;
        int capacity;
        int vin;
        // etc
        // constructor(s)
        // methods
    Secondly , i not sure about the "Comparable
    Interface" .Read about it in the API. Experiment with some simple test code. If you still don't understand, post your code here and ask a specific question. At the moment you problem is "I want to build a space craft but don't know how. Can you show me?" Way too broad.
    Thirdly , how do i write code that determine how i
    order the objects.. hahaSimple. You compare the number of attempts and return an appropriate value.
    Sorry , i hope someone will post a sample code on
    that class :)Nope. It's not our work. It's yours. You write the code.
    Sort => Then Obtain back player Name then able to
    Display . even on a System.out.printlnwould be fine.Once you have the rest done, do as others have told you, call Arrays.sort which will sort your array for you. You can then loop over the array and print the details.

  • How do I create rotating news stories on a web page?

    I need to create rotating news stories on a Home page -- where there is an image with text that users can click to access the story they want to read. I have been using Dreamweaver MX for years and was forced to switch to Dreamweaver CS4 when I started a new job. I am NOT a developer and am having a hard time getting used to CS4 - which is designed (in my humble opinion) for developers. Can you create rotating news stories functionality in MX? A link to a tutorial would help. Or a book that gives very straightforward, step by step instructions using MX (preferred) or CS4.
    Thank so much for any light you can shed on this, for me, perplexing topic.
    All the best,
    Carolyn

    Simple method: Put your news items on seperate pages.  Add links from parent page to the respective article pages.
    MX is too old to support Spry widgets, but CS4 does.
    Look at Spry Data Sets:
    http://labs.adobe.com/technologies/spry/samples/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I create an object (Installation Fact) using a FM?

    Hello all,
    Is it possible to create an object (An Installation Fact to be more precise) using FM  ISU_S_INSTLN_CHANGE ?
    The x_auto structure is populated as follows :
    x_auto~ factsfacts_autoiquant~operand : the new operand
    x_auto~ factsfacts_autoiquant~season : blank
    x_auto~ factsfacts_autoiquant~auto_use : blank
    x_auto~ factsfacts_autoiquant~auto_insert : checked (i.e. X)
    x_auto~ factsfacts_autoiquant~auto_merge : blank
    The structure x_auto~ factsfacts_autoiquant~ivalue is populated as usual.
    “Ok Codes” are correctly filled in : X and SAVE.
    Nothing happens after the run? Any idea please ?
    Your help is much appreciated.
    Message was edited by: GA
            Goharjou ardavan

  • How do I populate my LDAP store with JMQ users?

    I'm working on a project and I would like to implement JMQ as the messageing
    backbone for all the components.
    I'm a bit stuck in that I'm trying to create the propler LDAP entries in my
    LDAP database so I can use jmqobjmgr to add a connection factory and a topic
    to the LDAP directory. The JMQ Admin guide gives the jmqobjmgr commands but I
    could use a little guidance in setting up my LDAP database.

    We didn't really cover the directory server setup because it varies so
    much from directory server to directory server. In the future it is likely
    we will provide an FAQ about how to setup LDAP relative to the iPlanet
    Directory Server.
    How do I store administered objects in an LDAP server?
    The current supported object store for jmqobjmgr and jmqadmin is a file system or an LDAP server.
    In order to store administered objects in an LDAP server, one needs to understand some basics of the LDAP (Lightweight Directory Access
    Protocol) as well as the object store setup in general.
    What is a Lookup Name?
    A lookup name is a name given to an administered object when storing the object in an LDAP server. In an LDAP object store, the lookup
    name must begin with "cn=". The following are valid lookup names for an LDAP object store.
    cn=myTopic
    cn=queue
    What is "cn" and Why "cn"?
    "cn" stands for "commonName" in LDAP. The "commonName" attribute contains a name of an object. When storing an administered object,
    the cn attribute should be set. This is because every administered object inherits a javacontainer object class and the cn is a mandatory
    attribute for the javacontainer object class.
    Technically speaking, if one sets the cn attribute separately when creating an administered object, the lookup name does not have to begin
    with "cn=". However, the admin group decided to keep things simple by requiring that the lookup
    name begin with "cn=" therefore eliminating
    an extra step to set the cn attribute. We have also observed different behaviors in different implementations of publicly available LDAP servers
    when "cn=" was not a part of the lookup name.
    What do I need to do to setup an LDAP object store?
    One must set two JNDI attributes when using an LDAP server for the object store. These attributes are:
    java.naming.factory.initial
    java.naming.provider.url
    When using the service provider implementation provided by the bundle, java.naming.factory.initial should be set to
    com.sun.jndi.ldap.LdapCtxFactory.
    The url is dependent on the setup of the LDAP server.
    An example url would look something like the following:
    java.naming.provider.url=ldap://mydomain.com:389/o=JMQ
    If the LDAP server is secured, one will also need to set additional JNDI attributes. Such common attributes are:
    java.naming.security.authentication
    java.naming.security.principal
    java.naming.security.credentials
    Authentication refers to a string specifying the type of authentication to use;
    one of "none", "simple", "strong", or a provider-specific string.
    Principal refers to a string that specifies the identity of the entity
    performing the authentication.
    Credentials refers to an object specifying the credentials of the entity
    performing the authentication.
    Some examples of these attributes may look like:
    java.naming.security.authentication=simple
    java.naming.security.principal=uid=fooUser, ou=People, o=JMQ
    java.naming.security.credentials=fooPasswd
    One should consult the LDAP documentation for further details.
    I checked my LDAP server's schema definitions and I didn't see any java related object classes. How can I install them?
    iPlanet Directory Server 4.11 and higher has the proper java schema pre-installed. If these could not be located in the schema definitions, one
    can run the CreateJavaSchema java program located at the following url to install appropriate java schema.
    http://java.sun.com/products/jndi/tutorial/basics/prepare/content.html#SCHEMA

  • How do I create an object with code?

    I have a flash cs3 file in which I have created a simple movieclip (square) by drawing a rectangle on the stage of that movieclip.  When I drag that into another movieclip (clip) I am able to set properties for it such as x and y position by adding actionscript code to various frames of the "clip" timeline.  So far so good.
    Now I have created a second movieclip (shape).  I want to be able to define the shape purely with code, so I entered the following code into the first frame of the "shape" timeline:
    var myShape:Shape = new Shape();
    myShape.graphics.beginFill(0xFF0000);
    myShape.graphics.moveTo(20,20);
    myShape.graphics.lineTo(100,20);
    myShape.graphics.lineTo(100,100);
    myShape.graphics.lineTo(20,20);
    myShape.graphics.endFill();
    this.addChild(myShape);
    I then hoped I could drag and instance of the "shape" movieclip onto the "clip" stage and have a red triangle show up, but nothing shows up.  It seems I have to actually draw something onto the "shape" stage for something to show up.  I would like to be able to create shapes programmatically but I don;t know how to do it.
    Thanks.

    Thanks for your reply.  I tried doing what you said, creating a command by opening a new flash file, etc.  For some reason, I could make a rectangle and save that as a command, but making a shape using the polystar command didn't work - there was a red "x" next to it in the history panel.
    Anyway, even if I could do that, it's not what I want to do.  I want to be able to create a shape and then be able to change the shape dynamically.  For instance, I want to be able to create a series of points and draw curves between them to create a closed curve shape.  Then I want to be able to change the positions of the vertices so that the shape changes as the .swf is running.  Thanks.

  • How do I create an object with "click and drag" interaction?

    I want do make an object that I can move around the screen at will, so, I need a way to make a click and drag object in adobe edge.
    I also need this to work with touch devices and also to limit the movement of the object to one direction (x or y).
    Thank you all in advance.

    Thanks for your reply.  I tried doing what you said, creating a command by opening a new flash file, etc.  For some reason, I could make a rectangle and save that as a command, but making a shape using the polystar command didn't work - there was a red "x" next to it in the history panel.
    Anyway, even if I could do that, it's not what I want to do.  I want to be able to create a shape and then be able to change the shape dynamically.  For instance, I want to be able to create a series of points and draw curves between them to create a closed curve shape.  Then I want to be able to change the positions of the vertices so that the shape changes as the .swf is running.  Thanks.

Maybe you are looking for

  • Yoga 3 Pro slow search times

    Hi, I have a searching problem when I use the windows explorer to just look at the "This PC" overview of the storage devices on the computer where it used to load very fast last time I tried it and now it will never actually load! Any thoughts?

  • Opening and closing balance

    Hi experts. I am looking for a formula to calculate opening and closing balance @ query level. points are waiting.

  • JS Scripts not working in CS3

    When I was using CS2 2 years ago I was asked to make a calendar for a client. I used a script from Adobe Exchange. I have been asked to do the same this year. I am now running CS3... however this is the first time I have used my scripting panel since

  • Trying to restore iPhone 4s, and receive "Connection attempt to firmware update server was unsuccessful. The network connection timed out."

    I've tried updating on both my desktop and laptop, neither work. I have the newest version of iTunes as well, so that can't be the problem. When I run diagnostics: Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601) Hewlett-Packa

  • Nexenta Storage Server - strange Error Message

    Dear all, I try to add a nexenta storage box to my vdi. When selecting the Storage Pool I get the following error: Mar 22 00:40:12 sunvdi01 cacao:default[1136]: [ID 702911 daemon.error] com.sun.vda.service.storage.ZfsStorage.checkForPkg : A req uired