WLS6.1 SP2 - Sorting JMS messages by priority fails to work

          I have an app that uses a QueueSender to send messages of various priorities, 5
          and 9:
          queueSender.send(myMessage, DeliveryMode.PERSISTENT, myMessagePriority, Message.DEFAULT_TIME_TO_LIVE);
          I have configured a JMS Destination Key, JMSPriority(int, sort Descending), and
          bound it to the destination (from config.xml):
          <JMSServer Name="EJBTestServer" PagingStore="EJBTestStore"
          Store="EJBTestStore" Targets="fmlon66039server">
          <JMSQueue DestinationKeys="JMSPriority" JNDIName="EJBTestQueue"
          Name="EJBTestQueue" PriorityOverride="-1" StoreEnabled="default"/>
          </JMSServer>
          <JMSDestinationKey Direction="Descending" KeyType="Int"
          Name="JMSPriority" Property="JMSPriority"/>
          However the single MDB listening on the destination just gets the messages in
          the order they're sent: I would have expected all the priority 9 messages to come
          first.
          Note to simulate a long initialisation process, the MDB sleeps on receipt of the
          first message it receives; this gives the sender time to finish its sending.
          The sender sends one message per txn. The MDB receives one message per txn too.
          To prove my txns are 'good' my app logs the XID and the tx state whenever my app
          sends or receives a message.
          Any ideas anyone? Has anyone else got sorting by JMS priority to work in 6.1 SP2?
          simon.
          

I've submitted a doc enhancement request. Good idea.
          In general, doc changes are possible, but limited in older releases.
          Tom, BEA
          Simon Spruzen wrote:
          > Thanks, I didn't know about the pipe-line (can this be added to the documentation,
          > if you're still keeping 6.1 docs going? It might be also worth stressing in the
          > docs that even when sorting by priority (or anything else for that matter), it's
          > still only a hint that the server may choose to disregard in the interests of
          > timely message delivery. I 'knew' this, but my brain wasn't in gear.)
          >
          > You can probably guess how many messages my original test app was sending...
          >
          >
          > simon.
          >
          >
          > Tom Barnes <[email protected]> wrote:
          >
          >>There is a pipe-line of messages between the JMS server and the MDB.
          >>Messages get sorted on the JMS server but not within the pipe-line.
          >>The default size is 10. To reduce it, define a custom connection
          >>factory on the console for the MDB and modify the MDB descriptor
          >>to point to the custom connection factory's JNDI name.
          >>On the connection factory, reduce "MessagesMaximum"
          >>to 1 (the pipe-line size), and, for purposes of supporting
          >>WL MDBs properly, enable transactions, and set the acknowledge
          >>policy to "acknowledge-before".
          >>
          >>Tom, BEA
          >>
          >>Simon Spruzen wrote:
          >>
          >>>I have an app that uses a QueueSender to send messages of various priorities,
          >>
          >>5
          >>
          >>>and 9:
          >>>
          >>>queueSender.send(myMessage, DeliveryMode.PERSISTENT, myMessagePriority,
          >>
          >>Message.DEFAULT_TIME_TO_LIVE);
          >>
          >>>
          >>>I have configured a JMS Destination Key, JMSPriority(int, sort Descending),
          >>
          >>and
          >>
          >>>bound it to the destination (from config.xml):
          >>>
          >>>
          >>><JMSServer Name="EJBTestServer" PagingStore="EJBTestStore"
          >>> Store="EJBTestStore" Targets="fmlon66039server">
          >>> <JMSQueue DestinationKeys="JMSPriority" JNDIName="EJBTestQueue"
          >>> Name="EJBTestQueue" PriorityOverride="-1" StoreEnabled="default"/>
          >>></JMSServer>
          >>>
          >>>
          >>><JMSDestinationKey Direction="Descending" KeyType="Int"
          >>> Name="JMSPriority" Property="JMSPriority"/>
          >>>
          >>>
          >>>
          >>>
          >>>However the single MDB listening on the destination just gets the
          >>
          >>messages in
          >>
          >>>the order they're sent: I would have expected all the priority 9 messages
          >>
          >>to come
          >>
          >>>first.
          >>>
          >>>Note to simulate a long initialisation process, the MDB sleeps on receipt
          >>
          >>of the
          >>
          >>>first message it receives; this gives the sender time to finish its
          >>
          >>sending.
          >>
          >>>The sender sends one message per txn. The MDB receives one message
          >>
          >>per txn too.
          >>
          >>>To prove my txns are 'good' my app logs the XID and the tx state whenever
          >>
          >>my app
          >>
          >>>sends or receives a message.
          >>>
          >>>Any ideas anyone? Has anyone else got sorting by JMS priority to work
          >>
          >>in 6.1 SP2?
          >>
          >>>simon.
          >>
          >
          

