Do I have to use opmn:ormi in the JNDI Service Provider URL?

Trying to create a new Enterprise Message Source (JMS) and it's not updating the Data Object. Tested the OC4J queue using a Java POJO listener ... sending and receiving text message seems okay. I created a basic Plan (there's only one data element for now) and it is running.
Any suggestions would be appreciated!

Here is a document from Ranga on how to connect BAM to OJMS (hope it helps):
Database Trigger - OJMS - BAM Integration Sample
Last updated 07/27/05 Ranga
OJMS setup
Step 1 - Oc4j setup
•     Install Standalone/Developer 10g OC4J or production version Application server.
Developer version download -http://www.oracle.com/technology/software/htdocs/devlic.html?/technology/software/products/ias/htdocs/utilsoft.html#1012 or from http://bamqa.us.oracle.com/bamqaWiki/attach?page=Downloads%2Foc4j1012_extended.zip
•     Modify following configuration files
o     Add entry in <OC4J_Install_location>\j2ee\home\config\data-sources.xml for your database, use below sample replacing HOST, PORT and SERVICE_NAME in url tag
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="TTTDS"
location="jdbc/OracleTTTDS"
xa-location="jdbc/xa/OracleXaBamDS"
ejb-location="jdbc/OracleEjbBamDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="scott"
password="tiger"
url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=tcp)(HOST=stank04)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=db10g)))"
inactivity-timeout="30"
/>
o     Add a resource provider entry in <OC4J_Install_location>\j2ee\home\config\application.xml
<resource-provider name="BAMTTT" class="oracle.jms.OjmsContext">
<description>BAM for Generic</description>
<property name="datasource" value="jdbc/OracleTTTDS"/>
</resource-provider>
Step 2 - Database setup
•     Install 10g or 9i database, below steps will setup AQ in sample schema scott.
•     Connect to database as sys and grant AQ permissions to scott user
connect sys/welcome1@db10g as sysdba
grant SELECT_CATALOG_ROLE to scott;
GRANT EXECUTE ON DBMS_APPLY_ADM TO scott;
GRANT EXECUTE ON DBMS_AQ TO scott;
GRANT EXECUTE ON DBMS_AQADM TO scott;
GRANT EXECUTE ON DBMS_CAPTURE_ADM TO scott;
GRANT EXECUTE ON DBMS_FLASHBACK TO scott;
GRANT EXECUTE ON DBMS_STREAMS_ADM TO scott;
execute dbms_aqadm.grant_system_privilege('ENQUEUE_ANY', 'scott', TRUE);
grant aq_administrator_role to scott;
grant execute on dbms_lock to scott;
grant execute on sys.dbms_aqin to scott;
grant execute on sys.dbms_aqjms to scott;
•     Connect to database as scott user and create AQ
connect scott/tiger@db10g
execute dbms_aqadm.stop_queue( queue_name => 'bam_ttq' );
execute dbms_aqadm.drop_queue( queue_name => 'bam_ttq');
execute DBMS_AQADM.DROP_QUEUE_TABLE (queue_table => 'bam_ttq_tab');
execute dbms_aqadm.create_queue_table( queue_table => 'bam_ttq_tab', queue_payload_type => 'sys.aq$_jms_text_message', multiple_consumers => true );
execute dbms_aqadm.create_queue( queue_name => 'bam_ttq', queue_table => 'bam_ttq_tab' );
execute dbms_aqadm.start_queue( queue_name => 'bam_ttq' );
Database Trigger setup
Run the following sql connected to database as scott user, it creates a trigger on EMP table.
create or replace trigger send_recs_Employee AFTER INSERT OR Update ON EMP
FOR each row
declare
xml_complete varchar2(8000);
v_enqueue_options dbms_aq.enqueue_options_t;
v_message_properties dbms_aq.message_properties_t;
v_msgid raw(16);
temp sys.aq$_jms_text_message;
v_recipients dbms_aq.aq$_recipient_list_t;
Begin
temp:=sys.aq$_jms_text_message.construct;
v_recipients(1) := sys.aq$_agent('istante',null,0);
v_recipients(2) := sys.aq$_agent('test',null,0);
     v_message_properties.recipient_list := v_recipients;
xml_complete :=
          '<?xml version="1.0"?><row>' ||
          '<EMPNO>' || :new.EMPNO || '</EMPNO>' ||
          '<ENAME>' || :new.ENAME || '</ENAME>' ||
          '<JOB>' || :new.JOB || '</JOB>' ||
          '<MGR>' || :new.MGR || '</MGR>' ||
          '<HIREDATE>' || :new.HIREDATE || '</HIREDATE>' ||
          '<SAL>' || :new.SAL || '</SAL>' ||
          '<COMM>' || :new.COMM || '</COMM>' ||
          '<DEPTNO>' || :new.DEPTNO || '</DEPTNO>' ||
          '</row>' ;
          temp.set_text(xml_complete);
