Using JNDI Provider for Oracle JMS Queue

Hello,
I created a JMS Queue in Oracle 9.2.0.1 and would like
a Java client to receive events from the Queue. I am
not running Oracle9iAS. I have access to WebLogic server
7.0 which is also a JNDI provider. Is there a sample code
that shows the steps on how to go about this.
thanks very much for any pointers.

To define an Enterprise Message Source for AS JMS and OJMS in BAM, see Chapter 3 in the BAM Architect's User Guide.
Specifying Settings for Oracle (AS JMS and OJMS)
Settings for Oracle (AS JMS and OJMS) include:
■ Initial Context Factory.
For 10.1.3: oracle.j2ee.rmi.RMIInitialContextFactory
For 10.1.2: com.evermind.server.rmi.RMIInitialContextFactory
■ JNDI Service Provider URL. For standalone use oc4j: ormi://machine_name/
where machine_name is the OC4J installed host, and for production use Application Server: opmn:ormi://<machine_name>:<opmn request port>:home where machine_name is the application 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. BAMFilteredSubscription
■ Message Selector. Message selector, for example, BAMFilter='true'
■ Client ID. ClientID
You can also refer to:
http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
Regards, Stephen

Similar Messages

  • Msdaora.1 microsoft provider for oracle

    I have on my PC Personal Oracle 8.1.6 on Win2000 Pro with SP2.
    On my apllication in Visual Basic 6.0 i make an ADO connection using Microsoft Provider for Oracle but the connection Fail.
    If i use Oracle provider for OLEDB is Ok!.
    My application must use MSDAORA.1, why it not work correctly???
    Anyone can help me????
    All software oracle work correctly, SQL Plus, ODBC Test, Schema Manager, etc.
    bye

    In the first case, maybe I'm missing something, but what is "the above error" thrown by the Oracle driver?
    in the second case, are you saying that the third column of the resultset is NULL? That there is no third column? Or something else?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Microsoft OLE DB Provider for Oracle: Data type is not supported.

    I got the error:
    Microsoft OLE DB Provider for Oracle: Data type is not supported.
    Shortly after upgrading from Oracle 8 to Oracle 9. I was advised to download more up to date oracle drivers, but I was wondering if there was a way to tell what version of the 'OLE DB Provider for Oracle' is already at. Is there a command I can use via SQL Plus or something?

    I have found Microsoft ODBC for Oracle to be more stable than the Microsoft OLEDB for Oracle driver. I have also found both Microsoft ODBC and OLEDB drivers to be more stable than the drivers from Oracle.
    You could always get the latest MDAC (Microsoft Data Access Components) from Microsoft's MSDN Download site and then get the ODAC (Oracle Data Access Components) from Oracle's OTN Download site. ODAC requires MDAC. And ODAC has the latest drivers.
    I suppose it would help to have the latest patches for your Oracle client software too. Maybe Oracle MetaLink would have these?
    It may even help to have the latest service pack for Visual Studio 6 (Visual C++ 6 and Visual Basic 6) too.

  • Cant connect to Ora8.1.6 db using OLEDB provider for Ora8.1.7 cant find 8.1.6 OLEDB

    Hello,
    I need to connect to an Oracle 8.1.6 Database using OLEDB. Currently, we have one workstation with an ODBC connection and has an OLEDB Provider for Oracle 8.1.6. I can connect to Oracle using OLEDB on this machine (Winnt4 SP4) and see data from the tables. But I need to connect to the same Oracle DB from another workstation (Winnt4 SP6).
    I dowloaded the OLEDB Provider for Oracle8i from the Oracle Website, and on install I observed that this one was for Oracle 8.1.7. I keep getting an error message that it can't resovle the Service Name. I have played with the Net8 Configuration assistant for Oracle8i and the other selection for Oracle8.0 or 7.0. But I keep getting the same error on the NT SP6 machine. I have looked at the tnsnames.ora file on the SP6 machine and the SP4 machine. They are different, and I tried to make the .ora file on the SP6 machine match the .ora file on the SP4 machine but still can't resolve the Service Name. I would be very grateful if someone could help me out - either finding an earlier OLEDB Provider or some configuration trick.
    Many thanks,
    Rich Protzel

    Did you ever get this issue resolved? Do you know where I can get the Oracle Provider for OLE DB for 8.1.6?
    Aaron

  • Documentation for Oracle Advance Queue

    Any pointer to Documentation for Oracle Advance Queue?
    Thanks In Advance
    priyadarshi.

    hello,
    here it is
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96587/qintro.htm
    http://www.oracle.com/technology/sample_code/tech/dataint/index.html
    both will be useful
    thanks and regards
    VD

  • Reg : I am getting an error while Using MicroSoft ODBC For Oracle Driver

    I am Using MicroSoft ODBC For Oracle Driver  for JDBC. Why i am using this driver is i could not able to get  the arabic content if i use the other driver  .I Right now i cannot change the NLS Lang because its a production server    also it has around 300 gb of data  and i can not take risk now by changing the NLS lang.. coming to the below error .i could able to access my data up to 4 Hours after that i am getting this error.If i restart my tomcat i can use my application  one more 4 hrs  .Please get back to me if u have any solution.Its very very helpful to me......+*
    [java.sql.SQLException] [ Microsoft ODBC for Oracle ]
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3073)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
    23)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.iton.eoffice.DatabaseBean.connecteOfficeMoEnq(DatabaseBean.java:4
    60)
    at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
    chMoEnq_jsp.java:434)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    20)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
    ingFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:228)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.j
    ava:347)
    at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBin
    derValve.java:209)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:212)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ss(Http11Protocol.java:634)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
    5)
    at java.lang.Thread.run(Thread.java:619)
    ------------1234-----------
    java.lang.NullPointerException
    at com.iton.eoffice.DatabaseBean.getSQLRows(DatabaseBean.java:764)
    at org.apache.jsp.MhewProfilesearchMoEnq_jsp._jspService(MhewProfilesear
    chMoEnq_jsp.java:435)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:384)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    20)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:206)
    at com.iton.eoffice.tree.CharacterEncodingFilter.doFilter(CharacterEncod
    ingFilter.java:63)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sreenivas navuluri:
    Oracle(tm)Client and networking components not found. These components are supplied by Oracle Corporation and part of Oracle Version 7.2 or greater Client software installation. You will be unable to use this driver until these components have been installed . This error occurs while selecting the Microsoft Odbc for Oracle driver from the ODBC in control panel. Pls suggest<HR></BLOCKQUOTE>
    null

  • In a future version of ibook author would be very useful to provide for the creation of shared content online. Teachers can collaborate on the creation of a text. Very useful for teachers to collaborate in the network. sharing sharing sharing

    in a future version of ibook author would be very useful to provide for the creation of shared content online.
    Teachers can collaborate on the creation of a text. Very useful for teachers to collaborate in the network. sharing sharing sharing

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc. 
    http://www.apple.com/feedback/ibooks-author.html

  • Error using "Microsoft ODBC for Oracle" driver

    I am trying to connect to Oracle 10g Express Edition from Access 2003 on Windows XP. I created a DSN using "Microsoft ODBC for Oracle" driver. When I try to connect using ADO, I get this error:
    [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
    I googled this error and got a lot of hits but no solution.
    Any help would be greatly appreciated. I am new to Oracle and am coming from SQL Server 2000.
    Thanks a lot!

    This is the connection string I am using:
    Conn1.ConnectionString = "driver={Oracle in XE};Dbq=GMIS_LIVE.WORLD;Uid=Administrator;Pwd=ubs;"
    These are the contents of my tnsnames.ora (what entries do I add to make this work)?
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = your-a9279112e3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )

  • Why do we use reverse proxy for Oracle RAC Cluster setup

    Hello All,
                 I got this question lately.. "why do we use reverse proxy for Oracle RAC Cluster setup". I know we use the reverse proxy at Middleware level for multiple security reasons.
    Thanks..

    "why do we use reverse proxy for Oracle RAC Cluster setup".
    I wouldn't. I wouldn't use a proxy of any sort for the Cluster Interconnect for sure.
    Cheers,
    Brian

  • OBIEE Vs MDX Provider for Oracle OLAP

    Hi Gurus,
    We need to present to customer a comparison between OBIEE 10.1.3.4 and SIMBA´S "MDX Provider for Oracle OLAP" to attack OLAP Cubes in 11gR2.
    Of course OBIEE is more powerful and complete, but technically, we would like to know which OBIEE capabilities (apart from ibots, scheduling, hability of representing information) are not available or cant´t be utilized from SIMBA´s Sw.
    Are there known limitations of MDX Provider for Oracle OLAP?
    Is it truth that in the new OBIEE release the Microsoft Office add in is going to be more powerfull or is it going to remain the same?
    Thanks in advance for your answers,
    Best Regards,
    Nch
    Edited by: [email protected] on 10-jun-2010 10:14

    Yes. There are a lot of performance work done for the production release.

  • Where can I get the patch for Oracle JMS to work with RDBMS 9.2.0.1

    Hi,
    In the following extract from Oracle documentation the patch is mentioned that needs to be applied.
    "You must apply a server-side patch for Oracle JMS, which ships with Oracle9iAS Release 2 (9.0.3) and the OTN release of OC4J, to work with an RDBMS 9.2.0.1 database. This patch is documented as bug 2513629; see the Metalink Web site or contact Oracle support for more information. However, it is strongly recommended that users move to RDBMS 9.2.0.2 when it is available. Users do not need to apply any server-side database patches when running with RDBMS 9.2.0.2."
    Where I can get this patch?
    Is it RDBMS patch or OC4J patch?
    I don't have access to a Metalink.
    Thanks a lot,
    Andrei

    Check out the configuration on the mapping. There you can create a data file. Do that and fill out the other parameters for the bad and discard file in that node.
    Jean-Pierre

  • How to setup JNDI Name for Oracle Apps adapter?

    Hello,
    I am learning Oracle SOA 11g and trying to do some tutorial on Oracle Application Adapter.  I know how to configure JNDI for DBadapter and I did that successfully. I followed same steps to create New JNDI for Oracle Apps Adapter.
    1. I Created new data source using Path Services->Data Sources -> New Genric Data Source. Connection to database was successful and created new JNDI Name: jdbc/PKDTAPPS.
    2. Then Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> New and created JNDI Name eis/Apps/PKDTAPPS.
    However I did not find newly created JNDI Name in step 2 under Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> javax.resource.cci.ConnectionFactory.
    Please let me know if am I following correct steps to create new Oracle Apps Adapter JNDI Name or not.
    Since above approch did not work I created new JNDI for DBAdapter with same database connection details. And then latter on use that JNDI Name while creating Oracle Application Adapter in JDeveloper composite. And it allowed me to access Oracel Apps open interface. However while deploying the application it gave me following error.
    <Feb 16, 2015 10:50:59 AM CST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on AdminServer: [JCABinding]
    [adapter-Apps-101-JournalImport.InsertJournal/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.apps.AppsTableWriteInteractionSpec: Cannot locate Java class
    oracle.tip.adapter.apps.AppsTableWriteInteractionSpec..>
    Since I have no past experience kindly suggest me what is right way to do this.
    Thanks,
    Shri

    Hi shri,
    Can you check the targets of oracle apps adapter that is it deployed on both cluster and admin server both.
    Deployment-> OracleApps Adapter-> Targets
    Regards,
    Anshul

  • Consumer number for a JMS queue continues to grow

              I am using WLS 7.0 SP2. I have a JMS Queue and number of consumers continues to
              grow.
              Is there any way to stop it from growing? If not, should I be concerned about
              the memory usage by those consumers?
              Thanks.
              Rick
              

              Tom,
              You are right on JMS resources. We found that developer didn't close JMS session
              and conneciton which caused the memory leak. Now it has being running more than
              10 hours without crashing.
              Thanks.
              Rick
              Tom Barnes <[email protected]> wrote:
              >
              >Rick Chang wrote:
              >> I am using WLS 7.0 SP2. I have a JMS Queue and number of consumers
              >continues to
              >> grow.
              >>
              >> Is there any way to stop it from growing?
              >
              >No.
              >
              >> If not, should I be concerned about
              >> the memory usage by those consumers?
              >
              >Before jumping to conclusions though, make sure
              >that you are looking at the right statistic, there
              >are three for consumer count:
              > current -- active consumer count
              > high -- highest active consumer count
              > total -- total consumers ever created
              > (ever increasing by definition)
              >
              >If you are looking at "current"
              >the statistics point to a likely memory/resource leak.
              >Perhaps some part of your application is failing to close
              >its JMS resources when it is finished with them.
              >
              >>
              >> Thanks.
              >>
              >> Rick
              >
              

  • JNDI Provider for wls 5.1 cluster

    hi,
              how can I specify a JNDI provider URL for a WLS 5.1 cluster where the
              cluster nodes are different machines ? Is there a way to specify the
              URL without using a single servers IP address ?
              thx
              johannes
              

    [att1.html]
              

  • Specifying message delivery time for a JMS queue

              Guys,
              Can anyone tell me as to if it possible to specify message delivery from a JMS
              queue to a listening MDB at a specified interval in weblogic . I mean I need
              to post messages to the JMS queue but I need the messages to be delivered to the
              MDB's after lets say 30 seconds .
              How can I do it using the weblogic console ?? Which property do i need to change
              Please advise.
              Thanks
              Kar
              

    Hi,
              Message delivery time can be set programmatically,
              or through a console override. In your case, set it via
              the console with the value "30000".
              This feature has been available since 6.1, and is a
              JMS extension.
              Here is the link to the 8.1 documentation:
              http://edocs.bea.com/wls/docs81/jms/implement.html#1235262
              And for a full list of WL JMS features, see here:
              http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features
              Tom
              kar piyush wrote:
              > Guys,
              >
              > Can anyone tell me as to if it possible to specify message delivery from a JMS
              > queue to a listening MDB at a specified interval in weblogic . I mean I need
              > to post messages to the JMS queue but I need the messages to be delivered to the
              > MDB's after lets say 30 seconds .
              >
              > How can I do it using the weblogic console ?? Which property do i need to change
              > ?
              >
              > Please advise.
              >
              > Thanks
              >
              > Kar
              >
              >
              

Maybe you are looking for

  • Trouble Installing PPCS4 to Vista 32 bit

    I realized that PPCS5 requiers a 64 bit operating system, and I have a 32 bit operating system, so I installed the free 30 day trial version of PPCS4 onto my Vista 32 bit operating system. I extracted the files after I downloaded them I extracted fro

  • Photoshop Elements 9 Layer Mask Difficulties

    Hi, I am trying to use the Photoshop Elements 9 layer mask tool but every time I brush over my image to hide sections of it, the image merely becomes faded-out, as if I were using a brush with a low opacity. However, my brush opacity is at 100%, as i

  • Action & Droplet "save as" vs "save as web" not working - Possible bug?

    Before I state the issue, I am running the latest updates and have tried this in Photoshop CS4 & CS5. I believe this is a bug in Photoshop, unless someone can get this Action & droplet to work right. Here's the issue: I create an Action with the "Sav

  • Formatting Binary Output

    I want to format binary output in text fields to confrom to the following scheme: head data1 data2 return offSet id 6 bits 5 bits 5 bits 5 bits 5 bits 6 bits where the first row are field names and the second is the filed width. What that means is th

  • How to epub text on top of images.

    I am trying to epub a children's book. I have an basic color and then I bring the image on the page but indented. Then I put the text on top of the image. I have tried articles and I can't get the text to go ontop of the image. how do I do that. The