How do I use the DBMS_AQADM packages?????

Hey everyone,
Oracle noob needing help with creating and managing an Advanded Queue.
Oracle version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
I have a user that was granted the roles of AQ_ADMINISTRATOR_ROLE and AQ_USER_ROLE. I am trying to learn how to create queues, send, and receive messages to the queue. My problems all appear as soon as I get to using anything dealling with DBMS_AQADM. [I was using the steps from this site.|http://www.akadia.com/services/ora_advanced_queueing.html] When I try to use any of the DBMS_AQADM procedures I get an ORA-00900: invalid SQL statement.
Things I have tried:
EXEC DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE);
EXEC SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE);
Begin
DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE);
End;
Begin
SYS.DBMS_AQADM.GRANT_SYSTEM_PRIVILEGE(
privilege => 'ENQUEUE_ANY',
grantee => 'my_aq_user_role',
admin_option => FALSE);
End;
All of these fail. I have also read somewhere that in Oracle 8, none of the DBMS_AQADM programs may be used inside SQL, directly or indirectly. If this is still the case, what does that mean exactly? Can I not call it in a script editor? I am at a complete lose and am in need of help.
Thanks in advance (no pun intended)

Working demos here:
http://www.morganslibrary.org/reference/aq_demo1.html
The full library here:
http://www.morganslibrary.org/library.html

