Example using of getMessage(s) with JMS error queues?

Hi,
I'm cobbling together various tools for easier management of replaying messages left in error queues and the likes, and whilst I've got messages being moved around the place on demand, I can't make any progress using getMessage() and getMessages() to print out vital statistics of a message / all the messages in a queue, including hopefully ripping out excerts of the XML payload in them. Can someone provide / point me to an example of these being in use? I can get a successful execution of getMessages() but am usure what to really do next with the object returned, how to iterate through and such.
Thanks
Chris.

Hi Chris,
There are open source solutions for message management.  In particular, you might want to investigate Hermes:
http://blogs.oracle.com/jamesbayer/2008/01/hermes_jms_open_source_jms_con.html
As for browsing messages via getMessages(), here's a code snippet.  Note that one should never attempt to get too many messages at a time via "getNext()" -- instead call getNext() multiple times.  Otherwise, if there are too many messages, the client or server might run out of memory.
# create a cursor to get all the messages in the queue
# by passing ‘true’ for selector expression, 
# and long value for cursor timeout
cursor1=cmo.getMessages(‘true’,9999999)
# get the next 5 messages starting from the cursor’s
# current end position
# this will adjust the cursor’s current start position and
# end position “forwards” by 5
msgs = cmo.getNext(cursor1, 5)
# print all the messages’ contents
print msgs
# get 3 messages upto the cursor’s current start position
# this will adjust the cursor’s current start and end position backwards by 3
# this will the current position of the message by 1
msgs = cmo.getPrevious(cursor1, 3)
# print all the messages’ contents
print msgs
Finally, here's code based on public APIs that can help with exporting messages to a file.   It uses Java, not WLST. I haven't tested it personally.  I'm not sure if there's away to do this in WLST.
  * pseudo code for JMS Message Export operation based on
  * current implementation in the Administration Console
  import java.io.File;
  import java.io.FileOutputStream;
  import java.io.OutputStreamWriter;
  import java.io.BufferedWriter;
  import java.io.Writer;
  import java.io.IOException;
  import java.util.ArrayList;
  import java.util.Collection;
  import org.w3c.dom.Document;
  import org.w3c.dom.Element;
  import org.w3c.dom.Node;
  import weblogic.apache.xerces.dom.DocumentImpl;
  import weblogic.apache.xml.serialize.OutputFormat;
  import weblogic.apache.xml.serialize.XMLSerializer; 
  import weblogic.management.runtime.JMSDestinationRuntimeMBean;
  import weblogic.management.runtime.JMSDurableSubscriberRuntimeMBean;
  import weblogic.management.runtime.JMSMessageManagementRuntimeMBean;
  import javax.management.openmbean.CompositeData;
  import weblogic.jms.extensions.JMSMessageInfo;
  import weblogic.jms.extensions.WLMessage;
  import weblogic.messaging.kernel.Cursor;
  public void exportMessages(
    String fileName,
    JMSDestinationRuntimeMBean destination,
    /* or JMSDurableSubscriberRuntimeMBean durableSubscriber */,
    String messageSelector) throws Exception {
    BufferedWriter bw = null;
    try {
      File selectedFile = new File(file);
      if (destination == null /* or durableSubscriber == null */) {
        throw new IllegalArgumentException("A valid destination runtime or durableSubscriber runtime mbean must be specified");
      JMSMessageManagementRuntimeMBean runtime = (JMSMessageManagementRuntimeMBean) destination /* durableSubscriber */;
      bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file),"UTF-8"));
      String xmlDeclaration = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
      String exportStart = "<JMSMessageExport>";
      final String exportEnd = "</JMSMessageExport>";
      final String indent = "    ";
      bw.write(xmlDeclaration);
      bw.newLine();
      bw.write(exportStart);
      bw.newLine();
      bw.newLine();
      bw.write(indent);
      CompositeData[] messageInfos = null;
      OutputFormat of = new OutputFormat();
      of.setIndenting(true);
      of.setLineSeparator("\n"+indent);
      of.setOmitXMLDeclaration(true);
      XMLSerializer ser = getXMLSerializer(bw, of);
      String cursor = JMSUtils.getJMSMessageCursor(runtime, selector,0);
      while ((messageInfos = runtime.getNext(cursor,new Integer(20))) != null) {
        for (int i = 0; i < messageInfos.length; i++) {
          JMSMessageInfo mhi = new JMSMessageInfo(messageInfos);
Long mhiHandle = mhi.getHandle();
CompositeData m = runtime.getMessage(cursor, mhiHandle);
// need to get the message with body
JMSMessageInfo mbi = new JMSMessageInfo(m);
WLMessage message = mbi.getMessage();
ser.serialize(message.getJMSMessageDocument());
messageInfos[i] = null;
bw.newLine();
bw.write(exportEnd);
bw.flush();
bw.close();
runtime.closeCursor(cursor);
LOG.success("jms exportmessage success");
} catch (Exception e) {
try {
if(bw != null)
bw.close();
} catch (IOException ioe) { }
LOG.error(e);
LOG.error("jms exportmessage error");
throw(e);
LOG.success("jms exportmessage success");
private XMLSerializer getXMLSerializer(
Writer writer,
OutputFormat of) {
return new XMLSerializer(writer, of) {
protected void printText(
char[] chars,
int start,
int length,
boolean preserveSpace,
boolean unescaped) throws IOException {
super.printText(chars,start,length,true,unescaped);
protected void printText(
String text,
boolean preserveSpace,
boolean unescaped ) throws IOException {
super.printText(text,true,unescaped);
public static String getJMSMessageCursor(
JMSMessageManagementRuntimeMBean runtime,
String selector,
int cursorTimeout) throws weblogic.management.ManagementException
return runtime.getMessages(
selector,
new Integer(cursorTimeout),
new Integer(Cursor.ALL));
Hope this helps,
Tom                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Examples for JMS Error Queue implementation in BPEL

    Hi ,
    Please anyone provide me examples for JMS error queue implementaion in BPEL.
    Regards
    Narsi p

    Hi Narsi p,
    Please remember to mark answers accordingly... Helpful or correct, following the forum rules
    https://forums.oracle.com/forums/ann.jspa?annID=330
    Can you tell us more about what are you trying to achieve here?
    If you are just trying to configure an error queue to put the messages that couldn't be delivered, you can do this in weblogic directly.
    Configuring an Error Destination for Undelivered Messages
    http://docs.oracle.com/cd/E17904_01/web.1111/e13727/manage_apps.htm#JMSPG254
    Cheers,
    Vlad

  • Flex with JMS Topic/Queue for Asynchronous messaging

    I have been working on Flex and JMS integration using Data
    Services for Asynchronous messaging. I am able to do this
    successfuly. Now I am in need to do the same without using the Data
    Services piece.
    For doing this I have done the following ......
    I have created a JMS Webservice in the Oracle JDeveloper 10G
    along with Webservice Client.I am able to Listen to JMS Topic/Queue
    ( this has been created in the Oracle AS ) using this Webservice
    and receive the messages from this JMS Topic/Queue
    Asynchronously.....
    But If I need to use the Flex Client , I am not able to
    Communicate with this Webservice to listen to the JMS Topic/Queue.
    Did any one in this forum tried to communicate with JMS
    Topic/Queue without using Flex Data Service.If so please share your
    inputs.

    Here is my confusion (I'm using J2EESDK1.3).
    On a local server I did the following
    j2eeadmin -addJmsFactory jms/RemoteTCF topic -props url=corbaname:iiop:mars#mars
    In the app client running on the local server I had the code
    ic = new InitialContext();
    // JNDI lookup. The resource factory ref points to the
    // Remote Connection Factory I registered
    tcf = (TopicConnectionFactory)ic.lookup("java:comp/env/jms/TopicConnectionFactory");
    // The env ref points to jms/Topic of the local server
    pTopic = (Topic)ic.lookup("java:comp/env/jms/PTopic");
    So I'm assuming that I'm using a connection factory that connect to mars and a Topic on the local box.
    On remote server mars, I deployed a MDB which use
    jms/TopicConnectionFactory and jms/Topic. But I'm thinking this jms/Topic and the one I used on the local box are not the same one. Right? Then how could the app client and the MDB share messages?
    Some of my explanation I don't if it makes sense or not.
    ConnectionFactory is a way to tell what kind of connection it could generate (Queue, Topic, Durable etc) and Where the connection would go to (local or remote).'
    As for as destination, I'm not sure. How could two server share one Topic?

  • Increasing tablespace by using BRTOOLS ends up with  BR0253E error

    While trying to increase tablespace by using BRTOOLS, it is giving below error:
    BR0259I Program execution will be continued...
    BR0252E Function fopen() failed for '/oracle/XIS/102_64/sapbackup/.user.pas' at location BrToolCall-2
    BR0253E errno 2: No such file or directory
    Please help

    Hi  Abu Al MAmun,
    As per your logs brspace is trying to write into the location /oracle/XIS/102_64/sapback , But their may not be any directory by label sapback in ORACLE_HOME directory this may be issue relating to wrong parameter set in init<SID>.sap which will be used by  BRTOOLS.
    Crosscheck your init<SID>.sap file.
    Thanks and Regards,
    Amarnath.

  • Using XML sequence Tag with updatexml() errors when called as function?

    Hello,
    I'm having a very difficult time with this error. I was hoping someone could shed some light onto why this is happening. It is 100% reproducible on my end. When I run the problematic code, I am given a "ORA-03113: end-of-file on communication channel" which is actually due to
    "ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []"
    Set up scripts:*
    CREATE TABLE test (id   NUMBER
                            ,xml  XMLTYPE);
    CREATE OR REPLACE FUNCTION test_replace_metadata(p_metadata                 IN XMLTYPE)
          RETURN XMLTYPE
       IS
          l_metadata_xml                          XMLTYPE;
       BEGIN
          l_metadata_xml := p_metadata;
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@tag="00100020"]/text()'
                          ,'1010101010101010101'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
          RETURN l_metadata_xml; 
      END test_replace_metadata;
    To select the resulting rows:*
    select rownum
               ,id
               ,xml
               --,var
               ,TO_CHAR(EXTRACTVALUE(xml
                   ,'/DICOM_OBJECT/*[@name="Patient ID"]'
                   ,'xmlns=http://xmlns.oracle.com/ord/dicom/metadata_1_0')) "PatientID"
           from test
          order by rownum desc
    The following code works:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
         l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
          SELECT UPDATEXML(l_metadata_xml
                          ,'/DICOM_OBJECT/*[@name="Patient ID"]/text()'
                          ,'dayodayodayo'
                          ,'xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0"')
            INTO l_metadata_xml
            FROM DUAL;
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;    
    This code doesn't work, and gives the error mentioned:*
    DECLARE                
    l_metadata VARCHAR2(32767)
                := '<?xml version="1.0"?>
    <DICOM_OBJECT xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/ord/dicom/metadata_1_0 http://xmlns.oracle.com/ord/dicom/metadata_1_0">
      <LONG_STRING tag="00100020" definer="DICOM" name="Patient ID" offset="816" length="6">#00100020#</LONG_STRING>
      <SEQUENCE xmlns="http://xmlns.oracle.com/ord/dicom/metadata_1_0" tag="00082218" definer="DICOM" name="Anatomic Region Sequence" offset="694" length="76">
                        <ITEM>
                          <SHORT_STRING tag="00080100" definer="DICOM" name="Code Value" offset="722" length="8">T-AA000</SHORT_STRING>
                          <SHORT_STRING tag="00080102" definer="DICOM" name="Coding Scheme Designator" offset="738" length="4">SRT</SHORT_STRING>
                          <LONG_STRING tag="00080104" definer="DICOM" name="Code Meaning" offset="750" length="4">Eye</LONG_STRING>
                        </ITEM>
                      </SEQUENCE>
    </DICOM_OBJECT>';
    l_metadata_xml XMLTYPE;
    BEGIN   
       l_metadata_xml := xmltype(l_metadata, 'http://xmlns.oracle.com/ord/dicom/metadata_1_0');
       --This is the difference from the above code                       
       l_metadata_xml := test_replace_metadata(l_metadata_xml);                                   
       INSERT INTO test(id
                        ,xml)
           VALUES (7
                  ,l_metadata_xml);       
    END;            
    This is the full text of the error message:*
    "ORA-03113: end-of-file on communication channel
    Process ID: 10847
    Session ID: 321 Serial number: 33192"Looking into the trace files, I saw this information (This is from a different occurance, but it has remained the same):
    Trace file (omitted)
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /opt/app/oracle/product/11.1.0/db_1/
    System name:     Linux
    Node name:     (omitted)
    Release:     2.6.18-92.el5
    Version:     #1 SMP Tue Apr 29 13:16:15 EDT 2008
    Machine:     x86_64
    Instance name: (omitted)
    Redo thread mounted by this instance: 1
    Oracle process number: 53
    Unix process pid: 22883, image: (omitted)
    *** 2009-06-24 13:47:31.198
    *** SESSION ID:(omitted)
    *** CLIENT ID:(omitted)
    *** SERVICE NAME:(omitted)
    *** MODULE NAME:(omitted)
    *** ACTION NAME:(omitted)
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x64] [PC:0x2250968, kolasaRead()+66]
    DDE: Problem Key 'ORA 7445 [kolasaRead()+66]' was flood controlled (0x6) (incident: 70951)
    ORA-07445: exception encountered: core dump [kolasaRead()+66] [SIGSEGV] [ADDR:0x64] [PC:0x2250968] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL  Why is this happening? Also, When I remove the call to the function or if I remove the SEQUENCE element from the xml everything works fine.
    Any ideas?
    Edited by: rcdev on Jun 25, 2009 2:17 PM - Added code blocks for readability.
    Edited by: rcdev on Jun 25, 2009 2:28 PM

    In short, something inside Oracle is blowing up that shouldn't be, hence the ORA-7445. I did a search on MetaLink but it didn't turn up anything for your version and the internal function that is blowing up. Given you are on 11.1.0.7, I'm going to assume you have some service contract with Oracle and so can open a SR with them. That would be your best bet for getting it resolved given the internal Oracle error you are encountering.
    The next best option would be to post this question on the {forum:id=34} forum given some of the people that watch that forum.

  • WebLogic JMS error queue

    Hello. I have problem after sending message to JMS queue. Message by log file sending is success. But Message don't put to queue and put to error queue.
    Message don't put to queue in 25 % cases.
    Speak please, what can be reasons what message put to error queue ?

    give me please need section link.
    I closing the sender, session and connection in method destroy();
    That class, That is EJB:
    @Stateless(name = "BeanName", mappedName = "ejb.un.BeanName")
    @Local(BeanLocal.class)
    public class BeanName implements ReleaserLocal { 
    @PreDestroy
    public void destroy() {
    try {
    jmsSender.close();
    } catch (Exception ex) {
    try {
    jmsSession.close();
    } catch (Exception ex) {
    try {
    jmsConnection.close();
    } catch (Exception ex) {
    private void sendMessage(String payload, String channel, long qId){
    try {
    jmsSender.send(message);
    if (log.isDebugEnabled()) {
    log.debug("message SEND");
    I running this app from depployed in weblogic.

  • Problem Configuring JMS Error Queue

    Domain configuration : one adminServer, One cluster, 2 managedservers in cluster
    Two distibuted Queues: InboundQueue, Error Queue
    I want to redirect any bad message from InboundQueue to ErrorQueue and discard it.
    It worked fine for 4 yrs in Wls 8.1 ( did configured in 8.1)..
    now i upgrde to wls 10.1 and i did same configuration but InboundQueue is not redirecting to Errorqueue..
    Dont know where i am missing..
    here is the config.xml entry and jms/JmModule.xml files..
    config.xml entry_
    <jms-system-resource>
    <name>JmsModule</name>
    <target>cluster1</target>
    <sub-deployment>
    <name>subdeployment1</name>
    <target>JmsServer1,JmsServer2</target>
    </sub-deployment>
    <descriptor-file-name>jms/JmsModule-jms.xml</descriptor-file-name>
    </jms-system-resource>
    JmsModule.xml_
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-jms xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <uniform-distributed-queue name="ErrorQueue">
    <sub-deployment-name>subdeployment1</sub-deployment-name>
    <delivery-params-overrides>
    <delivery-mode>Non-Persistent</delivery-mode>
    <time-to-deliver>-1</time-to-deliver>
    <time-to-live>-1</time-to-live>
    <priority>-1</priority>
    <redelivery-delay>-1</redelivery-delay>
    </delivery-params-overrides>
    <delivery-failure-params>
    <redelivery-limit>0</redelivery-limit>
    </delivery-failure-params>
    <jndi-name>ErrorQueue</jndi-name>
    <load-balancing-policy>Round-Robin</load-balancing-policy>
    <forward-delay>-1</forward-delay>
    </uniform-distributed-queue>
    <uniform-distributed-queue name="InboundQueue">
    <sub-deployment-name>subdeployment1</sub-deployment-name>
    <delivery-params-overrides>
    <delivery-mode>Persistent</delivery-mode>
    <time-to-deliver>10</time-to-deliver>
    <time-to-live>10</time-to-live>
    <priority>2</priority>
    <redelivery-delay>10</redelivery-delay>
    </delivery-params-overrides>
    <delivery-failure-params>
    <error-destination>ErrorQueue</error-destination>
    <redelivery-limit>1</redelivery-limit>
    <expiration-policy>Redirect</expiration-policy>
    </delivery-failure-params>
    <jndi-name>InboundQueue</jndi-name>
    <load-balancing-policy>Round-Robin</load-balancing-policy>
    <forward-delay>10</forward-delay>
    </uniform-distributed-queue>
    </weblogic-jms>
    Any help
    Thanks
    ksr

    Are you still having a problem? If so, I recommend trying to simplify the reproducer by removing the "time-to-deliver", "redelivery-delay", and "time-to-live" settings.
    <time-to-deliver>10</time-to-deliver>
    <time-to-live>10</time-to-live>
    <redelivery-delay>10</redelivery-delay>
    Note that these are all set to a very small value (10 milliseconds), and that the message will expire before it can be delivered or redelivered. The delivery delay is 10 millis, so by the time the delivery delay completes, the time-to-live will have passed -- furthermore, if there was no delivery delay, the redelivery delay is at 10 millis -- so by the time the redel occurs the time-to-live expires).
    Tom

  • Need example of the use of AQ Streams with JMS and no JNDI

    This question may be a stretch, but help me if you can.
    I do not have Oracle Internet Directory, but I do have 10g database and queues created.
    I would like to use plain JMS 1.1 wherever is that possible, but I understand that I will need to use Oracle AQjmsFactory to get to the connection and queue objects.
    Does anyone has any examples on how to do this. When I use patches of examples that oracle provides I get NullPointerException.
    Thank you,
    Edmon

    We started with the sample encoder and receiver available
    here:
    http://www.adobe.com/devnet/flashcom/articles/broadcast_receiver.html
    Great article and sample apps!
    We were broadcasting and receiving within an hour.
    Then we integrated the necessary AS into our own custom
    encoders and players.
    Good luck!

  • Problem using file based JNDI with JMS Bridge, WL 6.1sp3

              I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              I am having trouble getting the bridge to look up the MQ queue in the file based
              JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              to use. I am getting the following error:
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" is getting the connections to the two adapters.>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              Principal for Container Managed Security Context.>
              <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              request.>
              <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              Bridge" failed to connect to the source destination and will try again in 25 seconds.
              (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              <
              The configuration of the bridge, printed out in the log, is:
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's source properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              ConnectionFactoryJNDIName = PMS.mqQcf
              ConnectionURL = file:/opt/mqm/java/mq-jndi
              InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              DestinationType = Queue
              DestinationJNDIName = PMS.mqProvdRequest>
              <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              STARTUP! Bridge Provd Messaging Bridge's target properties are:
              AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              Classpath=null
              DestinationType = Queue>
              Am I correct in assuming it should be using the fscontext connection factory?
              Why is it using the weblogic one?
              Jason
              

    CR081511_61sp3.jar patch should fix the problem. Make sure that the
              jar file is picked up. It should be put before other weblogic jar files.
              You should be able to tell if it is picked up by looking at the first
              couple of lines of your server log file.
              Dongbo
              Jason Kriese wrote:
              >
              > I am trying to connect an MQ queue to a Weblogic JMS queue using the JMS bridge,
              > WLS6.1sp3. I have the CR081404_61sp3.jar and CR081511_61sp3.jar patches.
              >
              > I am having trouble getting the bridge to look up the MQ queue in the file based
              > JNDI. According to the log it is trying to use a weblogic.jndi.WLInitialContextFactory
              > instead of a com.sun.jndi.fscontext.RefFSContextFactory, which is what it is configured
              > to use. I am getting the following error:
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" is getting the connections to the two adapters.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge In getConnections: isStopped = false>
              > <Sep 29, 2002 12:16:22 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > RUNTIME! Bridge Provd Messaging Bridge Getting source connection: sourceConnSpec
              > = weblogic.jms.adapter.JMSConnectionSpec@27166f>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to locate context: java:/comp/env/wls-connector-resref>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <Connector> <Unable to determine Resource
              > Principal for Container Managed Security Context.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Warning> <Connector> << Weblogic Messaging Bridge
              > Adapter (XA) > ResourceAllocationException of javax.resource.ResourceException:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest on createManagedConnection.>
              >
              > <Sep 29, 2002 12:16:22 PM EDT> <Error> <Connector> <Error granting connection
              > request.>
              > <Sep 29, 2002 12:16:22 PM EDT> <Info> <MessagingBridge> <Bridge "Provd Messaging
              > Bridge" failed to connect to the source destination and will try again in 25 seconds.
              > (javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
              > ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
              > url = file:/opt/mqm/java/mq-jndi, user name = guest, password = guest)>
              > <
              >
              > The configuration of the bridge, printed out in the log, is:
              >
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's source properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > ConnectionFactoryJNDIName = PMS.mqQcf
              > ConnectionURL = file:/opt/mqm/java/mq-jndi
              > InitialConnectionFactory = com.sun.jndi.fscontext.RefFSContextFactory
              > DestinationType = Queue
              > DestinationJNDIName = PMS.mqProvdRequest>
              > <Sep 29, 2002 12:16:00 PM EDT> <Debug> <MessagingBridge> <Messaging Bridge Debugging
              > STARTUP! Bridge Provd Messaging Bridge's target properties are:
              > AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
              > Classpath=null
              > DestinationType = Queue>
              >
              > Am I correct in assuming it should be using the fscontext connection factory?
              > Why is it using the weblogic one?
              >
              > Jason
              

  • Problems with JMS: Error JMS BEA-040368

    Hi,
    I have run into a problem using JMS on BEA. It appears to happen when we run huge amounts of messages through the queue (100 000+).
    Once this error occurs, we cant get rid of it. Restarting server, re-dployment, nothing works. Every subsequent message sent to the JMS produces this error.
    According to the error message, we have exceeded the maximum allowed transactions for the server, but how do we reset the transactions? And what is causing the error to appear in the first place? Somthing I forget to close or flush?
    I have QueueConnection, QueueSession and QueueRecevier objects open for all transactions, and close them when the bean is destroyed. Should I rather create and close them for each transaction?
    Here is the exception:
    <15.jun.2005 kl 14.55 CEST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
    java.lang.RuntimeException: [EJB:010166]Error occurred while starting transaction: javax.transaction.SystemException: Exceeded maximum allowed transactions on server 'myserver'.
    at weblogic.ejb20.internal.MDListener.perhapsBeginTransaction()V(MDListener.java:325)
    at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread; )V(MDListener.java:339)
    at weblogic.ejb20.internal.MDListener.onMessage(Ljavax.jms.Message; )V(MDListener.java:262)
    at weblogic.jms.client.JMSSession.onMessage(Ljavax.jms.MessageListener;Lweblogic.jms.common.MessageImpl; )V(JMSSession.java:2678)
    at weblogic.jms.client.JMSSession.execute(Lweblogic.kernel.ExecuteThread; )V(JMSSession.java:2598)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
    >

    Developments
    It turned out that my "client" used: this.queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    While the "server" used: this.queueSession = queueConnection.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
    Now changing both sessions to use transactions (createQueueSession(true, Session.AUTO_ACKNOWLEDGE)) and fortifying the use of QueueSession.commit() when sending and receiving messages seemed to solve the problem... for a while.
    After a few new tests the problem appeared again, this time on the "client" side. It is obvious that transaction are somehow not commited correctly even though Session.commit() is called after each and every message is sent and received.
    Btw. To make the app "clean up" hanging transactions faster you can change the value in the console at:
    Mydomain --> Services --> JTA --> Abandon Timeout Seconds
    weblogic.jms.common.TransactionRolledBackException: Exceeded maximum allowed transactions on server 'myserver':error beginning transacted session's internal transaction
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
    at weblogic.jms.dispatcher.DispatcherImpl_814_WLStub.dispatchSyncNoTranFuture(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:472)
    at weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:391)
    at weblogic.jms.client.JMSProducer.send(JMSProducer.java:186)
    at no.nrk.returia.test.TestSMSInAdapter.send(TestSMSInAdapter.java:133)
    at no.nrk.returia.test.TestSMSInAdapter.main(TestSMSInAdapter.java:206)

  • JMS Error destination..

    Hi,
    I am developing a JMS application where i am processing message in a Queue and configured redelivery delay and redelivery limit. When the maximum redelivery limit has reached, i will move the message to an error destination which is again a Queue. I can send an email to the administartor with the message information indicating that the processing for the message has failed. But the requirment is, the administrator wants to view the message from the persistent store and resubmit the message. Is it possible? If that is the case what can be value for time-to-live for the message? I am using ServiceBus 10.3 and using the underlying weblogic server as JMS provider. Besides, i have a question on the relationship between redelivery delay, redelivery limit and time-to-live override. When i tested, if time-to-live is less than the redeliverylimit*redelivery delay, then will the message be deleted and the redelivery limit(number of retries) is not taking into effect. But if time-to-live is greater than also the message is deleted after maximum retry means time-to-live doesn't have effect. This means i am i right to say, if i specify time-to-live and there is no need to specify redeliverylimit and redelivery delay. If that is the case on what basis, the retry is made?
    Thanks in advance for your replies,
    Sam

    Hi,
    I am using ServiceBus 10.3 and using the underlying weblogic server as JMS provider. I think OSB tends to decorate JMS messages with its own private information, so I don't know if it can support arbitrarily moving them between destinations. You may be better off posting to an OSB specific forum.
    But the requirment is, the administrator wants to view the message from the persistent store and resubmit the message. Is it possible? That said, you can view, delete, move, and file import/export WebLogic JMS messages using the message management screens on the console. If you need a more sophisticated capability than the console provides, it is possible to write Java or WLST program's for the purpose.
    If you're interested in scripting, the following might be enough to get you started:
    For scripting and tracing examples, see the July 29th and August 10th 2009 newsgroup post with subject "Example using of getMessage(s) with JMS error queues?" [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3657916] and the June 10th 2009 newsgroup post with subject "JMSDestinationRuntimeMBean - possible STATE values " [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3531603 ]. Also take a look at the +Sept 23 2009 newsgroup posts with subject "Enable JMS - Queue/Topic Trace on console"+ [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3782486].
    +WARNING: Exporting too many messages at a time can cause out-of-memory errors.+
    Besides, i have a question on the relationship between redelivery delay, redelivery limit and time-to-live override. When i tested, if time-to-live is less than the redeliverylimit*redelivery delay, then will the message be deleted and the redelivery limit(number of retries) is not taking into effect. But if time-to-live is greater than also the message is deleted after maximum retry means time-to-live doesn't have effect. This means i am i right to say, if i specify time-to-live and there is no need to specify redeliverylimit and redelivery delay. If that is the case on what basis, the retry is made?By definition, an expired message is automatically deleted -- no matter what the delivery count is. If you want expired messages to be automatically redirected to a destinatin's error destination you can configure an "expiration policy" of "redirect" on the destination.
    Whether you want to use message expiration, redelivery limit, or redelivery delay very much depends on your specific use case.
    -- Redelivery limits detect messages that are rolled back many times by receiving applications (rollbacks can occur due to any number of reasons, such as database failure, application bug, etc.)
    -- Redelivery delays prevent rolled back messages from being immediately redelivered. This helps prevent zooming up CPU usage to 100% with tight loop retries of processing a problem message, assumes that whatever condition caused the original rollback is temporary, and assumes that if the message is immediately redelivered that this is too soon for the problem condition to have cleared up.
    -- Expiration detects if a message has been sitting around for a long time. It doesn't detect whether the application has attempted to process the message...
    In general, if you are coding a new application, it is sometimes helpful to avoid error destinations. Instead, let your application decide what to do with problem messages (such as queue them to another destination). This helps your application provide more customizable behavior.
    Hope this helps,
    Tom
    PS Especially for developers new to WebLogic JMS, I highly recommend purchasing a copy of the book "Professional Oracle WebLogic". In addition, I recommend reading the new "Best Practices" chapter of the JMS configuration guide, and the new "Tuning Checklist" in the JMS chapter of the Performance and Tuning guide. These new sections are in the 10.3.2 documentation.

  • Using ConnBean and CursorBean with a Data Source

    Hi all,
    I',m making a web app. using the Jdev (RUP4) with OA Extension. I looked in the help menu under "About Data-Access JavaBeans and Tags". Here I found the following example, but for some stange reason I cannot get the setProperty to work.
    Example: Using ConnBean and CursorBean with a Data Source This following is a sample JSP page that uses ConnBean with a data source to open a connection, then uses CursorBean to execute a query.
    <%@ page import="java.sql.*, oracle.jsp.dbutil.*" %>
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session">
    <jsp:setProperty name="cbean" property="dataSource"
    value="<%=request.getParameter("datasource")%>"/>
    </jsp:useBean>
    <% try {
    cbean.connect();
    String sql="SELECT ename, sal FROM scott.emp ORDER BY ename";
    CursorBean cb = cbean.getCursorBean (CursorBean.PREP_STMT, sql);
    out.println(cb.getResultAsHTMLTable());
    cb.close();
    cbean.close();
    } catch (SQLException e) {
    out.println("<P>" + "There was an error doing the query:");
    out.println("<PRE>" + e + "</PRE>\n<P>"); }
    %>
    Does anyone know how to set the "Property" to a datasource and make it work?
    Best regards,
    MHCI

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • How to use your own database with your users to authenticate in a Web app?

    Hello, everybody!
    I'm starting to write my first web application and I'm going to use JSF, JPA and EJB3 in this application. One of the first things that I have to do on it is the authentication part where I'll have a page with a user name and a password for the user to login. So, as I'm new to all this in Java (I've already implemented this on .NET in the past), I was studying the Java EE 5 Tutorial, especifically the section "Example: Using Form-Based Authentication with a JSP Page". But I saw that the users that the sample application uses come from the file realm on the Application Server. The users are created there and assigned a name, a password and a group. After the users are in the Application Server we can simply uses forms authentication declaratively in the deployment descriptor (web.xml).
    But the problem is that this doesn't work to me as I already have my own database with my users, so I want to use it instead of having to create the users on the Application Server.
    So, I'm asking you how to do that. Of course I'm not expecting that you place the code here to me as I know that such a thing could be complicated. Instead, I'm asking if you know about some tutorial, article, book or something that teaches how to do what I want. But I would like to see theses examples using JSF and/or EJB3 because these are the technologies that I'm using to develop. It's a pity that the Java EE 5 Tutorial doesn't have an example using a custom database as I know that this situation is very common in the majority of web sites.
    Thank you very much.
    Marcos

    From memory, it goes like this... You just create a
    raw jdbc connection on your user database using a
    special "login" DB user account, which has
    permissions only to an "authenticate" stored query,
    which accepts two arguments: username & password, and
    returns a boolean 0 or 1 rows found.When I implemented this in .NET's ASP.NET I had the same solution. I had an special user created in the database that I used to log in. When the real user entered his username and password I was already logged in and I had just to check his username and password agains the right table in my database.
    But that was only possible bacause when I connected to the database using my hidden user, I used the rights APIs in ASP.NET that coordinate the authentication process. This means that before login in, no one could access any resources (pages, atc...). So what I'm saying is that I can't manager this manually in Java. Java has to have some API or whatever to allow me to control the login process programmatically, while letting the Application Server control the access to the resources.

  • Using same iTunes library with external hard drive (EHD) on different PCs

    I know some of the issues related to this question have been touched on in different discussions but I don't think I have seen a clear yes/no and if yes, here's how, answer to my queries, so here goes.
    Like another member, I would like to take my iTunes library with me when I'm away on holiday so that I can (for example) use an Apple TV with Home Sharing to watch movies in my library or pay albums in my music library while on holiday, in the same way as I am able to at home. I have a Samsung NC 10 notebook running Windows XP (which I would take with me with a Samsing Story EHD) and a Dell desktop. My iTunes media folders are now on the EHD and I think I have iTunes library files on the Dell and on the Samsung. Of course, if iTunes Match covered movies as well as music, I would use that and just take my Apple TV with me ... but it doesn't and seems not likely to.
    By messing around and not properly understanding some of the discussions about this topic, I think my iTunes library looks as I expect it to be, on my Dell - though I have yet to test this by doing a synch with my iPad or iPod Touch. However, when I plug the EHD into the Samsung and open my library, I am missing at least one movie and I don't have any artwork showing for any of the movies. This is inspite of clicking Get Album Artwork, Consolidate Files and clicking to add, as a file (or folder) to the library, the missing movie which is on the EHD in the Movies folder of the iTunes Media.  In iTunes on the Samsung "Preferences>Advanced", the iTunes media location (on my EHD) is correct.
    I have obviously messed something up trying to replicate my Dell desktop iTunes library on the Samsung. So:
    can/should I start again (if that is the best thing to do) with getting my iTunes library properly on to my Samsung notebook? And, if yes, how do I do that?
    is it really possible to have all that you need to run and use iTunes on an EHD (i.e. both media folders and the various iTunes library files (.itl, .itdb, .xml etc.)) so that whenever I plug the EHD into my Dell or Samsung I can access my iTunes library in the same way and via the same files? Or, do you always have to have the library files (at least) located on the PC you are connecting your EHD to (showing my ignorance here! )?
    if you can have all the library files as well as media on the EHD (i.e. all of your iTunes library), I assume there is more to moving these from the C drive in my Dell to the EHD, than just cutting and pasting them into the EHD and then deleting similarly named files in C drive in the Samsung?
    if all of my iTunes library can be located in the EHD, would I just access that (i.e. open my iTunes library) - whether on my Dell or the Samsung - by pressing the Shift key when clicking on iTunes as a programme on my Dell or Samsung, or - and I appreciate this is more basic computer knowledge than iTunes query - does the fact that I would need to access iTunes via some form of link on the relevant PC indicate why some iTunes library files would always have to reside on the PC rather than the EHD?
    if the iTunes library files have to stay on the relevant PC, how can they be kept in synch - i.e. the more portable Samsung offering the same access and picture of my iTunes library as the Dell does - or is iTunes just not set up to do this, in which case I might as well ignore trying to replicate my iTunes library on the Samsung?.
    Apologies for this long list of questions. Any pointers to where the answers lie or even better specific answers themselves would be very much appreciated.
    Many thanks.

    I think that's yes, yes, yes, yes, and not necessary...
    Make a split library portable
    Here are the typical layouts for the iTunes folders:
    In the layout above right, with the media folder (everything in the red box) inside the library folder, the library is considered to be portable. A portable library can be moved from one path to another without breaking the links from the library to the media, and being self-contained it is much easier to backup and restore. (You do backup, don't you?).
    You can rearrange things to make a split library portable by taking a number of small steps which don't break the library.
    Before you start any media files that are outside of the media folder will need to be consolidated. If the library is in the old style layout then it should be upgraded to iTunes Media Organization (Library > Organize Library > Rearrange files in the folder <Media Folder>) to ensure that iPod Games, Mobile Applications etc. are brought inside the media folder, otherwise the links to these won't survive changes in the path of the library.
    The basic non-fatal manipulations are:
    You can create or connect to an alternate set of library files by holding down Shift (Win) or Option (Mac) when starting iTunes. (Note iTunes will continue to use this library until you use the same method again.)
    You can move the library files to a new location and connect to it there as long as the media stays put.
    You can move the library files and the media together if the media folder is a direct subfolder of the library folder.
    If you have already moved/copied the media content from a subfolder of the library folder to a different location then you only need to copy the library files for it to appear as if you have moved the entire library in the way allowed above. I.e. just copy the library files into the parent folder of the media folder.
    You can rename the media folder to iTunes Media (if it isn't already) if the media folder is inside the library folder.
    iTunes uses the name of the folder holding the library files as the window title. Having made a library "portable" you may need to take a final step of renaming the library folder to iTunes or, if the library files have ended up at the root of a drive, moving all of the library files and content folders into a new folder called iTunes.
    IMPORTANT: After each change you need to open, test and close the relevant library before attempting another change. If a change broke the library, undo it or revert to using the previous set of library files.
    In essence all you need to do to join up a split library and make it portable is copy the library files into the parent folder of the media folder on the external/secondary drive and use the hold-down-shift/option-when-starting-iTunes method to connect to it. Other manipulations may be required to normalize the library so that the library and media folders have standard names.
    tt2

  • Do I have to use an external clock with a cDAQ-9188 and NI 9401 to read a linear encoder? I'm seeing error message that implies that but the example code doesn't show it.

    We can set up a task that works on demand but when we go to continuous sampleing we see Error -200303, which claims an external sample clock source must be specified for this application.  However, some of the NI linear encoder example code doesn't show that (uses the cDAQ 80 Mhz clock) and the documentation didn't mention that. 

    It's mentioned in the 918x user manual:
    Unlike analog input, analog output, digital input, and digital output, the cDAQ chassis counters do not have the ability to divide down a timebase to produce an internal counter sample clock.  For sample clocked operations, an external signal must be provided to supply a clock source.  The source can be any of the following signals:
    AI Sample Clock
    AI Start Trigger
    AI Reference Trigger
    AO Sample Clock
    DI Sample Clock
    DI Start Trigger
    DO Sample Clock
    CTR n Internal Output
    Freq Out
    PFI
    Change Detection Event
    Analog Comparison Event
    Assuming you have at least one available counter (there are 4 on the backplane), I would suggest to configure a continuous counter output task and use its internal output as the sample clock.  Specify the internal counter using an "_" for example "cDAQ1/_ctr0".  The terminal to use for the sample clock source would be for example "/cDAQ1/Ctr0InternalOutput".
    Which example uses the 80 MHz timebase as a sample clock?  It is far too fast for a sample clock on the 9188 according to the throughput benchmarks (80 MHz * 4 byte samples = 320 MB/s).  There is also no direct route between the 80 MHz timebase and the sample clock terminal for the counters--making this route would use a second counter anyway.
    Best Regards,
    John Passiak

Maybe you are looking for

  • Task Form not appearing in the WorkList application

    Hi, I tried creating a task form in a very simple composite. I created task forms (both manual and auto-generated). However, the worklist app does not show any task form whenever a task appears in the inbox. In addition, i see the following error dur

  • HD Replacement Program

    My hard-drive, which failed just 3 months ago, has already been replaced, but it's unclear if my replacement (ST31000528AS rev. AP2E) is affected in the recall.  I've now called Apple Support twice and have gotten two different answers.   On the firs

  • Cant add or delete in Address Book

    Address Book has become very weird. I cannot add or permanently delete cards or edit the existing cards. When I select a card, the edit button is unavailable (grayed out) as are New Card, New Group etc in the File list. I have used Edit to delete car

  • Settings and Center Key on the N86

    Hi, Its been a while that I own the N86 now. I updated to v11.043. Recently, I noticed that when clicking on "settings"  in the menu, it slows down the phone (sometimes it freezes) and revert to the main menu. Or, when you click on "general>Personali

  • Vectorise colour filter in Motion 5

    Hi. i can't find Vectorise colour filter in Motion 5 that used to be in Motion 4 - is there an equivalent with the same parameters? Thanks