MDB listening to a Oracle AQ, holding ADT messages...

Hi !
I'm trying to set a MDB to listen for incoming messages on an Oracle AQ. When I created the queue, I specified that the queue should contain payload of type ADT. I'm using Bea Weblogic server 8.1 sp4 and Oracle 10.2.0. The creation of the connection to the queue is implemented as a start up class and bound to the context during server start up.
However it fails to start up, I get the following exception:
<20.mar.2007 kl 11.03 CET> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB:
MyWebLogicMDB is unable to connect to the JMS destination: AQJMSQueue. The Erro
r was:
oracle.jms.AQjmsException: JMS-137: Innholdsfabrikk mÕ angis for mÕl med ADT-inn
hold
oracle.jms.AQjmsException: JMS-137: Innholdsfabrikk mÕ angis for mÕl med ADT-inn
hold
at oracle.jms.AQjmsError.throwEx(I)V(AQjmsError.java:288)
at oracle.jms.AQjmsConsumer.<init>(Loracle.jms.AQjmsSession;Ljavax.jms.D
estination;IILjava.lang.String;Ljava.lang.Object;Loracle.jms.AQjmsSelector;Ljava
.lang.String;Z)V(AQjmsConsumer.java:385)
at oracle.jms.AQjmsConsumer.<init>(Loracle.jms.AQjmsSession;Ljavax.jms.D
estination;IILjava.lang.String;Ljava.lang.Object;Loracle.jms.AQjmsSelector;Ljava
.lang.String;)V(AQjmsConsumer.java:254)
at oracle.jms.AQjmsSession.createReceiver(Ljavax.jms.Queue;Ljava.lang.St
ring;Ljava.lang.Object;)Ljavax.jms.QueueReceiver;(AQjmsSession.java:1631)
at oracle.jms.AQjmsSession.createReceiver(Ljavax.jms.Queue;Ljava.lang.St
ring;)Ljavax.jms.QueueReceiver;(AQjmsSession.java:1553)
at weblogic.ejb20.internal.JMSConnectionPoller.setUpQueueSessions(Ljavax
.jms.Destination;Ljava.lang.String;III)V(JMSConnectionPoller.java:1720)
at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection()V(JM
SConnectionPoller.java:2019)
at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS()V(JMSConnec
tionPoller.java:1180)
at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling
()V(JMSConnectionPoller.java:846)
at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start()V(Messag
eDrivenBeanPoolInfoImpl.java:234)
at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans()V(EJBDe
ployer.java:1660)
at weblogic.ejb20.deployer.EJBDeployer.start(Z)V(EJBDeployer.java:1488)
at weblogic.ejb20.deployer.EJBModule.start()V(EJBModule.java:689)
at weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic.j2ee.J2EEAppl
icationContainer$Component;)V(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.management
.configuration.ComponentMBean;)V(J2EEApplicationContainer.java:2168)
at weblogic.j2ee.J2EEApplicationContainer.activate()V(J2EEApplicationCon
tainer.java:2115)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivat
ion(Z)V(SlaveDeployer.java:3082)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
llApplications(ZZ)V(SlaveDeployer.java:1751)
at weblogic.management.deploy.slave.SlaveDeployer.resume()V(SlaveDeploye
r.java:359)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e()V(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:131
at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:361)
at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
>
The problem is that the MDB cannot be set up to dequeue the message because the payload factory has to be set for the consumer in order to receive messages from queues which have messages with ADT payload.
So my questions are:
1) Is there a way to set the payload factory to use in the MDB? (deployment desc.)
2) Do MDB support AdtMessages?
3) Are there any other ways to listen to an Oracle queue which has ADT type?
mvh
jb

Hi,
I'm also having the same identical problem with an EJB 3.0 MDB listening to an AQ queue (via OJMS) with a payload type of ADT. I can successfully dequeue messages from a queue with a JMS payload type, but as soon as I point it to and ADT type queue I get:
oracle.jms.AQjmsException: JMS-137: Payload factory must be specified for destinations with ADT payloads
I can't however seem to find anything in the Oracle documentation that shows how to do this, and which class corresponds to this "payload factory".
The following link seems to suggest that OJMS supports ADT types in addition to the standard JMS message types:
http://www.oracle.com/technology/tech/java/oc4j/904/collateral/OC4J-FAQ-JMS-904.html
although I'm not sure if this is true for Message Driven Beans.
Could you please confirm whether MDB's support ADT message types?
Many thanks
Phil

