Advanced Queues with Form6i - Error 512

I try to manage AQ via Forms, but its doesn't work.
If I try to compile the following code sample, I'll allways get a error message 512.
This means...
"error 512. Implementation Restriction: 'REMOVE':Cannot directly access remote package variable or cursor"
The Code in Forms6i.
PROCEDURE dequeuing IS
dequeue_options dbms_aq.dequeue_options_t; =======>ERROR 512
message_properties dbms_aq.message_properties_t;
agent sys.aq$_agent;
Begin
END;
How can I access the dbms_aq vars????
Thank you for your help.

You will probably have to wrap the code in a server side program unit and then call that from Forms.
Some things like package variables arte not available to remote PL/SQL such as the PL/SQL in Forms so this I think is the cause of your issue,

Similar Messages

  • Integration Oracle Advance Queue with OSB

    We are doing integration for Oracle Advance Queue with OSB.
    I created an AQ adapter in Jdev and generate the WSDL and XSD.
    I imported both WSDL and XSD in OSB Project.
    When i am configuring the business service and selecting the WSDl i am not able to select Binding and ports, is it due to any issue in WSDL?
    Please help.
    Thanks,
    Mihir Panda

    Hi again,
    I made some adjustments to your wsdl. I added the binding part and its reference to the appropriate port.
    Now I reckon, you should be able to do your thing:
    <wsdl:definitions
    name="enq"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/aq/Applicatio90/Project4/enq"
    xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS"
    xmlns:ph="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <plt:partnerLinkType name="Enqueue_plt" >
    <plt:role name="Enqueue_role" >
    <plt:portType name="tns:Enqueue_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <!-- Define AQ Headers = Payload Headers -->
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/headers/payloadheaders/"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:obj1="http://xmlns.oracle.com/xdb/APPS" >
    <import namespace="http://xmlns.oracle.com/xdb/APPS" schemaLocation="xsd/APPS_WF_EVENT_T.xsd"/>
    <complexType name="enqHeaderCType" >
    <sequence>
    <!-- payload header -->
    <element name="PayloadHeader" type="xs:string" />
    </sequence>
    </complexType>
    <element name="enqHeader" type="ph:enqHeaderCType" />
    </schema>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns="http://www.w3.org/2001/XMLSchema" >
    <element name="opaqueElement" type="base64Binary" />
    </schema>
    </wsdl:types>
    <wsdl:message name="Enqueue_msg">
    <wsdl:part name="opaque" element="opaque:opaqueElement"/>
    </wsdl:message>
    <wsdl:message name="Header_msg">
    <wsdl:part name="Header" element="ph:enqHeader"/>
    </wsdl:message>
    <wsdl:portType name="Enqueue_ptt">
    <wsdl:operation name="Enqueue">
    <wsdl:input message="tns:Enqueue_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="Enqueue_Binding" type="tns:Enqueue_ptt">
         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="Enqueue">
                   <soap:operation soapAction="put_your_own_URI_here"/>
                   <wsdl:input>
                        <soap:body use="literal"/>
                   </wsdl:input>
              </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="EnqueueService">
         <wsdl:port name="Enqueue_ptt" binding="tns:Enqueue_Binding">
              <soap:address location="No Target Adress"/>
         </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Good luck.
    Regards,
    Ronald

  • Reading Advance Queuing with XMLType payload and JDBC Driver character encoding

    Hi
    I've got a problem retrieving the message from the queue with XMLType payload in Java.
    It was working fine in 10g database but after the switch to 11g it returns corrupted string instead of real XML message. Database NLS_LANG setting is AL32UTF8
    It is said that JDBC driver should deal with that automatically but it obviously don't in this case. When I dequeue the message using database functionality (DBMS_AQ package) it looks fine but not when using JDBC driver so Ithink it is character encoding issue or so. The message itself is enqueued by the database and supposed to be retrieved by dedicated EJB.
    Driver file used: ojdbc6.jar
    Additional libraries: aqapi.jar, xdb.jar
    All file taken from 11g database installation.
    What shoul dI do to get the xml message correctly?

    Do you mean NLS_LANG is AL32UTF8 or the database character set is AL32UTF8? What is the database character set (SELECT value FROM nls_database_parameters WHERE parameter='NLS_CHARACTERSET')?
    Thanks,
    Sergiusz

  • Advanced Queue - Timezone Configuration

    Dear Reader
    If I create an advanced queue with the command "dbms_aqadm.create_queue_table", an entry in the table "system.aq$_queue_tables" results.
    However, what is not clear to me is why the TIMEZONE column of this table is populated with 00:00, since this value neither correspond to the "dbtimezone" nor to the "sessiontimezone"?
    "select dbtimezone, sessiontimezone from dual" returns
    +02:00, CET
    Thanks and regards,
    Ulrik
    P.S.
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
    Edited by: user10371214 on 16.11.2010 02:32

    not that i know of. all server upgrades are pushed into the "Advanced" configuration. The only way to get a "Standard" configuration is to erase & install...

  • Error when connect to Advanced Queuing Oracle

    Dear sir,
    I'm using intellij IDE write one a class java to connect Advanced Queuing, my code follow :
    queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory("host", "sid", 1521, "thin");
    queueConnection = queueConnectionFactory.createQueueConnection("usernamer", "password");
    but program have error : "Exception in thread "main" oracle.jms.AQjmsException: ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found".
    I try connect this schema by "sql developer", i receive same error. i change file sqldeveloper.conf, put line - AddVMOption -Duser.timezone="+07:00" then sql developer work fine.
    I download tzupdater-1.3.40-2011h and run "java -jar tzupdater.jar -u" and "java -jar tzupdater.jar -f" but app not run.
    can you have me. i need complete this app.

    Post the stack trace

  • ESB 10.1.3.1 Not Connecting to AQ QUEUE with error

    We are having problems getting the ESB service to connect to an AQ queue to dequeue messages;
    Platform: SOLARIS 10 SPARC 64
    Version: 10.1.3.1 ESB
    Database: 10.2.0.2
    Scenario: BPEL process enqueues message successfully. ESB process not able to connect to dequeue.
    Reproduceable steps:
    1) Create QUEUE table, queue and start queue for a user with Roles AQ_Administrator_ROLE, AQ_USER_ROLE, DBA;
    2) Enqueue message. Message payload type is RAW;
    3) ESB service defines an inbound adapter service to above and succesfully deploys project to esb container;
    4) Logs report the following errors:
    ERROR1) >JCA: MessageReader_ReadMessage: Could not create XML document carrying AQ Head
    ers: [Ljava.lang.StackTraceElement;@d7f3e3</MSG_TEXT>
    ERROR2) <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
    at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1715)
    at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1290)
    at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:400)
    at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeu
    er.java:189)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:81
    9)
    at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    VERIFICATION: First of all, the BPEL process is successfully submitting messages to AQ QUEUE so AQ is configured properly at the database level. We verified queue table has a message in it via sql plus;
    RELATED ISSUES:
    1) JDEV designer is not finding queues with payload types such as JMS_TEXT_MESSAGE. We were forced to use RAW. There is probably a bug in JDEV IDE regards its inability to view valid queues in the database simply based on payload. This is easily reproducible.
    2) log.xml is very unhelpful way to view a log. This should be discarded in OAS in future releases as it is not practical.

    Yes, WebLogic 10.1.3.6 can interoperate with 9.2. SAF agents are "Store and Forward" agents, so they'd need to run in the source cluster. If you need to get messages from a remote destinations into a local SAF "imported destinations", or just a plain-old destination, then perhaps the best option would be to deploy a simple MDB on the 10.3.6 cluster (some layered products can setup such an MDB for you).
    I'm not familiar with ESB, but assume that it already provides tooling for pulling messages from remote destinations (I assume a product like ESB is designed to try and more-or-less hide JMS details from the user by providing layered tooling...). You might be able to get help from an ESB newsgroup. If this doesn't help, you may also want to see the JMS interop FAQ:
    http://docs.oracle.com/cd/E21764_01/web.1111/e13727/interop.htm#JMSPG553
    BTW, It's not clear to me why you need SAF Agents in this use case.
    Tom

  • Advanced Queues Snapshot too old error

    I am using the advanced queues to submit work for parallel processes running through the Oracle Job Queue.
    I have attempted running anywhere from 1 to 5 simultaneous processes (in addition the the process which submits them to the Oracle job queue and populates the advanced queues) and I am getting sporadic Snapshot too old errors when the other processes are attempting to dequeue. The Advanced queues are populated before the other processes are submitted to the job queue, so I don't see that there could be conflicts between one process enqueuing while another is dequeuing.
    The reason I am attempting this is to try and gain some performance by running processes in parallel.
    Has anyone else had problems like this? Is this a bug in Oracle 8.1.6? Is there a parameter setting I need to adjust? Are there any suggestions for getting around this problem?

    I don't know what version of the database you are running? I'm only using 8.1.7.4. But where I come from, you add datafiles to the tablespace, not the rollback segment.
    alter tablespace rollback
    add datafile '&lt;blah, blah&gt;'
    size 147m
    autoextend on next 100m maxsize 2047m;
    Make sure that you have a suitable number of rollback segments that are well-sized extents. But mostly, listen the Tom Best, and try and introduce some best practices (no pun intended) to reduce the likelihood of this situation arising.

  • Request for Comments and Experiences with Streams Advanced Queuing

    Hi,
    I would like to get some feedback about what your experiences with Streams Advanced Queuing. What do you like about it? What don't you like? How do you use it? What features would you love to see in it? Please post to the forums. Thanks!

    I love the new homeless Instant Client! I wish we had it years ago. Some comments:
    1) The MS ODBC administrator GPF's (blows up) when trying to configure a new data source using the new Oracle IC drivers. Have to hand-edit the registry.
    2) I heartily agree with the request that the new client install without requiring the normal Oracle installer. It's just too bloated for easy deployment. I'd rather hand install the files than to have to use that. Also, .zip not .jar please.
    3) Need better documentation on the connection string options. It took me 3 weeks to figure out that what used to be scott/tiger@mydb is now scott/[email protected]:1524/mydb.xxx.yyy (it's looking for the GLOBAL_NAME, not the SID and TNSPING won't show you that! Doh!)
    4) Please let us specify a range of ports (e.g. :1521-1524) and let it figure out where the SID is on that machine. We move ours around and don't want to update hundreds of clients with hardcoded command lines.
    5) Maximum backward compatibility, please! It's not easy moving all those Oracle apps to 8.1.7.4+ databases, yet, but my old OCI client programs should not have to care. I don't want to have 2 SQL*net driver stacks on my PC's.
    Thanks -- I'll be watching for new features.

  • Mail error "Verify that you have addressed this message correctly. Check your SMTP server settings in Mail preferences and verify any advanced settings with your system administrator.Select a different outgoing mail server from the list"

    The Mail application has suddenly started giving error:
    "Verify that you have addressed this message correctly. Check your SMTP server settings in Mail preferences and verify any advanced settings with your system administrator.Select a different outgoing mail server from the list"
    It was working fine till yesterday, suddenly it stopped. I have 3 email accounts configured here, 2 are on exchange servers and one yahoo. Connection verification works and shows all servers as green.
    Any inputs?

    I had 3 accounts, 2 ms exchange accounts and 1 yahoo. After removal of yahoo, everything is back to normal.
    Regards
    Rohit

  • Domino Provision error: No message queue with that name

    Hi,
    Recently when we try the domino provisioning we often receive this error:
    No message queue with that name.
    This error is intermittent.
    Does any one has any idea why?
    Thanks

    Hi Wushilin,
    We are also encountering the same problem.
    Are you still facing the same issue?
    If you have solved the problem, can you share the solution?
    Thanks!

  • Tab closes with no error msg when I click on "Allow". Msg: Firefox prevented this page from automatically redirecting to another page. I had to uncheck the Advance/General/Accessibility option for it to work. Why?

    Msg: Firefox prevented this page from automatically redirecting to another page. When I click on "Allow", The 2nd tab closes with no error msg This was Home Depot redirecting to CitiGroup.
    When I unchecked the Advance/General/Accessibility option to be notified of a "redirect" then things worked.
    Why did clicking on "Allow" not work?
    I posted step by step detail in the Trouble Shooting box below.

    Thank you for your answer. It does stop the redirection notices, but now I have no idea if potentially unsafe sites are redirecting me. I cannot figure out why it has only recently started to happen on my home page though, when nothing has changed on there and I've had it set to show redirections, ever since I set up Firefox.
    I guess I'll just have to make the decision as to whether I want to risk redirections or put up with the semi permanent notice.
    Thanks again mha007

  • OWB 10g R2 with Advanced Queues

    All,
    We are currently using 9.2.0.2.8 and make extensive use of Advance Queues in many of our mappings (we've put a lot of effort in to get this to work "real time"). We are now looking to upgrade from 9.2.0.2.8 to 10.2.0.2 - we've upgraded the mappings ok and the queues are there ok.
    Going forward it looks like AQ has been removed as a source for new mappings in OWB 10g R2. Can anyone shed any light on this - will it be included a future patch or is there a work around?
    I've looked at the OpenWorld presentations and making OWB process data "near real time" seems to be a big new feature.
    Thanks
    Craig

    I raised a Tar on metalink for this issue, here is the reply I got:
    This is what I received from Development:
    The real-time feature was pulled from OWB 10gR2 and this also included the
    AQ import which was in 10.1, I think they must have been
    tightly coupled. The workaround involves coding; the pre-Paris solution
    basically created a temporary table where messages were staged and this
    queue table used for the map; the map had pre/post map triggers for
    initializing/finalizing the queue. To use it effectively it would be best to
    create some scripts that generate the appropriate SQL scripts for the
    supporting map queue table and also the PLSQL procedures representing the
    pre/post map triggers. Similar manual coding is applicable for using CDC
    within OWB for OWB 10gR2.
    These features are planned for a future release.
    Implementation of this work-around is something you can do or Oracle Consulting can do. Support
    cannot assist in developing a solution for this.
    ------------------------------------------------------------------------------

  • Error RFC queue with BBP_EXTREQ_TRANSFER

    Hi Experts,
    We are implementing SRM 7.02 with Classic scenario
    The Purchase requisitions are created in ERP and transfer to SRM with BBP_EXTREQ_TRANSFER
    When checking RFC queue with SMQ1 the status is SYSFAIL "Exception condition "OBJECT_ID_NOT_FOUND" raised"
    Any ideas?
    Clara

    Hello Clara,
    First, PR is released totally and you have set in the input fields of BBP_EXTREQ_TRANSFER, the PR number and date 31.12.9999, then all standard parameters.
    Also, have you created correctly the entry channel pending of Root node in PPOMA_BBP trx?, also you need to add * to BSA, BWA and DP_PROCTYPE attributes; and add your RFCUSER in this tree.
    We was attemping that issue when deploying PDP.
    Is there any reason you should use PDP instead of CPPR? Do you have PI?
    I strongly recommend you to use PDP if you want to use service hierarchies in SAP SRM with classic scenario.
    Regards,
    Sebastián

  • HT4968 Calendar is locked on my Mac. I keep getting the message "The server responded with an error: Access to iCloud is not permitted. The server responded 403 to operation caldavmigrate to server queue able operation." How do I resolve?

    Calendar is locked on my MAC.
    I keep getting the message" The server responded with an error: Access to icloud is not permitted. The server responded 403 to oepration caldavmigrate to server queueable operation."
    How do I recify?

    We previously had a similar issue when migrating multiple accounts from MobileMe to iCloud.  The issue was resolved by disabling and then enabling iCal sync through iCloud on our iMacs in System Preferences.
    Always backup your calendar before troubleshooting (File > Export > iCal Archive).
    The following steps are roughly from a Apple Support Community discussion.
    Open iCloud in System Preferences.
    Switch off (uncheck) iCal sync in iCloud System Preferences pane.
    Backup iCal before doing this. You will need to remove calendar data.
    Open iCal and verify the iCloud account is removed in the iCal preferences under accounts.
    Close iCal, reopen System Preference and switch on (check) iCal sync in iCloud System Preferences pane.
    Reopen iCal and verify the iCloud account is enabled in the iCal preferences under accounts.
    At this point if the problem persists you might try completely signing out of iCloud and then signing back in. But remember to backup all related data (iCal, Contacts, Mail, Photostream, etc) before turning off iCloud sync!

  • Nested Tables and Advanced Queues- Please Help.

    How do i work with NestedTable type and Advanced Queue.
    I have done the following
    I have Oracle 8.1.7 enterprise edition.
    create type myType as TABLE OF varchar(32);
    create type myObject as OBJECT (
    id int,
    myt myType);
    DECLARE
    BEGIN
    dbms_aqadm.create_queue_table(
    queue_table => 'my_queue_table',
    multiple_consumers => TRUE,
    queue_payload_type => 'myObject',
    compatible => '8.1.3'
    END;
    The Nested Table and Object are created successfully.
    but the queue is not created.
    I get the following message.
    DECLARE
    ERROR at line 1:
    ORA-22913: must specify table name for nested table column or
    attribute
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2012
    ORA-06512: at "SYS.DBMS_AQADM", line 55
    ORA-06512: at line 3
    I know how to specify the nested table storage clause for
    create table statement, but there is no provision for
    it in the create_queue_table procedure.
    Any help will be greately appriciated.
    i have already created and tested aqs with simple data types,
    also i have created simple tables with nested table type
    elements.
    but the combo of Nested tables and AQ is not working.
    thanks in advance.

    Hi Francois. Thank you very much for your reply, but it seems that i still get errors. So let me tell what i have done.
    As you suggested me: i have done a block based on a sub-query for the nested-table:
    'select courses from department where name= :department.name'.
    In the master block(department) i have the when-new-record-instance trigger:
    Declare
    LC$Req varchar2(256);
    Begin
    LC$Req := '(select ns.courses from table
    ( select courses from department where name = ''' || :DEPARTMENT.name || ''' ) ns )';
    Go_block('block11');
    Clear_Block ;
    Set_Block_Property( 'block11', QUERY_DATA_SOURCE_NAME, LC$Req ) ;
    Execute_query ;
    End ;
    Now the errors i receive, this time in the runtime mode are:
    - FRM-41380: Cannot set the blocks query data source
    -FRM-41003: This function cannot be performed here.
    Since it seems that you know how to work with the nested table i would really appreaciate your help. I am new in the nested table and if you could give an ex with my tables it would be great.
    Thank you in advance.

Maybe you are looking for

  • AirPort Extreme WiFi's to only 3 devices at a time

      After four+ years of pretty solid network performance at home connecting to Wide Open West, my MacBookPro reported no WiFi internet connection on my network.  Hmm. I turned off AirPort in the menu bar, then back on -- still no internet.  After rebo

  • Ipod nano 6th gen cable

    Hi, I just received my 6th generation Ipod Nano. I joined the replacement program for 1st generation and got a new unit after waiting a couple of weeks. Since I only received the unit, not cables or anything I tried the 1st gen cable. It didn't work.

  • Finder window question mark

    Hello - I inadvertently slid a Skype icon to my finder window top border and when I deleted Skype from system the icon began appearing as a question mark (?) ... how do I delete the question mark from my finder window top border? Thanks in advance.

  • Problem with MacBook Air connecting to Epson Stylus sx600fw wirelessly

    Hi I have been trying to set up my new Macbook Air with Epson Stylus sx600fw.  Previously this printer was being used via USB with a PC.  I have set up the printer on macbook via USB, but under the advice of online resources, erased that and began tr

  • Where is the NullPointerException coming from?

    The program in question uses the following typical and generic code to set the LAF of the program to that closest to the original OS. //Set look and feel.     String nativeLookAndFeel = UIManager.getSystemLookAndFeelClassName();     try       UIManag