Newbie: Advanced Queing sample...

Hello,
I'm new to Oracle AQ, so I'm researching whether or not this is what we want to use - we would like to setup a messaging queue to be accessed using web services and soap calls via the internet.
I see the advanced queuing sample for Oracle 9i, but we have installed the Oracle 10g database - I'm wondering if I can just install and run that sample as is? Or is their a better sample out there I can reference for the web service wrappers around the enqueue/dequeue messages, and how to set that up?
Can anyone point me in the right direction for a good sample app to reference for the developing the client app for referencing Oracle AQ?
Thanks,
Greg

You have to install the samples from the companion disk or download, but the samples are older than 10g. Also read the docs on this and you may find some answers to what you need to do.
ben

Similar Messages

  • Oracle Advance Que

    Is it possible to store the .DAT and .XML file I am generating through ODI interface in Oracle Advance Que?? If yes please let me know......how??
    Thanks

    The con, generally, is going to be the cost. Advanced Security is an extra cost option on top of the enterprise edition license.
    As for the pros, there are a variety of features that are included as part of the Advanced Security option. You can encrypt traffic between the database and client machines, you can implement Transparent Data Encryption in the database, you can leverage strong external authentication mechanisms (things like kerberos), etc. What particular component(s) of Advanced Security are you looking at?
    Justin

  • Looking for an advanced prototype sample

    Hey,
    I'm an Interaction Designer at a digital full service agency
    in Scandinavia, and I'm trying to find examples showing how
    suitable Fireworks CS3 is when working with clickable website
    prototypes. I'm looking for examples of interactive prototypes made
    with Fireworks CS3. And I would lik all this to show:
    - clicking between subpages
    - drop-down menus
    - roll-over buttons
    - creative and advanced menu design
    - AJAX-imitating interactions
    - animations
    Does anyone know of such a sample?

    Is Devil's Pie what you're looking for?

  • Help newbie: in running sample CORBA and EJB

    HI,
    I am trying to run the samples that come along with the http
    server for 8.1.7, all the examples work except for these two,
    for the CORBA,I am able to load and publish, and works
    perferctly from the client (used runit.bat) but when i try to
    run from the web, it gives me a "class hell.Hello not found in
    import",
    and in EJB,
    while i run makeit.bat it gives me an ora error which tells that
    i am trying to insert a value too long for oracle, this comes
    when trying to use loadjava.
    can anybody help me out, any help is appreciated.
    Thanks,
    dharma

    Hi,
    If you are building & running EJB applications, please
    use Oracle9iAS - OC4J, Oracle Containers for J2EE. It is a
    robust, fast and a suggested environment for developing J2EE
    based applications. Oracle database JVM should be used only for
    deploying Java Stored Procedures. OC4J can be downloaded from OTN
    , small footprint, easy to download and install and much easy to
    configure. You will know it yourself once you download it.
    Cheers
    --Rajesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Newbie ACE Ques:

    Hi
    Cat6k
    "sup-bootdisk:s72033-ipservicesk9-mz.122-18.SXF8.bin"
    ACE10-6500-K9 with 3.0(0)A1(3b)
    What is the recommend way for session persistence or if no recommend, what do most folks use? IP-Source-Address, Cookie injection from ACE or Cookie injection from the WebServers
    I am testin IP-Source-address. Any body can post sample configs?

    First UPGRADE.
    A1(3b) is DEAD !!!
    Go to A2(1.1) as soon as possible.
    The best sticky method for HTTP traffic is most probably cookie injection from ACE.
    But more CPU intensive than sticky source-ip.
    Gilles.

  • Advanced Queue sample in Developer 6.0

    Do you have sample forms to use Oracle AQ feature in 8i ?
    TIA,
    Tan Gwan An
    [email protected]
    null

    yes it's possible to do this.
    get a cd with oracle8i or download it from technet. the examples their will help you.
    what you have to do is the following:
    goto oracle8i set of corba/ejb examples.
    in this examples you'll find a client java program that interact with corba/EJB components that sits in the oracle8i db.
    take the client part and put into a javabean program that works on top of developer6.
    in order for the above to work you must add to the html file that initiate your appliaction serveral jars.goto the readme file of the EJB/corba appliaction it will tell you what jars you will need to make the clinet appliaction work. beside that as I recall you will need to add the aurora.zip file. as I recall you'll need at least aurora_client.jar aurora.zip the 2 orb jars (I don't remember their names).
    you must sign the jars and your code as well. (not all of them need to be signed , but to search the ones that must be signed is tidious job, so I signed them all).
    Yossi

  • Newbie help with sample Studio app. "Plain Text Editor"

    I'm trying to make the jump from AppleScript to AppleScript Studio, and because I want to eventually write a document producing application I thought I'd start with the textbook example "Plain Text Editor" included with Xcode. I think I see how menu items are connected to "Target/Actions," and I was able to build and run it without difficulty. It's remarkable how little AppleScript had to be written to produce a rudamentary text editor. But in playing with the built application, I noticed that the Revert menu item does not work exactly as expected.
    If you create a text document, and then make some change to it, and then click the Revert menu item, you get the expected little dialog asking if you want to revert to the most recently saved version, but if you then click the Revert button, the text displayed in the text view object does not revert to the original. However, something is happening, because whatever code is behind the Save, Close, and Quit menu items does seem to be "aware" that the Revert item has been invoked: because if you click one of these after Revert, the "do you want to save changes?" warning doesn't appear, just as one might expect.
    The Revert menu item seems to be connected to a "Target/Action" called "revertDocumentToSaved:" which sounds perfectly reasonable. But does the fact that Revert doesn't cause the displayed editing text to revert mean that (a) there is a bug in the code behind this Target/Action, or (b) that the writer of this textbook example just didn't bother to do everything needed for the Revert item to work in an intuitive manner?
    Whichever the answer, what would I do to make it work properely?
    It seems like there must be some sort of connection between the text view object in the editing window, and the Close, Save, Quit suite of menu items, because the behavior of these is dependant on whether or not there are unsaved changes in the text view object. But looking through the Inspector for this object, I don't see any, neither AppleScripts, nor Outlets, nor Target/Actions. Where and for what should I be looking?
    Dual 1.2 GHz   Mac OS X (10.4.8)  
    Dual 1.2 GHz   Mac OS X (10.4.8)  

    I think -- and I'm sure someone will correct me if I'm wrong -- that this is a place where AppleScript Studio's implementation just isn't done right. Either they intended to add a "revert" handler somewhere and forgot, or else they meant to have it send an existing message and didn't.
    I haven't done any document-based applications -- heck, I've only dabbled slightly in AppleScript Studio -- so there may be a "deeper" answer to this, but you might consider just hooking the menu item up to send its "choose menu item" handler to your document script, and have it react accordingly.

  • NEWBIE JSP QUES

    I'm really new at jsp, and have a frustratingly simple question. All I'm trying to do is get a .jsp page to display in internet explorer. So I create the file and put this in it:
    <%
    String test = "this is a test";
    %>
    <html>
    <%=test%>
    </html>
    And nothing displays!!! I've also tried not using "Sting" before the variable, but it still shows nothing when I open the file in Internet Explorer. Any explanation would be appreciated.

    all I did was download and install j2sdkee1.2.1 from java.sun.com. (already having jdk 1.2.2 on my system) and then ran j2ee.bat (in ROOT:\j2sdkee1.2.1\bin). This started the J2ee server. Then all I did was put my .jsp files in the ROOT:\j2sdkee1.2.1\public_html folder and point my browser to http://localhost:8000/<name of jsp>.jsp.
    So do I need to get Tomcat?

  • Help on Advanced Queing dbms_aq package

    How to install dbms_aq package on the database .
    please help
    vishal

    what version and edition of database are you running?

  • Oracle sample: EJB Hotel --- is it runable?

    oracle offers four EJB hotel example code, which one is runable?

    All the EJB Hotel Samples are runnable. These show different ways of building the same system using EJBs.
    a. OneEJBHotelSample shows how a single session bean can be used to build the system
    b. ThreeEJBHotel shows shows how the same system can be built using session and entity beans
    c. AQHotel shows how to use Advance Queing with EJBS for building the same system
    Once again, all the samples are runnable. If you have any questions, please post it in the OTN Sample code discussion
    forum.
    Cheers !
    --Rajesh
    oracle offers four EJB hotel example code, which one is runable?

  • Buffered analog output puts out additional sample on aborting or stopping task

    I'm using DAQmx and LV 8.2
    I'm doing a buffered analog output operation where the sample clock is driven by pulses from ctr0 on the same device (PXI-6070E).  When I end the analog output task, either with the DAQmx stop task or DAQmx control task (abort option selected), the AO puts out one additional point from the buffer.  (I have checked by setting breakpoints and stepping through the code that the additional point is definitely generated when the analog ouput task is aborted)
    I need the output to remain where it was before the stop task command is issued.  How do I fix this?
    Thanks,
    Marc

    I'm watching to see if there hasn't been a sample output in a certain length of time, then terminating the task if there hasn't been.  Specifically, I have ctr0 outputting pulses to drive the task based on input from the AnalogComparisonEvent terminal.  I'm using a counter on a different PXI device to count the number of pulses and monitoring this count to determine if another sample has been output.  I'm outputting the ctr0 pulse to PFI3 as well, and I'm monitoring both the ctr0 output (which drives the ao clock) and the analog output itself on an oscilloscope.
    Basically I'm sitting in a while loop waiting for the monitoring counter to fail to increment.  Then I terminate the while loop and stop the analog output task.  I can watch the analog output on the oscilloscope while I step through the program.  Immediately before the daqmx control task - abort (or daqmx stop if I don't abort first, or daqmx clear, if I don't abort or stop) vi runs, the analog output remains outputting the last sample.  Immediately after the abort, stop, or clear, the analog output advances one sample in the buffer. 
    During this time, ctr0 does not output another pulse, so the scan clock should not advance.
    Thanks,
    Marc

  • Error in running sample AQ code !

    hello,
    i have been trying to test the Oracle9i Advanced Queuing Sample. i have compiled and deployed the application following the "install.heml" instructions.
    when i enter the user name and password n login . i get the following error :
    500 Internal Server Error
    oracle.xml.parser.schema.XSDException: Element 'schema' has invalid namespace: 'http://www.w3.org/1999/XMLSchema'
         at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:492)
         at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:300)
         at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:282)
         at ControllerServlet.parseXML(ControllerServlet.java:304)
         at ControllerServlet.init(ControllerServlet.java:126)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1949)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4338)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2477)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:592)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Please help,
    Chhimi

    thanks rajat for ur prompt reply !
    I was testing on OC4J 903. Now i redeployed to OC4J 902 and followed each of the steps carefully !
    I managed to login and do some operations. But when i try to place an order and submit the generated SOAP message (using AQServlet)
    I get the following error !
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
         at java.lang.System.loadLibrary(System.java:820)
         at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:298)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:315)
         at oracle.jdbc.oci.OracleOCIConnection.<init>(OracleOCIConnection.java:64)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:439)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
         at java.sql.DriverManager.getConnection(DriverManager.java:517)
         at java.sql.DriverManager.getConnection(DriverManager.java:146)
         at oracle.jdbc.pool.OracleOCIConnectionPool.createConnectionPool(OracleOCIConnectionPool.java:726)
         at oracle.jdbc.pool.OracleOCIConnectionPool.<init>(OracleOCIConnec[i]Long postings are being truncated to ~1 kB at this time.

  • Advanced Queueing  in Forms

    Hi,
    How can we use Advanced queing in Forms 10g R2 ? Are there any examples? Please provide me pointers.

    Hi ,
    This is the code that I am using to Dequeue in my forms application.
    But when I compiled, I got the following errors.
    DECLARE
    dequeue_options DBMS_AQ.DEQUEUE_OPTIONS_T;
    request_properties dbms_aq.message_properties_t;
    request_msgid RAW(100);
    my_msg test_form_input_q_mt;
    BEGIN
    DBMS_AQ.DEQUEUE ('test_form_input_queue',dequeue_options,request_properties,my_msg,request_msgid);
    message ('Dequeued message id is ' || RAWTOHEX (request_msgid));
    message ('Dequeued opp id is ' || my_msg.opportunity_id);
    message ('Dequeued cust name is ' || my_msg.customer_name );
    message ('Dequeued cust address is ' || my_msg.customer_address );
    message ('Dequeued email is ' || my_msg.customer_email );
    message ('Dequeued fone is ' || my_msg.customer_phone );
    message('Dequeued prod name is ' || my_msg.product_name );
    message ('Dequeued price is ' || my_msg.product_price );
    END;
    Error 512 at line 169,column 67
    Implementation restriction:'REMOVE' Cannot directly access remote package variable or cursor
    Error 0 at line 2,column 20
    Item ignored
    Error 512 at line 121,column 66
    Implementation restriction:'NO_DELAY' Cannot directly access remote package variable or cursor
    Error 0 at line 3,column 24
    Item ignored
    Error 320 at line 8,column 45
    Declaration of the tyoe of this expression is incomplete or malformed
    Error 0 at line 8,column 4
    Statement ignored
    This code works perfectly fine at the backend in SQL Plus (I replaced "message" with DBMS_OUTPUT.PUT_LINE to print the message) and dequeued.
    What could be the problem in forms that I am getting the above mentioned errors. Please guide me.
    Thanks.

  • Power-shell script to install scom agent to multiple servers

    Hi
    we are trying to upgrade/install scom 2012 r2 agents to our windows servers (300+) server via powershell script.
    we are wanting the result to be written to csv file but we are facing difficulty in trying to find the object/value to look at to the put the condition against.
    we found the script that does for ping(below part script) result but we want to capture any failure. is there anything we can use to achieve what we ant to do?
    Thank you in Advance.
    -------------------Sample script--------------------------
    # Ping the computer
        $pingStatus = Get-WmiObject -Class Win32_PingStatus -Filter "Address = '$computer'";
        if($pingStatus.StatusCode -eq 0)
            #If computer is up, write message and launch agent install
    InstallSCOMAgent $Computer
    "Success , $computer." | out-file "D:\output.csv" -Append -NoClobber
    #Write-Host -ForegroundColor Green  "Reply received from $computer.";
        else
            #Else, just write a message indicating computer unreachable 
           "Failed , $computer." | out-file "D:\output.csv" -Append -NoClobber

    Just in case Newbie like me wondering how it can be done
    Here is the code (of course i got the help) simple but does what i want at this stage.  Next I am looking at how I can push the agents in parallel, this script will take fairly long time when trying to push to huge number of servers.
    #Import PowerShell Modules 
    import-module OperationsManager
    #Variables
    $InstallAccount = Get-Credential domainname\username
    $PrimaryMgmtServer = Get-SCOMManagementserver -Name <managementservername>
    #Connect to OpsMgr Management Group
    Start-OperationsManagerClientShell -ManagementServerName: <managementservername> -PersistConnection: $true -Interactive: $true;
    $list = Import-Csv -Path 'D:\temp\serverlist.csv'
    foreach ($entry in $list)
    $computer = $entry.ServerName
        try
        Install-SCOMAgent -Name $computer -PrimaryManagementServer $PrimaryMgmtServer -ActionAccount $InstallAccount -ErrorAction Stop
    #Write Success message into file
    "$computer, Success." | out-file "D:\temp\result.csv" -Append -NoClobber
        Catch
    #just write a failure message into file
            "$computer, Failled." | out-file "D:\temp\result.csv" -Append -NoClobber
    --------------------------End---------------------------------------------------------------------------

  • Workflow capabilities for a loans project

    I have installed the workflow 9i 2.6 server(standalone).
    There is also a oracle9iAS installed in another m/c with
    1> infrastructure and
    2> j2ee and Web Cache
    Pls let me know if below activities can be performed using the workflow and what is the processs for doing the same.
    -How to create and maintain the roles/heirarchy and what kind of heirarchy is suported by workflow.
    -How to keep track of the document and what is the procedure for uploading the doc. Is it anything to do with the configuration of the DAD.
    -How to configure the notification mailer if I have workflow server installed on a win2k server and i am using outlook express as mail client.
    -Is there any facility for calendar and holiday maintenance. How to handle the processes if
    one of the authoriser is unavailable. How to maintain and manage time-outs.
    -When the concept of Message queueing and Advanced Queing(AQ) comes into picture.
    -Job Monitoring,Tracking and Escalation
    -Document management, OCR, Indexing, Archival, Search, Retrieval and versioning

    ProgrammaticImport uses import.wdl which is different from other workflows.
    It is located with the sample code in publishing.
    So everytime you execute any programatic import it looks for the workflow mentioned in your Programatic Import properties file.
    workflowName=/Content Administration/import.wdl
    you may want to look at this property to see if you are using the OOB provided workflow or a customized workflow.

Maybe you are looking for

  • Unable to Install Logic Studio

    I am trying to install Logic Studio and am failing every time. I have a Powerbook G4 1.5 Ghz with 1.25 mb Ram running OSX 10.4.10 I am able to start the installation, choose the location of the install, and select which components I'd like to install

  • Auto-redirct page?

    Could anyone tell me how to automatically redirect a page? I have a JSP(or servlet) which calls an ejb and inserts a data into database..then I need to redirect the page to another page...how to do it? thanks for your help~~

  • Mail losing/failing to decrypt attachments

    Someone sent me an email with 2 attachments, one a Word file (.doc) and one a PDF. One of the attachments arrived in Apple Mail (the PDF) and the other didn't. I went to my web server (Mail is figured as a pop client that keeps mail on the server for

  • Database crash, CPU Starvation

    hi, i am using 11.2.0.3 version of oracle. We have recently migrated to 11g, after 1 month of smooth and comparatively better performance, we are suddenly facing performance issues with our database and it got crashed twice within 5 days. even we did

  • Strange (arabic) font in Media browser for Aperture

    Since a couple of days the media browser (available from iWork applications) shows strange (arabic) description of some of the standard folders of aperture. I'm not aware of having changed anything or installed font managing software. Any ideas for h