Migratable JMS queue cannot be found

I have a cluster composed of 2 servers.
          I have a JMS queue which I assigned to one of the servers in the cluster (Migratable).
          Only the server which I chose can perform a successful JNDI lookup for that queue. The other server doesn't and vice versa depending on which server I assign the queue to.
          Is this a known problem?
          I believe it worked for me at some point in the past.
          Recently I'm experiencing multicasting related issues.
          Can this be a cause/sympton?
          Is this what migratable servers in JMS are for?

If you are using a release prior to 9.0 then there is a configuration parameter on the JMSDestinationMBean called "JNDINameReplicated". If this is set to "true" (the default) then the JNDI name of the destination should become available in the entire cluster (eventually - you may have to wait for the cluster replication mechanism a couple of minutes).
          If the JNDINameReplicated field is explicity set to "false" then the JNDI name of that destination will only be available on the specific WLS server on which that destination is currently deployed. So if that destinations lives in a JMSServer that is targeted to a MigratableTarget that is currently on WLSServer "A", then the JNDI name will only be accesible to clients on WLSServer "A".
          In 9.0 and beyond each destination actually has two possible JNDI names - the global JNDI name that is replicated throughout the cluster and a local JNDI name that is only available on the specific WLS server. These parameters are called "jndi-name" for the replicated one and "local-jndi-name" for the one only available locally.
          In general, JMSServers targeted to MigratableTargets are for people with dual-ported SCSI disk or some other technology that makes the physical disk appear on two different physical machines. In that case, the JMSServer can be "migrated" to the other physical machine in the case of a crash of the original machine, and all of the persistent messages will remain intact.
          The issues of JNDI name distribution and migratable targets are orthogonal.
          Hope this helps...
          John Wells (Aziz)
          [email protected]

