How to set user ID in JMS message

I am looking for ways to set the user ID in a JMS message over MQ series. I have looked at various way of doing it including:
1) setting the appropriate environment variable in MQEnvironment
2) setting provider specific properties (of the format "JMS_IBM_xxxx")
3) in desperation, setting any likely looking property, e.g. "JMSXUserId"
None of these work, consequently the default user ID "mqm" is propagated. Rather than getting an error message back (with, I think, a 2059 code) when host authentication fails, I simply get nothing back.
I'd be grateful for any suggestions
Hugh Ferguson

3) in desperation, setting any likely looking
property, e.g. "JMSXUserId"I believe these properties are case-sensitive. We don't set the user id property in our JMS messages, but I can tell you that when we receive messages from apps on our mainframe host (which do not use JMS - they use the COBOL api), the user id is in a property called UserID (note that "ID" is capitalized). In raw form, it's JMSXUserID.
Hope this helps,
-Scott

Similar Messages

  • How to set user specific Layout for executing IW38/IW39  report.

    Dear Experts,
    We have 10 users seperatly, For executing IW38/39 transaction they have maintained seperate layouts for executing the reports. While saving layout they have saved the layout as 'user specific' Now some body has chage the settings.
    After changing the setting all are getting same layout.
    Please suggest how to set user specific layout. When user enter the IW38/39 report by default he should get his layout.
    Thanks in advance.

    Create Variant using SHD0 and with Group and assign to particular user's
    Here is the steps
    Creating a Variant Group
    1. Open transaction SHD0, enter the transaction code, and press enter.
    2. Choose the Standard Variants tab page, and then the sub tab page Variant Groups, and enter a group name, such as GROUP_GEN
    3. Choose Create. Enter a short text on the Maintain Variant Group window that appears and save the variant group.
    Assigning Users
    Once you have created the variant group and the relevant transaction variants with screen variants, you now need to assign users to the variant group as follows
    1. Return to the Standard Variants tab page, Variant Groups sub tab page.
    2. Enter the name of a user that you want to assign to this variant group, and choose Assign. A message that this user was successfully assigned to the variant group appears in the status bar. If you choose a where-used list for users, this user is displayed in the user list.
    3. However, for the screen variants of the variant group that you created above to be displayed for the user, you first need to select Set Proposal. The user is assigned to the group and the associated transactions are started with the corresponding variants only once you choose the Set Proposal function.
    You can use this procedure of user assignment for all other users that you want to add to the variant group
    Hope this helps.
    Thanks
    S.N

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • How to set user quotas on a certain filesystem

    Hi
    It may be simple and easy question but I'm really new to this
    I need to know how to set user quotas on a certain file system in details
    I know it can be done easily in one step in Solaris ZFS
    but how is it done in Linux ?
    Thanks in Advance :)

    See also:
    How to set user quotas on a certain filesystem

  • How to set user friendly URL in ApEx with OHS 11g ?

    Hi,
    How to set user friendly URL in ApEx with OHS 11g ?
    I want change the link http://190.148.xxx.xxx:8080/pls/apex to something like http://xxx.com.
    I dont want to use iFrame solution. Please suggest any other method to acheive the same.
    Thanks & Regards,
    Ranu

    Hi all
    Iam using apex 4.0 -oracle 11g with OHS on linux os
    I need to change my apex url http://x.x.x.x:xxxx/apex to http://x.com
    What are the settings i need to do.
    If any one knows please share the solution with me
    Thanks & In advance

  • How to set user preferred timezone in OBIEE for all objects.

    How to set user preferred timezone in OBIEE for all objects based on users TZ(may be from @{session.timeZone}). without changing My Account -> Preferences

    Check
    Time Zone Specification from http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535403
    just in case https://blogs.oracle.com/xmlpublisher/entry/how_to_keep_your_dates_from_go

  • How to set values of a parameterized message in ADF Faces?

    Hi all,
    i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext.
    Contents of the message resource bundle:
    testPage.successMsg.create=The device {0} was created successfully!
    Code within backing bean method:
    String message = getStringFromBundle("testPage.successMsg.create");
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message));
    In Struts/ADF UIX the following code did the job:
    protected void setUIXInfoMessage(HttpServletRequest request, String key, Object[] args)
    MessageData msgs = new MessageData();
    MessageResources mr = this.getResources(request);
    String msg = "";
    if (mr != null)
    msg = mr.getMessage(request.getLocale(), key, args);
    msgs.addMessage(null, msg, null, UIConstants.MESSAGE_TYPE_INFO);
    request.setAttribute(UIX_MESSAGE_KEY, msgs);
    Can anyone help me with this problem? I have searched a lot in the Oracle ADF Development Guide and within forum, but did not find any solution.
    Another interesting thing is, how to set the parameters from jspx-Code.
    How can i achieve the same results in ADF Faces corresponding to the following UIX-Code:
    <boundAttribute name="title">
    <messageFormat format="${nls['deleteTip.confirmation']}">
    <dataObject source="${bindings.TipName}"/>
    </messageFormat>
    </boundAttribute>
    Resource Bundle:
    deleteTip.confirmation=Do you really want to delete the tip {0}?
    Another question:
    What are the corresponding elements in ADF Faces corresponding to <concat> and <if> in UIX or what possibilites exist in ADF Faces to dynamically concatenate strings depending on certain conditions?
    I know, these are many questions. I am familiar with UIX, but now i have to start developing applications with ADF Faces and there are some things i don't find corresponding equivalents.
    Thanks in advance!
    Regards,
    Stefan

    Hi,
    SRDemo shows you how to do this declratively
    <h:outputFormat value="#{res['srcreate.confirmPanel.message']}"
    escape="false" id="nextButton">
    <f:param value="#{requestScope.SRDEMO_CREATED_SVRID}"/>
    </h:outputFormat>
    where the <f:param ...> element sets the value of the variable
    To programmatically access internationalized strings, SRDemo uses
    private static ResourceBundle getBundle() {
    FacesContext ctx = getFacesContext();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = uiRoot.getLocale();
    ClassLoader ldr = Thread.currentThread().getContextClassLoader();
    return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
    locale, ldr);
    public static String getStringFromBundle(String key) {
    ResourceBundle bundle = getBundle();
    return getStringSafely(bundle, key, null);
    You take it from there and put it to a FacesMessage, If it uses parameters I guess you will have to parse the string
    Frank

  • How to parse XML content in JMS Message...

    Hi everybody,
    I am currently developing a Message-Driven Bean and has some problem parsing the XML data that contains in the JMS body.
    The XML data is contained in TextMessage (JMS message type) and in order to parse the data, I need to use the DOM builder, which is expecting to read from a file (e.g. abc.xml).
    My question is how can I use TextMessage (can be output to a String) as the input source instead of a file.
    Thanks in advance.

    Hi Boon,
    "Boon Keong" <[email protected]> wrote in message
    news:3dd46800$[email protected]..
    I am currently developing a Message-Driven Bean and has some problemparsing the XML data that contains in the JMS body.
    >
    The XML data is contained in TextMessage (JMS message type) and in orderto parse the data, I need to use the DOM builder, which is expecting to read
    from a file (e.g. abc.xml).
    >
    My question is how can I use TextMessage (can be output to a String) asthe input source instead of a file.
    What about this:
    DocumentBuilder db = ...
    Document doc = db.parse(new InputSource(new
    StringReader(textMessage.toString()));
    or
    Document doc = db.parse(new
    ByteArrayInputStream(textMessage.toString().getBytes()));
    Regards,
    Slava Imeshev

  • How to set User-field in Plan order

    Hi
    could you tell me please how to set a user-filed in plan order. when I run MRP planing, I can write some data in this filed.
    thanks
    henry

    Hi,
    Actually these user defind fields are used/assigned in the routing.
    Initially u have to define your own user defind profile through OPEC transaction.
    Assign this profile in the routing.
    So when ur executing Mfg activities, suppose if ur using some high materials like silver...etc.
    Then after executing the particular operation some amount of silver chips or silver scrap will generated .
    To keep chip/scrap qty operation and date which user defind is used.
    Once u have assigned this profile to routing, then it will be automatically copied in the planned order/production order.when ur confirming the order then u have to enter the all related data.
    Regards
    Vijay

  • How to set user command in module pool program

    hello expert,
    like in report: PARAMETERS: RB_SING RADIOBUTTON GROUP RAD3 DEFAULT 'X' USER-COMMAND C1.
    in module pool program, hw to set user-command in screen.
    srinivas

    PBO.
    Call subscreen <SUBSCREEN NAME> Including sy-repid(PROGRAM NAME) G_DYNNR(SCREEN NUMBER'.
    PAI
    module user_command.
    Call subscreen <subscreen name>
    Module user_command.
    case sy-ucomm.
    when 'BUT1'.
    g_dynnr = 200.
    when 'BUT2'.
    g_dynnr = 300.
    Endcase.
    end module
    REPORT demo_dynpro_tabstrip_server.
    CONTROLS mytabstrip TYPE TABSTRIP.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA number TYPE sy-dynnr.
    mytabstrip-activetab = 'PUSH2'.
    number = '0120'.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    IF save_ok = 'OK'.
    MESSAGE i888(sabapdocu) WITH 'MYTABSTRIP-ACTIVETAB ='
    mytabstrip-activetab.
    ELSE.
    mytabstrip-activetab = save_ok.
    CASE save_ok.
    WHEN 'PUSH1'.
    number = '0110'.
    WHEN 'PUSH2'.
    number = '0120'.
    WHEN 'PUSH3'.
    number = '0130'.
    ENDCASE.
    ENDIF.
    ENDMODULE.
    flow logic of the screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CALL SUBSCREEN SUB.
    MODULE USER_COMMAND.
    flow logic of the screen 110
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 120
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 130
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    REGARDS
    VASU

  • How to set user privilege

    i want to NEW USER excute procedure which
    is other schema!
    i want not to use prefix for execute procedure!
    how to set NEW user privilege?
    null

    Hi
    I create a user in a Database using SQL developer,
    so it is a Database User.
    Now I want to give this user access to some table in
    read , write mode and just let it to read some other
    tables.
    how i can do this ? SQL*Developer currently doesn't support security admininstration through the GUI, but you can use sqlworksheet to issue grant statements.
    grant select on mytable to otheruser1;
    grant select,insert,update,delete on mytable to otheruser2;
    It looks like that when we create a use SQL developer
    create a schema for that user , how i can make more
    users without creating Schema for each of them ?
    A schema is the collection of objects owned by a user. A user can exist without owning any objects.
    If you are using XE, you might be better off using the XE GUI to manage this.

  • How to set user settings insap

    how to set default settings

    n SAP Easy Access screen System -->User Profile -->Own Data. In which, in the defaults tab you can change the change the formats for the user and save the settings
    actually all time's we dont have authorizations to change those..
    and SU3 tcode is alos correct
    Regard points if useful
    Regards
    sas

  • How to set acknowledgement flag in asynchronous message

    Hello,
    I just read in the documenation that it is possible to request acknowlegment messages by setting an "acknowledgement tag" in the request message.
    My question now is how to set this acknowledgement tag and which rules I have to follow? Do you have any more information on this topic? I see the flags in "ReliableMessaging" but not sure how to set them.
    Thank you.
    Edited by: Florian Guppenberger on Dec 2, 2009 5:16 PM

    Hi,
    For idoc check this links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    I don't think it is possible for Proxy.
    Regards
    Ramesh

  • How to set font for title and message in JOptionPane?

    Hi,
    I have following test code.
    JOptionPane.showMessageDialog(null, "Some Alert Message", "Alert", JOptionPane.ERROR_MESSAGE);In this code can we set font for "Some Alert Message", "Alert"?
    Regards,
    Kalyani......

    roll-your-own?
    import javax.swing.*;
    class Testing
      public static void main(String[] args)
        JDialog.setDefaultLookAndFeelDecorated(true);
        JOptionPane optionPane = new JOptionPane("<html><font size='5'>Your message here</font></html>");
        optionPane.setOptionType(JOptionPane.DEFAULT_OPTION);
        optionPane.setMessageType(JOptionPane.ERROR_MESSAGE);
        JDialog dialog = optionPane.createDialog(null, "Alert");
        dialog.getLayeredPane().getComponent(1).setFont(dialog.getFont().deriveFont(18f));//size = 18/whatever
        dialog.setModal(true);
        dialog.setVisible(true);
    }

  • How to set VL 626 to warming message

    Dear Expert,
    Understand error message VL 626 is not controllable error message.
    1. How could made system ignore this error message?
    2. How could change it to warming message?
    Regards.

    Hi Chan,
    First of all ..i wont suggest for changing this msg from error to warning..becoz thats the ways system should work as well as business..but anyway if you  want to do...then here is the solution..
    while doing reverse system calls function module  WS_REVERSE_GOODS_ISSUE..in that when it check for date..it again calls another function module MESSAGE_STORE and here u have that message class VL and message number 626 and msg type as E....all u need to do is make this E to W...but dont do just as it is...
    Pls involve ABAPer..explain the problem, show him the error and then show this fuction module...abaper will analysis and i am sure ur problem will be resolved
    I hope this helps and resolves ur issue and if yes then pls reward pts.
    one request is pls reply back whether this resolves or answers ur question or not becoz i have notice people not replying inspite of providing proper soultion
    Regards
    Jagdish

Maybe you are looking for

  • TS3230 "Safari quit unexpectedly while using the QuartzCompser plug-in"

    My computer ran some updates, restarted, and now I can't use Safari at all due to the above error message which I get every time I try to open it.   I wish I would've returned this mini when I still could as I've had nothing but issues with the speed

  • KM WebDav URL is wrong

    Hi folks, I am working on a project to replace our existing EP 7.0 Portal, which relies heavily on KM for it's content, with an Enterprise Portal 7.0 in a cluster. I have built the new cluster system, "Portalnew" and then transported the System Lands

  • Troubles with the Notification Activity

    Hi, I have deployed process on my server. Whenever I instantiate it, it says: "Cannot find the specified instance If the instance has recently....." (Refresh doesn't help even after 10 minutes) This problem disappear when I remove the notification ac

  • Print Preview Opens "Save File" Dialog

    A week or so ago (possibly related to my install of Snow Leopard, not quite sure), when I hit Preview in a Print dialog, I'm taken to a "Save" dialog before Preview opens with the file for preview. Before it would save it to a temp location somewhere

  • Choosing Edit In Photoshop does not carry my develop settings

    Hi, Something awry has happened to my Lightroom. All of a sudden, when I want to open a photo in Photoshop by right clicking and selecting Edit In Adobe Photoshop CS4, I don't get the traditional TIFF file which used to be generated (as in _MG_9999_E