WAD : Create specific command in the WAD.

Hello,
Is it possible to create specific command in oder to manage parameter not available in the
standard command list.
For example : user want to be able to change Charts axis value with a command button
If someone can provide sample code to call Wad specific paramater it will be very helpfull.
thanks for your help,

guru paran wrote:
By database is Oracle 11g r1 on Windows Vista. Is this new feature in Oracle 11g r2 and not in r1. BTW, I tried these command as SYS.It is a new feature in 11gR2
One way to check this kind of stuff is to look in the manuals.
IN particular, I would have looked in the SQL Language reference manual to verify the syntax. The 'CREATE EDITION' is NOT in the 11g R1 manual TOC http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/toc.htm but it is in the 11gR2 TOC http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/toc.htm

Similar Messages

  • How to create an alias from the command line

    Hi
    I would like to know how to create an alias (for a file, not a command) from the command line. I don't want to use the ln command, as an alias has more interesting features than soft/hard links... Is there an Apple specific tool to do this?
    Thanks
    -Jerome
      Mac OS X (10.4.10)  

    The only straightforward way that I am aware of for creating a "Finder" alias from the command line is using AppleScript via 'osascript'. Of course, it's not really a command line solution since the "Finder" has to be running. Anyway, something along the lines of:
    <pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">osascript -e 'tell application "Finder" to make alias file to POSIX file "/full/path/to/file" at POSIX file "/full/path/to/folder"'</pre>

  • When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?

    When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?

    Yes, you can do something like that. What you would do is create a button for each image and then hide them. When I do this type of thing I place all of the buttons on a template page and then hide the template.
    You can then use JavaScript to copy the icon from any of the hidden buttons to the main button that you've set up to display the image. For example, suppose you set up 10 buttons named b1, b2, b3, ...b10. The code to copy the icon from one of them to the button used to display the image (b0) would be something like this:
    // Get the icon from the b3 button
    var oIcon = getField("b3").buttonGetIcon();
    // Get  reference to the b0 button
    var f = getField("b0");
    // Set the icon of the b0 button to the icon retrieved from the hidden button
    f.buttonSetIcon(oIcon);
    // Show the b0 button
    f.display = display.visible;
    This code would go in the Mouse Up event of the smaller button.

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • Calling specific put/get commands from the communication channel

    Hello,
          I need to execute a specific command to place or read the file from the bank file server.
    The command for placing the file is something like this -
    put localfilename %localfilename%SECUPGPENA%GPEXRIP%%B
    I am trying to use the following command in the "Run Operating System Command Before Message Processing"  section of the communication channel
    "put %F %%F%SECUPGPENA%GPEXRIP%%B"
    But the files are not being transferred.
    I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
    Please give me any pointers for solving the issue.
    Regards,
    Mayank

    Hello,
            Thanks for your response.
    I have already gone through the above blogs.
    The issue is that I need to replace the actual command used in the file transfer with the given put command.
    Please let me know if there is a workaround for it.
    Regards,
    Mayank

  • OIM11gR2 - Is it possible to create a direct link to a specific area in the oim plattform?

    hi,
    is it possible to create a direct link to specific area in the oim self service plattform? for example a link to the users account list, or a link to a specific resource account?
    br,
    max

    Hi,
    Yes, Its very much easy in R2 as compared to R1. You can use following link to achieve your requirement:
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/uicust.htm#BABIDJAB
    ~J

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • How to create a folder in the file system?

    Hi All,
    How to create a normal folder in my PC's file system in a specific path?

    Host just passes commands to the OS; the simplest way to try would be playing a little bit around in the shell to figure out what's not working...
    C:\>dir "I am"*
    Volume in drive C is System
    Volume Serial Number is 5C03-B54D
    Directory of C:\
    File Not Found
    C:\>cmd /c mkdir "c:\I am a directory"
    C:\>dir "I am"*
    Volume in drive C is System
    Volume Serial Number is 5C03-B54D
    Directory of C:\
    09/21/2010  02:38 AM    <DIR>          I am a directory
                   0 File(s)              0 bytes
                   1 Dir(s)     509,628,416 bytes free
    C:\>cmd /c mkdir "c:\I am a directory"
    A subdirectory or file c:\I am a directory already exists.
    C:\>or with the host built-in
    host('cmd /c mkdir "'||full_path||'"');But first you should check if the directory already exists as mkdir will throw an error if it exists as you can see.
    cheers

  • How to create hard links in the Finder?

    Does OS X provide any way to create hard links for files, or is using the Terminal and the "ln" command the only way to do so?

    You can create an alias in the Finder using File -> Make Alias or by command-option-dragging a file. An alias is similar to a hard link. If you're already aware of this and specifically want to make a hard link and not an alias, that's something you'll have to do in the Terminal.

  • Can we create RCU schemas without the SYSDBA role?

    hi,
    I am trying to create the specific schemas for SOA suite on a remote database,
    However, I cannot use the SYSDBA role because i don't have acces to sys user!
    Can I use a normal user (without SYSDBA previliges) such as system to acheave the installation?( it gave me some warning during the creation but i can ignore them )
    if not,do you know an other user with SYSDBA role other than sys?
    regards,,
    Driss
    Edited by: 867232 on 5 juil. 2011 04:32

    No. It is not mandatory to use sys user account. You may have any other user with sysdba privilege to create schema's using RCU. If you using a user other than SYS with SYSDBA privileges, you must grant the user permissions as follows:
    GRANT execute on sys.dbms_lock to user_name with grant option
    For example, if you have created and are using the user named system, you would use the following command to grant the necessary privileges to system:
    GRANT execute on sys.dbms_lock to system with grant option
    Refer to your Oracle database documentation for more information about database users and roles.
    Please refer section "8.2.1 General Oracle Database Requirements" at below link -
    http://download.oracle.com/docs/html/E18558_01/fusion_requirements.htm#CHDGICGE
    Regards,
    Anuj

  • Were can we add the commands in the web application designer in bi 7?

    Hi all,
    Can anyone let me know what are all the web items in which i can add commands in web appln designer in bi 7.
    can anyone provide me some sample examples for adding commands in the WAD in bi 7,0
    Thanks
    Pooja

    Hi Pooja,
    Use this link to have better idea...
    http://csc-studentweb.lr.edu/swp/Berg/articles/NW2008_BI_tool_guide_v7.ppt#322,28,Command Wizard and JavaScript
    Thanks,
    Ajay

  • Create terminal command shortcut icon

    Hello,
    If someone would be kind enough to help me out with creating a shortcut terminal command that would be great. I was messing around with the Android SDK just for fun and was wondering how you can get it to launch a specific avd, so from Terminal I would type
    /user/myaccount/applications/andriod/tools/emulator -avd Android-2.3.3
    And it would open, how would you create a shortcut on the desktop to do this so I can just double click and it will open? In windows I would just modify the target and add the -avd or create a batch file, but not sure how to do this in OSX.
    Thanks

    so in text editor I put this line which if I open terminal and paste it will launch the emulator.
    /Applications/Android-Emulator/tools/emulator -avd Android-2.3.3
    saved the file, then did a chmod +x ./filename
    change the extention to .command
    When I double click I get an error
    Last login: Thu Jul 14 21:24:12 on ttys000
    /Users/Me/Desktop/Android.command ; exit;
    MacBook-Pro:~ me$ /Users/Me/Desktop/Android.command ; exit;
    /Users/me/Desktop/Android.command: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found
    /Users/me/Desktop/Android.command: line 2: syntax error near unexpected token `}'
    /Users/me/Desktop/Android.command: line 2: `{\fonttbl\f0\fswiss\fcharset0 Helvetica;}'
    logout

  • Does sysvol migration in windows 2008 R2 DC, requires any specific steps, if the AD Data are stored not in C drive of the server?

    With one of our client, the windows 2008 R2 Active directory data are stored on D drive of the PDC (NTDS DATA, NTDS Logs and SYSVOL) and on the other 2 Dcs, they are on different drives too.
    So my question when we do the sysvol migrations to DFS, do we have to add any specific command or script other than the usual migration commands?

    Hi Zac Kurian,
    As far as I know there don’t have issue when you migrate your SYSVOL which locate on others partition. If you worry about the DFSR health, you can enable the DFSR report then
    monitor the DFSR health status, otherwise, please confirm you have installed the DFS known issue hotfix on your server.
    The hot fix download URL:
    List of currently available hotfixes for Distributed File System (DFS) technologies in Windows Server 2008 and in Windows Server 2008 R2
    http://support.microsoft.com/kb/968429/en-us
    About how to enable the DFSR health report please refer the following information:
    Create a Diagnostic Report for DFS Replication
    http://msdn.microsoft.com/en-us/library/cc754227.aspx
    Automating DFS Replication Health Reports
    http://blogs.technet.com/b/filecab/archive/2006/06/19/automating-dfs-replication-health-reports.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Help/Example needed for creating JMSQueues/JMSTopics using the MBean API

    I am trying to create JMSQueues programmatically using the MBean API. When
    I use MBeanHome.createAdminMBean(), a queue appears in the root of the
    config file. This is progress, but the queue is in the wrong place! I need
    the queues to be part of my JMS server's "destinations" as seen on the
    console.
    So now I am trying to use createConfigurationMBean() instead, but I can't
    figure out what the "parent" parameter should be- no documentation! My
    first guess was that the parent might be the JMSServer, but that doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics into a specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws a MBeanCreationException:
    // Get the MBeanHome bean
    Object obj = jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome) javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB = (JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

    Ok, I still don't see how I can do it differently with the admin tool. If
    you want to see the commands I'm using, I can post them, but the basic one
    is shown below in the previous message. We're trying to set up a script so
    that developers can just run it and properly configure WebLogic with the
    right components.
    Thanks,
    Michelle
    "Michelle Baxter" <[email protected]> wrote in message
    news:[email protected]...
    I am using the weblogic.Admin tool, not doing this in code. I will attempt
    to translate your advice when I get time again.
    My commands look like this:
    java weblogic.Admin -url 127.0.0.1:7001 -username system -passwordweblogic
    CREATE -mbean "mydomain:Type=JMSQueue,Name=MyJMSQueue"
    I create this, I create the JMSServer MBean, then do and INVOKE (insteadof
    CREATE) and call the addDestination method, adding the JMS Queue MBeanthat
    I created previously, using the same naming scheme as in the above CREATE.
    "Viresh Garg" <[email protected]> wrote in message
    news:[email protected]...
    Daron Cole wrote:
    You can use createConfigurationMBean with JMSQueueConfig but in the
    end
    I used
    the code below to create a topic.The code that you posted is the right way to create queus/topics. alwayscreate admin mbeans to admin
    server and let admin server internally create config Mbeans on the
    managed
    server as per the
    location/targets that you set in admin Mbeans.
    Queue's are the same, just replace the word
    Topic with Queue and it should work. It should show up in the console
    app.
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+".myserver");
    ServerMBean myserver =(ServerMBean)home.getMBean("myserver",ServerMBean.class);
    String topicName = "MyNewTopic";
    JMSServerMBean jmsServerMB =(JMSServerMBean)home.getMBean("JMSServer","JMSServer","mydomain");
    JMSTopicMBean jmsTopicMB =(JMSTopicMBean)home.createAdminMBean(topicName,"JMSTopic","mydomain");
    jmsTopicMB.setJNDIName(topicName);
    jmsServerMB.addDestination(jmsTopicMB);
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    "Michelle Baxter" <[email protected]> wrote:
    There is no JMSQueueConfigMBean. What do you mean?
    "Daron Cole" <[email protected]> wrote in message
    news:[email protected]...
    Try JMSQueueConfig instead of JMSQueue.
    "Michelle Baxter" <[email protected]> wrote:
    Me too! I'm trying to use the weblogic.Admin class to set up
    queues
    and
    topics and the JMS server. The same results in the config file:
    the
    queues
    and topic were set up at the root, the JMS server was added, but
    no
    destinations, even though I invoked the addDestination method withthe
    created MBean queues and topic as arguments. No exceptions, just
    no
    destinations on the JMS server resulted. What's the right order ofexecution
    for this stuff??
    Thanks,
    Michelle
    "Jude DeMeis" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to create JMSQueues programmatically using the MBean
    API.
    When
    I use MBeanHome.createAdminMBean(), a queue appears in the root
    of
    the
    config file. This is progress, but the queue is in the wrong
    place!
    I
    need
    the queues to be part of my JMS server's "destinations" as seen
    on
    the
    console.
    So now I am trying to use createConfigurationMBean() instead,
    but
    I
    can't
    figure out what the "parent" parameter should be- no
    documentation!
    My
    first guess was that the parent might be the JMSServer, but that
    doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics intoa
    specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws aMBeanCreationException:
    // Get the MBeanHome bean
    Object obj =
    jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome)javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB =(JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

  • Unattend.xml - 'creating' a file on the desktop

    I'm trying to create a very simple file on the desktop through unattend.xml.  This file will only open IE to a particular webpage.  For some reason it's being totally ignored.  I have verified that this works when run at a command prompt.
    This is running under oobeSystem pass under the Microsoft-Windows-Shell-Setup component.
    <FirstLogonCommands>
          <SynchronousCommand wcm:action="add">
            <CommandLine>CMD /C echo "C:\Program Files\Internet Explorer\iexplore.exe" "servername/page" > "%userprofile%\Desktop\Deploy.bat"</CommandLine>
            <Description>Initial imaging link</Description>
    <RequiresUserInput>false</RequiresUserInput>
            <Order>1</Order>
          </SynchronousCommand>
        </FirstLogonCommands>
    I've banged around with the command, tried dropping it in Public, some other things, but it just gets ignored regardless.  The rest of the oobeSystem pass is processed with no issues.
    Any idea what I am doing wrong?

    Hi,
    FirstLogonCommands specifies commands are run with elevated access privileges, if the users does not include administrative privileges, the commands may not be executed, pleaes see detailed information in the following link
    http://technet.microsoft.com/en-us/library/ff715886.aspx
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Error when exporting/importing

    I am using MDM 7.1 When I export the schema from my Dev system to import into QA I get the following Error: "This repository requires additional steps before transport. See the MDS log for details. In the log my issue is that I am trying to export an

  • IPhone 3G no longer works after attempt to upgrade to 2.0.1

    Hi all, I have a black 16 GB iPhone 3G on a contract with Vodafone Australia. Last night I attempted to upgrade the firmware through iTunes to 2.0.1, after getting the latest security update and version of iTunes (7.7.1 I think it is). Anyway, the iP

  • Error in Mobile application 5.0 sp09

    Hi All, Please help me with the following problem. We have got a problem with notes in mobile Service application.After downloding Service order from CRM to Mobile application,Navigate to Notes tile set and right click on 'Note details' selct 'new' i

  • Developing Java code to use WSDL files

    Hello, I was wondering if it was possible to develop a program that took in a URI to a WSDL file, have my code read the file and access the date from the web service described in the WSDL file. My program will then read the data that is accessed from

  • Dreamweaver CS5 won't let me edit previous CS4 templated pages

    I am trying to update templated pages from a website built in dreamweaver CS4.  When I try to edit them I am not able to select any of the text or images within the editable regions.  If I switch back to CS3 or CS4 they are editable again.  Any help