Similar Messages

  • MDB listening to an Oracle AQ, holding ADT messages...

    Hi !
              I'm trying to set a MDB to listen for incoming messages on an Oracle AQ. When I created the queue, I specified that the queue should contain payload of type ADT. I'm using Bea Weblogic server 8.1sp4 and Oracle 10.2.0. The creation of the connection to the queue is implemented as a start up class and bound to the context during server start up.
              However it fails to start up, I get the following exception:
              <20.mar.2007 kl 11.03 CET> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB:
              MyWebLogicMDB is unable to connect to the JMS destination: AQJMSQueue. The Erro
              r was:
              oracle.jms.AQjmsException: JMS-137: Innholdsfabrikk m? angis for m?l med ADT-inn
              hold
              oracle.jms.AQjmsException: JMS-137: Innholdsfabrikk m? angis for m?l med ADT-inn
              hold
              at oracle.jms.AQjmsError.throwEx(I)V(AQjmsError.java:288)
              at oracle.jms.AQjmsConsumer.<init>(Loracle.jms.AQjmsSession;Ljavax.jms.D
              estination;IILjava.lang.String;Ljava.lang.Object;Loracle.jms.AQjmsSelector;Ljava
              .lang.String;Z)V(AQjmsConsumer.java:385)
              at oracle.jms.AQjmsConsumer.<init>(Loracle.jms.AQjmsSession;Ljavax.jms.D
              estination;IILjava.lang.String;Ljava.lang.Object;Loracle.jms.AQjmsSelector;Ljava
              .lang.String;)V(AQjmsConsumer.java:254)
              at oracle.jms.AQjmsSession.createReceiver(Ljavax.jms.Queue;Ljava.lang.St
              ring;Ljava.lang.Object;)Ljavax.jms.QueueReceiver;(AQjmsSession.java:1631)
              at oracle.jms.AQjmsSession.createReceiver(Ljavax.jms.Queue;Ljava.lang.St
              ring;)Ljavax.jms.QueueReceiver;(AQjmsSession.java:1553)
              at weblogic.ejb20.internal.JMSConnectionPoller.setUpQueueSessions(Ljavax
              .jms.Destination;Ljava.lang.String;III)V(JMSConnectionPoller.java:1720)
              at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection()V(JM
              SConnectionPoller.java:2019)
              at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS()V(JMSConnec
              tionPoller.java:1180)
              at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling
              ()V(JMSConnectionPoller.java:846)
              at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start()V(Messag
              eDrivenBeanPoolInfoImpl.java:234)
              at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans()V(EJBDe
              ployer.java:1660)
              at weblogic.ejb20.deployer.EJBDeployer.start(Z)V(EJBDeployer.java:1488)
              at weblogic.ejb20.deployer.EJBModule.start()V(EJBModule.java:689)
              at weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic.j2ee.J2EEAppl
              icationContainer$Component;)V(J2EEApplicationContainer.java:2127)
              at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.management
              .configuration.ComponentMBean;)V(J2EEApplicationContainer.java:2168)
              at weblogic.j2ee.J2EEApplicationContainer.activate()V(J2EEApplicationCon
              tainer.java:2115)
              at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivat
              ion(Z)V(SlaveDeployer.java:3082)
              at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
              llApplications(ZZ)V(SlaveDeployer.java:1751)
              at weblogic.management.deploy.slave.SlaveDeployer.resume()V(SlaveDeploye
              r.java:359)
              at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
              e()V(DeploymentManagerServerLifeCycleImpl.java:229)
              at weblogic.t3.srvr.SubsystemManager.resume()V(SubsystemManager.java:131
              at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:966)
              at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:361)
              at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
              >
              The problem is that the MDB cannot be set up to dequeue the message because the payload factory has to be set for the consumer in order to receive messages from queues which have messages with ADT payload. (Text works OK)
              So my questions are:
              1) Is there a way to set the payload factory to use in the MDB? (deployment descriptor)
              2) Do MDB support AdtMessages?
              3) Are there any other ways to listen to an Oracle queue which has ADT type?
              mvh
              jb

    I don't think there's a way to have MDBs call arbitrary proprietary JMS extensions.
              You might want to check if Oracle supplies some sort of configuration method - perhaps via destination or connection factory configuration, by passing extra information in the CF or destination JNDI name, by specifying a -D on the JVM command line, or by passing special properties through to their InitialContext.
              Another option is to code your own JMS wrapper classes around AQ that call the required extensions as needed.
              Tom

  • Steps listen to an Oracle AQ queue in IBM Websphere Application Server 7.0

    I need to listen to an Oracle AQ queue in a Java EE application that runs under Websphere app server @7.0.
    I'd really like to use a MDB to access the Messages in AQ
    I can't really find any documentation on this, and I can't find a resource adapter that lets me do this using JCA.
    Can anyone tell me what's required to get this to work?
    I was able to find the
    product\11.2.0\oc4j\j2ee\home\connectors\ojms.rar
    but how to configure the same inside WAS

    Hi ,
    I have attempted to deploy an ADF 11g JSF application into WAS 7 and I am finding that an NPE is being thrown when the Trinidad (1.2.9) ResourceServlet is trying to load various artefacts on a page request.
    [28/05/09 12:46:34:568 EST] 00000019 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet resources in application ic-web. Exception created : java.lang.NullPointerException
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.setContentType(SRTServletResponse.java:1191)
         at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140)
         at org.apache.myfaces.trinidad.webapp.ResourceServlet._setHeaders(ResourceServlet.java:445)
         at org.apache.myfaces.trinidad.webapp.ResourceServlet.doGet(ResourceServlet.java:207)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:726)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at org.apache.myfaces.trinidad.webapp.ResourceServlet.service(ResourceServlet.java:162)
    Does anyone have any thoughts about what might be causing this?
    This application deploys fine into WLS 10g.
    Thanks and regards,
    Andrew
    Edited by: user11207057 on 27-May-2009 21:12

  • MDB listening on AQ.

    I have written a message driven bean that listens on an Oracle AQ. In v9.0.2 of OC4J I had a number of problems (e.g. the MDB would wait 240 seconds before accepting a second message, and the queue working in a LIFO way instead of a FIFO way). However, the developers preview (v9.0.3) of OC4J has fixed these 2 problems but introduced another. Now my messages never get dequeued from my AQ (they did in v9.0.2). Has anyone else encountered a similar problem using a MDB on Oracle AQs and v9.0.3 of OC4J?
    Thanks,
    Stephen Weatherly

    Thanks for the reply, my MDB is transacted. In OC4J v9.0.3 my messages simply do not get dequeued when my MDB finishes it's processing. My MDB code runs and does what is expected, however, any messages delivered to it from the queue are not being automatically dequeued. In OC4J v9.0.2 after my MDB's code had finished successfully then the message would be dequeued by whatever process manages the delivering the message to the MDB, however in OC4J v9.0.3 this does not seem to happen. After my MDB has run the message remains on the queue. If I then restart the OC4J server then I receive the message again even though my MDB sucessfully processed the message the first time.
    My MDB code is as follows:
    package mdb;
    import javax.ejb.*;
    import javax.jms.*;
    import javax.naming.*;
    import java.util.*;
    public class MessageLogger implements MessageDrivenBean
    private final static int sleepTotal = 10 ;
    private MessageDrivenContext messageContext;
    public void ejbCreate()
    System.out.println("MessageLogger.ejbCreate()");
    public void onMessage(Message message)
    System.out.println("Received message: " + message + " at " + new java.util.Date());
    try
         oracle.jms.AQjmsTextMessage oracleMessage = (oracle.jms.AQjmsTextMessage) message;     
         System.out.println("MessageLogger.onMessage() : " + oracleMessage.getText() );
    //System.out.println("MessageLogger.onMessage() : " + message.getStringProperty("subject") + " " + message.getStringProperty("message"));
    System.out.println("Sleeping...");
    int sleepCount =0;
    while (sleepCount < sleepTotal)
    System.out.println("Sleeping: " + (1+(sleepCount++)) + " / " + sleepTotal );
    try
    Thread.sleep(1000);
    catch (Exception e)
    catch(Exception e)
    throw new EJBException(e);
    public void ejbRemove()
    System.out.println("MessageLogger.ejbRemove()");
    public void setMessageDrivenContext(MessageDrivenContext context)
    this.messageContext = context;
    My ejb-jar.xml looks like:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
         <description>A How-To demonstrating Message-Driven Beans</description>
         <enterprise-beans>
              <message-driven>
                   <description></description>
                   <ejb-name>MessageLogger</ejb-name>
                   <ejb-class>mdb.MessageLogger</ejb-class>
                   <message-driven-destination>
                        <destination-type>javax.jms.Queue</destination-type>
                   </message-driven-destination>
              </message-driven>
         </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MessageLogger</ejb-name>
    <method-name>onMessage</method-name>
    <method-params>
    <method-param>javax.jms.Message</method-param>
    </method-params>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    My orion-ejb-jar.xml looks as follows:
    <?xml version="1.0"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
         <enterprise-beans>
              <message-driven-deployment name="MessageLogger"
    destination-location="java:comp/resource/RUB4/Queues/AQ.JMS_queue_1"
    connection-factory-location="java:comp/resource/RUB4/QueueConnectionFactories/JMS_Queue_CF"
    max-instances="1">
              </message-driven-deployment>
         </enterprise-beans>
         <assembly-descriptor>
         </assembly-descriptor>
    </orion-ejb-jar>
    And I have the following resource provider set up in my OC4J applications.xml file:
    <resource-provider class="oracle.jms.OjmsContext" name="RUB4">
    <description>Access to RUB4 database rubick</description>
    <property name="url" value="jdbc:oracle:thin:aq/aq@rubick:1521:RUB4" />
    <property name="username" value="aq" />
    <property name="password" value="aq" />
    </resource-provider>
    Thanks for any assistence,
    Steve

  • Can an MDB listens to remote queue

    In my application , i have created a queue and MDB for that queue.
    this MDB should also listen to the queue in another system that is remote queue.how is this possible.
    because the queue will be in remote system. and MDB will be in my system. the queue to which this MDB should listen will be in specified in deplyment descriptors. then how it will identify that the queue is local or remote.
    Please clarify me as we have a release near.

    Hello Sairam,
    I have used MDB in WebLogic Server. You can add the Destination Queue, Connection factory, etc information in weblogic-ejb-jar.xml.
    I am not sure what is to be used in Oracle Server.
    Simple search in Oracle Website gave me some links..
    http://www.oracle.com/technology/tech/java/oc4j/ejb3/how_to/howtoejb30mdb/doc/how-to-ejb30-mdb.html
    Search the Oracle website for more information.
    Thanks and regards,
    Pazhanikanthan. P

  • Wats the use of Listener file in oracle

    wats the use of Listener file in oracle.

    Hi Rajesh !
    The listener.ora file describes the environment within which requests for remote connections are serviced. When the listener process is running on a machine, connection requects are intercepted on the specified ports and passed to the database.
    The listener trained to listen on a certain port , passess connections thru' to ORACLE 9i server when they contain proper authentication details.
    listener.ora file consists of the following elements:
    + Listener's name
    + Protocol addresses that it is accepting connection requests on
    + Services it is listening for
    + Control parameters
    By default, the listener.ora file is located in the $ORACLE_HOME/network/admin directory on UNIX operating systems and the ORACLE_HOME\network\admin directory on Windows NT.
    It is possible to configure multiple listeners, each with unique name, in one listener.ora file FYI !!
    ~ Chinmay
    ~ Happy Working !!

  • Shared Listener with different oracle versions

    Hi,
    I have configured the following shared listener for two databases running with different versions.
    I have started the O02TXN3-9i along with the shared listener and then listener was started with 9i version and then I brought up the O01TXN3 -10g.
    Please let me know whether I can connect to the 10g database O01TXN3 remotely with shared listener.
    Note: Please find listener and oratab files below.
    Your early response is much appreciated.
    Database O01TXN3 with 10g
    Database O02TXN3 with 9i
    ==== Listener.ora File ======
    TNS_DTXN03 =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3)
    (ADDRESS =
    (COMMUNITY = tcpcom)
    (PROTOCOL = TCP)
    (Host = dtxn03)
    (Port = 1525)
    STARTUP_WAIT_TIME_TNS_DTXN03 = 0
    CONNECT_TIMEOUT_TNS_DTXN03 = 10
    LOG_DIRECTORY_TNS_DTXN03 =/dtxn03/txn/oracle/admin
    TRACE_LEVEL_TNS_DTXN03 = OFF
    SID_LIST_TNS_DTXN03 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = O01TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/10.2.0-64)
    (SID_DESC =
    (SID_NAME = O02TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/9.2.0-64)
    # Added to get rid of the "inbound connection timed out (ORA-3136)"
    INBOUND_CONNECT_TIMEOUT_TNS_DTXN03 = 180
    ==
    Oratab:
    #LISTENER:/dtxn03/txn/oracle/9.2.0-64
    O01TXN3:/dtxn03/txn/oracle/10.2.0-64:Y
    O02TXN3:/dtxn03/txn/oracle/9.2.0-64:Y

    As a general rule, only one listener is required for a machine as long as all database versions are currently supported. (In other words one listener for Oracle7 and Oracle11g will not work.)
    As a general rule, an old listener MAY not be able to handle the features of the newer database (such as transferring blobs was a limitation in Oracle8). Therefore use the newest listener to handle all the databases.
    As a general rule, listeners can be considered independent of databases in a sense similar as ASM. Therefore it's not a bad idea to have a separate ORACLE_HOME specifically to install the listener. This is especially useful if you have multiple databases with differing service level agreements,
    I'd want to see
    1) the output of lsnrctl status
    2) any console session stuff and copy/paste to be surrounded by preview tages as described in the FAQ (http://www.oracle.com/technology/forums/faq.html#q14)

  • Reply to : TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup

    To answer the post from Manwendra Jun 20, 2013 7:17 AM
    " TNS:protocol adapter error while starting Listener created by Oracle SES11.1.2.2 Setup "
    https://community.oracle.com/message/11077982#11077982
    Hello,
    Probably that you already have the listener up and running from your installation of SES.
    Also, you could check in your Windows Services (from the Control Panel), you'll see that
    there is a service like OraclesesTNSListener up and running.
    If it is the case, then it's probably why it is telling you the message below when trying to start it again:
    TNS-01106: Listener using listener name LISTENER has already been started
    Then, before trying to start the listener, you can check if it is already up by running the command : lsnrctl status
    If you need to shut it down, then you can run the command : lsnrctl stop
    for example, from the command line:
    > set ORACLE_SID=ASUSES
    > set ORACLE_BASE=D:\ses\
    > set ORACLE_HOME=D:\ses\seshome
    > cd %ORACLE_HOME%/bin
    > lsnrctl status            <== this will give you the status of your listener
    > lsnrctl stop              <== this will stop your listener
    > lsnrctl start             <== this will start your listener
    Hope this can help you and others.
    Regards,
    -Stephan

    i have done that. i copied the tnsnames.ora, sqlnet.ora, listener.ora files from the c:>oracle-home\network\admin folder into oracle_devhome\network\admin folder. i have also set the environment variable oracle_sid=skoolman. skoolman is my sid as you can see on the tnsnames.ora. but the error massage still comes up as soon as i run forms from the forms builder environment.
    but as i said i am able to connect to the database with my user name and pass word from within the forms builder environment to access my tables and create data blocks etc but as soon as i run the form through internet explorer the forms servlet boots up and the error massage ora-12560 tns protocol adapter error pops up.
    thanks guys for your heip. please i need more solutions

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • MDB listening on Socket instead of Queue

    Hi all,
    Is it possible for to make MDB listen on socket instead of queues using JCA. Can anyone please help me on this.
    Thanks in advance

    Hi,
    Thanks for the reply. In the example provided, it is for mail. Since we have javax.mail.Message message API we can use this. How about Socket.Here am lost. Can you please tell how to go with this.
    I also had tried the above one, but while deploying MDB, I error as MDB is in failed state with Exception as Resource Adaptor "EchoXMLRP" is not deployed. Where as i had already deployed it. Also i had deployed "EchoXMLRP" as Resource Adaptor Module. But when i view the same its not present in standalone Resource Adaptor, instead its there in Modules.

  • Configuring mdb to receive adt message

    Hi,
    i have created and AQ with payload type as "eca_type_t" which is some structure. Now i want to configure my MDB to receive the adt message and the payload to be as some java object. I know one can generate correspodnign jpu java class from "eca_type_t" from jpublisher but how can i configure my MDB to get this class instance. I mean whut are annotations do i need to do to achieve this?
    thanks

    I'd start here:
    http://e-docs.bea.com/wls/docs70/faq/index.html
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75

    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    Scenario:
    I am having difficulty getting ODBC connection between Oracle OWB app with an 11gR2 DB (running on a VirtualBox Linux) and SQL Server 2008 running directly on the host. (Windows 8)
    I am trying to take a SQL Server 2008 feed into Oracle Ware house Builder, and think(!) I have read everything and configured it in accordance (but I presume not given 3 days of failed attempts to fix it). I have also read several blogs, hence there might be a few more settings in the configuration files than the formal documentation says, but these have come from blogs that have “Solved” problems for other similar situations.
    The environments:
    HOST:
    Name: RESOLVEIT-PC
    IP: 192.168.1.80
    Windows 8 (64bit) , with system DSN ODBC connection ACME_POS created with 32 bit ODBC set up (This setting still shows up fine in the 64 bit ODBC).
    GUEST VM:
    Name: OraDBSvr.com
    GUES fixed IP Address: 192.1.200
    Oracle VirtualBox (4.2.16)
    Oracle Redhat Linux 6 (x86)
    Oracle 11gR2 Enterprise Edition (11.2.0.1.0)
    ODBC: Freetds driver
    Configuration files:
    initacmepos.ora
    HS_FDS_CONNECT_INFO = 192.168.1.80/SQLEXPRESS/ACME_POS
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_RPC_FETCH_REBLOCKING= OFF
    HS_FDS_FETCH_ROWS = 1
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    set ODBCINI=/opt/odbc/odbc.ini
    # set <envvar>=<value>
    odbc.ini
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    odbcinst.ini
    [PostgreSQL]
    Description                        = ODBC for PostgreSQL
    Driver                   = /usr/lib/psqlodbc.so
    Setup                    = /usr/lib/libodbcpsqlS.so
    Driver64                              = /usr/lib64/psqlodbc.so
    Setup64                              = /usr/lib64/libodbcpsqlS.so
    FileUsage                           = 1
    [MySQL]
    Description                        = ODBC for MySQL
    Driver                   = /usr/lib/libmyodbc5.so
    Setup                    = /usr/lib/libodbcmyS.so
    Driver64                              = /usr/lib64/libmyodbc5.so
    Setup64                              = /usr/lib64/libodbcmyS.so
    FileUsage                           = 1
    [FreeTDS]
    Discription             = TDS driver (Sybase / MS SQL)
    Driver                           = /usr/local/lib/libtdsodbc.so
    # Setup                         = /usr/local/lib/libtdsS.so
    FileUsage                           = 1
    CPTimeout               =
    CPReuse                 =
    [oracle@oraDBsvr etc]$
    freetds.conf
    #   $Id: freetds.conf,v 1.12 2007-12-25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory. 
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf". 
    # Global settings are overridden by those in a database
    # server specific section
    [global]
            # TDS protocol version
    ;              tds version = 4.2
                   # Whether to write a TDSDUMP file for diagnostic purposes
                   # (setting this to /tmp is insecure on a multi-user system)
    ;              dump file = /tmp/freetds.log
    ;              debug flags = 0xffff
                   # Command and connection timeouts
    ;              timeout = 10
    ;              connect timeout = 10
                   # If you get out-of-memory errors, it may mean that your client
                   # is trying to allocate a huge buffer for a TEXT field.
                   # Try setting 'text size' to a more reasonable limit
                   text size = 64512
    # A typical Sybase server
    [egServer50]
                   host = symachine.domain.com
                   port = 5000
                   tds version = 5.0
    # A typical Microsoft server
    [ACME_POS]
      host = 192.168.1.80
      port = 60801                                # also tried 1433
      instance = SQLEXPRESS
      tds version = 8.0
      client charset = UTF-8
    tsql -LH 192.168.1.80
         ServerName RESOLVEIT-PC
       InstanceName SQLEXPRESS
        IsClustered No
            Version 10.50.4000.0
                tcp 60801
                 np \\RESOLVEIT-PC\pipe\MSSQL$SQLEXPRESS\sql\query
                via RESOLVEIT-PC,0:1433
    Oracle listener:
    [oracle@oraDBsvr log]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = acmepos)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = dg4odbc)
    (HS = OK)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraDBsvr)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@oraDBsvr log]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 13:57:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraDBsvr)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 13:50:34
    Uptime                    0 days 0 hr. 7 min. 7 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oraDBsvr/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraDBsvr)(PORT=1521)))
    Services Summary...
    Service "acmepos" has 1 instance(s).
    Instance "acmepos", status UNKNOWN, has 1 handler(s) for this service...
    Service "dw" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    Service "dwXDB" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Oracle tnsnames.ora
    [oracle@oraDBsvr admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    dw =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dw)
    acmepos  =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=acmepos)
    (HS=OK)
    Oracle sqlnet.ora
    [oracle@oraDBsvr admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    ADR_BASE = /u01/app/oracle
    I can connect from the linux server to SQL Server, and query the database:
    [oracle@oraDBsvr etc]$ tsql -S acme_pos -U acme_dw_user -P acme1234
    locale is "en_US.utf8"
    locale charset is "UTF-8"
    using default charset "UTF-8"
    1> select last_name from dbo.employees;
    2> go
    last_name
    Davolio
    Fuller
    Leverling
    Peacock
    Buchanan
    Suyama
    King
    Callahan
    Dodsworth
    (9 rows affected)
    1>
    However, I can’t get a response through Oracle OWB , and I get:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    In the hs log file I get:
    [oracle@oraDBsvr log]$ cat acmepos_agt_3821.trc
    Oracle Corporation --- MONDAY    SEP 16 2013 13:51:22.170
    Heterogeneous Agent Release
    11.2.0.1.0
    HS Gateway:  NULL connection context at exit
    [oracle@oraDBsvr log]$
    I am really stuck now and going round in circles and can’t see the wood for trees! Can anyone please help?!!
    Many Thanks.
    Rafe.

    Let us rewrite your ODBC DSN a little bit... Your current odbc.ini looks like:
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    Let us change it a little bit so that we only need one config file - no odbcinst.ini nor freetds.conf file anymore:
    [ACME_POS]
    Driver =/usr/local/lib/libtdsodbc.so
    Server = 192.168.1.80
    Database
    = dbo     ####  I have some doubts that you have a SQL Server database called dbo - one database that always exists is master - so as a test use master here or get the real database name of the SQL Server database you want to connect
    Port = 60801 ## make sure it really is the correct port - best would be to check on the SQL server and then try telnet <ip> <port> if you can connect to the SQL server
    TDS_Version = 8.0
    QuotedId=YES
    Especially the last 2 parameters are mandatory. TDS_Version specifies the TDS Version you have to use to connect to the SQL Server and QuotedID is required for DG4ODBC as it surrounds objevt names by double quotes.
    What happens now when you try to connect with for example isql - the ODBC test utility shipped with the ODBC Driver manager?
    In addition, could you please do me another favour and check the word size of DG4ODBC and the ODBC Driver Manager as well as the ODBC Driver - just execute:
    file /u01/app/oracle/product/11.2.0/dbhome_1/bin/dg4odbc
    file /usr/local/lib/libtdsodbc.so
    file < the patch to your libodbc.so library>/libodbc.so
    and post the output.

  • Dblink oracle to postgres with dg4odbc | ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, i'm trying to create database link from a database Oracle 11g to PostgreSQL with DG4ODBC, and unixODBC
    my configured to /etc/odbc.ini
    [PostgreSQL]
    Description = Test to Postgres
    Driver = psqlodbc
    Trace = Yes
    TraceFile = /tmp/sql.log
    Database = danieldb
    Servername =
    UserName = SA
    Password = password
    Port = 5432
    Protocol = 6.4
    ReadOnly = No
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    my configured to /etc/odbcinst.ini
    [ODBC]
    CommLog=1
    Debug=1
    FileUsage=1
    Pooling=No
    Trace=1
    [psqlodbc]
    Description=PostgreSQL ODBC driver
    Driver=/usr/lib64/psqlodbcw.so
    CommLog=1
    Debug=0
    FileUsage=1
    my configured to /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
    HS_FDS_CONNECT_INFO = PostgreSQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
    set ODBCINI=/etc/odbc.ini
    my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
    Listener =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
    SID_LIST_LISTENER =
            (SID_LIST =
                    (SID_DESC=
                            (SID_NAME=PostgreSQL)
                            (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
                            (PROGRAM=dg4odbc)
                            (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib")
    my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
    PostgreSQL=
            (DESCRIPTION =
                    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
                    (CONNECT_DATA =
                            (SID = PostgreSQL)
                    (HS = OK)
    i'm try to created public database link :
    CREATE PUBLIC DATABASE LINK "orapos" CONNECT TO "SA" IDENTIFIED BY "password" USING 'PostgreSQL';
    when i used tnsping
    [root@oracle-poc admin]# tnsping PostgreSQL
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 16-MAY-2013 20:34:19
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
    OK (0 msec)
    and last i try to use the database link :
    SQL> select * from "tabel2"@orapos
      2  ;
    select * from "tabel2"@orapos
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from ORAPOS
    Whats wrong with my configuration??
    Thank you and best regards,
    Daniel

    Mike,
    yes i've downloaded the ODBC driver manager..
    for HS_FDS_SHAREABLE_NAME i use /usr/lib/psqlodbc.so
    and i get this error when i call the db link(orpos)
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from ORAPOS
    for HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbcw.so
    and i get this error when i call the db link(orpos)
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    c
    and when i used isql isql to call DNS(PostgreSQL) is success
    whats wrong with my config?
    about PostGres ODBC did you mean postgresql-odbc-08.04.0200-1.el6.x86_64 ??
    Thank you and best regards,
    Daniel

  • How to hold the messages in XI

    Hello Experts,
    There are some messages coming into XI in the form of TLOGs. so i just want hold the all XML messages in XI for long time. could somone explain  is there any procedure to hold the messages in XI .
    I gone through the below SDN forum. but could someone suggest any otherway or procedure plz.
    /people/alexander.bundschuh/blog/2006/01/04/scheduling-messages-in-sap-xi
    Thx,
    Amar

    I implemented a scenario similar like yours here:
    You can reference my solution: my requirements is that all the messages received after saying 9:00pm, will be hold until 12:00am to process, and it should not block any other interface processing:
    I used UDF using following code, map it to root target node
    public String CalendarDelay(String a,Container container){
    // get the supported ids for GMT-05:00 (Pacific Standard Time)
    String[] ids = TimeZone.getAvailableIDs(-5 * 60 * 60 * 1000);
    // if no ids were returned, something is wrong. get out.
    if (ids.length == 0)
         System.exit(0);
    //create a Pacific Standard Time time zone
    SimpleTimeZone pdt = new SimpleTimeZone(-5 * 60 * 60 * 1000, ids[0]);
    // set up rules for daylight savings time
    pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);
    pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);
    // create a GregorianCalendar with the Pacific Daylight time zone
    // and the current date and time
    Calendar calendar = new GregorianCalendar(pdt);
    Date trialTime = new Date();
    calendar.setTime(trialTime);
    int currYear = calendar.get(Calendar.YEAR);
    int currMonth =  calendar.get(Calendar.MONTH);
    int currDate = calendar.get(Calendar.DATE);
    Calendar StartCalendar = new GregorianCalendar(pdt);
    Calendar EndCalendar = new GregorianCalendar(pdt);
    StartCalendar.set(currYear, currMonth, currDate, 17, 30, 0);
    EndCalendar.set(currYear, currMonth, currDate, 23, 59, 59);
    long startTime = StartCalendar.getTimeInMillis();
    long endTime = EndCalendar.getTimeInMillis();
    long currTime = calendar.getTimeInMillis();
    if ((currTime >= startTime) && (currTime <= endTime)){
    //return "Current time fall into the range !";
      try
            Thread.sleep(endTime - currTime);   //delay 10 min
                }catch (InterruptedException ie)
            System.out.println(ie.getMessage());
    return a;
    else
    return a;
    Edited by: Liang Ji on Sep 24, 2010 7:46 PM

  • Messages on Holding at Message Monitoring under Runtime Workbench

    Hello Colleagues,
    we have currently the problem that a lot of messages for some interfaces are in status Holding under Message Monitoring at Runtime Workbench for PI 7.1.
    I'm not able to resend the messages with status Holding as well as change status to cancel.
    Quality of Service for the Interfaces are Exactly Once in Order.
    I assume an error message blocks the queue and due to the fact we have Exactly Once in Order configured all following messages be in status Holding.
    Is my assumption right?
    But, I am not abel to find any messages in status error with blocks the queue!
    How can I solve that issue?
    Many thanks in advance!
    Jochen

    I assume an error message blocks the queue and due to the fact we have Exactly Once in Order
    configured all following messages be in status Holding.
    AE should have least number of EOIO messages at a given instance...otherwise Holding is what you get.....and holding is common with EOIO....so see if you can chagne the QoS of some messages to EO
    But, I am not abel to find any messages in status error with blocks the queue!
    Never you will get an error in SXMB_MONI....or the queue blocked....
    When your message goes out of IE...the corresposding message entry is marked with chequered flag...observe in MONI you will see this....however in AE the message can fail if not able to send to the target system....
    For some more understanding refer my answer in this thread:
    Re: Restarting Error's in SXMB_MONI
    Regards,
    Abhishek.

Maybe you are looking for

  • IPhone 5 not being recognised in iTunes

    It was working up until last week syncing my music to my iPhone 5. I am on the latest version of iTunes for Mac. I plug the iPhone5 in via the USB and it starts charging but nothing in iTunes. Any workarounds or suggestions on how to fix it?

  • Updating master data from WEB UI

    Hi experts, Is it possible to change the partner attributes such as e-mail, box no, phone, etc from CRM WEB UI? I am planning to create an admin to where he can change the partner details in WEB UI. My assumption is the master data/attributes of part

  • Low speed after 10 day stabilisation period

    Hi all, I had my BB activated on the 1st Nov & was syncing at 17.000kbps, Next day we were only getting 4.543kbps. Not knowing what was happening i rang BT. The chap on the phone told me about the 10 day stabilisation period, So i thought ok fair doo

  • Not able to use RUN_PRODUCT in Oracle Apps11.0.3

    I am getting FRM-40733 error when trying to call a report from forms. I have registered the form and when calling the report Iam getting the FRM-40733 error. Please let me know what can be done . Thanks, Previn

  • Bonjour on Windows Vista Business (Epson Stylus Pro 4800)

    I've installed Bonjour 1.0.3 on Vista Business. But the print stuck on about the half page. I think, Apple has to update Bonjour for Windows Vista. Do you have another idea? Best wishes.