Similar Messages

  • How can we use the same package in our report used by some other report

    how can we use the same package in our report used by some other report

    Hi,
    You just need to assign package while saving your report.
    No extra is required providing you are aware of package to be used.

  • How can I use the security package in JCOP41V2.2?

    Hi all, I'm a newbie in javacard programming. I'm trying to develop a project with RSA_signature. But I found, the exception NO_SUCH_ALGORITHM will be thrown out when I new an instance of KeyPair.
    My java file Temp_1.java following:
    package temp;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.APDU;
    import javacard.security.*;
    * @author lujj
    public class Temp_1 extends Applet {
    KeyPair myKeyPair = null;
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              new Temp_1().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
         public void process(APDU apdu) throws ISOException{
              // Good practice: Return 9000 on SELECT
              if (selectingApplet()) {
                   return;
              byte[] buf = apdu.getBuffer();
              if(buf[ISO7816.OFFSET_CLA] == (byte)0xEE)
                   try
                        myKeyPair = new KeyPair(KeyPair.ALG_RSA, KeyBuilder.LENGTH_RSA_1024);
                   catch(CryptoException e)
                        ISOException.throwIt((short)(0x6F00+e.getReason()));                    
                   return;
              switch (buf[ISO7816.OFFSET_INS]) {
              case (byte) 0x00:
                   break;
              default:
                   // good practice: If you don't know the INStruction, say so:
                   ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    This package can be upload and the applet can be installed successfully.
    But if I send the apdu "EE 00 00 00 00" after selected the applet, "6F 03" will be returned.
    Is there anyone can help me? Thanks a lot.

    Thank you so much~
    Actually, it's only an applet for test. I cannot get the error code if I new the KeyPair in install function or Applet construct function. It will return "6A 80" when install the applet.
    And, I found that it support few algorithm. For example, it does not support ALG_DES_MAC4_ISO9797_M2,etc. Is there anything I can do if I want to use the algorithm? Shall I rewrite security package by myself?
    5555, security package is the standard package in JAVACARD API 2.1.1.

  • )How can we schedule the info package daily run at 6 AM, with out useing in

    Hi
       Can any one explain 1) what is information broadcasting &how can we use this.
    2)What are the settings we have to do when we use the charts in WAD's
    3)How can we schedule the info package daily run at 6 AM, with out useing in process chains
    Thanks
    Bharath

    Hi,
      Information broadcaster :
          you can precalculate and distribute(thru mail) the query, workbook and webtemplate through online link or html file to the receipents (users).
    have a look at the below link.
         http://help.sap.com/saphelp_nw04/helpdata/en/3a/0e044017355c0ce10000000a1550b0/frameset.htm
    Infopackage scheduling:
         you can schedule the infopackage daily at your desired time .In the schedule tab ,select the start later in background and in the scheduling option give the date and time and give the period values as daily.
    Regards,
    Siva.

  • How to use the Client_image package

    I need to use the client_image package (read_image_file, write_image_file) to do the file upload from my client pc.
    we use a digtal camera to take picture and need to use the oracle 9i form webutil to insert into the form and save in 9ias.
    Any samples about how I can use the webutil to upload images will be truly appreciated!
    Thanks for replying!

    Thanks for your reply on Oracle Forums about using webutil to perform image upload in 9i forms.
    I just download the new Webutil Demo but I got the error messages:
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.clientinfo.GetClientInfo
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.fileTransfer.FileTransfer
    WUC-015: Your Form must contain the following Bean for this function to be available:
    Oracle.forms.webutil.browser.BrowserFunctions
    I have done all the environment config. and things in FAQ
    (Make sure the your environment is set up correctly; including issues such as CLASSPATH and ensure it is no longer that 512 characters.
    Ensure that the WebUtil object group has been dragged onto the form.
    By putting the form into visual view, ensure that you have a window called WEBUTIL_HIDDEN_WINDOW and that it contains a set of WebUtil Java Beans.
    If your forms does already contain the WebUtil object group then the cause is likely to be that the triggers used internally by the bean areas are uncompiled (usually because the OLB was subclassed before the library was attached). To resolve the problem try performing a Compile All on your module (ctrl-shift-k))
    The errors are still coming out and would you please let me know what I should do to solve the problem and thanks a lot!

  • How can I use the versionning tool to make a coherent solution to export

    how can I use the versionning tool to make a coherent solution to export all objects used in my project to other db schema for testing as well as for implementation .
    I want to know proper steps to Import/export objects.
    while I am exporting my Master repository and work repository then again importing the all , no problem comes all the physical logical schema mapping and mapping between interfaces retains but
    while I am trying to export and import one or two packages on the ease of testing then I am getting so many mismatches manually I am setting all why so?
    required ur suggestion
    Palash Chatterjee

    kelly-bot wrote:
    Thanks for the tip, but like I said, I dont want to always have to use the arrow keys. Is it not possible to actually DRAG one pixel at a time? I recently upgraded to CC from CS3 and I keep running into things that feel like a downgrade. Super disappointed.
    Our posts overlapped there.  Are you saying you could reliably drag one pixel with CS3? 
    What other issues are you having?  Things like the Crop tool can feel strange at first, but I promise you you'll never want to use Classic mode once you get used to it.

  • How to resolve a "The Extension Package is invalid."error  message in Adobe Extension Manager CS5,6

    How to resolve a "The Extension Package is invalid.error message in Adobe Extension Manager CS5,6

    I'm using Windows XP Professional sp3.I've tried to install(unfortunately,to no effect,till now)Layers Control by Vadim Chtcherbakov ,Floating Adj by David Barranca,Photoshop Blending Modes by Rufus Deuchler,and The Fader by Capture Monkey.The  Adobe Extension Managers I have installed in my PC are 5.0.1 for CS5,and 6.0.8 for CS6...Thanks in advance for your consultation!

  • How can i use the project code instead of project xml?

    hello
    i use the sessionbean+toplink structure,after i finish the o-r mapping by using the mapping work bench,i generate the project xml file,then in the "session.xml" file,i refer to the project xml,then i can use it from sessionbean.
    i hear that if i use the project code instead of project xml file,it will be more performant,is that true?
    otherwise,how can i use the project code instead of project xml file?i mean, in "session.xml", i can use the "<project-xml>" tag to refer to the project xml file,then in my session bean,i get the server session by read the "session.xml" file.but if i use the project code,how can i refer it from the "session.xml"?the examples that come with the toplink installation only tell me how can i use the project xml file within the session bean,it don't give me any clue about using the project code in the sesion bean,who can give me a step-by-step instruction and code snippet?
    thank you very much?

    There is a slight performance gain during session load at startup but there is no difference at runtime. The choice of which to use is dependent upon you build process. Whether it is easier to submit a new version of the class into the comile build process vs an XML file. In most cases it is just a preference of the development team.
    When you use the project-class you'll need to generate the source code and compile it into your system. Typically it is packaged with the persistent classes. You may need to configure your environment so that the class-loaders have access to these classes (same for the XML case).
    When using the project-class you simply replace the project-xml entry like this:
    <project-class>oracle.toplink.demos.employee.relational.EmployeeProject</project-class>
    The DTD for the session.xml file is found at <TOPLINK_HOME>\core\sessions_4_5.dtd. It is also in the documentation at:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/toplink.903/b10064/a-sessio.htm#634246
    Doug Clarke
    Product Manager
    Oracle9iAS TopLink

  • Where or how do I find the installation package containing "iTunes.msi"?

    I have iTunes 10.5.3.3 installed on my computer with a Windows XP operating system.  I have tried to download the new itunes 10.6 but continually get a pop up which states "The feature you are trying to use is on a network resource that is currently unavailable.  Enter an alternate path to a folder containing the installation package "iTunes.msi".  I have tried  and failed to find this package. 
    I have also tried the support page suggestion by uninstalling the old itunes and then install the new one.  This did not work.  Another pop up also tells me that I cannot remove the old (10.5.3.3) itunes...because..." the feature I am trying to use is on a network resource that is currently unavailable". I am caught in a loop.  It appears that I need to locate the "iTunes.msi" installation package in order to be able to uninstall the old and replace with the new iTunes upgrade.
    Where or how do I find the installation package containing "iTunes.msi"?  Secondly, when I find it is there anything special I need to do or be aware of?

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I have a package for photographers - want like to use the complete package

    I have a package for photographers - want like to use the complete package. How do I switch to the complete package at an affordable price?

    Upgrade single to all Cloud http://forums.adobe.com/thread/1235382 may help

  • How do I get the m3g package working under wtk2.2?

    How do I get the m3g package working under wtk2.2? When I try to build applications which use the package, the toolkit can't find it, although the .jar file is in WTK2.2/lib (jsr184.jar). But none of the scripts in WTK2.2/bin reference the file. I have tried adding classpath references to the jar file in all of the bin sripts, but I still get 'package does not exist' messages when I try to build, e.g., Redikod's M3GMIDlet. i have of course tried putting the jar file in the 'res' directory for the application.
    Thanks,
    tom arnall
    north spit, ca
    usa

    Do you see the WebContactSheetII and ContactSheetII plugins in photoshop cs5.1 plugins folder?
    Applications ▸ Adobe Photoshop CS5.1 ▸ Plug-ins
    To run photoshop cs5.1 in 32 bit mode, right click on the Adobe Photoshop CS5.1.app, click on Get Info
    and then check Open in 32-bit mode

  • How do I use the Japanese fonts in Font Book in a Pages document?

    How does one use the Japanese fonts in Font Book in a Pages document. Pages has its own fonts but I cannot get the Japanese fonts into it.

    To type japanese on a computer you change the keyboard, not the font.  Go to system prefs/keyboard/input sources and add Japanese/Kotoeri to the list, then select Hiragana in the "flag" menu at the top right of the screen, then type.  The font will take care of itself.
    http://redcocoon.org/cab/mysoft.html
    If you have any further questions, just ask.

  • How do I use the web cam on my pc? Hp w2007 I have windows vista

    How do I use the web cam on my pc?  Hp w2007 I have windows vista

    Hp w2007 is a HP monitor without webcam ...
    Where is the webcam?
    V.
    *** Say 'Thanks' with Kudos ***

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

Maybe you are looking for

  • Add a link to a button

    Hi Guys, I am having problems trying to add a link to a button and it doesn't work. I converted a graphic to button and added the link to the button and when I tested the page show up as a blank page. Please help..I haven't touched Flash like 10 year

  • Cheque no. to be copied to assignment field of payment doc.

    Hi All I need to copy the cheque no. issued for payment to the assignment field of payment doc. so that at the time of running BRS the field matches and also we do not have to enter the no. manually . I tried FCHU for this but on entering cocd , bank

  • RTTS - Dynamic Structure/Type Generation

    Hi, my apologies if this question has been asked before and in the wrong forum. Is it possible to dynamically create a structure/type of variable length without using a fixed type? e.g. I want to create a structure with 4 'fixed' fields followed by a

  • TS3212 running windows 7 64 bit home premium edition, getting installer error when attempting to download itunes

    I'm running windows 7 64 bit home premium edition, getting installer error whenever I attempt to download iTunes.  Cannot resolve despite every attempt known to man!  Help!

  • Global Events

    Hi There, I just wanted to clear something up in my mind about Forte Global Events. By a Forte Global Event I mean an event that is posted in a method of an EVSO. Presumably there is no internal application logic to such a posting, as to what machine