Queuebrowser getEnumeration() failing to return all messages

Hi,
I am using open mq in LOCAL mode in an glassfish v2 ur2 app server.
My application is multithreaded.
When I call the getEnumeration() method of QueueBrowser with small numbers of messages (<500) I get the correct count. However when I have about 900 messages in a queue, not all the messages are returned. The actual number returned varies. I suspected it may have been a timing issue (the browser may need time to gather all the messages) so i implemented a thread sleep after Connection.start() was called but before getEnumeration() was called. This did not really help.
here is a code snippet:
      browser = session.createBrowser(queue,selector);
      logger.info("using selector "+browser.getMessageSelector());
      qConn.start();
      try {
        Thread.currentThread().sleep(500);
      } catch (InterruptedException ee) {
      Enumeration msgs;
      for (msgs = browser.getEnumeration() ; msgs.hasMoreElements() ;){
        Message m = (Message) msgs.nextElement();
        list.add(m.getJMSCorrelationID());
      logger.info("Got "+list.size() +" messages ");I have tried using REMOTE and EMBEDDED brokers, and also switching away from the standard derby backend and using oracle. all to no avail.
If anyone has any ideas i'd gratefully receive these.
Thanks,
Phil

I still cannot get this to work.
I have tried altering these attributes to various values, but it makes no difference.
Probably because they are still not being set:
I get this error:
[#|2008-11-17T13:25:48.872+0000|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=p: thread-pool-1; w: 3;setImqQueueBrowserRetrieveTimeout;com.sun.messaging.jms.ra.ManagedConnectionFactory;_RequestID=c76a233d-fd8e-4af2-b1f8-4dd4ff65468f;|RAR8000 : The method setImqQueueBrowserRetrieveTimeout is not present in the class : com.sun.messaging.jms.ra.ManagedConnectionFactory|#]
[#|2008-11-17T13:25:48.872+0000|WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=18;_ThreadName=p: thread-pool-1; w: 3;imqQueueBrowserRetrieveTimeout;com.sun.messaging.jms.ra.ManagedConnectionFactory;_RequestID=c76a233d-fd8e-4af2-b1f8-4dd4ff65468f;|RAR7097: No setter method present for the property imqQueueBrowserRetrieveTimeout in the class com.sun.messaging.jms.ra.ManagedConnectionFactory
Please tell me how I am supposed to set the properties you suggested above ?
Setting them as additional properties via the glassfish admin concole does not work.
Thanks in advance,
Phil

Similar Messages

  • Select query failing to return all values

    So I've just completed my first batch insert into DocumentDB and ran into the following irregularity while verifying my documents were added correctly.  I am seeing this issue through the Portal Query Explorer and the Python SDK.
    I have found 4 id values that are in my collection, but won't get returned in a Select all type query.  
    Queries I've used to select just that item/document.  These work correctly and return my document.  Therefore, I assume the document is in the collection.
    SELECT * FROM Matches m WHERE m.id = "2997"
    SELECT VALUE m.id FROM Matches m WHERE m.id = "2997"
    However, when doing a broader SELECT query, some ids are not returned.
    SELECT * FROM Matches
    SELECT VALUE m.id FROM Matches m
    Neither of the above queries return the document with id "2997".  I've three other ids where this is the case.
    Am I missing something obvious here, or is there a bug?  I've added all ~991 documents into the collection using the same batch program.
    Edit:  Here's a test program I've drawn up to show this issue (you can take my word for it that the clients are initialised correctly):  https://gist.github.com/Fitzpasd/1dde776b00eacf68b361
    And this prints:
    1
    991
    False
    False
    False
    True

    I also have some issues with pages. When I execute a simple query like:
    SELECT x FROM Root x
    or 
    SELECT s FROM Root x JOIN s IN x.Children
    (The Children array contains more than 100 items)
    And I use the AsDocumentQuery() method in the c# API, iterating through the pages works fine (the continuation token is returned in the request)
    But when I execute the following query:
    SELECT s FROM Root x JOIN s IN x.Children WHERE x.id = "<guid>"
    the continuation token is not returned so I can't get to the next pages.
    Is this related to the same bug ?

  • Calendar search fails to return all hits

    I'm using Calendar under OS-X 10.9.2.
    When searching for all events with a certain word, it is clear that not all events are being returned. There seems to be no logic to the ones that are omitted. I'm estimating only about a third of events matching my search criteria are being returned. I tried re-indexing with mdimport to no avail. I can see the events that contain the word I'm searching for, but not all of them turn up. It's very frustrating. The Calendars are iCloud based and synced to my Mac. And of course, there's no search function at all in the Web based Calendar either.
    If search is unreliable, this makes Calendar nearly useless.

    Well to be fair, those two searches could very well return those results..
    searching a database with key like 'Taylor%' and with key like '%Taylor%' are different search criteria, the first is a bit more restrictive so I would expect less returns.
    The real question is... are there really more than 20 entries whose key starts with the string "Taylor"? If indeed you dump the database and find that there are 86 entries whose key starts with the string "Taylor" then its time to complain to Sun.

  • Stored Procedure fails to return all rows of data.

    Our HR database uses a procedure to build a list of employee IDs (ie. 1,3,14,...1210,1215) then calls a procedure to with a variable to extract details per employee. Unfortunately the list is 947 ids, however only 887 rows are returned.
    As a test I split the list in two and called the procedure. If I add the data rows together I get 947, hence I know the employees are valid. Can anyone suggest why a long list of Ids should fail? Is there a limit a stored procedure can return?
    The procedure (simplified down a bit) is:
    ALTER PROCEDURE [dbo].[sp_Employee_CreateTable]
     @EmpIds varchar(4000)
    AS
    SELECT    E.empid as EmpId ,E.Surname
        FROM    Employee E
        WHERE  (E.[EmpID] IN (select * from GetAllUsersUnderManager(@EmpIds))) AND EJ.id=dbo.GetCurrentEmployeeJobRecord(EJ.empid)--EJ.dateto IS NULL
    I can run the procedure as:
    "exec sp_Employee_CreateTable @EmpIds=N'1,3,14.....999'" which returns (say) 700 rows  and  "exec sp_Employee_CreateTable @EmpIds=N'1001,.....1215'" which returns 247 rows. (ie. 700+247 = 947 which is correct.
    But exec sp_Employee_CreateTable @EmpIds=N'1,3,14......1215' only returns 887 rows.
    I have looked at the length of the data passed to the procedure (1,3,...1215) which equals 4126 chars, therefore I bumped the varchar space from 4,000 to 6,000 which is still within limits, however the number of rows returned was still 887.
    Any help would be gratefully received.

    Hi Scott. I run the script you suggested (thank you), the var EmpIds was set to a string with over 930 ids. The returned data set started with 0 but only had 888 rows. As mentioned above I refer the 930+ list as full list, and the 888 as the short list.
    The difference (around 47) were the last values in the full list.
    Although EmpIds was set to 6K it definately seems like it gets to around 4K chars then ignores any other values.
    Re "since you pass....". Absolutely. I have modified the Employee_CreateTable with the var update to 6K/
    ALTER PROCEDURE [dbo].[sp_Employee_CreateTable]
     @EmpIds varchar(6000),
     @IncludeLeavers Bit
    AS
        SELECT    E.empid as EmpId ,E.Surname, E.Firstname as Forename,E.PayrollID, E.intextno as Extension, EJ.position as Position, [dbo].[GetEmployeeDepartment](E.empid) as Department, [dbo].[GetEmployeeLocation](E.empid) as Location,
    E.title as Title, EJ.ReportsTo,
                CoEmail,E.[left]
        FROM    Employee E INNER JOIN EmployeeJobs EJ
        ON        E.empid = EJ.empid
        WHERE  (E.[EmpID] IN (select * from GetAllUsersUnderManager(@EmpIds))) AND EJ.id=dbo.GetCurrentEmployeeJobRecord(EJ.empid)--EJ.dateto IS NULL
                AND (E.[left]=0 or E.[left]=@IncludeLeavers)
        ORDER BY E.Surname, E.Firstname, E.empid

  • Find users fails to return all users

    We've noticed what appears to be an issue with "Accounts, Find Users, Starts With" and/or lower case letters.
    For example, if we selected 'Last Name Starts With' and used 'Taylor', we got back 20 users.
    When we used 'Last Name Contains' and used 'Taylor', we got back 86 users.
    We saw similar issues with using lower case letters.
    Has anyone else noticed an issue like this?

    Well to be fair, those two searches could very well return those results..
    searching a database with key like 'Taylor%' and with key like '%Taylor%' are different search criteria, the first is a bit more restrictive so I would expect less returns.
    The real question is... are there really more than 20 entries whose key starts with the string "Taylor"? If indeed you dump the database and find that there are 86 entries whose key starts with the string "Taylor" then its time to complain to Sun.

  • QueueBrowser doesn't enumerate all messages

    Hi there,
    I've the problem that, using a QueueBrowser, I don't get all messages from a Queue but only the first (say, out of five), using a MessageConsumer, I get all five messages.
    This problem occurs, when I use (our own) administrative tool to peek at a queue with QueueBrowser, take the message and "copy" it to a backup-queue by simply sending it there via a MessageProducer. Once this "backup" queue has more than a single message in it, abovementioned problem occurs - is this supposed to work (simply re-sending a peeked message somewhere)?
    (Of course, this question is about the development of our own admin tool, which doesn't work for some reason in this case, not its usage or such).
    kind regards,
    Messi

    Hi,
    Under OpenMQ 4.1 I had success using a QueueBrowser . I am also using the Spring Framework 2.5.5.
    Please post if you have any questions about the code snippet...
    Here is a code snippet that works for me:
            JmsQueueBrowser browser = new JmsQueueBrowser();
            browser.setQueueName("testQueue");
            JmsTemplate myJmsTemplate = browser.getJmsTemplate();
            FileSystemXmlApplicationContext myCtx = browser.getCtx();
            final Queue queue = (Queue) myCtx.getBean(browser.getQueueName());
             * Browse thru the Queue specified
            Integer count = (Integer) myJmsTemplate.execute(new SessionCallback()
                public Object doInJms(Session session) throws JMSException
                    int count = 0;
                    QueueBrowser browser = session.createBrowser(queue);
                    Enumeration<Message> messages = browser.getEnumeration();
                    Message myMessage;
                    while (messages.hasMoreElements())
                        count++;
                        myMessage = messages.nextElement();
                        System.out.println(new Date() + "\nQueue:" + queue.getQueueName() + "\nMessage[" + count + "]:" + myMessage + "\n");
                    return new Integer(count);
            });Here is output from the code supplied:
    [vdev3th:scripts]> JmsQueueBrowser
    Wed Dec 31 06:48:00 MST 2008
    Queue:testQueue
    Message[1]:
    Class: com.sun.messaging.jmq.jmsclient.ObjectMessageImpl
    getJMSMessageID(): ID:43-10.80.165.6(eb:55:a8:22:5:f4)-62069-1229362455598
    getJMSTimestamp(): 1229362455598
    getJMSCorrelationID(): 1229358651043
    JMSReplyTo: null
    JMSDestination: testQueue
    getJMSDeliveryMode(): PERSISTENT
    getJMSRedelivered(): false
    getJMSType(): null
    getJMSExpiration(): 0
    getJMSPriority(): 4
    Properties: null
    Wed Dec 31 06:48:00 MST 2008
    Queue:testQueue
    Message[2]:
    Class: com.sun.messaging.jmq.jmsclient.ObjectMessageImpl
    getJMSMessageID(): ID:61-10.80.165.6(d7:35:c4:97:3e:2e)-57754-1229362458534
    getJMSTimestamp(): 1229362458534
    getJMSCorrelationID(): 1229359315969
    JMSReplyTo: null
    JMSDestination: testQueue
    getJMSDeliveryMode(): PERSISTENT
    getJMSRedelivered(): false
    getJMSType(): null
    getJMSExpiration(): 0
    getJMSPriority(): 4
    Properties: null
    Wed Dec 31 06:48:00 MST 2008
    Queue:testQueue
    Message[3]:
    Class: com.sun.messaging.jmq.jmsclient.ObjectMessageImpl
    getJMSMessageID(): ID:70-10.80.165.6(eb:e3:a:32:5b:f6)-37869-1229362458545
    getJMSTimestamp(): 1229362458545
    getJMSCorrelationID(): 1229358651042
    JMSReplyTo: null
    JMSDestination: testQueue
    getJMSDeliveryMode(): PERSISTENT
    getJMSRedelivered(): false
    getJMSType(): null
    getJMSExpiration(): 0
    getJMSPriority(): 4
    Properties: null
    Hope this helps...

  • Remote function call (RFC) for WS_DELIVERY_UPDATE fails w/o error message

    Dear Experts,
    Iu2019m using WS_DELIVERY_UPDATE to post goods issue against outgoing delivery. SE37 works fine.
    RFC call from external program with the same parameters fails without returning any message.
    It aborts during call and after that it becomes invalid.
    Also calling BAPI_TRANSACTION_COMMIT does not help.
    Any idea why SE37 works fine but RFC fails?
    Anything I am missing?
    Many thanks
    Regards
    JW

    There could be many reasons, I'd suggest to get your Basis admin involved. Take a look at the ABAP dump (ST22), update termination (SM13) or RFC errors (SM58). Although I doubt you'll find something inside SAP, since it seems that RFC call itself fails.
    This function is not a BAPI, so BAPI_TRANSACTION_COMMIT won't do any good. All it does is COMMIT WORK actually.

  • Issue about BI JAVA SDK-SOAP request failed with return message 2147483653

    Dear Experts,
    I'm trying to use BI JAVA SDK to connect BW by using XMLA connector.
    But there's an error messaet said :
    SOAP request failed with return message 2147483653 ( Invalid MDX command with INCLUDING)
    I'm really new to this JAVA SDK, and after searching help in SAP Service Market and Google, there's no helpful suggestion.
    please help me about how to fix this error.
    Here is my code:
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs);
          IBIOlap olap = connection.getOlap();
          Cube cube = olap.getObjectFinder().
          findCubeFirst((String)null, "ZFI_C11/ZFI_C11_Q001");
        // This is just a sanity check to verify that the
        // cube on which this example relies was retrieved 
        if (cube==null){
            System.out.println("no cube found");
    // Didn't print out this message, seems it can connect to BW and get the InfoCube and Query.
        Dimension plantDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZPLANT");
      Dimension materialDimension = olap.getObjectFinder().
        findDimensionFirst(cube, "ZMATERIAL"); 
      IBIQuery query = olap.createQuery(cube);
      IBICommandProcessor commandProcessor = query.getCommandProcessor();
      commandProcessor.moveDimensionToRows(plantDimension);
      commandProcessor.moveDimensionToRows(materialDimension);
      IBIDataSet dataset = query.execute(); // After execute this statement, error happens.
    Thank you!
    Andy

    Solved myself, it's because the query used in my code have user input variable.

  • SOAP request failed with return message 2147483653

    Hello everybody!
    I've got a constant error while trying to execute following MDX-statement via BI Java SDK:
    SELECT  {[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 0 , {[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 1  FROM [$ZBCS_OV12]WHERE{[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]}{[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]}*
    The error is:
    SOAP request failed with return message 2147483653 (Log not found (in main memory))
    What to do with this message? How to understand what is the cause of the error?
    The same query is working fine in MDX-test tool.
    WBR, Dmitriy.

    Solved myself, it's because the query used in my code have user input variable.

  • "Returned mail: Message failed to pass through virus scanner"

    We have a large number of this mail (see below) on our OCS1 cause by virus like MyDoom:
    From: "Mail Delivery Subsystem" <[email protected]>
    To: [email protected]
    Mime-Version: 1.0
    Content-Type: multipart/report;
         report-type=delivery-status; BOUNDARY="----ORCL_ES6_BOUNCE_1095724----"
    Date: Fri, 22 Oct 2004 09:52:32 +0200
    Subject: Returned mail: Message failed to pass through virus scanner
    ------ORCL_ES6_BOUNCE_1095724----
    Content-Type: text/plain
    The original message was received at Fri, 22 Oct 2004 09:51:21 +0200
    from <[email protected]>
    ----- The following addresses had delivery problems -----
    <[email protected]> (unrecoverable error)
    ----- Transcript of session follows -----
    Message failed to pass through virus scanner
    ------ORCL_ES6_BOUNCE_1095724----
    content-type: message/delivery-status
    Reporting-MTA: dns; maildb.italtbs.com
    Final-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.7.7
    Diagnostic-Code: smtp; Message failed to pass through virus scanner
    ------ORCL_ES6_BOUNCE_1095724----
    Content-Type: message/rfc822
    Return-Path: <[email protected]>
    Received: from mailas.italtbs.com by maildb.italtbs.com
         with ESMTP id 10957241098431481; Fri, 22 Oct 2004 09:51:21 +0200
    Received: from italtbs.com
         by mailas.italtbs.com with SMTP id i9M7pJJ06571
         for <[email protected]>; Fri, 22 Oct 2004 09:51:19 +0200
    Message-Id: <[email protected]>
    From: [email protected]
    To: [email protected]
    Subject: Found
    Date: Fri, 22 Oct 2004 09:50:40 +0200
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="----=_NextPart_000_0007_0000355F.0000439E"
    X-Priority: 3
    X-MSMail-Priority: Normal
    ------ORCL_ES6_BOUNCE_1095724------
    On MAILAS.italtbs.com are installed infrastructure, sendmail and Symantec Scan Engine.
    On MAILDB.italtbs.com are installed storage database and midtier.
    Can I stop this useless messagges?
    Thanks and regard
    Matteo

    Are you still unable to send email?  What client are you using?  Do you see your job represented on ePrintCenter?
    Although I am an HP employee, I am speaking for myself and not for HP

  • QueueBrowser not scaning all messages in JMS queue (ie not showing inprogre

    Hi all,
    I am using JMS in jboss-3.2.3, when scaning for pending messages i am using QueueBrowser.
    But QueueBrowser not scaning all messages in JMS queue (ie not showing inprogress message)
    But i need to know all messages including ongoing messages..
    Antone plz help me
    I am using Queuesender and QueueReceiver ..But some Exception or Error causes my JMS server(QueueReceiver listening for onMessage()) hanged up..and not responding to remaining messages...So i need to find pending messags in JMS queue..How can find?
    Now i am using QueueBrowser to get list of pending msgs in queue... But doesn't contains Message which passed for processing (called onMessage())
    .. But i need to find this also..How can?
    Thanks,
    Thilsen

    You're right in thinking that the behaviour you describe looks wrong.
    Take a look at the QueueBrowser interface which can be used to inspect a queue. You get one using QueueSession.createBrowser(Queue). The QueueBrowser allows you to scan a queue without consuming the messages. However note that the state of the queue may change while you're observing it through the QueueBrowser so what you see might not always be a 100% accurate representation of the queue at any given time.
    Other things to check:
    - message selectors - are you setting a message selector on your queue receiver which is resulting in not all of the messages 'matching'.
    - expired messages - are you setting a time-to-live on the messages that you publish.
    Hope this helps,
    David Ingham
    http://www.arjuna.com

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

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

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

  • Application failed to return status record to ALE layer after Idoc procesed

    Hi,
    I am loading a full load to Product category (hierarchies) through process chain.
    One of the load failed with the following error. The Idoc has status 51 in BW.
    Can some suggest me the process for correcting this.
    Thanks
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.

    Hi
    If this is standard code then you will have to write code to populate the status message in exit. But in case of custom code, the above mentioned solution is best (if coding logic is correct). I have given this solution to many queries and all worked.
    Thanks
    Anuraag

  • Exchange 2013 CAS server returned '500 Message rejected'

    Hi, all.
    Exchange 2013 with CAS server and 2 mailbox servers. Health checks are all 100% healthy.
    One of our users cannot receive email from an external user. Our CAS server keeps rejecting the message. I can trace the message and see that it did indeed hit our servers, and was rejected. But I cannot find out WHY it was rejected.
    Here is the Delivery Report from the EAC:
    Delivery Report for               NAME ‎([email protected])
    Failed
    3/30/2015 1:41 PM <CAS servername>
    The message couldn't be delivered.
    [{LRT=};{LED=500 Message rejected};{FQDN=};{IP=}]
    The external user gets this NDR:
    <our local CAS servername> gave this error:
    Message rejected
    In the Diagnostic information for administrator section:
    <our local CAS servername> returned '500 message rejected'
    followed by the Original message headers. I think I'm looking for some more verbose logging to see what rule or configuration rejected the message. Any help would be greatly appreciated!
    Thanks!
    Dan

    My main question: how can I see what triggered my CAS server to reject this message with error 500?
    Our user can receive email from other external senders ok. It seems to be just this one sender having trouble.
    Our transport rules are not complex, and I see no rules that would block this sender or domain.
    We use Exchange Online Protection. The message gets through EOP and hits our CAS server. The CAS server rejects the message - it never gets to the Client.
    The CAS server gives the error 500 - but that's all I can find. I need a command or somewhere to look to see what triggered the 500 error.
    I've posted the NDR received by the sender and scrubbed our identifying information.
    Rcn.com looks like the sender's online forwarding host - the spf record for senderdomain.net points back to rcn.com. I've run an spf record check and it passes, so I do not believe that is the issue.
    Here is the NDR:
    From: [email protected]
    To: [email protected]
    Sent: Monday, March 30, 2015 1:41 PM
    Subject: Undeliverable: Hello from FirstName
    CAS1.our_internal_domain.local rejected your message to the following email addresses:
    FirstName LastName ([email protected])
    A problem occurred while delivering your message to this email address. Try sending your message again. If the problem continues, please contact your email admin.
    CAS1.our_internal_domain.local gave this error:
    Message rejected
    Diagnostic information for administrators:
    Generating server: BY1PR0501MB1112.namprd05.prod.outlook.com
    [email protected]
    CAS1.our_internal_domain.local
    Remote Server returned '500 Message rejected'
    Original message headers:
    Received: from BLUPR05CA0049.namprd05.prod.outlook.com (10.141.20.19) by
     BY1PR0501MB1112.namprd05.prod.outlook.com (25.160.103.146) with Microsoft
     SMTP Server (TLS) id 15.1.118.21; Mon, 30 Mar 2015 17:40:54 +0000
    Received: from BL2FFO11FD027.protection.gbl (2a01:111:f400:7c09::115) by
     BLUPR05CA0049.outlook.office365.com (2a01:111:e400:855::19) with Microsoft
     SMTP Server (TLS) id 15.1.125.19 via Frontend Transport; Mon, 30 Mar 2015
     17:40:54 +0000
    Received: from smtp.rcn.com (69.168.97.78) by
     BL2FFO11FD027.mail.protection.outlook.com (10.173.161.106) with Microsoft
     SMTP Server (TLS) id 15.1.130.10 via Frontend Transport; Mon, 30 Mar 2015
     17:40:54 +0000
    Return-Path: [email protected]
    X_CMAE_Category: , ,
    X-CNFS-Analysis: v=2.0 cv=PMSNCIWC c=1 sm=1 a=gRQJo8bc1j9+0GSSRogFxg==:17 a=NTyKUL13AAAA:8 a=ML7w5Z3_AAAA:8 a=3H5rcUylbt2uBKgiyYQA:9 a=wPNLvfGTeEIA:10 a=XQfDMMe_SRUA:10 a=SEXQnC1BqQAA:10 a=7ZjHjvgxCjAA:10 a=Wcs1mLwGzyUA:10 a=sBa8ZLUje9YA:10 a=k-GqB2yPh3IA:10
    a=N4kHG9ehtKzd7-3o534A:9 a=_W_S_7VecoQA:10 a=gRQJo8bc1j9+0GSSRogFxg==:117
    X-CM-Score: 0
    X-Scanned-by: Cloudmark Authority Engine
    X-Authed-Username: ZHAtZm1hQHJjbi5jb20=
    Authentication-Results: smtp02.rcn.cmh.synacor.com
     [email protected]; sender-id=neutralourdomain.com; dkim=none
     (message not signed) header.d=none;ourdomain.com; dmarc=pass action=none
     header.from=senderdomain.net;
    Authentication-Results: smtp02.rcn.cmh.synacor.com [email protected]; spf=neutral; sender-id=neutral
    Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=sender; auth=pass (LOGIN)
    Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 69.72.92.252 is neither permitted nor denied by domain of senderdomain.net)
    Received: from [69.72.92.252] ([69.72.92.252:2689] helo=FirstNameLastName)
            by smtp.rcn.com (envelope-from <[email protected]>)
            (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPA
            id 58/6E-17115-4AA89155; Mon, 30 Mar 2015 13:40:53 -0400
    Message-ID: <011A7DBF0D954F62987032D45778AF29@FirstNameLastName>
    From: FirstName LastName <[email protected]>
    To: FirstName LastName <[email protected]>
    Subject: Hello from FirstName
    Date: Mon, 30 Mar 2015 13:40:49 -0400
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
            boundary="----=_NextPart_000_0007_01D06AEF.223E4A60"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.5931
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
    X-EOPAttributedMessage: 0
    Received-SPF: Pass (protection.outlook.com: domain of senderdomain.net designates
     69.168.97.78 as permitted sender) receiver=protection.outlook.com;
     client-ip=69.168.97.78; helo=smtp.rcn.com;
    Authentication-Results: spf=pass (sender IP is 69.168.97.78)
     [email protected];
    X-Forefront-Antispam-Report:
            CIP:69.168.97.78;CTRY:US;IPV:NLI;EFV:NLI;SFV:SKN;SFS:;DIR:INB;SFP:;SCL:-1;SRVR:BY1PR0501MB1112;H:smtp.rcn.com;FPR:;SPF:None;LANG:en;
    X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1112;
    X-Exchange-Antispam-Report-Test: UriScan:;
    X-Exchange-Antispam-Report-CFA-Test:
            BCL:0;PCL:0;RULEID:(601004);SRVR:BY1PR0501MB1112;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0501MB1112;
    X-OriginatorOrg: ourdomain.onmicrosoft.com
    X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2015 17:40:54.1243
     (UTC)
    X-MS-Exchange-CrossTenant-Id: c92ecf05-92f8-42f4-a246-24bee4988793
    X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
    X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0501MB1112
    Dan

  • Msiexec failed with return code 1603 / installing SAP MMC Snap-In and creat

    I am installing SAP ABAP trial on windows 7 and I have encountered some problems.
    Please help me solve this problem.
    Phase 2 : install common system files
    Error happened during this step: installing SAP MMC Snap-In and creating shortcuts
    Error message:
    Running msiexec failed with return code 1603: Schwerwiegender Fehler bei der Installation.
    Commandline was msiexec.exe /norestart /L sapmmcX86u.log /i sapmmcX86u.msi /qn
    If you want the installer to retry, choose Yes. If you want the installer to abort the installation, choose No.
    I have alreday given the permission/rights that are necessary for the user who is installing the system.

    Hello All,
    We also faced the same error, I would like to share the solution steps which we have applied.
    Solution :
    Refer Note 1236002 - Error during the SAP MMC MSI installation or uninstallation
    As per the note :
    Download utility “Microsoft Fix It” from http://support.microsoft.com/mats/Program_Install_and_Uninstall
    You have the option to run this utility online or you can download the folder structure following the instructions on this page
    Then copy the Fix it Portable folder to the computer with the problem and run the Launch Fix it application
    What Microsoft Fix It fixes...
    Removes bad registry key on 64 bit operating systems.
    Windows registry keys that control the upgrade (patching) data that become corrupted.
    Resolves problems that prevent new programs from being installed.
    Resolves problems that prevent programs from being completely uninstalled and blocking new installations and updates.
    Use this troubleshooter for an uninstall only if the program fails to uninstall using the windows add/remove programs feature.
    Best Regards..

Maybe you are looking for

  • How do I create a global signal list or system record

    Forgive me but I have been away from LabVIEW for a quite a while. I have been working in the realm of LabWindows (99% of our work) for the last five years with some LabVIEW sprinkled in. I have been tasked with designing a replacement for an existing

  • How to set button disabled property based on backing bean method

    JDeveloper 12c I have a table and a button on the page. When user selects certain table row I want to enable/disable the button. My backing bean (which has backing bean scope in the task flow where the page is) is package view.backing; public class S

  • Drag and drop in a listbar

    Hi, Do you know if it's possible to catch the drag and drop event in a listbar ActivX and to swallow it?  Regards, Julien Solved! Go to Solution.

  • Total no. of users logged into the database

    Can we find out total number of users logged into the database? I do not have DBA privileges. If it is not possible by a straight SQL then do I have any other options? Thanks.

  • Screen Brightness won't change no matter what I do

    Hello guys: For the time I've been using ArchLinux my screen brightness buttons don't work.  Also power options for adjusting screen brightness do nothing, so you see why I have a problem, my screen eats the laptop's battery... I've also tried adjust