dbms_aq.enqueue(queue_name => 'bam_ttq',
          enqueue_options => v_enqueue_options,
          message_properties => v_message_properties,
          payload => temp,
          msgid => v_msgid );
End ;
BAM Setup
•     Administrator - Fix the classpaths for oc4j jar files for Oracle (AS JMS and OJMS) Message source type using the OC4J_Install_location. If you are using production App Server you need to add extra classpath entry <App Server Location>\opmn\lib\optic.jar
•     Architect - Create a new Enterprise message source of type Oracle (AS JMS and OJMS)
Initial Context Factory:      com.evermind.server.rmi.RMIInitialContextFactory
JNDI Service Provider URL:      o     For Standalone oc4j: ormi://machine name/
Where machine name is OC4J installed host
o     For Production App Server: opmn:ormi://<machine name>:<opmn request port>:home
Where machine name is App server installed host, opmn request port could be found from looking at opmn.xml in <App server install location>/opmn/conf
TopicConnectionFactory Name:      java:comp/resource/BAMTTT/TopicConnectionFactories/bam_ttq_tab
Topic Name:      java:comp/resource/BAMTTT/Topics/bam_ttq
JMS Message Type:      TextMessage
Durable Subscriber Name (Optional):      Istante
Message Selector (Optional):      
Client ID (Optional):      ClientID
Name     Flow name     Type     Max size     Formatting
row.     row.     String     4000     (none).
•     Enterprise Link Design Studio – create a basic plan with
o     Oracle BAM Enterprise Message Receiver, selecting the message source you created in above step.
o     Display sink Grid
•     Create file jndi.properties in C:\Program Files\Oracle BAM\j2re1.4.1_01\lib with entries
java.naming.security.principal=admin
java.naming.security.credentials=welcome1 (App server/Oc4j password)
Running
•     Start OC4J
•     To enqueue messages update or insert records in EMP table connected to database as scott user
Insert into emp values (&empno,'FORD','ANALYST',7566,sysdate,60000,3000,20);
•     Run update on the enterprise plan
In above sample no parsing of the data is done, its got as one single string.
OJMS setup
Configuring JMS
http://www.oracle.com/technology/books/pdfs/2352_Ch06_FINAL.pdf
Oracle® Application Server Containers for J2EE Services Guide 10g Release 2 (10.1.2) for Windows or UNIX
http://iasdocs/iasdl/101200doc/web.1012/b14012/toc.htm