Similar Messages

  • Error JMS queue cannot be multi-conumer enabled

    Hi
    I wanted to enqueue using IPmessage type in java but I ended up getting the error
    Exception: oracle.jms.AQjmsException: JMS-130: JMS queue cannot be multi-conumer enabled
    Below is my java code. Anyone has any ideas.
    public static void main (String args [])
    throws java.sql.SQLException, ClassNotFoundException, JMSException
    try
    String ora_sid = "QA620";
    String host = "localhost";
    String schema = "OSA";
    String password = "OSA";
    String queueName = "IP_OUT_QUEUE";
    int port = 1521;
    Enqueue(ora_sid, host, schema, password, queueName, port);
    System.out.println("You should see messages in IP_OUT_QUEUE. Should be buffered but they are persistent instead");
    catch (Exception ex)
    System.out.println("Exception: " + ex);
    public static void Enqueue(String ora_sid, String host,
    String schema, String password, String queueName, int port) throws Exception
    String s5 = generateIdAsString();
    String s6 = "";
    String s7 = "Acme";
    String s8 = "GlobalChips";
    String s9 = "ProcessORDERS";
    String s10 = null;
    String s11 = null;      
    int i = 1;
    String s12 = null;
    if(!isNullString(s12))
    i = Integer.parseInt(s12);
    String s13="D:\\sas.xml";
    if(isNullString(s13))
    throw new Exception("No payload uri");
    String s14 = readFile(s13);
    byte abyte0[] = null;
    String s15 = "";
    if(!isNullString(s15))
    abyte0 = readFileInByte(s15);
    QueueConnectionFactory qc_fact = null;
    QueueConnection q_conn = null;
    QueueSession q_sess = null;
    java.sql.Connection db_conn = null;
    Queue queue = null;
    AdtMessage adt_msg = null;
    QueueSender q_sender = null;
    oracle.xdb.XMLType xtype = null;
    String data = null;
    try
    qc_fact = AQjmsFactory.getQueueConnectionFactory(host,
    ora_sid, port, "thin");
    q_conn = qc_fact.createQueueConnection(schema, password);
    q_sess = q_conn.createQueueSession(true, Session.CLIENT_ACKNOWLEDGE);
    q_conn.start();
    db_conn = ((AQjmsSession)q_sess).getDBConnection();
    queue = ((AQjmsSession)q_sess).getQueue(schema, queueName);
    q_sender = q_sess.createSender(queue);
    adt_msg = ((AQjmsSession)q_sess).createAdtMessage();
    data = "<bolek>olek</bolek>";
    ///xtype = oracle.xdb.XMLType.createXML(db_conn, data);
    //=====================================
    //AdtMessage adtmessage = aqjmssession.createAdtMessage();
    IPMessageOld ipmessageold = new IPMessageOld(s5, s6, s8, s7, s9, s10, s11, i, s14.toCharArray(), abyte0);
    ipmessageold.setPayload(CLOB.empty_lob());
    ipmessageold.setAttachment(BLOB.empty_lob());
    //=====================================
    //adtmessage.setAdtPayload(ipmessageold);
    adt_msg.setAdtPayload(ipmessageold); //xtype
    //try sending a buffered message, different ways, none of them works!
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    q_sender.setDeliveryMode(DeliveryMode.PERSISTENT);
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    adt_msg.setJMSDeliveryMode(DeliveryMode.PERSISTENT);
    ((AQjmsQueueSender)q_sender).send(queue, adt_msg,
    DeliveryMode.PERSISTENT, 1,
    AQjmsConstants.EXPIRATION_NEVER);
    q_sess.commit();
    q_sess.close();
    q_conn.close();
    catch (Exception e)
    System.out.println("Exception: " + e);
    }

    Hi.. i'm trying to put an ADT message created using an ORA Message in the Topic. but i'm getting the conversion error!
    below is the code.
    * Preparing request Message
    try {
                        requestMessage.setOsmOrderid("OSMOrderID12345");
                        requestMessage.setOsmEventVersion("OSMEventVersion1.0");
                        requestMessage.setEventType("SendOrder");
                        CLOB payload = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
                        Writer w= payload.setCharacterStream(1);
                        w.write(xml);
                        w.flush();
                        w.close();
                        //payload.setString(1, xml);
                        requestMessage.setEventPayload(payload);
                   } catch (SQLException se) {
                        System.out.println("SQL Exception Occured :" + se.getMessage());
                        se.printStackTrace();
                   } catch (IOException e) {
                        System.out.println("IO Exception!");
                        e.printStackTrace();
                   AdtMessage request=((AQjmsSession)session).createORAMessage(requestMessage);
                   System.out.println("ORA Message Created.");
                   request.setJMSCorrelationID("ABG");
                   request.setJMSMessageID("324324435435");
                   request.setJMSDeliveryMode(AdtMessage.DEFAULT_DELIVERY_MODE);
    * Creating Sender and sending message.
    TopicConnection topicConn= AQjmsTopicConnectionFactory.createTopicConnection(conn);
                   topicConn.start();
                   TopicSession topicSess= topicConn.createTopicSession(true, TopicSession.CLIENT_ACKNOWLEDGE);
                   Topic requestopic = ((AQjmsSession)topicSess).getTopic("BG_AQ_USER","BG_REQUEST_Q");
                   MessageProducer t_sender= topicSess.createProducer(requestopic);
                   t_sender.send(request, DeliveryMode.PERSISTENT, 1,600000);
    and the error is:
    java.lang.AbstractMethodError: oracle.jms.AQjmsSession.createProducer(Ljavax/jms/Destination;)Ljavax/jms/MessageProducer;
    Instead of a topic connection, I tried using a AQjmsSession and instead of MessageProducer I've tried using AQjmsProducer as well... but the error persists... please help...

  • POST MIGRATION - Project Site cannot be found after migration from 2007 to 2010

    Hi,
       I have done full  migration from Project Server 2007 to Project server 2010. All the databases have been restored. The details in the Project Center are coming correctly. But When I open the Project Site , I get error webpage cannot be
    found. 
    I have done the Bulk update but it is not updating the URL to 2010 URL. 
    Please help.
    Regards

    Use PowerShell to list all the sites in your PWA site collection.
    There are many examples online..  Here is a link that is useful
    http://blogs.msdn.com/b/vijay/archive/2009/10/01/how-to-list-all-the-sub-sites-and-the-site-collections-within-a-sharepoint-web-application-using-windows-powershell.aspx
    Cheers
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • JMS-130 JMS queue cannot be multi-consumer enabled

    error:
    queue = ((AQjmsSession)t_sess).getQueue("tmp", "tmp_queue");
    pl/sql code:
    BEGIN
    DBMS_STREAMS_ADM.SET_UP_QUEUE(
    queue_table => 'tmp_queue_table',
    queue_name => 'tmp_queue');
    END;
    BEGIN
    SYS.DBMS_AQADM.CREATE_AQ_AGENT(
    agent_name => 'explicit_dq');
    END;
    BEGIN
    DBMS_AQADM.ENABLE_DB_ACCESS(
    agent_name => 'explicit_dq',
    db_username => 'tmp');
    END;
    DECLARE
    subscriber SYS.AQ$_AGENT;
    BEGIN
    subscriber := SYS.AQ$_AGENT('explicit_dq', NULL, NULL);
    SYS.DBMS_AQADM.ADD_SUBSCRIBER(
    queue_name => tmp.tmp_queue',
    subscriber => subscriber);
    END;
    I search in forums, google but i can not find solution. Any idea?
    regards

    Bill,
    I could be mistaken, but as far as I know, you can only access JMS queues from java. In other words, "queue_payload_type" needs to be: SYS.AQ$_JMS_OBJECT_MESSAGE
    Good Luck,
    Avi.

  • How to create a JMS queue linked to external (remote) JMS server?

    Hello,
    I'm trying to receive messages from a remote JMS queue. I found some information on the Internet on how to create an external JNDI resource (my remote JMS queue connection factory is bound to LDAP context on remote box). I was able to configure JNDI resource that points to remote queue connection factory, but I don't know what to do next.
    How can I create a local JMS destination (queue) that will be the image of the remote queue? At least I'm guessing this is what needs to be done in order to deploy MDBs.
    I would appreciate it if someone could tell me how to get this working. Maybe the steps I took were not in the right direction - the bottom line is that JMS queue and queue connection factory are deployed on a remote server, and I need to get messages sent to them on the local server. I'm using Sun App Server from J2EE 1.4.
    Thank you,
    Mark

    Please refer to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6377822, particularly the evaluation. Could your situation be the same too (i.e server ip address changing dynamically)? Also, which OS are you using and do you have any firewalls setup that prevents access to port 3700?

  • Migration of JMS Queues from Weblogic 10.3 to 12c

    Hi - We are currently planning to move our JMS Queues from existing 10.3 server to 12c and for the same we are looking for some feedback : 
    We need to define a rollback strategy in case our migration to 12c does not work well and we need to revert back to using weblogic 10.3. Are messages sent to weblogic 12c backward compatible with version 10.3? As part of rollback, business would want to drain out any remaining messages from 12c and feed them back to 10.3 queues to allow them for processing. Is this feasible? If yes then, could you please suggest how, If not then could you please suggest a strategy for rollback and process remaining messages in 12c?
    We would also want to know if we can keep the same Database for both 10.3 and 12c JMS persistent stores for the same queues or should we define a completely new DB? With weblogic we can define prefixes for the DB stores which would make queue tables to have different names between 10.3 and 12c for same queues. However we are not sure if there are any other internal tables that JMS creates in the persistent stores DB, not using these prefixes, which would then corrupt the data since both 10.3 and 12c tables would be on the same DB.
    Thanks
    Nitin

    Hello,
    the final release for WLP is 10.3.6, running on WebLogic Server 10.3.6.
    Emmanuel

  • "User cannot be found '' error after migration of site from sp2010 to sp2013

    Hi,
    There is a Blogs site, which has been migrated from Sp2010 to Sp2013, and gives ''User cannot be found'' error above the top ribbon:
    Microsoft.SharePoint.SPException: User cannot be found
    Please advise
    sk.Rakhishma

    This is common when a user has left a company and is still listed as an owner of the document.  When the document is moved to the new environment, it has no record of the old user.
    Did you migrate using a migration tool or database attach?  Migration tools usually have an option to handle orphaned users allowing you to map them back to the system account.
    Corey Roth - SharePoint Server MVP blog:
    www.dotnetmafia.com twitter: @coreyroth |
    SP2 Apps

  • Error While accessing JMS Queue on Weblogic***** ASSERTION FAILED *****[ Environment not found on thread ]

    Hi,
    I am trying to read response from JMS Queue hosted on Weblogic server and getting below exception. Any help on this will be appreciable.
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not found on thread ]
          at weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHandler.java:148)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
          at java.lang.Class.newInstance0(Class.java:308)
          at java.lang.Class.newInstance(Class.java:261)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:90)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.rmi.cluster.ReplicaAwareRemoteRef.readExternal(ReplicaAwareRemoteRef.java:356)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:452)
          at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:95)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:159)
          at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readObjectWL(ChunkedObjectInputStream.java:341)
          at weblogic.jndi.internal.WLContextImpl.readExternal(WLContextImpl.java:425)
          at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
          at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
          at weblogic.rjvm.ResponseImpl.getThrowable(ResponseImpl.java:117)
          at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106)
          at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
          at weblogic.jms.dispatcher.DispatcherImpl_1035_WLStub.dispatchSyncNoTranFuture(Unknown Source)
          at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:341)
          at weblogic.jms.client.JMSSession.createDestination(JMSSession.java:1735)
          at weblogic.jms.client.JMSSession.createQueue(JMSSession.java:1296)
    Thanks

    Hi,
    I am trying to read Queue standalone. Please find the code snippet below.  code highlighted in  where i am getting exception.
    public static void main(String[] args) {
    String jmsServerUrl = "t3://10.51.245.45:5858";
    String jmsUserName = "weblogic";
    String jmsPassword = "welcome123";
    String jndiFactory = "weblogic.jndi.WLInitialContextFactory";
    String jmsFactory = "jms/CBCMReplyConnectionFactory";
    String qName = "jms/CBCMOrderReplyQueue";
    QueueReceiver qReciever = null;
    JMSQueueReader.getQueueSession(jmsServerUrl,jmsUserName,jmsPassword,jndiFactory,jmsFactory);
    qReciever = JMSQueueReader.getQueueReceiver(qName);
    if (qReciever == null) {
    System.out.println("Unable to find JMS Queue Reciever for Queue Name: "
    + qName + " and JMS Server URL:"
    + jmsServerUrl);
    //isProcess = false;
    private static InitialContext getInitialContext(String url, String userName, String password,  String jndiFactory) throws NamingException {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
    env.put(Context.PROVIDER_URL, url);
    env.put(Context.SECURITY_PRINCIPAL, userName);
    env.put(Context.SECURITY_CREDENTIALS, password);
    return new InitialContext(env);
    public static QueueReceiver getQueueReceiver(String qName) {
    try {
    if(qReceiver == null || !qName.equals(queueName))
    queueName = qName;
    if(qReceiver != null)
    qReceiver.close();
    qReceiver = null;
    javax.jms.Queue queue = qSession.createQueue(queueName);
    //qReceiver = qSession.createReceiver(queue);
    qReceiver = qSession.createReceiver(queue, "JMSCorrelationID LIKE '"+SOHConstant.CBCM_BSCS_CORRELATION_ID_PREFIX+"%'");
                } catch (Throwable e) {
    e.printStackTrace();
    return qReceiver;

  • Message posted from BPEL not found in oc4j JMS queue

    Hi,
    I am facing a weird problem when I try to post a message in oc4j JMS from a BPEL process.
    There is no exception(Not even in the logs) and the BPEL process gets completed. But the message is missing(Could not find it while monitoring the queue).
    I am using SOA suite 10.1.3.5 and the oc4j JMS queue which comes with the installation.
    Can someone help me please.
    Saptarishi
    Edited by: saptarishi on May 25, 2010 3:51 PM

    Got a solution.

  • How can I config to create an out-of-box jms queue

    Hi All,
    I am new to WebLogic Server and I need to create an out-of-box jms queue for my project, which means instead of creating and configuring the queue at the administration console, I'd like to program and change some configuration files to achieve it. Can someone give me some advice or point me to some samples?
    Thank you,
    Yang

    Hi,
    Use WLST snippet as shown below to create a basic JMS config OOTB.
    import sys
    from java.lang import System
    connect('weblogic','weblogic','t3://localhost:7001')
    edit()
    startEdit()
    servermb=getMBean("Servers/myserver")
    if servermb is None:
        print 'Server not found'
        stopExecution("cannot find the server myserver")
    else:
        jmsserver1mb = create('MyJMSServer1','JMSServer')
        jmsserver1mb.addTarget(servermb)
        jmsserver2mb = create('MyJMSServer2','JMSServer')
        jmsserver2mb.addTarget(servermb)
        jmsMySystemResource = create("MyJmsSystemResource","JMSSystemResource")
        jmsMySystemResource.addTarget(servermb)
        subDep1mb = jmsMySystemResource.createSubDeployment('DeployToJMSServer1')
        subDep1mb.addTarget(jmsserver1mb)
        subDep2mb = jmsMySystemResource.createSubDeployment('DeployToJMSServer2')
        subDep2mb.addTarget(jmsserver2mb)
        theJMSResource = jmsMySystemResource.getJMSResource()
        jmsqueue1 = theJMSResource.createQueue('MyQueue1')
        jmsqueue1.setJNDIName('wlst.mgmt.jms.MyQueue1')
        jmsqueue1.setSubDeploymentName('DeployToJMSServer1')
        jmsqueue2 = theJMSResource.createQueue('MyQueue2')
        jmsqueue2.setJNDIName('wlst.mgmt.jms.MyQueue2')
        jmsqueue2.setSubDeploymentName('DeployToJMSServer2')
        jmstopic1 = theJMSResource.createQueue('MyTopic1')
        jmstopic1.setJNDIName('wlst.mgmt.jms.MyTopic1')
        jmstopic1.setSubDeploymentName('DeployToJMSServer1')
        jmstopic2 = theJMSResource.createQueue('MyTopic2')
        jmstopic2.setJNDIName('wlst.mgmt.jms.MyTopic2')
        jmstopic2.setSubDeploymentName('DeployToJMSServer2')
    try:
        save()
        activate(block="true")
    except:
        print "Error while trying to save and/or activate!!!"
        dumpStack()Hope this helps,
    Kats

  • JMS cluster and happen JMS Queue Exception javax.naming.NameAlreadyBoundExc

    Hi,
    Sorry I not sure how to setup JMS cluster in WLS 10.3.2. We have two manager server in two machine. And will join into one cluster. After configure the JMS module & JMS server. We found it only can work in one server. And will faill in another server. And reply the error message as below :
    Any one can help to tell me why one server success. And other is fail !
    javax.naming.NameAlreadyBoundException: JMS_Queue_misdel_a is already bound; rem
    aining name ''
    at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:357)
    at weblogic.jndi.internal.ServerNamingNode.bindHere(ServerNamingNode.java:140)
    at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:317)
    at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.jav
    ==> config for JMS
    <jms-server>
    <name>JMS_Server_cim_a</name>
    <target>ebowls05</target>
    <persistent-store xsi:nil="true"></persistent-store>
    <hosting-temporary-destinations>true</hosting-temporary-destinations>
    <temporary-template-resource xsi:nil="true"></temporary-template-resource>
    <temporary-template-name xsi:nil="true"></temporary-template-name>
    <message-buffer-size>-1</message-buffer-size>
    <expiration-scan-interval>30</expiration-scan-interval>
    </jms-server>
    <jms-server>
    <name>JMS_Server_cim_b</name>
    <target>ebowls06</target>
    <persistent-store xsi:nil="true"></persistent-store>
    <hosting-temporary-destinations>true</hosting-temporary-destinations>
    <temporary-template-resource xsi:nil="true"></temporary-template-resource>
    <temporary-template-name xsi:nil="true"></temporary-template-name>
    <message-buffer-size>-1</message-buffer-size>
    <expiration-scan-interval>30</expiration-scan-interval>
    </jms-server>
    <migratable-target>
    <name>ebowls06 (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do
    not delete manually.</notes>
    <user-preferred-server>ebowls06</user-preferred-server>
    <cluster>ebouatCluster</cluster>
    </migratable-target>
    <migratable-target>
    <name>ebowls05 (migratable)</name>
    <notes>This is a system generated default migratable target for a server. Do
    not delete manually.</notes>
    <user-preferred-server>ebowls05</user-preferred-server>
    <cluster>ebouatCluster</cluster>
    </migratable-target>
    <jms-system-resource>
    <name>JMS_ConnFactory_cim</name>
    <target>ebouatCluster</target>
    <descriptor-file-name>jms/JMS_ConnFactory_cim/JMS_ConnFactory_cim-jms.xml</d
    escriptor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>JMS_Queue_promis</name>
    <target>ebouatCluster</target>
    <sub-deployment>
    <name>JMS_Queue_promis@JMS_Server_cim_a</name>
    <target>JMS_Server_cim_a</target>
    </sub-deployment>
    <sub-deployment>
    <name>JMS_Queue_promis@JMS_Server_cim_b</name>
    <target>JMS_Server_cim_b</target>
    </sub-deployment>
    <descriptor-file-name>jms/JMS_Queue_promis/JMS_Queue_promis-jms.xml</descrip
    tor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>JMS_Template_cim</name>
    <target>ebouatCluster</target>
    <descriptor-file-name>jms/JMS_Template_cim/JMS_Template_cim-jms.xml</descrip
    tor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>JMS_Queue_misdel_a</name>
    <target>ebouatCluster</target>
    <sub-deployment>
    <name>JMS_Queue_misdel_a@JMS_Server_cim_a</name>
    <target>JMS_Server_cim_a</target>
    </sub-deployment>
    <sub-deployment>
    <name>JMS_Queue_misdel_a@JMS_Server_cim_b</name>
    <target>JMS_Server_cim_b</target>
    </sub-deployment>
    <descriptor-file-name>jms/JMS_Queue_misdel_a/JMS_Queue_misdel_a-jms.xml</des
    criptor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>JMS_Queue_misdel_b</name>
    <target>ebouatCluster</target>
    <sub-deployment>
    <name>JMS_Queue_misdel_b@JMS_Server_cim_a</name>
    <target>JMS_Server_cim_a</target>
    </sub-deployment>
    <sub-deployment>
    <name>JMS_Queue_misdel_b@JMS_Server_cim_b</name>
    <target>JMS_Server_cim_b</target>
    </sub-deployment>
    <descriptor-file-name>jms/JMS_Queue_misdel_b/JMS_Queue_misdel_b-jms.xml</des
    criptor-file-name>
    </jms-system-resource>

    1 - JMS clustering is an advanced concept, and, in most cases, uses "distributed queues". In case you haven't already, I highly recommend reading the JMS chapter of the new book "Professional Oracle WebLogic" as well as the related chapters in the JMS Programmer's Guide in the edocs.
    2 - The basic problem below is that you have two different queues that have matching JNDI names, but are in the same cluster.
    3 - The config snippet supplied below does not include the queue configuration. Queue configuration is embedded within the referenced module files.
    4 - Please ensure that you follow configuration best practices, as per: http://download.oracle.com/docs/cd/E15523_01/web.1111/e13738/best_practice.htm#CACJCGHG

  • How to create JMS queues using Scripts

    Hi All,
    I want to create JMS queue in weblogic server 8.1 by running scripts .
    Can anybody provide me the scripts and how to run the scripts ...
    i have the WLshell scripts to create the JMS queues and JNDI , but i dont know how to run the scripts .
    Please help me on the same.
    Thanks,
    Kartheek

    Hi Brad ,
    Thanks for your reply.
    I went through the above link but I am gettint a error when I am executing the WLST script.
    Please look into the problem.
    wls:/offline> execfile
    <java function execfile at 1584086>
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile ('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    wls:/offline> execfile('c:/bea/configJMSSystemResource.py')
    Traceback (innermost last):
    File "<console>", line 1, in ?
    IOError: File not found - c:\bea\configJMSSystemResource.py (The system cannot f
    ind the file specified)
    Thanks,
    Kartheek.

  • I want to access JMS Queue in websphere from a client application

    Hello all
    I tried to access a jms queue in the websphere from a client application
    my connection factory jndi name is : MyConn
    my queue name jndi name is : MyQueue
    and here is my code :
    Hashtable environment = new Hashtable();
    environment.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.ibm.websphere.naming.WsnInitialContextFactory");
    environment.put(Context.URL_PKG_PREFIXES, "com.ibm.ws.naming");
    environment.put(Context.PROVIDER_URL, "corbaloc:iiop:localhost:2809");
    return new InitialContext(environment);
    then:
    q = (Queue) ctx.lookup(QJNDIName);
    QueueConnectionFactory connFactory = (QueueConnectionFactory)
    ctx.lookup(ConnFactName);
    I had the following exception :
    javax.naming.NameNotFoundException: Context: networking/nodes/networking/servers/server1, name: MyQueue: First component in name MyQueue not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    Can i have any help please ....

    Hi
    You are missing some critical jar files in your class path. It should be namingclient.jar, also please or something similar that is missing in classpath.
    HTH
    VJ

  • Multiple Messages in Same JMS queue

    Hello,
    I have interfaces in which different xml messages from the same sender system will be placed in the same MQ queue, is there a way that XI JMS sender channel can differentiate the xml messages based on the payload?
    I can create a single communication channel, but the outbound message interface I cannot create a common structure because the xml messages are huge and there will be future interfaces following the same architecture.
    1. How can I route in interface determination based on the context in the inbound msg interface?
    2. What can I provide as Message interface for the outbound?
    3. MessageSelector attribute in Adapter specific properties - any ideas on this? - I can select this in the condition context in interface determination - can I give any values here to differentiate msges?
    4. Value mapping - is it possible to define the sender message interface through this?
    Any idea is appreciated..THank you..

    Hi Thanujja,
    We have recently completed a project that had this requirement too. We made use of the MessageSelector to solve this problem. You'll need to make use of some advanced (advanced tab)settings in the comm channel. Basically you want to add Additional JMS Message Properties. You can add up to 10 additonal JMS Properties.
    Let's say you've added a property called MESTYP. You then need to get the sender to populate the MESTYP property with a text value for each IDoc involved e.g. DELVRY. You would then set your JMS Message Selector field as follows: MESTYP='DELVRY'.
    You'll have a comm channel for each IDoc. These comm channels will then connect to the JMS Queue & only pick up messages that meet the criteria at set in the Message Selector.
    There was one other problem that encountered with Message Selector, we were on XI version 7.0, the Message Selector was working intermittently & then we applied SAP Note 1256636 & upgraded to 7.01. Everything is working fine after that.
    Trevor

  • Error while passing ODI variable in JNDI Url for JMS Queue XML

    Hi,
    Facing a weird problem while passing ODI variable in JNDI Url for JMS Queue XML.
    Below is the JNDI Url configured under ODI Topology:
    JNDI Url: t3://<host_location>?d=#TEST.SCHEMA_FILE&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    where,
    #TEST.SCHEMA_FILE --> ODI variable storing xsd name and location
    Issue Description:
    If we restart ODI server then for the first run of any ODI interface using JMS Queue XML, it is unable to get the value for ODI variable present in JNDI Url (d=#TEST.SCHEMA_FILE).
    It throws error message saying: No XSD found
    Temporary Resolution:
    As a temporary fix if we hard-code and pass the value in that ODI variable as shown below, it will successfully go through.
    eg: JNDI Url: t3://<host_location>?d=C:\XSD\test.xsd&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    Reverting it back to variable later will have no issues and subsequent run will succeed.
    But again anytime later if server is restarted then first run will have this issue.
    Want to have permanent fix for it.
    Any one having idea on it please share. Appreciate your help!

    What ODI version are you using? It could be related to the bug in the older version as described in support note Doc ID 1290326.1

Maybe you are looking for

  • Issues with newest update, battery draining quickly, phone very hot

    I recently updated my IOS to the newest edition. I do not know much about the techonological aspects of the phone and how it works, but I do know how to reboot the phone, reset the phone and close out all the applications so that there is no software

  • Barcode printing in XML report PDF output

    Hi All,         I want to print barcode of invoice number / purchase order number in the XML report PDF output.         Anyone please suggest me with your ideas and experience.

  • How do I connect my Apple DVI port to a VGA now there is no adapter available

    I have a MacBook Pro (15 inch, early 2008) which I use at my camera club for connecting to its projector.  My Apple DVI to VGA adapter clearly has dodgy internal connections leading to a variety of colour casts.  Although only five years old, this ad

  • Black ink cartridge will not fit into assigned slot.

    I cannot insert new black ink (564) into original black in spot (564 setup)on the left side of ink carriage, because new cartridge is wider than original. I already inserted a 564XL black ink into the black ink slot on the far right side of carriage.

  • How to display Non Cumulative key figure data

    Hi, I want to check if there is any data for a non-cumulative key figure. While i am trying to display the data from cube or Multi provider, it is not showing this field. is there any way to check the data for this field other than using reports. Reg