Similar Messages

  • Trying to get my yahoo mail on new iPod. Keep getting message that server failed. Works fine on my iPad.

    Trying to setup my yahoo mail on my new iPod touch.  I keep getting the message "failed to connect with server". It works fine on my iPad though.

    See if this previous discussion helps:
                                                                                                       Re: Yahoo server unavailable. I am not able to get into yahoo account. iPhone 4S                                            

  • How To Set JMS Message ID

    Hi,
    I am working for a client that uses a MQ Series as their interface routing infrastructure.  They have written some custom tools that log MQ messages.  Their tools expect the MQ message ID to be in a specific format YYYY_MM_DD_HHMMSS_AAAAAA where AAAAAA is a unique set of characters based on the millisecond.
    Is it possible to set the JMS message ID on a JMS receiver adapter?
    Thanks in advance for your help,
    Craig

    Hi Craig,
    as it looks you have to set the Message Id in a special format. I am not sure if this is possible at all. I didn't find a way to influence how XI sets the JMS Message Id.
    Maybe you could work with the JMS Correlation ID instead and have your client adapt his tools. You can use either a User-Defined Function or a Java Mapping, setting the so-called Adapter-specific attribute DCJMSCorreleationId
    Here you can find an example how to do this in the User-Defined Function:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    In a Java Mapping it is similar:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
    This example uses the File Adapter, but the same applies for the JMS Adapter.
    The JMS Adapter has the namespace http://sap.com/xi/XI/System/JMS
    Have a look at this one to find out more about the Adapter-specific attributes of the Receiver JMS Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    I hope that this information is of some help for you.
    regards,
    Peter

  • Jms-120 error- dequeue failed

    I receives this error message when trying to dequeue a message in the log of my webapp.
    If i connect to another database...it's working.
    Could you help me to understand what could be wrong in my oracle intall, want parameter should be set to allow the reading of message.
    Thanks in advance for your help
    2011/07/14 18:03:36] WARN org.springframework.jms.listener.DefaultMessageListenerContainer - Setup of JMS message listener invoker failed for destination 'IpConnectorQueue' - trying to recover. Cause: JMS-120: Dequeue failed
    oracle.jms.AQjmsException: JMS-120: Dequeue failed
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
         at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1626)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
         at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
         at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:429)
         at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:310)
         at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
         at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
         at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
         at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException.

    Hi,
    This forum is for Oracle MessageQ (also known as BEA MessageQ and DEC MessageQ), not JMS or AQ. I would suggest checking out the WebLogic Server or Oracle Database (since this looks like an AQ issue) forums for help with your problem.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to set Priority of JMS message in the Receiver adapter

    Hi,
    How can I set the priority of message going to MQ in the receiver JMS adapter. I tried to set a value in the <b>JMS message Priroty</b> field. But it is not working.
    In the receiving  queue manager the default priority of the queue which receives data is set to 0.
    Can anyone suggest how to get this done.
    Thanks in Advance
    Abinash

    Hi Ravi,
    If I am not wrong You are referring to article <b>Queues for Prioritized Message</b>. But this is about how to Prioritize message inside XI.
    What I am intresetd in is to set a message priority (for example "2")for the message going to MQ. That is when the message reached the detination queue the priority of this message should be 2 in the queue.
    Thanks
    Abinash

  • Lost (and found) JMS - messages

              Using WLS 6.1 and have experienced that JMS messages has not been delivered to
              its consumer correctly. We are interested in any suggestions to what has happend,
              what can be done to avoid the problem in the future, or perhaps how we can find
              out more about the problem.
              We have a message driven bean A which sends messages to the queue Q, of which
              the message driven bean B is the only consumer.
              What we recently have experienced is that some of the messages delivered by A
              to Q never are delivered to B. But the messages seems to be persisted correctly,
              because after a restart they reappear!
              Following is a more detailed description of the scenario:
              1. A message is sendt with DeliveryMode=PERSISTENT and TimeToLive=0. QueueSender.send
              is invoked and returns normally.
              2. The consumers never gets the message (B.onMessage i never invoked with this
              message).
              3. Point 1-2 is repeated for 13 different messages over a period when ~100 similar
              messages are delivered normally.
              4. The server is then restarted.
              5. In the starup log it is indicated that 44 records are found in the JMSStore.
              6. When the server restarts, the "lost" messages gets delivered to B.
              After the server restart we have not experienced the problem again.
              Logs does not show anything unusual about the previous restart.
              Other details:
              There is always exatly 1 instance of A running, and 5-20 instances of B. A implements
              and uses a pool of javax.jms.XAQueueSession instances, which shares a single instance
              of javax.jms.XAQueueConnection. The aknowledge-mode for B is "Auto-aknowledge".
              We're using Weblogic Server 6.1.3.0 / Red Hat Linux 7.3.
              Any help on this problem is appreciated!
              

              I believe we've seen just the behaviour you describe on 6.1 SP2, but only on a
              multi-cpu box (Solaris), and only under load. We can't reproduce the problem reliably,
              and get no error messages/warnings anywhere, so very little to send to customer
              support; by the time we notice this, the problem's long passed, so a thread dump's
              of no use.
              We're going to try and see how SP5 (which has loads of JMS fixes) pans out.
              But if you find anything out, could you post here?
              simon.
              "Harald Stendal" <[email protected]> wrote:
              >
              >Using WLS 6.1 and have experienced that JMS messages has not been delivered
              >to
              >its consumer correctly. We are interested in any suggestions to what
              >has happend,
              >what can be done to avoid the problem in the future, or perhaps how we
              >can find
              >out more about the problem.
              >
              >We have a message driven bean A which sends messages to the queue Q,
              >of which
              >the message driven bean B is the only consumer.
              >What we recently have experienced is that some of the messages delivered
              >by A
              >to Q never are delivered to B. But the messages seems to be persisted
              >correctly,
              >because after a restart they reappear!
              >
              >Following is a more detailed description of the scenario:
              >
              >1. A message is sendt with DeliveryMode=PERSISTENT and TimeToLive=0.
              >QueueSender.send
              >is invoked and returns normally.
              >2. The consumers never gets the message (B.onMessage i never invoked
              >with this
              >message).
              >3. Point 1-2 is repeated for 13 different messages over a period when
              >~100 similar
              >messages are delivered normally.
              >4. The server is then restarted.
              >5. In the starup log it is indicated that 44 records are found in the
              >JMSStore.
              >6. When the server restarts, the "lost" messages gets delivered to B.
              >
              >After the server restart we have not experienced the problem again.
              >
              >Logs does not show anything unusual about the previous restart.
              >
              >Other details:
              >There is always exatly 1 instance of A running, and 5-20 instances of
              >B. A implements
              >and uses a pool of javax.jms.XAQueueSession instances, which shares a
              >single instance
              >of javax.jms.XAQueueConnection. The aknowledge-mode for B is "Auto-aknowledge".
              >
              >We're using Weblogic Server 6.1.3.0 / Red Hat Linux 7.3.
              >
              >Any help on this problem is appreciated!
              >
              

  • Trouble using JMS Message Selector and DCJMSMessageProperty0

    Hello Experts!
    My scenario is Mainframe => MQ => JMS Adapter => XI => SAP
    My MQ channel is communicating fine to XI and I've set the JMS adapter to JMS Compliant.
    I have multiple message types with consistent headers but varying data layouts that I need to route to different mapping objects. So it seems the best solution for this is JMS Message Selector based on reading a header value from one of the dynamic message properties.
    I've read SAP Notes and SAP Library and SDN Wiki articles about this configuration and I think its possible.
    http://help.sap.com/saphelp_nw04s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
    Note 856346 - J2EE JMS Adapter: Frequently Asked Questions (FAQ)
    Note 1086303 - XI JMS Adapter and IBM Websphere MQ: FAQ
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/usage%252bof%252bmessage%252bselector%252bfor%252bjms%252bsender%252badapter
    My mainframe sends an MQ message that includes some extra header information like
    field: ApplType  VALUE: 000000002                                              
    field: ApplName    VALUE: MIS056O          
    I configured my Communication Channel to set Adapter-Specific Message Attributes and also Additional JMS Message Properties to include ApplType and ApplName.
    However, I can only see some of the standard JMS header items such as CorrelationID, none of the additional ones.
    In RWB I see "JMS property 'ApplType' that corresponds to dynamic header 'DCJMSMessageProperty0' is missing from JMS message 'ID:f2f0f0f9f0f4f2f1f0f9f1f5f5f3f7f44040404040404040'; consequently it cannot be added to XI message 'e136a6e8-8580-4adc-2007-9ccab93f1ef4' as a dynamic header"
    Can anyone with some experience doing this help me see if I'm missing a trick somewhere? How can I see where this information is being dropped? Could it be when MQ is handing to JMS?
    Many thanks,
    Aaron

    After sifting through some IBM documentation I found that the PutApplName field actually maps to JMS name JMSXAppID. So after adding this to my Additional JMS Message Properties list I get the dynamic JMS message property I need for sorting out the messages.
    http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/uj25450_.htm

  • JMS messages sometimes not received by Flex client

    We have a problem that Flex client is sometimes not able to
    receive JMS messages from a JBoss JMS Queue. Most of the time it
    works, but if users logout/login using the same account frequently
    or you restart JBoss 4.0.4 during their session then it might
    happen. Then it doesn't work at all even if you wait. Client is
    able to send messages when this problem occurs, which can then be
    intercepted by other clients but cannot receive any messages from
    himself or from the others. JBoss 4.0.4 is running in cluster mode.
    Could it be that there is an old frozen session which is receiving
    the messages meant for the new client?(consumer selector is unique
    to each user, but if a user logs in twice, the same selector is
    used) If I run 2 instances of my JMS test consumer using the same
    selector then the consumer which registered later receives the
    messages and if it quits, then the older consumer starts receving
    them. This doesn't occur in Flex.
    Flex is running on Tomcat 5.5.17.
    Our messaging-config.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
    class="flex.messaging.services.MessageService"
    messageTypes="flex.messaging.messages.AsyncMessage">
    <adapters>
    <adapter-definition id="actionscript"
    class="flex.messaging.services.messaging.adapters.ActionScriptAdapter"
    default="true" />
    <adapter-definition id="jms"
    class="flex.messaging.services.messaging.adapters.JMSAdapter"/>
    </adapters>
    <destination id="JMSQueueB">
    <properties>
    <network>
    <session-timeout>10</session-timeout>
    </network>
    <jms>
    <initial-context-environment>
    <property>
    <name>java.naming.factory.url.pkgs</name>
    <value>org.jboss.naming:org.jnp.interfaces</value>
    </property>
    <property>
    <name>Context.PROVIDER_URL</name>
    <value>jnp://x.x.x.x:1100,jnp://x.x.x.y:1100</value>
    </property>
    <property>
    <name>Context.INITIAL_CONTEXT_FACTORY</name>
    <value>org.jnp.interfaces.NamingContextFactory</value>
    </property>
    </initial-context-environment>
    <destination-type>Queue</destination-type>
    <message-type>javax.jms.TextMessage</message-type>
    <connection-factory>ConnectionFactory</connection-factory>
    <destination-jndi-name>queue/B</destination-jndi-name>
    <destination-name>B</destination-name>
    <delivery-mode>PERSISTENT</delivery-mode>
    <message-priority>DEFAULT_PRIORITY</message-priority>
    <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
    <transacted-sessions>false</transacted-sessions>
    </jms>
    </properties>
    <channels>
    <channel ref="my-rtmp"/>
    <channel ref="my-secure-amf"/>
    </channels>
    <adapter ref="jms"/>
    </destination>
    </service>
    Part of our actionscript code:
    pmConsumer = new Consumer();
    pmConsumer.destination = "JMSQueueB";
    pmConsumer.selector = "some jms selector ....";
    pmConsumer.addEventListener(MessageEvent.MESSAGE,
    presenceMessageHandler);
    pmConsumer.addEventListener(MessageFaultEvent.FAULT,
    faultHandler);
    pmConsumer.addEventListener(ChannelFaultEvent.FAULT,
    channelFaultHandler);
    pmConsumer.subscribe();
    Also Flex seems to be handing channel switching incorrectly,
    if rtmp port is firewalled, it won't use amf properly even though
    it was given 2 channels in configuration file and JMS messaging
    doesn't work. We have to alter the channel set during runtime.
    Flex also doesn't automatically switch to other JMS server if
    one goes down. Is this a feature or a bug? We have to reset
    producer and consumer in order for this to work.

    Hi,
    It was in earlier version of the OS that you could turn Bonjour On and Off.
    If this can be done in Leopard and Snow Leopard I have not found it yet. (But I don't look that often and nor for very long)
    This Forum may help with that
    I would also try a PRAM reset. (on Both computers)
    Shut down the computer.
    Restart it holding down APPLE(or ⌘)ALT+PR Keys until you have heard three Start Up Bongs.
    7:18 PM Tuesday; December 8, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Unzipping a gz file that's in a JMS Message

    Could anyone please help me figure out how to unzip a message from a JMS Message. I have tried all sorts of things and I just can't get it to work.
    Jeremy

    Hi I can just help you out how to extract file from
    zip format and hope it will help you out and i am
    giving you it by showing you one example.
    import java.util.*;
    import java.io.*;
    import java.text.*;
    import java.util.zip.*;
    public class sandyzip
         public static void main(String[] args)
         {     try{
                   Enumeration entries;
                   ZipFile zipFile;
                   ZipEntry entry =null;
                   byte[] buffer = new byte[10000];
                   int len;
                   InputStream in=null;
                   OutputStream zout=null;
    zipFile = new
    new ZipFile("D:\\JavaPractice\\04-04-2007data.zip");
                   System.out.println(zipFile);
                   entries = zipFile.entries();
                   System.out.println(entries);
    while(entries.hasMoreElements()) {
    ry = (ZipEntry)entries.nextElement();
                   in=zipFile.getInputStream(entry);
    zout=new BufferedOutputStream(new
    new
    FileOutputStream(""+"D:\\JavaPractice\\"+entry.getName
                   System.out.println("**************"+entry.getName()
                   System.out.println(zout);
                   while((len = in.read(buffer)) >= 0)
                   zout.write(buffer, 0, len);
                   System.out.println("Unzip done");
              catch (Exception ex) {
                   ex.printStackTrace();
    Hope it will server your purpose.
    Cheers
    Sandyand where did JMS fit into the equation?

  • WLS6.1 SP2/JDK1.3.1_03/HTTP 302 Error

    Hello,
    we use WLS6.1 SP2 with JDK1.3.1_03 and we get sometimes an HTTP 302 error, when
    a JSP-page is requested. The error appears in the browser is following:
         This document you requested has moved temporarily.
         It's now at </zv/account/accountOverflow.jsp>.
    Normally the generated html should be appear. When I click on the generated link
    the html page appears.
    When we change the JDK to version JDK1.3.1_01 it works, means the generated html
    page appears.
    Does anybody knows something of this problem, is this a JDK or a BEA problem ?
    Regards
    Michael

    We are running a WebLogic 6.1 sp2 cluster in production and about          > every two days we start to get errors in the WLS log like this:
              > <Oct 8, 2002 2:17:09 PM CDT> <Info> <Cluster> <dadgsunapp1>
              > <wls1> ExecuteThread: '1' for queue: 'Replication'> <> <> <000117>
              > <Got stale replication request for object -5479642219657940840>
              > Sessions continually attempt to migrate to their secondary server with
              > the result that the cluster spends most of its time thrashing and client
              > HTTP requests time out. At the time this happens we have also noticed
              > that the servers running the WebLogic nodes have a large number of
              > sockets in CLOSE_WAIT status.
              > Has anyone run into this problem? All advice is welcome.
              I've seen it with both 5.x and 6.x, and also in relatively large clusters. I
              believe it is caused when an application changes session data too often,
              which causes the replication to clog up (like a traffic jam) and fail. I
              believe I posted something on this a few (maybe 6) months ago, but to
              alleviate it, try to figure out if you can do less updates to the session
              data. Also, try sp3 (just in case).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Bob Withers" <[email protected]> wrote in message
              news:[email protected]..
              >
              

  • Configuring Default Web Application w/ WLS6.0 SP2

              I have 2 Machines with no shared file system.
              I have identical directory structures on both:
              /usr/local/weblogic/config/qadomain/applications/DefaultWebApp
              I have 2 Servers within the cluster:
              ServerA and ServerB within ClusterA
              I have 1 DefaultWebApp that I have Chosen ClusterA
              When starting ServerA I receive and error:
              <Error deploying application DefaultWebApp: ServerB not deployed on ServerA>
              Can someone tell me the what's missing in this configuration?
              

    You should add it to config.xml by yourself, should be something like:
    <Server AdministrationPort="0"
    ListenPort="8001" Name="testServer">
    <Log FileName="config/mydomain/logs/weblogic-testServer.log"
    Name="testServer"/>
    <WebServer DefaultWebApp="WebApp_testServer"
    LogFileName="config/mydomain/logs/access-testServer.log"
    Name="testServer"/>
    <KernelDebug Name="testServer"/>
    <SSL Name="testServer"/>
    <ServerDebug Name="testServer"/>
    </Server>
    Good luck.
    "Ton Bode" <[email protected]> wrote in message
    news:[email protected]..
    Sorry, wrong group, and it seems to be a bug in the WLS 6.0 sp1 and sp2
    versions
    "Ton Bode" <[email protected]> wrote in message
    news:3b5ec3e3$[email protected]..
    I am running WLS6.0 sp2 on Win2K.
    When I try to select a Default Web Application (selecting myserver,
    Configuration, HTTP, Default Web Application) there is no Application
    that
    I
    can select. I suppose at least the DefaultWebApp_myserver should be
    available. This WebApp is deployed and targeted to myserver. But also
    Console and Certificate should be available. What do I need to do inorder
    to select a Web Application as default?
    Ton Bode

  • Correlation for JMS Messages possible? JMSCorrID in JMSHeader not accepted

    Is Correlation for communication over JMS messages possible?
    If I define the JMSHeader field "JMSCorrelationID" in a correlation set ("as usual") then I get
    compiler errors:
    Error ORABPEL-10036: invalid correlation set
    BPEL seems not to accept JMSHeader fields for correlation but only fields from the actual payload msg.
    Is this true?
    Is there soemwhere a guide on how to correlate JMS messages?
    Thank you
    Michael

    you can use the "Message Selector" on the JMS adapter to filter to achieve that;
    here is extract from oracle help document
    Message Selector
    Specify filtering logic that enables you to receive messages that match a certain criteria. Enter an expression between 1 and 255 characters in length. Use SQL92 syntax in this field. The JMS server uses this criteria to filter messages received by this consumer. The message selector works with variables defined in standard JMS headers and user-defined properties. You cannot use variables or elements that are in the payload of the message.
    For example, you can enter logic such as: JMSPriority > 3. Based on this, messages with a priority greater than 3 are consumed; all other messages are rejected. JMSType = 'car' AND color = 'blue' AND weight > 2500 Country in ('UK', 'US', 'France')
    it's got some limitations but works fine for our requirements so far...

  • Sending/Receiving JMS message to WMQ from Automated Task

    Hi All,
    I am new to OSM and working on a POC for the implementation of OSM in our company. We have WebSphere MQ for messaging and want to use same for OSM implementation. We don't want to create bridges, foreign server etc configuration in weblogic, rather just connect with MQ objects over JNDI (as supported) from OSM automated task. Having said that, we have following two scenarios:
    1- JMS message is received at OSM
    2- JMS message initiated from OSM (automated task)
    Now our requirement is to create a sort of JMS inbound gateway for first scenario i.e. reading a message from a Queue and CreateOrder and then reply back to caller using JMSReplyTo header.
    Second as JNDI support is available for automated task, can we send JMS message using direct JNDI look up for MQ JNDI objects i.e. using .bindings file (JNDI URL for MQ objects).
    Thanks

    Hi All,
    I am new to OSM and working on a POC for the implementation of OSM in our company. We have WebSphere MQ for messaging and want to use same for OSM implementation. We don't want to create bridges, foreign server etc configuration in weblogic, rather just connect with MQ objects over JNDI (as supported) from OSM automated task. Having said that, we have following two scenarios:
    1- JMS message is received at OSM
    2- JMS message initiated from OSM (automated task)
    Now our requirement is to create a sort of JMS inbound gateway for first scenario i.e. reading a message from a Queue and CreateOrder and then reply back to caller using JMSReplyTo header.
    Second as JNDI support is available for automated task, can we send JMS message using direct JNDI look up for MQ JNDI objects i.e. using .bindings file (JNDI URL for MQ objects).
    Thanks

  • JMS message:

              Hi,
              We are using weblogic 6.1 sp2 cluster with two serevrs.And also we have JMS message
              client.How can i use cluster in JMS message?
              Currently my JMS message URL is xxx.jms.PROVIDER_URL=t3://localhost:7001.
              How can i provide cluster url in above url?
              Thanks in advance,
              -Veera.
              

              I guess by ("xxx.jms.PROVIDER_URL=") Veera is referring to the JMS provider URL that
              u need to specify to obtain the initial context while u look up the ConnFactory or
              Topic etc.
              Tom Barnes <[email protected]> wrote:
              >I don't know what "xxx.jms.PROVIDER_URL=" is, it sounds specific to your
              >application. Anyhow, for testing purposes, you can specify your URL this
              >way:
              > t3://addr1,addr2:7001
              >Where "addr" can be a name or an IP.
              >
              >I'm not sure, but I think the connection logic always tries first IP is
              >this list first...
              >
              >Tom
              >
              >Veera wrote:
              >
              >> In JMS client,currently we are specifying JMS server address like this,"xxx.jms.PROVIDER_URL=t3://localhost:7001".
              >> In cluster environment,can i replace above url with this one..
              >> "xxx.jms.PROVIDER_URL=t3://cluster_1_IP:7001,cluster_2_ip:7001"?
              >>
              >> Thanks,
              >> -Veera.
              >>
              >> Tom Barnes <[email protected]> wrote:
              >> >I'm not sure what you are asking. What specifically is using this URL?
              >> >
              >> >Tom
              >> >
              >> >Veera wrote:
              >> >
              >> >> Is there any way to specify url without using DNS address? Like in
              >IISproxy.ini.
              >> >>
              >> >> Thanks,
              >> >> -Veera.
              >> >>
              >> >> Tom Barnes <[email protected]> wrote:
              >> >> >There is no difference between using JMS in cluster and using JMS
              >on
              >> >a single
              >> >> >server,
              >> >> >except that client requests for a particular destination will get
              >routed
              >> >> >to the correct
              >> >> >place...
              >> >> >A client can connect to a server on IP_B, and its operations on a
              >JMS
              >> >server
              >> >> >on IP_A
              >> >> >will
              >> >> >just work.
              >> >> >
              >> >> >A "cluster URL" is simply a URL that references some type of round-robin
              >> >> >address that you have configured outside of WebLogic. The address
              >may
              >> >be
              >> >> >a DNS round-robin address or may route through a harware load balancer.
              >> >> >For example, if WL server1 is on IP_A port 7001, and WL server2 is
              >on
              >> >IP_B
              >> >> >at port
              >> >> >7001, you
              >> >> >can configure a DNS address "round-robin.mycompany.com" that
              >> >> >contains "IP_A,IP_B". Your client then can use the URL "t3://round-robin:7001".
              >> >> >
              >> >> >For more info, check out the WebLogic doc on configuring a cluster
              >and/or
              >> >> >post to the cluster newsgroup.
              >> >> >
              >> >> >Note that 7.0 provides the capability of booting an entire cluster
              >on
              >> >a
              >> >> >single IP.
              >> >> >
              >> >> >
              >> >> >Veera wrote:
              >> >> >
              >> >> >> Hi,
              >> >> >>
              >> >> >> We are using weblogic 6.1 sp2 cluster with two serevrs.And also
              >we
              >> >have
              >> >> >JMS message
              >> >> >> client.How can i use cluster in JMS message?
              >> >> >> Currently my JMS message URL is xxx.jms.PROVIDER_URL=t3://localhost:7001.
              >> >> >> How can i provide cluster url in above url?
              >> >> >>
              >> >> >> Thanks in advance,
              >> >> >> -Veera.
              >> >> >
              >> >
              >
              

  • Post JMS Messages Across Clusters

    Hi All,
              I am using Weblogic8.1 and i have a need to post JMS messages across clusters.
              The scenario is like this; i have an application that is deployed in Cluster "A" and another application deployed in another Cluster "B". Both clusters are managed by the same Admin server. Now i need to post a heartbeat message to Cluster "B" from an application deployed in Cluster "A".
              I initally thought that i can use distributed destinations and create member for that destination only on the server's in Cluster "B". That way my application in Cluster "A" could lookup the distributed destination, but the actual message would go to Cluster "B". But that doesn't seem to work. Should this work?
              In weblogic 9.0 there is something called JMS store and forward...that is sort of what i need.
              Any help would be greatly appreciated.
              Thanks
              Abhi

    I'm having the same problem!
    The interesting part is that I've tried to set the propertie for the Initial Context (like PROVIDER_URL,INITIAL_CONTEXT_FACTORY) but all the properties were ignored if I'm running the client from the same machine with that on which the J2EE server is running. Can anybody tell me why?
    While I was trying to run the JMS client on a remote machine I got the following exception (in fact expected since the context properties were ignored)
    JNDI lookup failed:javax.naming.CommunicationException: Can't find SerialContextProvider
    Can this problem be solved on a J2EE RI 1.3 server ?

Maybe you are looking for

  • Private access modifier

    is it best programming practice to always define my class variables as private ? Or should I just leave them as the default internal ? I notice on most code examples they are just left as internal default. Thanks

  • How to get read receipt

    How do I get a read receipt with this email service

  • Vuescan won't launch since App Store Updates 17 APR

    Since installing the Updates released 17 April namely Aperture Update 3.4.4, Java for OS X 2013-003 1.0, EPSON Printer Update 2.14, iPhoto Update 9.4.3 my installed versions of Vuescan freeze on launch. Anyone else?

  • Help me find the serial num

    I received my MuVoN200 just last week. I registed the player & downloaded the firmware as suggested. I attempted to contact support when the player shut down freuently. I cannot find the serial number, & the info on the web site did not . There is no

  • How do you clean an iMac screen?

    What products do you use to clean the screen on an iMac so it doesn't have streaks on it?