Similar Messages

  • Since my last firefox update, I have been unable to type an email - the text box does not appear when I press 'reply' , or press 'compose'. The email provider is '123-reg.co.uk. I have been using both firefox and the provider ['webfusion Ltd/webmail123] s

    Hello. Since my last firefox update, I have been unable to type an email - the box within which one would usually type does not appear when I press 'reply' to a received email, or press 'compose'. The email provider is '123-reg.co.uk. I have been using both firefox and the provider ['webfusion Ltd/webmail123] successfully for well over a year. The provider says it is a browser problem. I can still add an attachment to the email header, which successfully can be sent, but the recipient gets my standard email 'signature' with font messages and the attachment. Can anyone help? My email addresses are [email protected] [this is the one with the issue] and [email protected] in English
    == today

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • I bought my iPhone 4 in Canada and have been using it here for the past 7 months. In september i will be moving to the UK and am wondering if I get a UK sim card will I be able to use it as my cell phone over there?

    I bought my iPhone 4 in Canada and have been using it here for the past 7 months. In september I will be moving to the UK and am wondering if I get a UK sim card will I be able to use it as my cell phone over there?

    Hi: I don't believe that Telus provides unlocking for the iPhone. Other phones, yes, iPhone no.
    Follow-up info from Telus:
    http://www.telusmobility.com/en/BC/Unlock-Device/unlocking_your_device.shtml?eVa r6=link
    Stedman

  • HT4437 I have successffully used my iPad with the Apple TV with no problem but just recently, the Airplay icon doesn't come up on the iPad anymore when I'm trying to connect.   What can I do to fix this?

    I have successffully used my iPad with the Apple TV with no problem but just recently, the Airplay icon doesn't come up on the iPad anymore when I'm trying to connect.   What can I do to fix this? 

    Try restarting your router as a first thing, this sometimes works for me.

  • HT4798 I have a used mac book with the user id from the old user still on the system, how do I reset it to a new one?

    I have obtained a used MacBook that still has the previous owners User ID associated with it, how do I go about changing it to me so that all the necessary accounts to reflect my user rights?

    If you have a Used Mac that has the old user's account, then you also could have the old user's malware installed, which is collecting all your financial account information. Likely? Probably not. you want to take the chance?
    You should erase the drive completely and re-install the OS.
    If you don't want to do that, create a new user account, give it admin privileges, log into that account, and delete the old user's account.

  • A site I need for consulting purposes requires an add-on known as "Intranet for Firefox". When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site.

    A site I need for consulting purposes (http://www.aegtelecom.com.pt/) requires an add-on known as “Intranet for Firefox”. When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site. However, being a steadfast Firefox user, I would prefer to use Firefox for this purpose.

    http://www.aegtelecom.com.pt/contactos <br />
    Have you tried contacting that web site's support department for help with that issue? <br />
    If that web site can't find the add-on it says is needed, they need to fix that problem with their servers.
    Or you can try using IE Tab2 to run IE in a Firefox tab. <br />
    https://addons.mozilla.org/en-US/firefox/addon/92382

  • HT204053 I have iPad 2 and recently changed my Internet Service Provider and email address. I have created a new Apple I.D. and password but when I try to access or open my iPad 2 I am asked for the password for my previous email address.

    I have iPad 2 and recently changed my Internet Service Provider and email address. When I switch on the iPad I am asked for my password for
    my previous providerwhich when entered is not acceptable. I am told to create a new passord but this only changes the password for my current
    address. I am now unable to access iPad and I need to know how to circumvent this.

    Roger, thank you.  I wish I had sent out this question a month ago, when I committed the folly of creating another apple id with my alternate email address.  Since then, I had realized that I didn't seem to need it, hence today's post.
    So now what do I do?  Is there anyway to delete that unecessary apple id?
    And it is even worse than that...the secondary address listed currently in our apple id is a mobile me one that my husband created, but never uses, never checks, and probably doesn't even remember the password for. 

  • If i make face time call using wifi ,will my sim or service provider charge me for that call?

    if i make face time call using wifi ,will my sim or service provider charge me for that call?

    No. It does not use cellular data.

  • Does Forms 11g uses opmn to startup the services like in 10g?

    Hi,
    In 10g forms services opmn was responsible for starting components such as forms, reports, discovery... does it works the same way in 11g? Do i need to start opmn to run forms 11g services? Or just startManagedWebLogic.sh WLS_FORMS ?
    Regards
    Ricardo

    Hi,
    As far as I know we need to keep any of these two to be up and running with WLS_FORMS
    ohs or WC
    You have to start this using opmnctl which you can find at $OI/bin directory

  • My macbookpro died and I have been using my boyfriends macbook (the itunes is an earlier incarnation of my itunes) and have been using his pro to charge, all the music has disappeared from my iphone but shows up when i plug it in to charge on his macbook,

    My macpro got wet and I have been using my boyfriends macpro to charge my iphone over the weekend, his itunes is an early version of my itunes library. I have no music showing in my ipod on my iphone. When I plug it in to the macpro it shows my music, and an up to date show of all my playlists new music etc when I click on my iphone icon, how do I get it back? Can I back up and sync from his library? Can I just back up my phone on his library and restore from that, will I get an exact copy, new stuff and all back??
    Any help appreciated

    Sounds like the music you had on your phone was not the same music on his computer. The iPhone/iPod touch is not designed to be a storage device. When you sync with a computer that doesn't have your music, it deletes your music from your phone.
    Was this music you purchased from iTunes? if so, and you are in the US, tap on itunes app, tap updates, tap purchased and tap on the cloud icon to get each song back. If you're not int he us, get iOS5 update later this week and do the same.
    But you need to move your itunes library to his computer. Create a user account on his macbook pro for you. From your external drive backup, load your itunes library on it. Then sync as usual! (Don't tell me you don't have a backup for your computer!)

  • Configuring Century link modems in firefox fails to save configuration. I have to use ie to configure the modem

    Details of problem: When I make changes on the selection page and submit it. The changes are ignored by the router. This is an issue with all firefox versions from about version 20. Other are also having this issue see question 958502.
    using ubuntu 13.10 and firefox 25.0.1
    however
    it also fails using windows 7 and firefox 25
    right now I have to use ie which means booting a virtual machine and going through the same steps except it actually works!

    Does the current Firefox 17.0.11 ESR version still work?
    *http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/17.0.11esr/
    Any specific JavaScript errors in the Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K) about this issue?

  • I have been using my macbookpro for the past 2 years and suddenly yesterday it stopped connecting to wifi and keeps sayin airport card not installed...pls help

    I have been using my macbookpro for last 2 years and suddenly yesterday it's not connecting to wifi nd keeps saying no airport card installed...how can I fix this?

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I have been using DNG converter from the beginning.  But suddenly the bottom part of the interface has disappeared where the Convert button is.  What's happened

    Very strange.  Why would it disappear after all this time

    Very good question.  In fact I have just replaced my monitor with a higher resolution screen.  However it is all irrelevant now as I have cured it.  I uninstalled the old versions of the Converter and installed the latest version 9.  All works ok.  The hardest part was finding where the DNG Converter had squirreled away on my computer.  Eventually found it but I couldn't get access to it through the Control Panel.
    Many thanks for your reply

  • Using FF ver 3.6.23 when trying to use a "Finish button" the java console provides error: document.forms 0 .submit and I cannot submit the document

    document.forms[0].action=AWURL;
    document.forms[0].elements["WWWACTION"].value='APPLY';
    //12-1TEDHRQ - identify the action as legitimate, to avoid the warning popup
    legitimateAction = true;
    //12-1TEDHRQ - eof
    document.forms[0].onsubmit();
    formatHTML();
    /* GIT remmed-out*/ //document.cookie = "AWIZ_PREVIEW_MODE=ON; domain=oraclecorp.com; path=/";
    /* GIT Version */
    document.cookie = "AWIZ_PREVIEW_MODE=ON; domain=oracle.com; path=/";
    /* eof GIT Version */
    // alert ('Cookie Set ' + readCookie('AWIZ_PREVIEW_MODE'));
    document.forms[0].submit();
    }

    Your PHP script is not secured at all. I would recommend using Forms To Go (http://www.bebosoft.com/products/formstogo/overview) to create the PHP script.
    The unregistered version can be used for free. It will get you up and running in no time.
    In your HTML form,remove enctype="multipart/form-data" from this:
    <form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
    enctype="multipart/form-data" is only required if you have a file upload field in the form.

  • I have free caller id , so says the phone service ...

    I was woken up at 3pm after a hard days work to see if I needed PPI insurance 6 times in the last well let me think 3 weeks , now I  have the number , my wife has the number , and my mother in law has the number ( q mother in law jokes ) .
    I call to complain I am told I will be put on the " no more sales calls but it takes 28 days to filter them out " thing and would be giver free caller id , so I could at least see who was calling and waking me .
    I went out and bought new handsets all excited to use my caller id today  
    I got home it didn't work  
    I called bt again I was told aww the other adviser must have made a mistake , I would have me free caller id in the next 24 hours  
    imagine my dismay at getting this in a email when i checked tonight ---------
    BT Privacy at Home - use the Telephone Preference Service and Caller Display to help stop unwanted calls. Caller Display is free if you make two chargeable or inclusive calls a month using BT; otherwise it's £2.70 a month or £8.10 a quarter. You'll need a compatible phone. If you don't already have one, go to www.bt.com/shop or other shops.
    Your calling features start on: 09 Jul 2012. We'll let you know when they're ready.
    I didn't order that ???????? I was offered it TWICE and both time FREE 
    after having the service for a nearly a month I am disgusted I have had un-usable net for, let me thing till yesterday when the engineer (3rd one) fixed it, and for once my download beat the 2 MB/s mark , I am still waiting for the call back form that complaint ( live chat ) to resolve that I am not going to be charged a months Internet for a service that only worked yesterday.
    thanks jock 

    It is free, as long as you make at least two calls a month with BT. If those calls are withing your existing call plan, then you pay nothing.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • Pc issues files need to be back up

    i have a pavillion g6 1d80nr cp notebook  product no. B4U19UA#ABA  WINDOW 7  64-bit  low disk space  say need to back up disk but unable to do so because of the disk size in disk e

  • How long do i have to purchase apple care?

    How long after the purchase date do i have until i can no longer purchase apple care? Ive heard from people you have within the year and from others that its only 30 days after the purchasing date.

  • How do I get out of My Songs?

    I've got GB on my iPad2 and was enjoying 'Curtain Call' in My Songs. I cannot seem to find a way back to the main part of GB whereby I can play smart instruments, etc. If I select instruments in My Songs it tells me I've got the maximum 8 selected. P

  • Does apple offer an international warranty?

    I have purchased a macbook pro and it is coming here (India) from the US. Wanted to know if they offer an internation warranty? (without applecare protection plan)

  • Unable to interpret Response from client proxy

    Hello SAP Guru's,<br><br> I am working on trying to consume an external web service using a client (consumer) proxy.<br><br> I've created the proxy using the WSDL file provided by the service (see below).  I am able to actually call the proxy and exe